mirror of https://github.com/aria2/aria2
Added README and release script for mingw build
parent
fc0e378e29
commit
7e95dcdc02
|
@ -0,0 +1,47 @@
|
|||
aria2 Windows build
|
||||
===================
|
||||
|
||||
aria2 Windows build is provided in 2 flavors: 32bit version and 64bit
|
||||
version. The executable was compiled using mingw-w64 cross compiler on
|
||||
Debian Linux.
|
||||
|
||||
* gcc-mingw-w64 4.6.2-14+3
|
||||
* binutils-mingw-w64-i686 2.22-1+1
|
||||
* binutils-mingw-w64-x86-64 2.22-1+1
|
||||
|
||||
The executable is statically linked, so no extra DLLs are
|
||||
necessary. The linked libraries are:
|
||||
|
||||
* openssl 1.0.0h
|
||||
* expat 2.1.0
|
||||
* sqlite 3.7.11
|
||||
* zlib 1.2.6
|
||||
* c-ares 1.7.5
|
||||
|
||||
This build has the following difference from the original release:
|
||||
|
||||
* 32bit version only: ``--disable-ipv6`` is enabled by default. (In
|
||||
other words, IPv6 support is disabled by default).
|
||||
|
||||
Known Issues
|
||||
------------
|
||||
|
||||
* When Ctrl-C is pressed, aria2 shows "Shutdown sequence
|
||||
commencing... Press Ctrl-C again for emergency shutdown." But
|
||||
mingw32 build cannot handle second Ctrl-C properly. The second
|
||||
Ctrl-C just kills aria2 instantly without proper shutdown sequence
|
||||
and you may lose data. So don't press Ctrl-C twice.
|
||||
|
||||
* --daemon option doesn't work.
|
||||
|
||||
* 32bit version only: When ``--disable-ipv6=false`` is given,
|
||||
BitTorrent DHT may not work properly.
|
||||
|
||||
* 32bit version only: Most of the IPv6 functionality does not work
|
||||
even if ``--disable-ipv6=false`` is given.
|
||||
|
||||
References
|
||||
----------
|
||||
|
||||
* http://smithii.com/aria2
|
||||
* http://kemovitra.blogspot.com/2009/12/download-aria2-163.html
|
|
@ -0,0 +1,53 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
# aria2 - The high speed download utility
|
||||
#
|
||||
# Copyright (C) 2012 Tatsuhiro Tsujikawa
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the
|
||||
# OpenSSL library under certain conditions as described in each
|
||||
# individual source file, and distribute linked combinations
|
||||
# including the two.
|
||||
# You must obey the GNU General Public License in all respects
|
||||
# for all of the code used other than OpenSSL. If you modify
|
||||
# file(s) with this exception, you may extend this exception to your
|
||||
# version of the file(s), but you are not obligated to do so. If you
|
||||
# do not wish to do so, delete this exception statement from your
|
||||
# version. If you delete this exception statement from all source
|
||||
# files in the program, then also delete it here.
|
||||
|
||||
test -z "$HOST" && HOST=i686-w64-mingw32
|
||||
test -z "$BUILD_VER" && BUILD_VER=1
|
||||
|
||||
. ./script-helper
|
||||
|
||||
get_version
|
||||
|
||||
if [ -z "$VERSION" ]; then
|
||||
echo "No version found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DIST_DIR=aria2-${VERSION}-${HOST}-build${BUILD_VER}
|
||||
|
||||
/usr/bin/$HOST-strip src/aria2c.exe
|
||||
mkdir $DIST_DIR
|
||||
cp AUTHORS COPYING ChangeLog LICENSE.OpenSSL NEWS README.html README.mingw \
|
||||
src/aria2c.exe $DIST_DIR
|
||||
zip -9 -r $DIST_DIR.zip $DIST_DIR
|
||||
rm -rf $DIST_DIR
|
|
@ -0,0 +1,35 @@
|
|||
# aria2 - The high speed download utility
|
||||
#
|
||||
# Copyright (C) 2012 Tatsuhiro Tsujikawa
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the
|
||||
# OpenSSL library under certain conditions as described in each
|
||||
# individual source file, and distribute linked combinations
|
||||
# including the two.
|
||||
# You must obey the GNU General Public License in all respects
|
||||
# for all of the code used other than OpenSSL. If you modify
|
||||
# file(s) with this exception, you may extend this exception to your
|
||||
# version of the file(s), but you are not obligated to do so. If you
|
||||
# do not wish to do so, delete this exception statement from your
|
||||
# version. If you delete this exception statement from all source
|
||||
# files in the program, then also delete it here.
|
||||
|
||||
get_version () {
|
||||
VERSION=`grep AC_INIT configure.ac | sed '/AC_INIT/ s/AC_INIT(\[aria2\],\[\([^]]\+\)\],.*/\1/'`
|
||||
echo "Version: $VERSION"
|
||||
}
|
Loading…
Reference in New Issue