From 088e78c83b06c42369b32bbcb5d70d4f4018e640 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 3 Aug 2012 12:48:00 +0000 Subject: main/phpldapadmin: additional template for User Groups --- main/phpldapadmin/APKBUILD | 10 ++++-- main/phpldapadmin/phpldapadmin.additional-template | 41 ++++++++++++++++++++++ 2 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 main/phpldapadmin/phpldapadmin.additional-template diff --git a/main/phpldapadmin/APKBUILD b/main/phpldapadmin/APKBUILD index f2889f2ef3..f782e68668 100644 --- a/main/phpldapadmin/APKBUILD +++ b/main/phpldapadmin/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Leonardo Arena pkgname=phpldapadmin pkgver=1.2.2 -pkgrel=0 +pkgrel=1 pkgdesc="Web front-end for managing OpenLDAP" url="http://phpldapadmin.sourceforge.net" arch="noarch" @@ -11,7 +11,8 @@ depends_dev= makedepends="$depends_dev" install= subpackages= -source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-php5/$pkgver/$pkgname-$pkgver.tgz" +source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-php5/$pkgver/$pkgname-$pkgver.tgz + $pkgname.additional-template" _builddir="$srcdir"/$pkgname-$pkgver @@ -32,6 +33,9 @@ package() { mv * "$pkgdir"/usr/share/webapps/phpldapadmin mv "$pkgdir"/usr/share/webapps/phpldapadmin/config "$pkgdir"/etc/phpldapadmin ln -s /etc/phpldapadmin "$pkgdir"/usr/share/webapps/phpldapadmin/config || exit 1 + install -Dm644 ../$pkgname.additional-template \ + "$pkgdir"/usr/share/webapps/phpldapadmin/templates/creation/groupOfNames.xml || exit 1 } -md5sums="78ca61eb5d7913963f8e42eb3b4f0e95 phpldapadmin-1.2.2.tgz" +md5sums="78ca61eb5d7913963f8e42eb3b4f0e95 phpldapadmin-1.2.2.tgz +3ca4fbf9e16f192b441b51b2d25ecf14 phpldapadmin.additional-template" diff --git a/main/phpldapadmin/phpldapadmin.additional-template b/main/phpldapadmin/phpldapadmin.additional-template new file mode 100644 index 0000000000..1a1b3a8f50 --- /dev/null +++ b/main/phpldapadmin/phpldapadmin.additional-template @@ -0,0 +1,41 @@ + + + -- cgit v1.2.3