From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czSxR-0000fc-5c for guix-patches@gnu.org; Sat, 15 Apr 2017 15:02:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czSxO-0002gS-2z for guix-patches@gnu.org; Sat, 15 Apr 2017 15:02:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51165) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czSxN-0002gC-Uk for guix-patches@gnu.org; Sat, 15 Apr 2017 15:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1czSxN-0005Q7-Oe for guix-patches@gnu.org; Sat, 15 Apr 2017 15:02:01 -0400 Subject: bug#26473: [PATCH] gnu: Add nss-pam-ldapd. Resent-Message-ID: From: Kei Kebreau References: <20170413080804.30980-1-rekado@elephly.net> Date: Sat, 15 Apr 2017 15:01:24 -0400 In-Reply-To: <20170413080804.30980-1-rekado@elephly.net> (Ricardo Wurmus's message of "Thu, 13 Apr 2017 10:08:04 +0200") Message-ID: <87k26lmr5n.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 26473@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > * gnu/packages/openldap.scm (nss-pam-ldapd): New variable. > --- > gnu/packages/openldap.scm | 37 ++++++++++++++++++++++++++++++++++++- > 1 file changed, 36 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm > index 627319bda..b67510647 100644 > --- a/gnu/packages/openldap.scm > +++ b/gnu/packages/openldap.scm > @@ -2,6 +2,7 @@ > ;;; Copyright =C2=A9 2013, 2014, 2015 Ludovic Court=C3=A8s > ;;; Copyright =C2=A9 2013 Andreas Enge > ;;; Copyright =C2=A9 2016 Leo Famulari > +;;; Copyright =C2=A9 2017 Ricardo Wurmus > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -26,8 +27,10 @@ > #:use-module (gnu packages gnupg) > #:use-module (gnu packages groff) > #:use-module (gnu packages icu4c) > + #:use-module (gnu packages linux) > + #:use-module (gnu packages python) > #:use-module (gnu packages tls) > - #:use-module ((guix licenses) #:select (openldap2.8)) > + #:use-module ((guix licenses) #:select (openldap2.8 lgpl2.1+)) > #:use-module (guix packages) > #:use-module (guix download) > #:use-module (guix build-system gnu)) > @@ -74,3 +77,35 @@ > "OpenLDAP is a free implementation of the Lightweight Directory Acce= ss Protocol.") > (license openldap2.8) > (home-page "http://www.openldap.org/"))) > + > +(define-public nss-pam-ldapd > + (package > + (name "nss-pam-ldapd") > + (version "0.9.7") > + (source (origin > + (method url-fetch) > + (uri (string-append "https://arthurdejong.org/nss-pam-ldap= d/" > + "nss-pam-ldapd-" version ".tar.gz")) > + (sha256 > + (base32 > + "1sw36w6zkzvabvjckqick032j5p5xi0qi3sgnh0znzxz31jqvf0d"))= )) > + (build-system gnu-build-system) > + (arguments > + `(#:configure-flags > + (list (string-append "--with-pam-seclib-dir=3D" > + (assoc-ref %outputs "out") "/lib/security/") > + (string-append "--with-ldap-conf-file=3D" > + (assoc-ref %outputs "out") "/etc/nslcd.conf"= )))) > + (inputs > + `(("linux-pam" ,linux-pam) > + ("openldap" ,openldap) > + ("python" ,python-2))) > + (home-page "https://arthurdejong.org/nss-pam-ldapd") > + (synopsis "NSS and PAM modules for LDAP") > + (description "nss-pam-ldapd provides a @dfn{Name Service Switch} (NS= S) > +module that allows your LDAP server to provide user account, group, host= name, > +alias, netgroup, and basically any other information that you would norm= ally > +get from @file{/etc} flat files or NIS. It also provides a @dfn{Pluggab= le > +Authentication Module} (PAM) to do identity and authentication managemen= t with > +an LDAP server.") > + (license lgpl2.1+))) LGTM. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAljybgQACgkQ5qXuPBlG eg2MtA/9FItaQzf7vUqanEch+GAjjm8aoDc843YJpfLZWOuNKeZscaxxe1uPYvNJ Wlo96FILDW+g65YQVtozHvuW991trJoKDvHnuBHfAkpkmfnfTHySkqeZ9fee8m5r L05Ld7Ef5Scv+PC0tdHWreRIshxWDwgXwZ1mSXto7AK2zcD6sysr1DxEW9T0m6vY d0RRmubzsOBgoAzLN2PW/SiAnPbKNL8EtNW5ULuRhIgM1gMT7x4iGY2Sq979IA9i H/8eAtACHRE6Ad6AiCuK4PYj71IDSC1A/x7B/rkQOJloG/i7ggi1RIV0T8MjTxuL /3gjOSmvVWjyuxWCJAx/L0xy0dsHw2f/Yy5hcYiZz5QmEmraoxgo4x+g6UHPEFZT NmjSPQIsNvm6T+1oi1n//WbKy0W5piJQd5fnBP4LLWfC/E/jo9+TL+SpCWqOIXy5 pKb0QowcGbZ5inE+ArYqXTSf/uyZw9n6Rs2RJMWBxlVosJ7UB8zF9erwdsHOd1kR Fvd01hXje6JCiXs8nspUYvaJl54uag1bIM84XteMqznWwBF3t6Y2sDGi6QF2gNU9 Ha0bD3rhmRk5bmm0tgp30DLsWSIpQ8ROXFTxMfQBwl0o84SLzH1owrUD6zefnkwV ni1CMg9rCzobhIVnFbQGa7QVBYzqZTulYmKNvqeJBoO5QAr6//o= =SX4f -----END PGP SIGNATURE----- --=-=-=--