summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Wieczorek2017-11-06 14:26:58 +0100
committerMarcin Wieczorek2017-11-06 14:26:58 +0100
commit2021087060f6f50118ea11e4e261214a7f827ab0 (patch)
tree5009483c4f0db8f72dd270e638791c3a83c0b510
parentc7fc1177fb762089faf5f10680461873c9b27ee5 (diff)
downloadaur-2021087060f6f50118ea11e4e261214a7f827ab0.tar.gz
Version 6.1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD43
2 files changed, 25 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4f1e2a0fea3..f963a069433 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ldap-account-manager
pkgdesc = A webfrontend for managing entries stored in an LDAP directory
- pkgver = 5.5
+ pkgver = 6.1
pkgrel = 1
url = https://www.ldap-account-manager.org/
arch = any
@@ -13,11 +13,11 @@ pkgbase = ldap-account-manager
optdepends = php-apache: Run LDAP Account Manager on Apache
optdepends = php-fpm: Run LDAP Account Manager on other webservers
options = !strip
- source = http://downloads.sourceforge.net/lam/ldap-account-manager-5.5.tar.bz2
+ source = http://downloads.sourceforge.net/lam/ldap-account-manager-6.1.tar.bz2
source = dont-look-for-alternate-perl.patch
source = fix-htmldir-and-docdir.patch
source = apache.example.conf
- md5sums = c7f4e308c0982ff2d85e9f6760a5d51e
+ md5sums = 362c4b2b136acbf0803f7af71771fb49
md5sums = a9674e38ec4a6e2e8c4c939212c60250
md5sums = d32a8d1d4863fe89fda04722404a621f
md5sums = 288c8e57cc9f701050d35b79d70d66e8
diff --git a/PKGBUILD b/PKGBUILD
index 6e3e9208d7c..ffe334c43c7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Dominik Peteler <archlinux@with-h.at>
pkgname=ldap-account-manager
-pkgver=5.5
+pkgver=6.1
pkgrel=1
pkgdesc="A webfrontend for managing entries stored in an LDAP directory"
arch=('any')
@@ -17,7 +17,7 @@ source=("http://downloads.sourceforge.net/lam/${pkgname}-${pkgver}.tar.bz2"
"dont-look-for-alternate-perl.patch"
"fix-htmldir-and-docdir.patch"
"apache.example.conf")
-md5sums=('c7f4e308c0982ff2d85e9f6760a5d51e'
+md5sums=('362c4b2b136acbf0803f7af71771fb49'
'a9674e38ec4a6e2e8c4c939212c60250'
'd32a8d1d4863fe89fda04722404a621f'
'288c8e57cc9f701050d35b79d70d66e8')
@@ -28,33 +28,34 @@ _docdir="usr/share/doc/${pkgname}"
_datadir="var/lib/${pkgname}"
prepare() {
- cd "${srcdir}"
- patch "${pkgname}-${pkgver}/configure.ac" dont-look-for-alternate-perl.patch
- patch "${pkgname}-${pkgver}/Makefile.in" fix-htmldir-and-docdir.patch
+ cd "${srcdir}"
+ # patch "${pkgname}-${pkgver}/configure.ac" dont-look-for-alternate-perl.patch
+ # patch "${pkgname}-${pkgver}/Makefile.in" fix-htmldir-and-docdir.patch
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
- --with-httpd-user=http \
- --with-httpd-group=http \
- --with-web-root=/${_webroot} \
- --sysconfdir=/${_confdir} \
- --localstatedir=/${_datadir} \
- --docdir=/${_docdir}
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --with-httpd-user=http \
+ --with-httpd-group=http \
+ --with-web-root=/${_webroot} \
+ --sysconfdir=/${_confdir} \
+ --localstatedir=/${_datadir} \
+ --docdir=/${_docdir}
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}/" install
- install -Dm644 "${srcdir}/apache.example.conf" "${pkgdir}/${_docdir}/apache.example.conf"
+ make DESTDIR="${pkgdir}/" install
+ install -Dm644 "${srcdir}/apache.example.conf" "${pkgdir}/${_docdir}/apache.example.conf"
- cd "${pkgdir}"
+ cd "${pkgdir}"
- chown http:http ${_datadir}
- chmod 775 ${_confdir}
+ chown http:http ${_datadir}
+ chmod 775 ${_confdir}
- sed -i 's|/bin/|/usr/bin/|' ${_confdir}/templates/profiles/default.user
- sed -i 's|/bin/|/usr/bin/|' ${_webroot}/lib/modules/posixAccount.inc
+ sed -i 's|/bin/|/usr/bin/|' ${_confdir}/templates/profiles/default.user
+ sed -i 's|/bin/|/usr/bin/|' ${_webroot}/lib/modules/posixAccount.inc
}