GNU bug report logs - #26473
[PATCH] gnu: Add nss-pam-ldapd.

Previous Next

Package: guix-patches;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Thu, 13 Apr 2017 08:09:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26473 in the body.
You can then email your comments to 26473 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#26473; Package guix-patches. (Thu, 13 Apr 2017 08:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 13 Apr 2017 08:09:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: guix-patches <at> gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH] gnu: Add nss-pam-ldapd.
Date: Thu, 13 Apr 2017 10:08:04 +0200
* 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 © 2013, 2014, 2015 Ludovic Courtès <ludo <at> gnu.org>
 ;;; Copyright © 2013 Andreas Enge <andreas <at> enge.fr>
 ;;; Copyright © 2016 Leo Famulari <leo <at> famulari.name>
+;;; Copyright © 2017 Ricardo Wurmus <rekado <at> elephly.net>
 ;;;
 ;;; 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 Access 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-ldapd/"
+                                  "nss-pam-ldapd-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1sw36w6zkzvabvjckqick032j5p5xi0qi3sgnh0znzxz31jqvf0d"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       (list (string-append "--with-pam-seclib-dir="
+                            (assoc-ref %outputs "out") "/lib/security/")
+             (string-append "--with-ldap-conf-file="
+                            (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} (NSS)
+module that allows your LDAP server to provide user account, group, host name,
+alias, netgroup, and basically any other information that you would normally
+get from @file{/etc} flat files or NIS.  It also provides a @dfn{Pluggable
+Authentication Module} (PAM) to do identity and authentication management with
+an LDAP server.")
+    (license lgpl2.1+)))
-- 
2.12.2






Information forwarded to guix-patches <at> gnu.org:
bug#26473; Package guix-patches. (Sat, 15 Apr 2017 19:02:01 GMT) Full text and rfc822 format available.

Message #8 received at 26473 <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kei <at> openmailbox.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 26473 <at> debbugs.gnu.org
Subject: Re: bug#26473: [PATCH] gnu: Add nss-pam-ldapd.
Date: Sat, 15 Apr 2017 15:01:24 -0400
[Message part 1 (text/plain, inline)]
Ricardo Wurmus <rekado <at> elephly.net> 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 © 2013, 2014, 2015 Ludovic Courtès <ludo <at> gnu.org>
>  ;;; Copyright © 2013 Andreas Enge <andreas <at> enge.fr>
>  ;;; Copyright © 2016 Leo Famulari <leo <at> famulari.name>
> +;;; Copyright © 2017 Ricardo Wurmus <rekado <at> elephly.net>
>  ;;;
>  ;;; 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 Access 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-ldapd/"
> +                                  "nss-pam-ldapd-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1sw36w6zkzvabvjckqick032j5p5xi0qi3sgnh0znzxz31jqvf0d"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:configure-flags
> +       (list (string-append "--with-pam-seclib-dir="
> +                            (assoc-ref %outputs "out") "/lib/security/")
> +             (string-append "--with-ldap-conf-file="
> +                            (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} (NSS)
> +module that allows your LDAP server to provide user account, group, host name,
> +alias, netgroup, and basically any other information that you would normally
> +get from @file{/etc} flat files or NIS.  It also provides a @dfn{Pluggable
> +Authentication Module} (PAM) to do identity and authentication management with
> +an LDAP server.")
> +    (license lgpl2.1+)))

LGTM.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Sat, 22 Apr 2017 21:13:02 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Sat, 22 Apr 2017 21:13:02 GMT) Full text and rfc822 format available.

Message #13 received at 26473-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Kei Kebreau <kei <at> openmailbox.org>
Cc: 26473-done <at> debbugs.gnu.org
Subject: Re: bug#26473: [PATCH] gnu: Add nss-pam-ldapd.
Date: Sat, 22 Apr 2017 23:11:51 +0200
Kei Kebreau <kei <at> openmailbox.org> writes:

> Ricardo Wurmus <rekado <at> elephly.net> writes:
>
>> * gnu/packages/openldap.scm (nss-pam-ldapd): New variable.

[…]

> LGTM.

Thanks.  Pushed to master with commit f8fe0e9db.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 21 May 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.