pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases Update openldap packages to OpenLDAP 2.4.7 (...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b317469f1266
branches:  trunk
changeset: 537663:b317469f1266
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Sun Jan 13 17:15:15 2008 +0000

description:
Update openldap packages to OpenLDAP 2.4.7 (forced update for db4-4.6.x
support, reported via PR pkg/37745 ).

OpenLDAP 2.4.x brings a lot of new features, including multi-master support,
dynamic configuration and schema changes, automatic reverse group membership,
significant performance improvements, etc.  One of the most noticeable changes
for administrators though is the removal if the slurpd daemon (in favour of
the sync replication mechanism).  Users of slurpd replication should migrate
to sync replication before upgrading to OpenLDAP 2.4.x.

diffstat:

 databases/openldap-client/Makefile      |   3 +-
 databases/openldap-client/PLIST         |  45 +++++++++++++++++++++++++++---
 databases/openldap-client/buildlink3.mk |   4 +-
 databases/openldap-doc/Makefile         |   9 ++---
 databases/openldap-doc/PLIST            |  15 ++++------
 databases/openldap-server/DESCR         |   1 -
 databases/openldap-server/MESSAGE       |   9 ++---
 databases/openldap-server/Makefile      |  13 ++------
 databases/openldap-server/PLIST         |  10 ++++--
 databases/openldap/DESCR                |   1 -
 databases/openldap/Makefile             |   4 +-
 databases/openldap/Makefile.common      |   7 ++--
 databases/openldap/distinfo             |  19 ++++++------
 databases/openldap/files/slurpd.sh      |  20 -------------
 databases/openldap/patches/patch-ah     |  10 +++---
 databases/openldap/patches/patch-ak     |  14 ---------
 databases/openldap/patches/patch-bd     |  42 +++++++++++-----------------
 databases/openldap/patches/patch-be     |  20 +++++--------
 databases/openldap/patches/patch-bf     |  48 +++++++++++---------------------
 databases/openldap/patches/patch-bh     |  14 ++++-----
 20 files changed, 133 insertions(+), 175 deletions(-)

diffs (truncated from 736 to 300 lines):

diff -r c6bffe25abae -r b317469f1266 databases/openldap-client/Makefile
--- a/databases/openldap-client/Makefile        Sun Jan 13 16:23:55 2008 +0000
+++ b/databases/openldap-client/Makefile        Sun Jan 13 17:15:15 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2008/01/04 11:42:30 ghen Exp $
+# $NetBSD: Makefile,v 1.6 2008/01/13 17:15:17 ghen Exp $
 
 PKGNAME=               ${DISTNAME:S/-/-client-/}
 COMMENT=               Lightweight Directory Access Protocol libraries and client programs
@@ -8,7 +8,6 @@
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 CONFIGURE_ARGS+=       --disable-slapd
-CONFIGURE_ARGS+=       --disable-slurpd
 
 #BUILD_DIRS=           include libraries clients
 
diff -r c6bffe25abae -r b317469f1266 databases/openldap-client/PLIST
--- a/databases/openldap-client/PLIST   Sun Jan 13 16:23:55 2008 +0000
+++ b/databases/openldap-client/PLIST   Sun Jan 13 17:15:15 2008 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/31 18:18:34 ghen Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/01/13 17:15:17 ghen Exp $
 bin/ldapadd
 bin/ldapcompare
 bin/ldapdelete
+bin/ldapexop
 bin/ldapmodify
 bin/ldapmodrdn
 bin/ldappasswd
@@ -64,6 +65,7 @@
 man/man3/lber-decode.3
 man/man3/lber-encode.3
 man/man3/lber-memory.3
+man/man3/lber-sockbuf.3
 man/man3/lber-types.3
 man/man3/ld_errno.3
 man/man3/ldap.3
@@ -82,6 +84,13 @@
 man/man3/ldap_compare_ext.3
 man/man3/ldap_compare_ext_s.3
 man/man3/ldap_compare_s.3
+man/man3/ldap_control_create.3
+man/man3/ldap_control_dup.3
+man/man3/ldap_control_find.3
+man/man3/ldap_control_free.3
+man/man3/ldap_controls.3
+man/man3/ldap_controls_dup.3
+man/man3/ldap_controls_free.3
 man/man3/ldap_count_entries.3
 man/man3/ldap_count_messages.3
 man/man3/ldap_count_references.3
@@ -101,19 +110,30 @@
 man/man3/ldap_error.3
 man/man3/ldap_explode_dn.3
 man/man3/ldap_explode_rdn.3
+man/man3/ldap_extended_operation.3
+man/man3/ldap_extended_operation_s.3
 man/man3/ldap_first_attribute.3
 man/man3/ldap_first_entry.3
 man/man3/ldap_first_message.3
 man/man3/ldap_first_reference.3
 man/man3/ldap_free_urldesc.3
 man/man3/ldap_get_dn.3
+man/man3/ldap_get_option.3
 man/man3/ldap_get_values.3
 man/man3/ldap_get_values_len.3
 man/man3/ldap_init.3
+man/man3/ldap_initialize.3
+man/man3/ldap_install_tls.3
 man/man3/ldap_is_ldap_url.3
 man/man3/ldap_matchingrule2name.3
 man/man3/ldap_matchingrule2str.3
 man/man3/ldap_matchingrule_free.3
+man/man3/ldap_memalloc.3
+man/man3/ldap_memcalloc.3
+man/man3/ldap_memfree.3
+man/man3/ldap_memory.3
+man/man3/ldap_memrealloc.3
+man/man3/ldap_memvfree.3
 man/man3/ldap_modify.3
 man/man3/ldap_modify_ext.3
 man/man3/ldap_modify_ext_s.3
@@ -138,7 +158,11 @@
 man/man3/ldap_parse_reference.3
 man/man3/ldap_parse_result.3
 man/man3/ldap_parse_sasl_bind_result.3
+man/man3/ldap_parse_sort_control.3
+man/man3/ldap_parse_vlv_control.3
 man/man3/ldap_perror.3
+man/man3/ldap_rename.3
+man/man3/ldap_rename_s.3
 man/man3/ldap_result.3
 man/man3/ldap_result2error.3
 man/man3/ldap_sasl_bind.3
@@ -150,20 +174,28 @@
 man/man3/ldap_search_ext_s.3
 man/man3/ldap_search_s.3
 man/man3/ldap_search_st.3
+man/man3/ldap_set_option.3
+man/man3/ldap_set_rebind_proc.3
 man/man3/ldap_simple_bind.3
 man/man3/ldap_simple_bind_s.3
 man/man3/ldap_sort.3
 man/man3/ldap_sort_entries.3
 man/man3/ldap_sort_strcasecmp.3
 man/man3/ldap_sort_values.3
+man/man3/ldap_start_tls.3
+man/man3/ldap_start_tls_s.3
 man/man3/ldap_str2attributetype.3
 man/man3/ldap_str2dn.3
 man/man3/ldap_str2matchingrule.3
 man/man3/ldap_str2objectclass.3
 man/man3/ldap_str2syntax.3
+man/man3/ldap_strdup.3
+man/man3/ldap_sync.3
 man/man3/ldap_syntax2name.3
 man/man3/ldap_syntax2str.3
 man/man3/ldap_syntax_free.3
+man/man3/ldap_tls.3
+man/man3/ldap_tls_inplace.3
 man/man3/ldap_unbind.3
 man/man3/ldap_unbind_ext.3
 man/man3/ldap_unbind_ext_s.3
@@ -175,6 +207,7 @@
 man/man5/ldap.conf.5
 man/man5/ldif.5
 man/man5/slapd-bdb.5
+man/man5/slapd-config.5
 man/man5/slapd-dnssrv.5
 man/man5/slapd-hdb.5
 man/man5/slapd-ldap.5
@@ -188,16 +221,19 @@
 man/man5/slapd-relay.5
 man/man5/slapd-shell.5
 man/man5/slapd-sql.5
-man/man5/slapd-tcl.5
 man/man5/slapd.access.5
+man/man5/slapd.backends.5
 man/man5/slapd.conf.5
+man/man5/slapd.overlays.5
 man/man5/slapd.plugin.5
-man/man5/slapd.replog.5
 man/man5/slapo-accesslog.5
 man/man5/slapo-auditlog.5
 man/man5/slapo-chain.5
+man/man5/slapo-constraint.5
+man/man5/slapo-dds.5
+man/man5/slapo-dyngroup.5
 man/man5/slapo-dynlist.5
-man/man5/slapo-lastmod.5
+man/man5/slapo-memberof.5
 man/man5/slapo-pcache.5
 man/man5/slapo-ppolicy.5
 man/man5/slapo-refint.5
@@ -216,6 +252,5 @@
 man/man8/slapindex.8
 man/man8/slappasswd.8
 man/man8/slaptest.8
-man/man8/slurpd.8
 share/examples/openldap/ldap.conf
 @dirrm share/examples/openldap
diff -r c6bffe25abae -r b317469f1266 databases/openldap-client/buildlink3.mk
--- a/databases/openldap-client/buildlink3.mk   Sun Jan 13 16:23:55 2008 +0000
+++ b/databases/openldap-client/buildlink3.mk   Sun Jan 13 17:15:15 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2007/05/30 08:54:28 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2008/01/13 17:15:17 ghen Exp $
 
 BUILDLINK_DEPTH:=                      ${BUILDLINK_DEPTH}+
 OPENLDAP_BUILDLINK3_MK:=               ${OPENLDAP_BUILDLINK3_MK}+
@@ -14,7 +14,7 @@
 BUILDLINK_ORDER:=                      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openldap-client
 
 .if !empty(OPENLDAP_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.openldap-client+=        openldap-client>=2.3.11nb2
+BUILDLINK_API_DEPENDS.openldap-client+=        openldap-client>=2.4.6
 BUILDLINK_PKGSRCDIR.openldap-client?=  ../../databases/openldap-client
 
 # Export the deprecated API from the openldap-2.2.x releases.
diff -r c6bffe25abae -r b317469f1266 databases/openldap-doc/Makefile
--- a/databases/openldap-doc/Makefile   Sun Jan 13 16:23:55 2008 +0000
+++ b/databases/openldap-doc/Makefile   Sun Jan 13 17:15:15 2008 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2008/01/04 11:42:30 ghen Exp $
+# $NetBSD: Makefile,v 1.10 2008/01/13 17:15:17 ghen Exp $
 
-DISTNAME=              openldap-2.3.39
+DISTNAME=              openldap-2.4.7
 PKGNAME=               ${DISTNAME:S/-/-doc-/}
 CATEGORIES=            databases
 MASTER_SITES=          ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
@@ -32,9 +32,8 @@
 NO_BUILD=              yes
 
 DOCDIR=                        ${PREFIX}/share/doc/openldap
-IMAGES=                        config_dit.gif config_local.gif config_ref.gif
-IMAGES+=               config_repl.gif config_x500fe.gif config_x500ref.gif
-IMAGES+=               intro_dctree.gif intro_tree.gif replication.gif
+IMAGES=                        config_dit.png config_local.png config_ref.png
+IMAGES+=               config_repl.gif intro_dctree.png intro_tree.png
 
 do-install:
        ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
diff -r c6bffe25abae -r b317469f1266 databases/openldap-doc/PLIST
--- a/databases/openldap-doc/PLIST      Sun Jan 13 16:23:55 2008 +0000
+++ b/databases/openldap-doc/PLIST      Sun Jan 13 17:15:15 2008 +0000
@@ -1,17 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/31 18:18:38 ghen Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/01/13 17:15:17 ghen Exp $
 share/doc/openldap/COPYRIGHT
 share/doc/openldap/LICENSE
 share/doc/openldap/README
-share/doc/openldap/admin/config_dit.gif
-share/doc/openldap/admin/config_local.gif
-share/doc/openldap/admin/config_ref.gif
+share/doc/openldap/admin/config_dit.png
+share/doc/openldap/admin/config_local.png
+share/doc/openldap/admin/config_ref.png
 share/doc/openldap/admin/config_repl.gif
-share/doc/openldap/admin/config_x500fe.gif
-share/doc/openldap/admin/config_x500ref.gif
 share/doc/openldap/admin/guide.html
-share/doc/openldap/admin/intro_dctree.gif
-share/doc/openldap/admin/intro_tree.gif
-share/doc/openldap/admin/replication.gif
+share/doc/openldap/admin/intro_dctree.png
+share/doc/openldap/admin/intro_tree.png
 share/doc/openldap/images/LDAPlogo.gif
 share/doc/openldap/images/LDAPwww.gif
 @dirrm share/doc/openldap/images
diff -r c6bffe25abae -r b317469f1266 databases/openldap-server/DESCR
--- a/databases/openldap-server/DESCR   Sun Jan 13 16:23:55 2008 +0000
+++ b/databases/openldap-server/DESCR   Sun Jan 13 17:15:15 2008 +0000
@@ -2,4 +2,3 @@
 Protocol.  This package includes:
 
 * slapd - stand-alone LDAP daemon (server)
-* slurpd - stand-alone LDAP update replication daemon
diff -r c6bffe25abae -r b317469f1266 databases/openldap-server/MESSAGE
--- a/databases/openldap-server/MESSAGE Sun Jan 13 16:23:55 2008 +0000
+++ b/databases/openldap-server/MESSAGE Sun Jan 13 17:15:15 2008 +0000
@@ -1,13 +1,12 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2006/05/31 18:18:36 ghen Exp $
+$NetBSD: MESSAGE,v 1.2 2008/01/13 17:15:18 ghen Exp $
 
-Note to users who have been running slapd and/or slurpd as root before:
+Note to users who have been running slapd as root before:
 
-As both slapd and slurpd now run unprivileged by default (as ${SLAPD_USER}:${LDAP_GROUP}
-and ${SLURPD_USER}:${LDAP_GROUP}, respectively), you'll have to adapt some permissions:
+As slapd now runs unprivileged by default (as ${SLAPD_USER}:${LDAP_GROUP},
+you'll have to adapt some permissions:
 
   ${CHOWN} -R ${SLAPD_USER}:${LDAP_GROUP} ${OPENLDAP_VARDIR}/openldap-data/*
-  ${CHOWN} -R ${SLURPD_USER}:${LDAP_GROUP} ${OPENLDAP_VARDIR}/openldap-slurp/*
   ${CHOWN} :${LDAP_GROUP} ${OPENLDAP_ETCDIR}/slapd.conf
   ${CHMOD} 640 ${OPENLDAP_ETCDIR}/slapd.conf
 
diff -r c6bffe25abae -r b317469f1266 databases/openldap-server/Makefile
--- a/databases/openldap-server/Makefile        Sun Jan 13 16:23:55 2008 +0000
+++ b/databases/openldap-server/Makefile        Sun Jan 13 17:15:15 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/01/04 11:42:30 ghen Exp $
+# $NetBSD: Makefile,v 1.11 2008/01/13 17:15:18 ghen Exp $
 
 PKGNAME=               ${DISTNAME:S/-/-server-/}
 COMMENT=               Lightweight Directory Access Protocol server suite
@@ -27,9 +27,6 @@
 # slapd (stackable) overlays
 CONFIGURE_ARGS+=       --enable-overlays
 
-# slurpd options
-CONFIGURE_ARGS+=       --enable-slurpd
-
 BUILD_DIRS=            include libraries servers
 TEST_DIRS=             tests
 INSTALL_DIRS=          servers
@@ -37,17 +34,15 @@
 BUILD_DEFS+=           OPENLDAP_ETCDIR OPENLDAP_VARDIR
 
 PKG_GROUPS=            ${LDAP_GROUP}
-PKG_USERS=             ${SLAPD_USER}:${LDAP_GROUP} ${SLURPD_USER}:${LDAP_GROUP}
+PKG_USERS=             ${SLAPD_USER}:${LDAP_GROUP}
 
 OPENLDAP_FILEPERMS=    ${ROOT_USER} ${LDAP_GROUP} 0640
 SLAPD_DIRPERMS=                ${SLAPD_USER} ${LDAP_GROUP} 0700
-SLURPD_DIRPERMS=       ${SLURPD_USER} ${LDAP_GROUP} 0770
 RUN_DIRPERMS=          ${ROOT_USER} ${LDAP_GROUP} 0775
 
 MAKE_DIRS=             ${OPENLDAP_ETCDIR}/schema
 OWN_DIRS+=             ${OPENLDAP_VARDIR}
 OWN_DIRS_PERMS=                ${OPENLDAP_VARDIR}/openldap-data ${SLAPD_DIRPERMS}
-OWN_DIRS_PERMS+=       ${OPENLDAP_VARDIR}/openldap-slurp ${SLURPD_DIRPERMS}
 OWN_DIRS_PERMS+=       ${OPENLDAP_VARDIR}/run ${RUN_DIRPERMS}
 
 CNFS=                  ${CNFS_SCHEMAS_cmd:sh}
@@ -57,14 +52,12 @@
 



Home | Main Index | Thread Index | Old Index