Updated c-ares to v1.12.0

This commit is contained in:
q3aql 2016-10-09 13:18:23 +02:00
parent 658528c15d
commit 39102f1628
5 changed files with 23 additions and 24 deletions

View File

@ -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 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 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 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 SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
## CONFIG ## ## CONFIG ##
@ -68,8 +68,8 @@ cd $BUILD_DIRECTORY
# c-ares build # c-ares build
cd .. cd ..
$DOWNLOADER $C_ARES $DOWNLOADER $C_ARES
tar zxvf c-ares-1.11.0.tar.gz tar zxvf c-ares-1.12.0.tar.gz
cd c-ares-1.11.0/ 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 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
make install make install

View File

@ -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 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 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 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 SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
## CONFIG ## ## CONFIG ##
@ -61,8 +61,8 @@ export LDFLAGS="-m32"
# c-ares build # c-ares build
cd .. cd ..
$DOWNLOADER $C_ARES $DOWNLOADER $C_ARES
tar zxvf c-ares-1.11.0.tar.gz tar zxvf c-ares-1.12.0.tar.gz
cd c-ares-1.11.0/ 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 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
make install make install

View File

@ -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 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 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 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 SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
## CONFIG ## ## CONFIG ##
@ -56,8 +56,8 @@ cd $BUILD_DIRECTORY
# c-ares build # c-ares build
cd .. cd ..
$DOWNLOADER $C_ARES $DOWNLOADER $C_ARES
tar zxvf c-ares-1.11.0.tar.gz tar zxvf c-ares-1.12.0.tar.gz
cd c-ares-1.11.0/ 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 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
make install make install

View File

@ -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 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 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 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 SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
## CONFIG ## ## CONFIG ##
@ -55,8 +55,8 @@ cd $BUILD_DIRECTORY
# c-ares build # c-ares build
cd .. cd ..
$DOWNLOADER $C_ARES $DOWNLOADER $C_ARES
tar zxvf c-ares-1.11.0.tar.gz tar zxvf c-ares-1.12.0.tar.gz
cd c-ares-1.11.0/ 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 CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --disable-shared
make make
make install make install
@ -100,4 +100,3 @@ cd $BUILD_DIRECTORY
# #
echo "finished!" echo "finished!"

View File

@ -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 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 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 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 SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
## CONFIG ## ## CONFIG ##
@ -55,8 +55,8 @@ cd $BUILD_DIRECTORY
# c-ares build # c-ares build
cd .. cd ..
$DOWNLOADER $C_ARES $DOWNLOADER $C_ARES
tar zxvf c-ares-1.11.0.tar.gz tar zxvf c-ares-1.12.0.tar.gz
cd c-ares-1.11.0/ 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 CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --disable-shared
make make
make install make install