Add support for xpass (#976)

pull/977/head
Michele Locati 2024-09-09 17:09:41 +02:00 committed by GitHub
parent 4e8a3a3ff2
commit 7b90733885
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 30 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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