aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-04-07 15:12:22 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-04-07 15:12:35 +0000
commit42687d1df0615f1e6094e4d28bed65a29b55be79 (patch)
treec61f15b73506f2408774adf9dfba324ccabc05d5
parent3c80ffcde355ba9c2b4629b4bdf3efef1278811a (diff)
downloadaports-42687d1df0615f1e6094e4d28bed65a29b55be79.tar.gz
aports-42687d1df0615f1e6094e4d28bed65a29b55be79.tar.bz2
aports-42687d1df0615f1e6094e4d28bed65a29b55be79.tar.xz
community/ltb-project-ssp: upgrade to 1.0, use php7, modernize APKBUILD, disable check()
-rw-r--r--community/ltb-project-ssp/APKBUILD32
1 files changed, 9 insertions, 23 deletions
diff --git a/community/ltb-project-ssp/APKBUILD b/community/ltb-project-ssp/APKBUILD
index 7ba5ea14ca..8fa0f01a27 100644
--- a/community/ltb-project-ssp/APKBUILD
+++ b/community/ltb-project-ssp/APKBUILD
@@ -1,33 +1,25 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname="ltb-project-ssp"
_realname="ltb-project-self-service-password"
-pkgver="0.9"
+pkgver="1.0"
pkgrel=0
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"
license="GPL"
-_php=php5
+_php=php7
depends="$_php ${_php}-ldap ${_php}-mcrypt"
-depends_dev=
makedepends="$depends_dev"
-install=
-subpackages=
-source="http://tools.ltb-project.org/attachments/download/800/$_realname-$pkgver.tar.gz
+options="!check"
+source="http://ltb-project.org/archives/ltb-project-self-service-password-$pkgver.tar.gz
ltb-project-ssp-move-config-location.patch
ssp-0.8-add-crypt-algorithm-option.patch
"
-
-
-_builddir="$srcdir"/$_realname-$pkgver
+builddir="$srcdir"/$_realname-$pkgver
prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ cd "$builddir"
+ default_prepare
}
build() {
@@ -35,19 +27,13 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
mkdir -p "$pkgdir"/etc/ltb-project/ssp
mkdir -p "$pkgdir"/usr/share/webapps/ltb-project/ssp
mv conf "$pkgdir"/etc/ltb-project/ssp
cp -r * "$pkgdir"/usr/share/webapps/ltb-project/ssp
}
-md5sums="aa33bb6403f7f9b293520d8456e3e2e7 ltb-project-self-service-password-0.9.tar.gz
-fd4c36fda7ed90cb11d242bc1139853b ltb-project-ssp-move-config-location.patch
-b7ba10bd033b3d9cb10269d4dee8c467 ssp-0.8-add-crypt-algorithm-option.patch"
-sha256sums="ea135c9614a7fd9bbcfdaea153f760fa0851762468c6fb86bcebf6f1e8587721 ltb-project-self-service-password-0.9.tar.gz
-f5cb978e5d45e09bf9923af8e337c7385448b350060a01f26eb9d061a1524340 ltb-project-ssp-move-config-location.patch
-34f23f1a90aba6f20ae3f1018512f6d413c6779eaf0dd65b795d99220b394925 ssp-0.8-add-crypt-algorithm-option.patch"
-sha512sums="d89c4e50e929f89b2bb5acaef607e16a0785663506aa49c2ade8ff94e2adee31dc6eda7889114cb872ad0690db97b80e52facdf74997c58f0180ced3bbd91c4e ltb-project-self-service-password-0.9.tar.gz
+sha512sums="1d4591fa3c3a72bec2cf2584fae27f62ac22b7111144cd7df3f4c3d8485e174822117c68ab0c7e6d2fa49f6d6d0bba7c2aa367661b78e34bd9303cd9a33e8cd7 ltb-project-self-service-password-1.0.tar.gz
70151388b681a6af43d0861f3741ecf2573f1c9f4f79258bb7f66e54cd80ca57f895f371f5e1369c424f5a2059a406c90f8ad3ce3245357e5d2b51edf578826c ltb-project-ssp-move-config-location.patch
43f4e0e82a396c8caeeeb41d18d14886c051ccb18d061081f7c84f8bbe9b8a15d618e2a02480483659b04a82218408b71557acc6414731695f0f691c3cdce232 ssp-0.8-add-crypt-algorithm-option.patch"