summaryrefslogtreecommitdiff
path: root/community/nss-pam-ldapd/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-05-07 22:31:25 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-05-07 22:31:25 -0300
commit9f7fb9c12e84f20cd108b933f1a51e216f76cd98 (patch)
tree06520d9024b40745b94f02d0d3419386e6496863 /community/nss-pam-ldapd/PKGBUILD
parent6cc893589a6bd208f2b7711f985e17df7a6df816 (diff)
parenta86ff663185661ee304bb1f6d00d982102dd706d (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/nss-pam-ldapd/PKGBUILD')
-rw-r--r--community/nss-pam-ldapd/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/nss-pam-ldapd/PKGBUILD b/community/nss-pam-ldapd/PKGBUILD
new file mode 100644
index 000000000..19cacfa2f
--- /dev/null
+++ b/community/nss-pam-ldapd/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id
+# Maintainer: Federico Cinelli <cinelli@aur.archlinux.org>
+
+pkgname=nss-pam-ldapd
+pkgver=0.8.12
+pkgrel=3
+pkgdesc='LDAP module for NSS and PAM'
+arch=('i686' 'x86_64' 'mips64el')
+url="http://arthurdejong.org/$pkgname/"
+license=('LGPL2.1')
+depends=('krb5')
+replaces=('pam_ldap' 'nss_ldap')
+conflicts=('nss-pam-ldapd-git')
+provides=('nss-pam-ldapd')
+install=nss-pam-ldapd.install
+backup=('etc/nslcd.conf')
+source=("http://arthurdejong.org/$pkgname/$pkgname-$pkgver.tar.gz"
+ "nslcd.service")
+sha1sums=('9c320172df0cdd4eca6cd97ad4c2438e6552ffe0'
+ '40afa421f05c2128a5219504fea45b2e76830973')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-pam-seclib-dir=/usr/lib/security;
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -Dm644 "$srcdir/nslcd.service" "$pkgdir/usr/lib/systemd/system/nslcd.service"
+ install -Dm644 "$srcdir/$pkgname-$pkgver/nslcd.conf" "$pkgdir/etc/nslcd.conf"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: