diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-02-27 14:55:54 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-02-27 14:55:54 +0000 |
commit | c74d667dde080bf04cef65a13303c797543bf3e7 (patch) | |
tree | 86772a1e9d468cd1d4d7ad0446ac36191ce9073f | |
parent | fd8c65c15f6f5548331ba559633fad727480958f (diff) | |
download | aports-c74d667dde080bf04cef65a13303c797543bf3e7.tar.bz2 aports-c74d667dde080bf04cef65a13303c797543bf3e7.tar.xz |
main/ltb-project-ssp: variable scope bugfix
-rw-r--r-- | main/ltb-project-ssp/APKBUILD | 8 | ||||
-rw-r--r-- | main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/main/ltb-project-ssp/APKBUILD b/main/ltb-project-ssp/APKBUILD index 967586388c..097e594354 100644 --- a/main/ltb-project-ssp/APKBUILD +++ b/main/ltb-project-ssp/APKBUILD @@ -2,7 +2,7 @@ pkgname="ltb-project-ssp" _realname="ltb-project-self-service-password" pkgver="0.8" -pkgrel=3 +pkgrel=4 pkgdesc="PHP application that allows users to change their password in an LDAP directory" url="http://ltb-project.org/wiki/documentation/self-service-password" arch="noarch" @@ -43,10 +43,10 @@ package() { md5sums="3132329678221221f9b8e94b8de3b360 ltb-project-self-service-password-0.8.tar.gz fd4c36fda7ed90cb11d242bc1139853b ltb-project-ssp-move-config-location.patch -a94dc152a2047477a512cb9836234c5f ssp-0.8-add-crypt-algorithm-option.patch" +b7ba10bd033b3d9cb10269d4dee8c467 ssp-0.8-add-crypt-algorithm-option.patch" sha256sums="e26d299ed6d2352056d545c3c5c826d296ff7a6152434db25196982dc14359d3 ltb-project-self-service-password-0.8.tar.gz f5cb978e5d45e09bf9923af8e337c7385448b350060a01f26eb9d061a1524340 ltb-project-ssp-move-config-location.patch -9767aa309e07d61f2cc9afdf06979c429e425be7c2adee63e1043e2981e42dbc ssp-0.8-add-crypt-algorithm-option.patch" +34f23f1a90aba6f20ae3f1018512f6d413c6779eaf0dd65b795d99220b394925 ssp-0.8-add-crypt-algorithm-option.patch" sha512sums="3586ba46b35badc37fbd562d884c9cd1f21527c31458231ed3af6848e919d9072251e11cbbdbf583f39901c6e37c85223be2682c0821d1553cba6911c339e6c7 ltb-project-self-service-password-0.8.tar.gz 70151388b681a6af43d0861f3741ecf2573f1c9f4f79258bb7f66e54cd80ca57f895f371f5e1369c424f5a2059a406c90f8ad3ce3245357e5d2b51edf578826c ltb-project-ssp-move-config-location.patch -bd36666f66892128af8fa9b7c3fd57e4d315ea24d356ff3f3c5a7895232370239e3bea27a6701d67525be4241837c94135abda5a834f2cf217edef740adf5b30 ssp-0.8-add-crypt-algorithm-option.patch" +43f4e0e82a396c8caeeeb41d18d14886c051ccb18d061081f7c84f8bbe9b8a15d618e2a02480483659b04a82218408b71557acc6414731695f0f691c3cdce232 ssp-0.8-add-crypt-algorithm-option.patch" diff --git a/main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch b/main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch index cebb918a92..8abb818f51 100644 --- a/main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch +++ b/main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch @@ -21,7 +21,7 @@ index 03e7258..1870692 100644 $salt .= substr( $possible, ( rand() % strlen( $possible ) ), 1 ); - $hash = '{CRYPT}' . crypt( $password, $salt); -+ $hash = '{CRYPT}' . crypt( $password, $crypt_salt_prefix.$salt); ++ $hash = '{CRYPT}' . crypt( $password, $GLOBALS['crypt_salt_prefix'].$salt); return $hash; } |