all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26473: [PATCH] gnu: Add nss-pam-ldapd.
@ 2017-04-13  8:08 Ricardo Wurmus
  2017-04-15 19:01 ` Kei Kebreau
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2017-04-13  8:08 UTC (permalink / raw)
  To: 26473; +Cc: Ricardo Wurmus

* 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@gnu.org>
 ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2017 Ricardo Wurmus <rekado@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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#26473: [PATCH] gnu: Add nss-pam-ldapd.
  2017-04-13  8:08 bug#26473: [PATCH] gnu: Add nss-pam-ldapd Ricardo Wurmus
@ 2017-04-15 19:01 ` Kei Kebreau
  2017-04-22 21:11   ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Kei Kebreau @ 2017-04-15 19:01 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 26473

[-- Attachment #1: Type: text/plain, Size: 2951 bytes --]

Ricardo Wurmus <rekado@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@gnu.org>
>  ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
>  ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
> +;;; Copyright © 2017 Ricardo Wurmus <rekado@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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#26473: [PATCH] gnu: Add nss-pam-ldapd.
  2017-04-15 19:01 ` Kei Kebreau
@ 2017-04-22 21:11   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2017-04-22 21:11 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: 26473-done


Kei Kebreau <kei@openmailbox.org> writes:

> Ricardo Wurmus <rekado@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-22 21:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-13  8:08 bug#26473: [PATCH] gnu: Add nss-pam-ldapd Ricardo Wurmus
2017-04-15 19:01 ` Kei Kebreau
2017-04-22 21:11   ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.