aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-09-02 12:58:09 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-09-02 12:58:09 +0300
commitd2d22e10819ae04fffe6787fc1b952f1db690478 (patch)
tree4617a602e1e76152917afded72e782f7dec7181b /community
parentc7e4f19f72371c9f061f5a4a752a34a609530a68 (diff)
downloadaports-d2d22e10819ae04fffe6787fc1b952f1db690478.tar.bz2
aports-d2d22e10819ae04fffe6787fc1b952f1db690478.tar.xz
community/homer-api: subpackage for LDAP authentication
Diffstat (limited to 'community')
-rw-r--r--community/homer-api/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/community/homer-api/APKBUILD b/community/homer-api/APKBUILD
index 4e702e52fb..46cbfeb29f 100644
--- a/community/homer-api/APKBUILD
+++ b/community/homer-api/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=homer-api
pkgver=5.0.6
-pkgrel=9
+pkgrel=10
pkgdesc="HOMER API"
url="https://github.com/sipcapture/homer-api"
arch="noarch"
@@ -10,7 +10,7 @@ license="GPL"
depends="homer-db php7-ctype php7-json php7-pdo_mysql php7-session"
makedepends="$depends_dev"
options="!check"
-subpackages="$pkgname-doc homer-db"
+subpackages="$pkgname-doc homer-api-ldap homer-db"
source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/homer-api/archive/$pkgver.tar.gz
homer_db_init
rotation-ini-path.patch"
@@ -56,6 +56,14 @@ db() {
ln -s /usr/bin/homer_rotate "$subpkgdir"/etc/periodic/daily
}
+ldap() {
+ depends="$pkgname php7-ldap"
+
+ local dir=usr/share/webapps/homer/api/Authentication
+ mkdir -p "$subpkgdir"/$dir
+ mv "$pkgdir"/$dir/LDAP.php "$subpkgdir"/$dir
+}
+
sha512sums="620185c19bd348ba68bad3a1992b7d673d29dcfb8a0aeea437a2d31e90f0a21cf6f46a43f0041a583a14d9403e1d8574c6040da1dba397ec2d955b8aba9010d8 homer-api-5.0.6.tar.gz
e305af57a8445b45cb1e894aa34ceea3aeedb60740a636229d470d872f9ebb835e03985faeb685180a3e2c1eae29b49c841f8cbdb4236dbf0323f905a30b0bbb homer_db_init
0328c4f645601be150f877a31a8c245908da9d9972bed6e1af50f2c43055c9f47376da30c666b6eaa0310637414f65906b88f9a339a1dfa14e1864c70b36fa77 rotation-ini-path.patch"