pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/openldap-smbk5pwd Add openldap-smbk5pwd, a m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4dc3c45ada61
branches:  trunk
changeset: 553829:4dc3c45ada61
user:      manu <manu%pkgsrc.org@localhost>
date:      Sat Jan 31 16:00:55 2009 +0000

description:
Add openldap-smbk5pwd, a modular slapd overlay to sync passwords with
Kerberos and Samba. This replaces the smbk5pwd option of openldap-server

diffstat:

 databases/openldap-smbk5pwd/DESCR    |   3 +++
 databases/openldap-smbk5pwd/MESSAGE  |  12 ++++++++++++
 databases/openldap-smbk5pwd/Makefile |  29 +++++++++++++++++++++++++++++
 databases/openldap-smbk5pwd/PLIST    |   4 ++++
 4 files changed, 48 insertions(+), 0 deletions(-)

diffs (64 lines):

diff -r 8fcaf59fa0ef -r 4dc3c45ada61 databases/openldap-smbk5pwd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap-smbk5pwd/DESCR Sat Jan 31 16:00:55 2009 +0000
@@ -0,0 +1,3 @@
+This slapd overlay automatically perform Kerberos and Samba password
+changes when a LDAP password extended operation is done, for instance
+using ldappasswd.
diff -r 8fcaf59fa0ef -r 4dc3c45ada61 databases/openldap-smbk5pwd/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap-smbk5pwd/MESSAGE       Sat Jan 31 16:00:55 2009 +0000
@@ -0,0 +1,12 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2009/01/31 16:00:55 manu Exp $
+
+Please note that this module require slapd to be built with dynamic
+module support. THis can be obtained by adding the following to mk.conf:
+  PKG_OPTIONS.openldap-server=   dso
+
+In order to enable the use of this module, add this directive to slapd.conf:
+
+  moduleload      smbk5pwd.la
+
+===========================================================================
diff -r 8fcaf59fa0ef -r 4dc3c45ada61 databases/openldap-smbk5pwd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap-smbk5pwd/Makefile      Sat Jan 31 16:00:55 2009 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/31 16:00:55 manu Exp $
+
+PKGNAME=               ${DISTNAME:S/-/-smbk5pwd-/}
+COMMENT=               Samba and Kerberos password sync for OpenLDAP
+
+CONFLICTS+=            openldap<2.3.23nb1
+
+DEPENDS+=              openldap-server>=2.4.11nb5:../../databases/openldap-server
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_LIBTOOL=           yes
+
+BUILD_DIRS=            include contrib/slapd-modules/smbk5pwd
+
+do-install:
+       ${INSTALL_LIB_DIR} ${PREFIX}/lib/openldap
+       ${LIBTOOL} --mode=install                                       \
+                  ${INSTALL_DATA}                                      \
+                  ${WRKSRC}/contrib/slapd-modules/smbk5pwd/smbk5pwd.la \
+                  ${PREFIX}/lib/openldap
+
+.include "../../databases/openldap/Makefile.common"
+
+.include "../../databases/db46/buildlink3.mk"
+.include "../../databases/openldap-client/buildlink3.mk"
+.include "../../mk/krb5.buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 8fcaf59fa0ef -r 4dc3c45ada61 databases/openldap-smbk5pwd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap-smbk5pwd/PLIST Sat Jan 31 16:00:55 2009 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/31 16:00:55 manu Exp $
+lib/openldap/smbk5pwd.a
+lib/openldap/smbk5pwd.la
+@dirrm lib/openldap



Home | Main Index | Thread Index | Old Index