Add support for xpass (#976)
parent
4e8a3a3ff2
commit
7b90733885
|
@ -14,3 +14,4 @@ sodium !jessie
|
||||||
sqlsrv !7.1-alpine3.9 !7.1-alpine3.10
|
sqlsrv !7.1-alpine3.9 !7.1-alpine3.10
|
||||||
vips !alpine3.9 !jessie
|
vips !alpine3.9 !jessie
|
||||||
wikidiff2 !jessie !stretch
|
wikidiff2 !jessie !stretch
|
||||||
|
xpass !buster
|
||||||
|
|
|
@ -136,6 +136,7 @@ xhprof 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
|
||||||
xlswriter 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
|
xlswriter 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
|
||||||
xmldiff 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
xmldiff 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
||||||
xmlrpc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
|
xmlrpc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
|
||||||
|
xpass 8.0 8.1 8.2 8.3 8.4
|
||||||
xsl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
|
xsl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
|
||||||
yac 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
|
yac 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
|
||||||
yaml 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
|
yaml 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
|
||||||
|
|
|
@ -1554,6 +1554,12 @@ buildRequiredPackageLists() {
|
||||||
xmlrpc@debian)
|
xmlrpc@debian)
|
||||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libxml2-dev"
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libxml2-dev"
|
||||||
;;
|
;;
|
||||||
|
xpass@alpine)
|
||||||
|
if ! isLibXCryptInstalled; then
|
||||||
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile linux-headers"
|
||||||
|
COMPILE_LIBS="$COMPILE_LIBS libxcrypt"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
xsl@alpine)
|
xsl@alpine)
|
||||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libxslt"
|
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libxslt"
|
||||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libxslt-dev libgcrypt-dev"
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libxslt-dev libgcrypt-dev"
|
||||||
|
@ -2423,6 +2429,25 @@ installFirebird() {
|
||||||
cd - >/dev/null
|
cd - >/dev/null
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isLibXCryptInstalled() {
|
||||||
|
if ! test -f /usr/local/lib/libcrypt.so && ! test -f /usr/lib/libcrypt.so && ! test -f /usr/lib/x86_64*/libcrypt.so; then
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
installLibXCrypt() {
|
||||||
|
printf 'Installing libxcrypt\n'
|
||||||
|
installLibXCrypt_version=4.4.36
|
||||||
|
installLibXCrypt_src="$(getPackageSource "https://github.com/besser82/libxcrypt/releases/download/v$installLibXCrypt_version/libxcrypt-$installLibXCrypt_version.tar.xz")"
|
||||||
|
cd -- "$installLibXCrypt_src"
|
||||||
|
./configure --prefix /usr
|
||||||
|
make -j$(getProcessorCount)
|
||||||
|
make install
|
||||||
|
cd - >/dev/null
|
||||||
|
}
|
||||||
|
|
||||||
# Install Composer
|
# Install Composer
|
||||||
installComposer() {
|
installComposer() {
|
||||||
installComposer_version="$(getWantedPHPModuleVersion @composer)"
|
installComposer_version="$(getWantedPHPModuleVersion @composer)"
|
||||||
|
@ -2618,6 +2643,9 @@ compileLibs() {
|
||||||
if stringInList firebird "$COMPILE_LIBS"; then
|
if stringInList firebird "$COMPILE_LIBS"; then
|
||||||
installFirebird
|
installFirebird
|
||||||
fi
|
fi
|
||||||
|
if stringInList libxcrypt "$COMPILE_LIBS"; then
|
||||||
|
installLibXCrypt
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Install a bundled PHP module given its handle
|
# Install a bundled PHP module given its handle
|
||||||
|
|
Loading…
Reference in New Issue