Update scripts build-libs (OpenSSL 1.1.1l, expat 2.4.1, c-ares 1.17.2, sqlite 3.36.0, libssh 1.9.0)

This commit is contained in:
q3aql 2021-08-26 21:52:55 +02:00
parent 3bfdec9e16
commit 819e9786cf
5 changed files with 75 additions and 75 deletions

View File

@ -19,11 +19,11 @@
## DEPENDENCES ##
ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.11/zlib-1.2.11.tar.gz
OPENSSL=http://www.openssl.org/source/openssl-1.0.2u.tar.gz
EXPAT=https://github.com/libexpat/libexpat/releases/download/R_2_2_10/expat-2.2.10.tar.bz2
SQLITE3=https://sqlite.org/2020/sqlite-autoconf-3330000.tar.gz
C_ARES=https://c-ares.haxx.se/download/c-ares-1.16.1.tar.gz
SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
OPENSSL=https://www.openssl.org/source/openssl-1.1.1l.tar.gz
EXPAT=https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.bz2
SQLITE3=https://sqlite.org/2021/sqlite-autoconf-3360000.tar.gz
C_ARES=https://c-ares.haxx.se/download/c-ares-1.17.2.tar.gz
SSH2=https://www.libssh2.org/download/libssh2-1.9.0.tar.gz
## CONFIG ##
ARCH="armhf"
@ -59,8 +59,8 @@ cd $BUILD_DIRECTORY
# expat build
cd ..
$DOWNLOADER $EXPAT
tar jxvf expat-2.2.10.tar.bz2
cd expat-2.2.10/
tar jxvf expat-2.4.1.tar.bz2
cd expat-2.4.1/
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=yes --enable-shared=no
make
make install
@ -68,8 +68,8 @@ cd $BUILD_DIRECTORY
# c-ares build
cd ..
$DOWNLOADER $C_ARES
tar zxvf c-ares-1.16.1.tar.gz
cd c-ares-1.16.1/
tar zxvf c-ares-1.17.2.tar.gz
cd c-ares-1.17.2/
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
@ -77,8 +77,8 @@ cd $BUILD_DIRECTORY
# Openssl build
cd ..
$DOWNLOADER $OPENSSL
tar zxvf openssl-1.0.2u.tar.gz
cd openssl-1.0.2u/
tar zxvf openssl-1.1.1l.tar.gz
cd openssl-1.1.1l/
PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC=$HOST-gcc CXX=$HOST-g++ ./Configure linux-armv4 $CFLAGS --prefix=$PREFIX shared zlib zlib-dynamic -D_GNU_SOURCE -D_BSD_SOURCE --with-zlib-lib=$LOCAL_DIR/lib --with-zlib-include=$LOCAL_DIR/include
make CC=$CC
make CC=$CC install INSTALLTOP=$DEST OPENSSLDIR=$DEST/ssl
@ -86,8 +86,8 @@ cd $BUILD_DIRECTORY
# sqlite3
cd ..
$DOWNLOADER $SQLITE3
tar zxvf sqlite-autoconf-3330000.tar.gz
cd sqlite-autoconf-3330000/
tar zxvf sqlite-autoconf-3360000.tar.gz
cd sqlite-autoconf-3360000/
PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC=$HOST-gcc CXX=$HOST-g++ ./configure --host=$HOST --prefix=$PREFIX --enable-static --enable-shared --build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE`
make
make install
@ -95,8 +95,8 @@ cd $BUILD_DIRECTORY
# libssh2
cd ..
$DOWNLOADER $SSH2
tar zxvf libssh2-1.7.0.tar.gz
cd libssh2-1.7.0/
tar zxvf libssh2-1.9.0.tar.gz
cd libssh2-1.9.0/
rm -rf $PREFIX/lib/pkgconfig/libssh2.pc
PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --host=$HOST --without-libgcrypt --with-openssl --without-wincng --prefix=$PREFIX --enable-static --disable-shared
make

View File

@ -26,11 +26,11 @@ CXX_COMPILER="g++"
## DEPENDENCES ##
ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.11/zlib-1.2.11.tar.gz
OPENSSL=http://www.openssl.org/source/openssl-1.0.2u.tar.gz
EXPAT=https://github.com/libexpat/libexpat/releases/download/R_2_2_10/expat-2.2.10.tar.bz2
SQLITE3=https://sqlite.org/2020/sqlite-autoconf-3330000.tar.gz
C_ARES=https://c-ares.haxx.se/download/c-ares-1.16.1.tar.gz
SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
OPENSSL=https://www.openssl.org/source/openssl-1.1.1l.tar.gz
EXPAT=https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.bz2
SQLITE3=https://sqlite.org/2021/sqlite-autoconf-3360000.tar.gz
C_ARES=https://c-ares.haxx.se/download/c-ares-1.17.2.tar.gz
SSH2=https://www.libssh2.org/download/libssh2-1.9.0.tar.gz
## CONFIG ##
BUILD_DIRECTORY=/tmp/
@ -52,8 +52,8 @@ export LDFLAGS="-m32"
# expat build
cd ..
$DOWNLOADER $EXPAT
tar jxvf expat-2.2.10.tar.bz2
cd expat-2.2.10/
tar jxvf expat-2.4.1.tar.bz2
cd expat-2.4.1/
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 --enable-shared
make
make install
@ -61,8 +61,8 @@ export LDFLAGS="-m32"
# c-ares build
cd ..
$DOWNLOADER $C_ARES
tar zxvf c-ares-1.16.1.tar.gz
cd c-ares-1.16.1/
tar zxvf c-ares-1.17.2.tar.gz
cd c-ares-1.17.2/
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
@ -70,8 +70,8 @@ export LDFLAGS="-m32"
# Openssl build
cd ..
$DOWNLOADER $OPENSSL
tar zxvf openssl-1.0.2u.tar.gz
cd openssl-1.0.2u/
tar zxvf openssl-1.1.1l.tar.gz
cd openssl-1.1.1l/
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 linux-elf shared
make
make install
@ -79,8 +79,8 @@ export LDFLAGS="-m32"
# sqlite3
cd ..
$DOWNLOADER $SQLITE3
tar zxvf sqlite-autoconf-3330000.tar.gz
cd sqlite-autoconf-3330000/
tar zxvf sqlite-autoconf-3360000.tar.gz
cd sqlite-autoconf-3360000/
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 --enable-shared
make
make install
@ -88,8 +88,8 @@ export LDFLAGS="-m32"
# libssh2
cd ..
$DOWNLOADER $SSH2
tar zxvf libssh2-1.7.0.tar.gz
cd libssh2-1.7.0/
tar zxvf libssh2-1.9.0.tar.gz
cd libssh2-1.9.0/
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

View File

@ -24,11 +24,11 @@ CXX_COMPILER="g++"
## DEPENDENCES ##
ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.11/zlib-1.2.11.tar.gz
OPENSSL=http://www.openssl.org/source/openssl-1.0.2u.tar.gz
EXPAT=https://github.com/libexpat/libexpat/releases/download/R_2_2_10/expat-2.2.10.tar.bz2
SQLITE3=https://sqlite.org/2020/sqlite-autoconf-3330000.tar.gz
C_ARES=https://c-ares.haxx.se/download/c-ares-1.16.1.tar.gz
SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
OPENSSL=https://www.openssl.org/source/openssl-1.1.1l.tar.gz
EXPAT=https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.bz2
SQLITE3=https://sqlite.org/2021/sqlite-autoconf-3360000.tar.gz
C_ARES=https://c-ares.haxx.se/download/c-ares-1.17.2.tar.gz
SSH2=https://www.libssh2.org/download/libssh2-1.9.0.tar.gz
## CONFIG ##
BUILD_DIRECTORY=/tmp/
@ -47,8 +47,8 @@ cd $BUILD_DIRECTORY
# expat build
cd ..
$DOWNLOADER $EXPAT
tar jxvf expat-2.2.10.tar.bz2
cd expat-2.2.10/
tar jxvf expat-2.4.1.tar.bz2
cd expat-2.4.1/
PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER" CXX="$CXX_COMPILER" ./configure --prefix=$PREFIX --enable-static --enable-shared
make
make install
@ -56,8 +56,8 @@ cd $BUILD_DIRECTORY
# c-ares build
cd ..
$DOWNLOADER $C_ARES
tar zxvf c-ares-1.16.1.tar.gz
cd c-ares-1.16.1/
tar zxvf c-ares-1.17.2.tar.gz
cd c-ares-1.17.2/
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
@ -65,8 +65,8 @@ cd $BUILD_DIRECTORY
# Openssl build
cd ..
$DOWNLOADER $OPENSSL
tar zxvf openssl-1.0.2u.tar.gz
cd openssl-1.0.2u/
tar zxvf openssl-1.1.1l.tar.gz
cd openssl-1.1.1l/
PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER" CXX="$CXX_COMPILER" ./Configure --prefix=$PREFIX linux-x86_64 shared
make
make install
@ -74,8 +74,8 @@ cd $BUILD_DIRECTORY
# sqlite3
cd ..
$DOWNLOADER $SQLITE3
tar zxvf sqlite-autoconf-3330000.tar.gz
cd sqlite-autoconf-3330000/
tar zxvf sqlite-autoconf-3360000.tar.gz
cd sqlite-autoconf-3360000/
PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER" CXX="$CXX_COMPILER" ./configure --prefix=$PREFIX --enable-static --enable-shared
make
make install
@ -83,8 +83,8 @@ cd $BUILD_DIRECTORY
# libssh2
cd ..
$DOWNLOADER $SSH2
tar zxvf libssh2-1.7.0.tar.gz
cd libssh2-1.7.0/
tar zxvf libssh2-1.9.0.tar.gz
cd libssh2-1.9.0/
rm -rf $PREFIX/lib/pkgconfig/libssh2.pc
PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/ LD_LIBRARY_PATH=$PREFIX/lib/ CC="$C_COMPILER" CXX="$CXX_COMPILER" ./configure --without-libgcrypt --with-openssl --without-wincng --prefix=$PREFIX --enable-static --disable-shared
make

View File

@ -21,11 +21,11 @@
## DEPENDENCES ##
ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.11/zlib-1.2.11.tar.gz
OPENSSL=http://www.openssl.org/source/openssl-1.0.2u.tar.gz
EXPAT=https://github.com/libexpat/libexpat/releases/download/R_2_2_10/expat-2.2.10.tar.bz2
SQLITE3=https://sqlite.org/2020/sqlite-autoconf-3330000.tar.gz
C_ARES=https://c-ares.haxx.se/download/c-ares-1.16.1.tar.gz
SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
OPENSSL=https://www.openssl.org/source/openssl-1.1.1l.tar.gz
EXPAT=https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.bz2
SQLITE3=https://sqlite.org/2021/sqlite-autoconf-3360000.tar.gz
C_ARES=https://c-ares.haxx.se/download/c-ares-1.17.2.tar.gz
SSH2=https://www.libssh2.org/download/libssh2-1.9.0.tar.gz
## CONFIG ##
BUILD_DIRECTORY=/tmp/
@ -46,8 +46,8 @@ cd $BUILD_DIRECTORY
# expat build
cd ..
$DOWNLOADER $EXPAT
tar jxvf expat-2.2.10.tar.bz2
cd expat-2.2.10/
tar jxvf expat-2.4.1.tar.bz2
cd expat-2.4.1/
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --enable-shared
make
make install
@ -55,8 +55,8 @@ cd $BUILD_DIRECTORY
# c-ares build
cd ..
$DOWNLOADER $C_ARES
tar zxvf c-ares-1.16.1.tar.gz
cd c-ares-1.16.1/
tar zxvf c-ares-1.17.2.tar.gz
cd c-ares-1.17.2/
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --disable-shared
make
make install
@ -64,8 +64,8 @@ cd $BUILD_DIRECTORY
# Openssl build
cd ..
$DOWNLOADER $OPENSSL
tar zxvf openssl-1.0.2u.tar.gz
cd openssl-1.0.2u/
tar zxvf openssl-1.1.1l.tar.gz
cd openssl-1.1.1l/
./Configure mingw --cross-compile-prefix=$HOST- --prefix=$PREFIX shared
make
make install
@ -73,8 +73,8 @@ cd $BUILD_DIRECTORY
# sqlite3
cd ..
$DOWNLOADER $SQLITE3
tar zxvf sqlite-autoconf-3330000.tar.gz
cd sqlite-autoconf-3330000/
tar zxvf sqlite-autoconf-3360000.tar.gz
cd sqlite-autoconf-3360000/
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --enable-shared
make
make install
@ -82,8 +82,8 @@ cd $BUILD_DIRECTORY
# libssh2
cd ..
$DOWNLOADER $SSH2
tar zxvf libssh2-1.7.0.tar.gz
cd libssh2-1.7.0/
tar zxvf libssh2-1.9.0.tar.gz
cd libssh2-1.9.0/
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

View File

@ -21,11 +21,11 @@
## DEPENDENCES ##
ZLIB=http://sourceforge.net/projects/libpng/files/zlib/1.2.11/zlib-1.2.11.tar.gz
OPENSSL=http://www.openssl.org/source/openssl-1.0.2u.tar.gz
EXPAT=https://github.com/libexpat/libexpat/releases/download/R_2_2_10/expat-2.2.10.tar.bz2
SQLITE3=https://sqlite.org/2020/sqlite-autoconf-3330000.tar.gz
C_ARES=https://c-ares.haxx.se/download/c-ares-1.16.1.tar.gz
SSH2=https://www.libssh2.org/download/libssh2-1.7.0.tar.gz
OPENSSL=https://www.openssl.org/source/openssl-1.1.1l.tar.gz
EXPAT=https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.bz2
SQLITE3=https://sqlite.org/2021/sqlite-autoconf-3360000.tar.gz
C_ARES=https://c-ares.haxx.se/download/c-ares-1.17.2.tar.gz
SSH2=https://www.libssh2.org/download/libssh2-1.9.0.tar.gz
## CONFIG ##
BUILD_DIRECTORY=/tmp/
@ -46,8 +46,8 @@ cd $BUILD_DIRECTORY
# expat build
cd ..
$DOWNLOADER $EXPAT
tar jxvf expat-2.2.10.tar.bz2
cd expat-2.2.10/
tar jxvf expat-2.4.1.tar.bz2
cd expat-2.4.1/
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --enable-shared
make
make install
@ -55,8 +55,8 @@ cd $BUILD_DIRECTORY
# c-ares build
cd ..
$DOWNLOADER $C_ARES
tar zxvf c-ares-1.16.1.tar.gz
cd c-ares-1.16.1/
tar zxvf c-ares-1.17.2.tar.gz
cd c-ares-1.17.2/
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --disable-shared
make
make install
@ -64,8 +64,8 @@ cd $BUILD_DIRECTORY
# Openssl build
cd ..
$DOWNLOADER $OPENSSL
tar zxvf openssl-1.0.2u.tar.gz
cd openssl-1.0.2u/
tar zxvf openssl-1.1.1l.tar.gz
cd openssl-1.1.1l/
./Configure mingw64 --cross-compile-prefix=$HOST- --prefix=$PREFIX shared
make
make install
@ -73,8 +73,8 @@ cd $BUILD_DIRECTORY
# sqlite3
cd ..
$DOWNLOADER $SQLITE3
tar zxvf sqlite-autoconf-3330000.tar.gz
cd sqlite-autoconf-3330000/
tar zxvf sqlite-autoconf-3360000.tar.gz
cd sqlite-autoconf-3360000/
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --enable-shared
make
make install
@ -82,8 +82,8 @@ cd $BUILD_DIRECTORY
# libssh2
cd ..
$DOWNLOADER $SSH2
tar zxvf libssh2-1.7.0.tar.gz
cd libssh2-1.7.0/
tar zxvf libssh2-1.9.0.tar.gz
cd libssh2-1.9.0/
rm -rf $PREFIX/lib/pkgconfig/libssh2.pc
CC=$HOST-gcc CXX=$HOST-g++ AR=$HOST-ar RANLIB=$HOST-ranlib ./configure --prefix=$PREFIX --host=$HOST --enable-static --disable-shared
make