From 39102f162868d429e65b38917adb9d7a1a1ceee3 Mon Sep 17 00:00:00 2001 From: q3aql Date: Sun, 9 Oct 2016 13:18:23 +0200 Subject: [PATCH] Updated c-ares to v1.12.0 --- .../aria2-arm-rbpi-gnu-linux-cross-build-libs | 8 ++++---- .../aria2-i386-gnu-linux-cross-build-libs | 12 ++++++------ .../aria2-x86_64-gnu-linux-build-libs | 8 ++++---- .../mingw-config/aria2-i686-w64-mingw-build-libs | 11 +++++------ .../mingw-config/aria2-x86_64-w64-mingw-build-libs | 8 ++++---- 5 files changed, 23 insertions(+), 24 deletions(-) diff --git a/build-scripts/gnu-linux-arm-rbpi-config/aria2-arm-rbpi-gnu-linux-cross-build-libs b/build-scripts/gnu-linux-arm-rbpi-config/aria2-arm-rbpi-gnu-linux-cross-build-libs index 2d909e5..5d417f5 100755 --- a/build-scripts/gnu-linux-arm-rbpi-config/aria2-arm-rbpi-gnu-linux-cross-build-libs +++ b/build-scripts/gnu-linux-arm-rbpi-config/aria2-arm-rbpi-gnu-linux-cross-build-libs @@ -22,7 +22,7 @@ ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.8/zlib-1.2.8.tar.gz OPENSSL=http://www.openssl.org/source/openssl-1.0.2h.tar.gz EXPAT=https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2 SQLITE3=http://www.sqlite.org/2016/sqlite-autoconf-3140200.tar.gz -C_ARES=http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz +C_ARES=http://c-ares.haxx.se/download/c-ares-1.12.0.tar.gz SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz ## CONFIG ## @@ -55,7 +55,7 @@ cd $BUILD_DIRECTORY PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC=$HOST-gcc STRIP=$HOST-strip RANLIB=$HOST-ranlib CXX=$HOST-g++ AR=$HOST-ar LD=$HOST-ld ./configure --prefix=$PREFIX --static make make install -# +# # expat build cd .. $DOWNLOADER $EXPAT @@ -68,8 +68,8 @@ cd $BUILD_DIRECTORY # c-ares build cd .. $DOWNLOADER $C_ARES - tar zxvf c-ares-1.11.0.tar.gz - cd c-ares-1.11.0/ + tar zxvf c-ares-1.12.0.tar.gz + cd c-ares-1.12.0/ PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC=$HOST-gcc CXX=$HOST-g++ ./configure --host=$HOST --build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` --prefix=$PREFIX --enable-static --disable-shared make make install diff --git a/build-scripts/gnu-linux-config/aria2-i386-gnu-linux-cross-build-libs b/build-scripts/gnu-linux-config/aria2-i386-gnu-linux-cross-build-libs index 2ac34f2..828396e 100755 --- a/build-scripts/gnu-linux-config/aria2-i386-gnu-linux-cross-build-libs +++ b/build-scripts/gnu-linux-config/aria2-i386-gnu-linux-cross-build-libs @@ -29,7 +29,7 @@ ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.8/zlib-1.2.8.tar.gz OPENSSL=http://www.openssl.org/source/openssl-1.0.2h.tar.gz EXPAT=https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2 SQLITE3=http://www.sqlite.org/2016/sqlite-autoconf-3140200.tar.gz -C_ARES=http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz +C_ARES=http://c-ares.haxx.se/download/c-ares-1.12.0.tar.gz SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz ## CONFIG ## @@ -37,7 +37,7 @@ BUILD_DIRECTORY=/tmp/ ## BUILD ## cd $BUILD_DIRECTORY -export CFLAGS="-m32" +export CFLAGS="-m32" export CXXFLAGS="-m32" export LDFLAGS="-m32" # @@ -48,7 +48,7 @@ export LDFLAGS="-m32" CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-m32" PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER -m32" CXX="$CXX_COMPILER -m32" ./configure --prefix=$PREFIX --static make make install -# +# # expat build cd .. $DOWNLOADER $EXPAT @@ -61,8 +61,8 @@ export LDFLAGS="-m32" # c-ares build cd .. $DOWNLOADER $C_ARES - tar zxvf c-ares-1.11.0.tar.gz - cd c-ares-1.11.0/ + tar zxvf c-ares-1.12.0.tar.gz + cd c-ares-1.12.0/ CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-m32" PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER -m32" CXX="$CXX_COMPILER -m32" ./configure --prefix=$PREFIX --enable-static --disable-shared make make install @@ -93,7 +93,7 @@ export LDFLAGS="-m32" rm -rf $PREFIX/lib/pkgconfig/libssh2.pc CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-m32" PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER -m32" CXX="$CXX_COMPILER -m32" ./configure --without-libgcrypt --with-openssl --without-wincng --prefix=$PREFIX --enable-static --disable-shared make - make install + make install # #cleaning cd .. diff --git a/build-scripts/gnu-linux-config/aria2-x86_64-gnu-linux-build-libs b/build-scripts/gnu-linux-config/aria2-x86_64-gnu-linux-build-libs index 204d377..eb19f90 100755 --- a/build-scripts/gnu-linux-config/aria2-x86_64-gnu-linux-build-libs +++ b/build-scripts/gnu-linux-config/aria2-x86_64-gnu-linux-build-libs @@ -27,7 +27,7 @@ ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.8/zlib-1.2.8.tar.gz OPENSSL=http://www.openssl.org/source/openssl-1.0.2h.tar.gz EXPAT=https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2 SQLITE3=http://www.sqlite.org/2016/sqlite-autoconf-3140200.tar.gz -C_ARES=http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz +C_ARES=http://c-ares.haxx.se/download/c-ares-1.12.0.tar.gz SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz ## CONFIG ## @@ -43,7 +43,7 @@ cd $BUILD_DIRECTORY PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER" CXX="$CXX_COMPILER" ./configure --prefix=$PREFIX --static make make install -# +# # expat build cd .. $DOWNLOADER $EXPAT @@ -56,8 +56,8 @@ cd $BUILD_DIRECTORY # c-ares build cd .. $DOWNLOADER $C_ARES - tar zxvf c-ares-1.11.0.tar.gz - cd c-ares-1.11.0/ + tar zxvf c-ares-1.12.0.tar.gz + cd c-ares-1.12.0/ PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER" CXX="$CXX_COMPILER" ./configure --prefix=$PREFIX --enable-static --disable-shared make make install diff --git a/build-scripts/mingw-config/aria2-i686-w64-mingw-build-libs b/build-scripts/mingw-config/aria2-i686-w64-mingw-build-libs index e4a9486..ebe2886 100755 --- a/build-scripts/mingw-config/aria2-i686-w64-mingw-build-libs +++ b/build-scripts/mingw-config/aria2-i686-w64-mingw-build-libs @@ -24,7 +24,7 @@ ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.8/zlib-1.2.8.tar.gz OPENSSL=http://www.openssl.org/source/openssl-1.0.2h.tar.gz EXPAT=https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2 SQLITE3=http://www.sqlite.org/2016/sqlite-autoconf-3140200.tar.gz -C_ARES=http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz +C_ARES=http://c-ares.haxx.se/download/c-ares-1.12.0.tar.gz SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz ## CONFIG ## @@ -42,7 +42,7 @@ cd $BUILD_DIRECTORY CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --static make make install -# +# # expat build cd .. $DOWNLOADER $EXPAT @@ -55,8 +55,8 @@ cd $BUILD_DIRECTORY # c-ares build cd .. $DOWNLOADER $C_ARES - tar zxvf c-ares-1.11.0.tar.gz - cd c-ares-1.11.0/ + tar zxvf c-ares-1.12.0.tar.gz + cd c-ares-1.12.0/ CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --disable-shared make make install @@ -87,7 +87,7 @@ cd $BUILD_DIRECTORY rm -rf $PREFIX/lib/pkgconfig/libssh2.pc CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --without-libgcrypt --with-openssl --without-wincng --prefix=$PREFIX --host=$HOST --enable-static --disable-shared make - make install + make install # #cleaning cd .. @@ -100,4 +100,3 @@ cd $BUILD_DIRECTORY # echo "finished!" - diff --git a/build-scripts/mingw-config/aria2-x86_64-w64-mingw-build-libs b/build-scripts/mingw-config/aria2-x86_64-w64-mingw-build-libs index 1c038d1..c8e45de 100755 --- a/build-scripts/mingw-config/aria2-x86_64-w64-mingw-build-libs +++ b/build-scripts/mingw-config/aria2-x86_64-w64-mingw-build-libs @@ -24,7 +24,7 @@ ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.8/zlib-1.2.8.tar.gz OPENSSL=http://www.openssl.org/source/openssl-1.0.2h.tar.gz EXPAT=https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2 SQLITE3=http://www.sqlite.org/2016/sqlite-autoconf-3140200.tar.gz -C_ARES=http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz +C_ARES=http://c-ares.haxx.se/download/c-ares-1.12.0.tar.gz SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz ## CONFIG ## @@ -42,7 +42,7 @@ cd $BUILD_DIRECTORY CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --static make make install -# +# # expat build cd .. $DOWNLOADER $EXPAT @@ -55,8 +55,8 @@ cd $BUILD_DIRECTORY # c-ares build cd .. $DOWNLOADER $C_ARES - tar zxvf c-ares-1.11.0.tar.gz - cd c-ares-1.11.0/ + tar zxvf c-ares-1.12.0.tar.gz + cd c-ares-1.12.0/ CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --disable-shared make make install