[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (cb4dbd1a867a2d44a8d1ff06828abc45cc82aaa3)

Vlad Glagolev scm at sourcemage.org
Mon Mar 16 09:58:00 EDT 2009


GIT changes to master grimoire by Vlad Glagolev <stealth at sourcemage.org>:

 ChangeLog                    |    3 +++
 utils/nss-ldapd/9F8D08A7.gpg |binary
 utils/nss-ldapd/DEPENDS      |    1 +
 utils/nss-ldapd/DETAILS      |   35 +++++++++++++++++++++++++++++++++++
 utils/nss-ldapd/HISTORY      |    2 ++
 utils/nss-ldapd/INSTALL      |    3 +++
 utils/nss-ldapd/init.d/nslcd |    8 ++++++++
 7 files changed, 52 insertions(+)

New commits:
commit cb4dbd1a867a2d44a8d1ff06828abc45cc82aaa3
Author: Vlad Glagolev <stealth at sourcemage.org>
Commit: Vlad Glagolev <stealth at sourcemage.org>

    nss-ldapd: new spell, NSS module for name lookups using LDAP

diff --git a/ChangeLog b/ChangeLog
index bae723f..3bdb188 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2009-03-16 Vlad Glagolev <stealth at sourcemage.org>
+	* utils/nss-ldapd: new spell, NSS module for name lookups using LDAP
+
 2009-03-15 Mathieu Lonjaret <lejatorn at sourcemage.org>
 	* ftp/opentracker: new spell, BitTorrent tracker
 
diff --git a/utils/nss-ldapd/9F8D08A7.gpg b/utils/nss-ldapd/9F8D08A7.gpg
new file mode 100644
index 0000000..07244c5
Binary files /dev/null and b/utils/nss-ldapd/9F8D08A7.gpg differ
diff --git a/utils/nss-ldapd/DEPENDS b/utils/nss-ldapd/DEPENDS
new file mode 100755
index 0000000..bf00b7d
--- /dev/null
+++ b/utils/nss-ldapd/DEPENDS
@@ -0,0 +1 @@
+depends openldap
diff --git a/utils/nss-ldapd/DETAILS b/utils/nss-ldapd/DETAILS
new file mode 100755
index 0000000..ca0cb07
--- /dev/null
+++ b/utils/nss-ldapd/DETAILS
@@ -0,0 +1,35 @@
+           SPELL=nss-ldapd
+         VERSION=0.6.7
+          SOURCE=$SPELL-$VERSION.tar.gz
+         SOURCE2=$SOURCE.sig
+   SOURCE_URL[0]=http://ch.tudelft.nl/~arthur/$SPELL/$SOURCE
+  SOURCE2_URL[0]=$SOURCE_URL.sig
+      SOURCE_GPG=9F8D08A7.gpg:$SOURCE2:UPSTREAM_KEY
+  SOURCE2_IGNORE=signature
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+        WEB_SITE=http://ch.tudelft.nl/~arthur/nss-ldapd/
+      LICENSE[0]=LGPL
+         ENTERED=20090316
+           SHORT="NSS module for name lookups using LDAP"
+cat << EOF
+This is a fork of the nss_ldap package by PADL Software Pty Ltd.. This fork was
+done to implement some structural design changes. These changes were needed
+because there are some issues with the original design. See the documentation
+section for more details.
+
+These problems are solved by splitting the library in two parts: a daemon that
+connects to the LDAP server and does all the requests and a thin NSS connector
+that passes requests to the daemon through a socket.
+
+The nss-ldapd implementation has a number of advantages:
+
+ * lighter NSS library
+ * simpler internal semantics
+ * clear separation between NSS and LDAP code (the server part could easily be
+   implemented in another language)
+ * less connections to the LDAP server
+
+The fork is also a major code overhaul having a number of simplifications and
+removal of old compatibility code. Compatibility will be re-added with later
+releases of nss-ldapd for those platforms that need it.
+EOF
diff --git a/utils/nss-ldapd/HISTORY b/utils/nss-ldapd/HISTORY
new file mode 100644
index 0000000..94d4f53
--- /dev/null
+++ b/utils/nss-ldapd/HISTORY
@@ -0,0 +1,2 @@
+2009-03-16 Vlad Glagolev <stealth at sourcemage.org>
+	* DETAILS, DEPENDS, DETAILS, INSTALL, 9F8D08A7.gpg: spell created
diff --git a/utils/nss-ldapd/INSTALL b/utils/nss-ldapd/INSTALL
new file mode 100755
index 0000000..dffcc52
--- /dev/null
+++ b/utils/nss-ldapd/INSTALL
@@ -0,0 +1,3 @@
+default_install &&
+
+install -d -vm 755 "$INSTALL_ROOT/var/run/nslcd"
diff --git a/utils/nss-ldapd/init.d/nslcd b/utils/nss-ldapd/init.d/nslcd
new file mode 100644
index 0000000..dd8a111
--- /dev/null
+++ b/utils/nss-ldapd/init.d/nslcd
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+PIDFILE=/var/run/nslcd/nslcd.pid
+PROGRAM=/usr/sbin/nslcd
+RUNLEVEL=3
+NEEDS="+network +remote_fs"
+
+. /etc/init.d/smgl_init



More information about the SM-Commit mailing list