From c397c75045c45a9ae6bba477f5157f2786b7179e Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Sat, 5 Mar 2016 00:16:34 -0600 Subject: [PATCH] New Package: nss-pam-ldap_0.9.6 --- srcpkgs/nss-pam-ldapd/files/nslcd/run | 4 ++++ srcpkgs/nss-pam-ldapd/template | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100755 srcpkgs/nss-pam-ldapd/files/nslcd/run create mode 100644 srcpkgs/nss-pam-ldapd/template diff --git a/srcpkgs/nss-pam-ldapd/files/nslcd/run b/srcpkgs/nss-pam-ldapd/files/nslcd/run new file mode 100755 index 00000000000..49c45c4da5e --- /dev/null +++ b/srcpkgs/nss-pam-ldapd/files/nslcd/run @@ -0,0 +1,4 @@ +#!/bin/bash +mkdir /var/run/nslcd +chown nslcd:nslcd /var/run/nslcd +chpst -u nslcd:nslcd nslcd -n diff --git a/srcpkgs/nss-pam-ldapd/template b/srcpkgs/nss-pam-ldapd/template new file mode 100644 index 00000000000..036121b830e --- /dev/null +++ b/srcpkgs/nss-pam-ldapd/template @@ -0,0 +1,20 @@ +# Template file for 'nss-pam-ldapd' +pkgname=nss-pam-ldapd +version=0.9.6 +revision=1 +only_for_archs="i686 x86_64 armv6l armv7l aarch64" +build_style=gnu-configure +configure_args="--enable-sasl --enable-kerberos --with-pam-seclib-dir=/usr/lib/security/" +conf_files="/etc/nslcd.conf" +makedepends="pam-devel libldap-devel libsasl-devel mit-krb5-devel" +system_accounts="nslcd" +short_desc="LDAP identity management via nsswitch" +maintainer="Michael Aldridge " +license="LGPL-2.1" +homepage="https://arthurdejong.org/nss-pam-ldapd/" +distfiles="https://arthurdejong.org/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=101d5a7fa10549cc77be48d07f2b8141f59182f10f2cc0fea93efd13c3a5a6f2 + +post_install() { + vsv nslcd +} \ No newline at end of file