Continue implementing Alpine support

Test: intl, ldap, mcrypt, memcache, memcached, msgpack, mysql, mysqli
pull/56/head
Michele Locati 2019-12-11 12:29:48 +01:00
parent ef8f9f622f
commit 3202a0f193
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 28 additions and 4 deletions

View File

@ -281,20 +281,44 @@ buildRequiredPackageLists () {
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libfbclient2" buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libfbclient2"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile firebird-dev libib-util" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile firebird-dev libib-util"
;; ;;
intl@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent icu-libs"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile icu-dev"
;;
intl@debian) intl@debian)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libicu-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libicu-dev"
;; ;;
ldap@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libldap"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile openldap-dev"
;;
ldap@debian) ldap@debian)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libldap2-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libldap2-dev"
;; ;;
mcrypt@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libmcrypt"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmcrypt-dev"
;;
mcrypt@debian)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libmcrypt4"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmcrypt-dev"
;;
memcache@alpine)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $PHPIZE_DEPS zlib-dev"
;;
memcache@debian) memcache@debian)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile zlib1g-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile zlib1g-dev"
;; ;;
memcached@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libmemcached-libs"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $PHPIZE_DEPS libmemcached-dev zlib-dev"
;;
memcached@debian) memcached@debian)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libmemcachedutil2"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmemcached-dev zlib1g-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmemcached-dev zlib1g-dev"
;; ;;
mcrypt@debian) msgpack@alpine)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmcrypt-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $PHPIZE_DEPS"
;; ;;
mssql@debian) mssql@debian)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile freetds-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile freetds-dev"
@ -505,7 +529,7 @@ installBundledModule () {
sed -i '194s/.*/#if 0/' src/common/classes/rwlock.h sed -i '194s/.*/#if 0/' src/common/classes/rwlock.h
set +x set +x
./configure --with-system-icu ./configure --with-system-icu
make btyacc_binary gpre_boot libfbstatic libfbclient make -j$(nproc) btyacc_binary gpre_boot libfbstatic libfbclient
cp gen/firebird/lib/libfbclient.so /usr/lib/ cp gen/firebird/lib/libfbclient.so /usr/lib/
ln -s /usr/lib/libfbclient.so /usr/lib/libfbclient.so.2 ln -s /usr/lib/libfbclient.so /usr/lib/libfbclient.so.2
cd - cd -
@ -550,7 +574,7 @@ installBundledModule () {
mkdir "$libZipSrc/build" mkdir "$libZipSrc/build"
cd "$libZipSrc/build" cd "$libZipSrc/build"
cmake .. cmake ..
make install make -j$(nproc) install
cd - cd -
if test $1 -le 703; then if test $1 -le 703; then
docker-php-ext-configure zip --with-libzip docker-php-ext-configure zip --with-libzip