openldap: updated to 2.4.47 OpenLDAP 2.4.47: Added slapd-sock DN qualifier for subtrees to be processed Added slapd-sock ability to send extended operations to external listeners Fixed liblber to avoid incremental access to user-supplied bv in dupbv Fixed libldap dn to domain parsing with bad input Fixed slapd slapcat to correctly honor -g option Fixed slapd to correctly handle NO_SUCH_OBJECT with dynamic groups Fixed slapd to check status of rdnNormalize Fixed slapd cn=config when modifying slapo-syncprov config Fixed slapd sasl authz-policy "all" behavior Fixed slapd sasl minor typo Fixed slapd to correctly hide hidden DBs in the rootDSE Fixed slapd domainScope control to match Microsoft specification Fixed slapd-bdb/hdb/mdb to not convert certain IDLs to ranges Fixed slapo-accesslog deadlock during cleanup Fixed slapo-memberof cn=config modifications Fixed slapo-ppolicy with multimaster replication Fixed slapo-syncprov with NULL modlist Build Environment Added slapd reproducible build support Fixed missing includes with OpenSSL 1.0.2 Contrib Fixed slapo-pbkdf2 hash generation Documentation admin24 fixed minor typodiff -r1.148 -r1.149 pkgsrc/databases/openldap/Makefile
(adam)
@@ -1,21 +1,19 @@ | @@ -1,21 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.148 2018/04/02 13:40:44 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.149 2018/12/20 17:54:09 adam Exp $ | |
2 | 2 | |||
3 | .include "../../databases/openldap/Makefile.version" | 3 | .include "../../databases/openldap/Makefile.version" | |
4 | 4 | |||
5 | DISTNAME= openldap-${OPENLDAP_VERSION} | 5 | DISTNAME= openldap-${OPENLDAP_VERSION} | |
6 | CATEGORIES= databases | 6 | CATEGORIES= databases | |
7 | MASTER_SITES= # empty | |||
8 | DISTFILES= # empty | |||
9 | 7 | |||
10 | MAINTAINER= adam@NetBSD.org | 8 | MAINTAINER= adam@NetBSD.org | |
11 | HOMEPAGE= http://www.openldap.org/ | 9 | HOMEPAGE= http://www.openldap.org/ | |
12 | COMMENT= Lightweight Directory Access Protocol meta-package | 10 | COMMENT= Lightweight Directory Access Protocol meta-package | |
13 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
14 | 12 | |||
15 | META_PACKAGE= yes | 13 | META_PACKAGE= yes | |
16 | 14 | |||
17 | DEPENDS+= openldap-client>=${PKGVERSION_NOREV}:../../databases/openldap-client | 15 | DEPENDS+= openldap-client>=${PKGVERSION_NOREV}:../../databases/openldap-client | |
18 | DEPENDS+= openldap-server>=${PKGVERSION_NOREV}:../../databases/openldap-server | 16 | DEPENDS+= openldap-server>=${PKGVERSION_NOREV}:../../databases/openldap-server | |
19 | DEPENDS+= openldap-doc>=${PKGVERSION_NOREV}:../../databases/openldap-doc | 17 | DEPENDS+= openldap-doc>=${PKGVERSION_NOREV}:../../databases/openldap-doc | |
20 | 18 | |||
21 | .include "../../mk/bsd.pkg.mk" | 19 | .include "../../mk/bsd.pkg.mk" |
@@ -1,123 +1,111 @@ | @@ -1,123 +1,111 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.41 2018/07/04 13:40:12 jperkin Exp $ | 1 | # $NetBSD: Makefile.common,v 1.42 2018/12/20 17:54:09 adam Exp $ | |
2 | # | 2 | # | |
3 | # used by databases/openldap-client/Makefile | 3 | # used by databases/openldap-client/Makefile | |
4 | # used by databases/openldap-cloak/Makefile | 4 | # used by databases/openldap-cloak/Makefile | |
5 | # used by databases/openldap-nops/Makefile | 5 | # used by databases/openldap-nops/Makefile | |
6 | # used by databases/openldap-server/Makefile | 6 | # used by databases/openldap-server/Makefile | |
7 | # used by databases/openldap-smbk5pwd/Makefile | 7 | # used by databases/openldap-smbk5pwd/Makefile | |
8 | 8 | |||
9 | .include "../../databases/openldap/Makefile.version" | 9 | .include "../../databases/openldap/Makefile.version" | |
10 | 10 | |||
11 | DISTNAME= openldap-${OPENLDAP_VERSION} | |||
12 | CATEGORIES= databases | 11 | CATEGORIES= databases | |
13 | MASTER_SITES= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ | |||
14 | MASTER_SITES+= http://www.openldap.org/software/download/OpenLDAP/openldap-release/ | |||
15 | MASTER_SITES+= ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ | |||
16 | MASTER_SITES+= ftp://ftp.dti.ad.jp/pub/net/OpenLDAP/openldap-release/ | |||
17 | MASTER_SITES+= ftp://ftp.u-aizu.ac.jp/pub/net/openldap/openldap-release/ | |||
18 | MASTER_SITES+= ftp://ftp.nl.uu.net/pub/unix/db/openldap/openldap-release/ | |||
19 | MASTER_SITES+= ftp://ftp.linux.pt/pub/mirrors/OpenLDAP/openldap-release/ | |||
20 | MASTER_SITES+= ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ | |||
21 | EXTRACT_SUFX= .tgz | |||
22 | 12 | |||
23 | MAINTAINER= adam@NetBSD.org | 13 | MAINTAINER= adam@NetBSD.org | |
24 | HOMEPAGE= http://www.openldap.org/ | |||
25 | LICENSE= modified-bsd | |||
26 | 14 | |||
27 | CONFLICTS+= ldapsdk-[0-9]* | 15 | CONFLICTS+= ldapsdk-[0-9]* | |
28 | 16 | |||
29 | DISTINFO_FILE= ${.CURDIR}/../../databases/openldap/distinfo | 17 | DISTINFO_FILE= ${.CURDIR}/../../databases/openldap/distinfo | |
30 | PATCHDIR= ${.CURDIR}/../../databases/openldap/patches | 18 | PATCHDIR= ${.CURDIR}/../../databases/openldap/patches | |
31 | 19 | |||
32 | USE_LIBTOOL= yes | 20 | USE_LIBTOOL= yes | |
33 | USE_TOOLS+= soelim | 21 | USE_TOOLS+= soelim | |
34 | GNU_CONFIGURE= yes | 22 | GNU_CONFIGURE= yes | |
35 | 23 | |||
36 | MAKE_ENV+= LIBMODE=${LIBMODE} | 24 | MAKE_ENV+= LIBMODE=${LIBMODE} | |
37 | 25 | |||
38 | .include "../../mk/bsd.prefs.mk" | 26 | .include "../../mk/bsd.prefs.mk" | |
39 | 27 | |||
40 | OPENLDAP_ETCDIR?= ${PKG_SYSCONFDIR}/openldap | 28 | OPENLDAP_ETCDIR?= ${PKG_SYSCONFDIR}/openldap | |
41 | OPENLDAP_MODULEDIR= ${PREFIX}/lib/openldap | 29 | OPENLDAP_MODULEDIR= ${PREFIX}/lib/openldap | |
42 | OPENLDAP_VARDIR?= ${VARBASE}/openldap | 30 | OPENLDAP_VARDIR?= ${VARBASE}/openldap | |
43 | 31 | |||
44 | SLAPD_USER?= slapd | 32 | SLAPD_USER?= slapd | |
45 | LDAP_GROUP?= ldap | 33 | LDAP_GROUP?= ldap | |
46 | 34 | |||
47 | PKG_GROUPS_VARS+= LDAP_GROUP | 35 | PKG_GROUPS_VARS+= LDAP_GROUP | |
48 | PKG_USERS_VARS+= SLAPD_USER | 36 | PKG_USERS_VARS+= SLAPD_USER | |
49 | 37 | |||
50 | # the internal avl_* prototypes conflict with those in <sys/avl.h> which | 38 | # the internal avl_* prototypes conflict with those in <sys/avl.h> which | |
51 | # is included by another system header file on Solaris, so subst them. | 39 | # is included by another system header file on Solaris, so subst them. | |
52 | SUBST_CLASSES.SunOS+= conflict | 40 | SUBST_CLASSES.SunOS+= conflict | |
53 | SUBST_STAGE.conflict= pre-configure | 41 | SUBST_STAGE.conflict= pre-configure | |
54 | SUBST_FILES.conflict= ${WRKSRC}/*/*.h | 42 | SUBST_FILES.conflict= ${WRKSRC}/*/*.h | |
55 | SUBST_FILES.conflict+= ${WRKSRC}/*/*/*.c ${WRKSRC}/*/*/*/*.c | 43 | SUBST_FILES.conflict+= ${WRKSRC}/*/*/*.c ${WRKSRC}/*/*/*/*.c | |
56 | SUBST_SED.conflict+= -e 's,avl_free,openldap_avl_free,g' | 44 | SUBST_SED.conflict+= -e 's,avl_free,openldap_avl_free,g' | |
57 | SUBST_SED.conflict+= -e 's,avl_insert,openldap_avl_insert,g' | 45 | SUBST_SED.conflict+= -e 's,avl_insert,openldap_avl_insert,g' | |
58 | SUBST_SED.conflict+= -e 's,avl_delete,openldap_avl_delete,g' | 46 | SUBST_SED.conflict+= -e 's,avl_delete,openldap_avl_delete,g' | |
59 | SUBST_SED.conflict+= -e 's,avl_find,openldap_avl_find,g' | 47 | SUBST_SED.conflict+= -e 's,avl_find,openldap_avl_find,g' | |
60 | SUBST_SED.conflict+= -e 's,avl_find2,openldap_avl_find2,g' | 48 | SUBST_SED.conflict+= -e 's,avl_find2,openldap_avl_find2,g' | |
61 | SUBST_MESSAGE.conflict= Fixing conflicting function prototypes. | 49 | SUBST_MESSAGE.conflict= Fixing conflicting function prototypes. | |
62 | 50 | |||
63 | CPPFLAGS.Darwin+= -DBIND_8_COMPAT | 51 | CPPFLAGS.Darwin+= -DBIND_8_COMPAT | |
64 | CPPFLAGS.Linux+= -D_GNU_SOURCE | 52 | CPPFLAGS.Linux+= -D_GNU_SOURCE | |
65 | 53 | |||
66 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | 54 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | |
67 | CONFIGURE_ARGS+= --localstatedir=${OPENLDAP_VARDIR} | 55 | CONFIGURE_ARGS+= --localstatedir=${OPENLDAP_VARDIR} | |
68 | CONFIGURE_ARGS+= --enable-dynamic | 56 | CONFIGURE_ARGS+= --enable-dynamic | |
69 | CONFIGURE_ARGS+= --with-tls=openssl | 57 | CONFIGURE_ARGS+= --with-tls=openssl | |
70 | 58 | |||
71 | .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD" | 59 | .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD" | |
72 | # Probably true for more than just NetBSD. | 60 | # Probably true for more than just NetBSD. | |
73 | CONFIGURE_ARGS+= --with-yielding_select=yes | 61 | CONFIGURE_ARGS+= --with-yielding_select=yes | |
74 | CONFIGURE_ENV+= ac_cv_func_memcmp_working=yes | 62 | CONFIGURE_ENV+= ac_cv_func_memcmp_working=yes | |
75 | .endif | 63 | .endif | |
76 | 64 | |||
77 | EGDIR= ${PREFIX}/share/examples/openldap | 65 | EGDIR= ${PREFIX}/share/examples/openldap | |
78 | 66 | |||
79 | CONF_FILES= # empty | 67 | CONF_FILES= # empty | |
80 | CONF_FILES_PERMS= # empty | 68 | CONF_FILES_PERMS= # empty | |
81 | .for file in ${CNFS} | 69 | .for file in ${CNFS} | |
82 | CONF_FILES+= ${EGDIR}/${file} ${OPENLDAP_ETCDIR}/${file} | 70 | CONF_FILES+= ${EGDIR}/${file} ${OPENLDAP_ETCDIR}/${file} | |
83 | .endfor | 71 | .endfor | |
84 | .for file in ${CNFS_PERMS} | 72 | .for file in ${CNFS_PERMS} | |
85 | CONF_FILES_PERMS+= ${EGDIR}/${file} ${OPENLDAP_ETCDIR}/${file} ${OPENLDAP_FILEPERMS} | 73 | CONF_FILES_PERMS+= ${EGDIR}/${file} ${OPENLDAP_ETCDIR}/${file} ${OPENLDAP_FILEPERMS} | |
86 | .endfor | 74 | .endfor | |
87 | 75 | |||
88 | DB_CONFIG?= # empty | 76 | DB_CONFIG?= # empty | |
89 | 77 | |||
90 | PTHREAD_OPTS+= require | 78 | PTHREAD_OPTS+= require | |
91 | 79 | |||
92 | CONFIGURE_ARGS+= --without-fetch | 80 | CONFIGURE_ARGS+= --without-fetch | |
93 | 81 | |||
94 | .include "../../security/openssl/buildlink3.mk" | 82 | .include "../../security/openssl/buildlink3.mk" | |
95 | .include "../../security/tcp_wrappers/buildlink3.mk" | 83 | .include "../../security/tcp_wrappers/buildlink3.mk" | |
96 | .include "../../mk/pthread.buildlink3.mk" | 84 | .include "../../mk/pthread.buildlink3.mk" | |
97 | 85 | |||
98 | .if ${PTHREAD_TYPE} == "native" | 86 | .if ${PTHREAD_TYPE} == "native" | |
99 | CONFIGURE_ARGS+= --with-threads | 87 | CONFIGURE_ARGS+= --with-threads | |
100 | .elif ${PTHREAD_TYPE} == "pth" | 88 | .elif ${PTHREAD_TYPE} == "pth" | |
101 | CONFIGURE_ARGS+= --with-threads=pth | 89 | CONFIGURE_ARGS+= --with-threads=pth | |
102 | 90 | |||
103 | # Don't use a larger FD_SETSIZE than GNU Pth can handle (value taken from | 91 | # Don't use a larger FD_SETSIZE than GNU Pth can handle (value taken from | |
104 | # pth.h header). | 92 | # pth.h header). | |
105 | PTH_FDSETSIZE_cmd= \ | 93 | PTH_FDSETSIZE_cmd= \ | |
106 | if ${TEST} -f ${BUILDLINK_PREFIX.pth:Q}/include/pth.h; then \ | 94 | if ${TEST} -f ${BUILDLINK_PREFIX.pth:Q}/include/pth.h; then \ | |
107 | ${AWK} '/if FD_SETSIZE >/ { print $$4 }' \ | 95 | ${AWK} '/if FD_SETSIZE >/ { print $$4 }' \ | |
108 | ${BUILDLINK_PREFIX.pth}/include/pth.h; \ | 96 | ${BUILDLINK_PREFIX.pth}/include/pth.h; \ | |
109 | else \ | 97 | else \ | |
110 | ${ECHO} 0; \ | 98 | ${ECHO} 0; \ | |
111 | fi | 99 | fi | |
112 | CPPFLAGS+= -DOPENLDAP_FD_SETSIZE=${PTH_FDSETSIZE_cmd:sh:Q} | 100 | CPPFLAGS+= -DOPENLDAP_FD_SETSIZE=${PTH_FDSETSIZE_cmd:sh:Q} | |
113 | .endif | 101 | .endif | |
114 | 102 | |||
115 | MAKE_FLAGS+= moduledir=${OPENLDAP_MODULEDIR} | 103 | MAKE_FLAGS+= moduledir=${OPENLDAP_MODULEDIR} | |
116 | INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR} | 104 | INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR} | |
117 | 105 | |||
118 | # Set the correct file modes for the example config files. | 106 | # Set the correct file modes for the example config files. | |
119 | post-install: | 107 | post-install: | |
120 | .for file in ${CNFS} ${CNFS_PERMS} ${DB_CONFIG} | 108 | .for file in ${CNFS} ${CNFS_PERMS} ${DB_CONFIG} | |
121 | ${CHMOD} ${SHAREMODE} ${DESTDIR}${EGDIR}/${file:Q} | 109 | ${CHMOD} ${SHAREMODE} ${DESTDIR}${EGDIR}/${file:Q} | |
122 | ${RM} -f ${DESTDIR}${EGDIR}/${file:Q}.default | 110 | ${RM} -f ${DESTDIR}${EGDIR}/${file:Q}.default | |
123 | .endfor | 111 | .endfor |
@@ -1,6 +1,21 @@ | @@ -1,6 +1,21 @@ | |||
1 | # $NetBSD: Makefile.version,v 1.15 2018/04/02 13:40:44 adam Exp $ | 1 | # $NetBSD: Makefile.version,v 1.16 2018/12/20 17:54:09 adam Exp $ | |
2 | # used by databases/lmdb/Makefile | |||
2 | # used by databases/openldap/Makefile | 3 | # used by databases/openldap/Makefile | |
3 | # used by databases/openldap/Makefile.common | 4 | # used by databases/openldap/Makefile.common | |
4 | # used by databases/openldap-docs/Makefile | 5 | # used by databases/openldap-docs/Makefile | |
5 | 6 | |||
6 | OPENLDAP_VERSION= 2.4.46 | 7 | OPENLDAP_VERSION= 2.4.47 | |
8 | ||||
9 | DISTNAME= openldap-${OPENLDAP_VERSION} | |||
10 | MASTER_SITES= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ | |||
11 | MASTER_SITES+= http://www.openldap.org/software/download/OpenLDAP/openldap-release/ | |||
12 | MASTER_SITES+= ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ | |||
13 | MASTER_SITES+= ftp://ftp.dti.ad.jp/pub/net/OpenLDAP/openldap-release/ | |||
14 | MASTER_SITES+= ftp://ftp.u-aizu.ac.jp/pub/net/openldap/openldap-release/ | |||
15 | MASTER_SITES+= ftp://ftp.nl.uu.net/pub/unix/db/openldap/openldap-release/ | |||
16 | MASTER_SITES+= ftp://ftp.linux.pt/pub/mirrors/OpenLDAP/openldap-release/ | |||
17 | MASTER_SITES+= ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ | |||
18 | EXTRACT_SUFX= .tgz | |||
19 | ||||
20 | HOMEPAGE= http://www.openldap.org/ | |||
21 | LICENSE= modified-bsd |
@@ -1,24 +1,24 @@ | @@ -1,24 +1,24 @@ | |||
1 | $NetBSD: distinfo,v 1.111 2018/07/31 12:39:52 manu Exp $ | 1 | $NetBSD: distinfo,v 1.112 2018/12/20 17:54:09 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (openldap-2.4.46.tgz) = a9ae2273eb9bdd70090dafe0d018a3132606bef6 | 3 | SHA1 (openldap-2.4.47.tgz) = c59d52dd75f7d1c7b02f83725da36c322d439674 | |
4 | RMD160 (openldap-2.4.46.tgz) = d7038355b1c13a0b2d5104a0c75735b63e9c4148 | 4 | RMD160 (openldap-2.4.47.tgz) = c228e5d55019c90aaeceeda32980e52cd7a0a4a6 | |
5 | SHA512 (openldap-2.4.46.tgz) = eef39d43f04aa09c657a1422cefef060fe00368559ae40d0d97536c08ebeaaa1ab06207b3f121ba6afcde54abdc550027c3505e5217e5fd47ae6f8c001260186 | 5 | SHA512 (openldap-2.4.47.tgz) = d424079e34207e3d24383a2bea70a07ded40714982a6767174d2b2cb208cd94feab5ef12157accae915b8e404e5773a7547aaef65f06b44dc3cc09c6a64d5a11 | |
6 | Size (openldap-2.4.46.tgz) = 5700204 bytes | 6 | Size (openldap-2.4.47.tgz) = 5699678 bytes | |
7 | SHA1 (patch-ac) = 2995c518278b363bf9657e181c2340d3024d5980 | 7 | SHA1 (patch-ac) = 2995c518278b363bf9657e181c2340d3024d5980 | |
8 | SHA1 (patch-ad) = 24e7ec27d592dd76bdec1e4805801c5304951daf | 8 | SHA1 (patch-ad) = 24e7ec27d592dd76bdec1e4805801c5304951daf | |
9 | SHA1 (patch-af) = 2e00b01bd813e73bdc1fb764a02e98d7755703de | 9 | SHA1 (patch-af) = 2e00b01bd813e73bdc1fb764a02e98d7755703de | |
10 | SHA1 (patch-ag) = 380336d8b50dd6b3a277f2ea6a03eb88cc5919b8 | 10 | SHA1 (patch-ag) = 380336d8b50dd6b3a277f2ea6a03eb88cc5919b8 | |
11 | SHA1 (patch-ah) = 7b5a9d042df36f17bcb503372e301a0c6554af68 | 11 | SHA1 (patch-ah) = 7b5a9d042df36f17bcb503372e301a0c6554af68 | |
12 | SHA1 (patch-aj) = 857bbf14855d7d2a2911457bc6373d8beb69b751 | 12 | SHA1 (patch-aj) = 857bbf14855d7d2a2911457bc6373d8beb69b751 | |
13 | SHA1 (patch-am) = fb8f3e7699f8b2ef55c066cdc6216522c101c7f3 | 13 | SHA1 (patch-am) = fb8f3e7699f8b2ef55c066cdc6216522c101c7f3 | |
14 | SHA1 (patch-an) = 3e904d05a3e69930259329ca821d3bbf7dd54eb2 | 14 | SHA1 (patch-an) = 3e904d05a3e69930259329ca821d3bbf7dd54eb2 | |
15 | SHA1 (patch-ao) = 4fcbbfd4d6be792392e3646123022aeaf25923e3 | 15 | SHA1 (patch-ao) = 4fcbbfd4d6be792392e3646123022aeaf25923e3 | |
16 | SHA1 (patch-contrib_slapd-modules_cloak_Makefile) = 47c81def0c013a360acb549ed69e9042f0bc1be3 | 16 | SHA1 (patch-contrib_slapd-modules_cloak_Makefile) = 47c81def0c013a360acb549ed69e9042f0bc1be3 | |
17 | SHA1 (patch-contrib_slapd-modules_nops_Makefile) = c51bccf34c3f3112232a134038622d31b6315628 | 17 | SHA1 (patch-contrib_slapd-modules_nops_Makefile) = c51bccf34c3f3112232a134038622d31b6315628 | |
18 | SHA1 (patch-contrib_slapd-modules_nops_slapo-nops.5) = f32352f19361b7e9aa5b038ae8578def7c08fa47 | 18 | SHA1 (patch-contrib_slapd-modules_nops_slapo-nops.5) = f32352f19361b7e9aa5b038ae8578def7c08fa47 | |
19 | SHA1 (patch-da) = 75e26bd08c6e66b69192ebfbb36db974d391ec3e | 19 | SHA1 (patch-da) = 75e26bd08c6e66b69192ebfbb36db974d391ec3e | |
20 | SHA1 (patch-dd) = 9c74118ff0b2232bda729c9917082fceef41dd16 | 20 | SHA1 (patch-dd) = 9c74118ff0b2232bda729c9917082fceef41dd16 | |
21 | SHA1 (patch-its7595) = 941b055bb5ac1f963b9d39384d3627a32f531cf1 | 21 | SHA1 (patch-its7595) = 941b055bb5ac1f963b9d39384d3627a32f531cf1 | |
22 | SHA1 (patch-its8885) = f70666e1a44499013c93fe9bd0d8198b5bffe11c | 22 | SHA1 (patch-its8885) = f70666e1a44499013c93fe9bd0d8198b5bffe11c | |
23 | SHA1 (patch-libraries_libldap_os-local.c) = 7cd4f8638456fae12499de0d36d7802e47d3d688 | 23 | SHA1 (patch-libraries_libldap_os-local.c) = 7cd4f8638456fae12499de0d36d7802e47d3d688 | |
24 | SHA1 (patch-libraries_libldap_tls__m.c) = 91dab1dcfa6560c30093094586ea9eabf2e977b8 | 24 | SHA1 (patch-libraries_libldap_tls__m.c) = 91dab1dcfa6560c30093094586ea9eabf2e977b8 |
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | # $NetBSD: builtin.mk,v 1.1 2008/10/12 20:49:19 ahoka Exp $ | 1 | # $NetBSD: builtin.mk,v 1.2 2018/12/20 17:54:09 adam Exp $ | |
2 | 2 | |||
3 | BUILTIN_PKG:= openldap-client | 3 | BUILTIN_PKG:= openldap-client | |
4 | 4 | |||
5 | PKGCONFIG_FILE.openldap-client= /usr/include/ldap_features.h | 5 | PKGCONFIG_FILE.openldap-client= /usr/include/ldap_features.h | |
6 | PKGCONFIG_BASE.openldap-client= /usr | 6 | PKGCONFIG_BASE.openldap-client= /usr | |
7 | 7 | |||
8 | BUILTIN_VERSION_SCRIPT.openldap-client= ${AWK} \ | 8 | BUILTIN_VERSION_SCRIPT.openldap-client= ${AWK} \ | |
9 | '/\#define[ \t]*_?LDAP_VENDOR_VERSION_MAJOR[ \t]/ { major = $$3; } \ | 9 | '/\#define[ \t]*_?LDAP_VENDOR_VERSION_MAJOR[ \t]/ { major = $$3; } \ | |
10 | /\#define[ \t]*_?LDAP_VENDOR_VERSION_MINOR[ \t]/ { minor = $$3; } \ | 10 | /\#define[ \t]*_?LDAP_VENDOR_VERSION_MINOR[ \t]/ { minor = $$3; } \ | |
11 | /\#define[ \t]*_?LDAP_VENDOR_VERSION_PATCH[ \t]/ { patch = $$3; } \ | 11 | /\#define[ \t]*_?LDAP_VENDOR_VERSION_PATCH[ \t]/ { patch = $$3; } \ | |
12 | END { if (major && minor && patch) print major "." minor "." patch; \ | 12 | END { if (major && minor && patch) print major "." minor "." patch; \ | |
13 | else print ""; }' | 13 | else print ""; }' | |
14 | 14 | |||
15 | .include "../../mk/buildlink3/pkgconfig-builtin.mk" | 15 | .include "../../mk/buildlink3/pkgconfig-builtin.mk" |
@@ -1,36 +1,24 @@ | @@ -1,36 +1,24 @@ | |||
1 | # $NetBSD: Makefile,v 1.28 2018/04/21 13:38:04 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.29 2018/12/20 17:54:09 adam Exp $ | |
2 | 2 | |||
3 | .include "../../databases/openldap/Makefile.version" | 3 | .include "../../databases/openldap/Makefile.version" | |
4 | 4 | |||
5 | DISTNAME= openldap-${OPENLDAP_VERSION} | |||
6 | PKGNAME= ${DISTNAME:S/-/-doc-/} | 5 | PKGNAME= ${DISTNAME:S/-/-doc-/} | |
7 | CATEGORIES= databases | 6 | CATEGORIES= databases | |
8 | MASTER_SITES= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ | |||
9 | MASTER_SITES+= http://ftp.openldap.org/pub/OpenLDAP/openldap-release/ | |||
10 | MASTER_SITES+= ftp://ftp.ntua.gr/mirror/OpenLDAP/openldap-release/ | |||
11 | MASTER_SITES+= ftp://ftp.dti.ad.jp/pub/net/OpenLDAP/openldap-release/ | |||
12 | MASTER_SITES+= ftp://ftp.u-aizu.ac.jp/pub/net/openldap/openldap-release/ | |||
13 | MASTER_SITES+= ftp://ftp.nl.uu.net/pub/unix/db/openldap/openldap-release/ | |||
14 | MASTER_SITES+= ftp://ftp.linux.pt/pub/mirrors/OpenLDAP/openldap-release/ | |||
15 | MASTER_SITES+= ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ | |||
16 | EXTRACT_SUFX= .tgz | |||
17 | 7 | |||
18 | MAINTAINER= adam@NetBSD.org | 8 | MAINTAINER= adam@NetBSD.org | |
19 | HOMEPAGE= http://www.openldap.org/ | |||
20 | COMMENT= Lightweight Directory Access Protocol documentation | 9 | COMMENT= Lightweight Directory Access Protocol documentation | |
21 | LICENSE= modified-bsd | |||
22 | 10 | |||
23 | NO_CONFIGURE= yes | 11 | NO_CONFIGURE= yes | |
24 | NO_BUILD= yes | 12 | NO_BUILD= yes | |
25 | 13 | |||
26 | DOCDIR= ${PREFIX}/share/doc/openldap | 14 | DOCDIR= ${PREFIX}/share/doc/openldap | |
27 | 15 | |||
28 | do-install: | 16 | do-install: | |
29 | ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} | 17 | ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} | |
30 | ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}/admin | 18 | ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}/admin | |
31 | ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}/images | 19 | ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}/images | |
32 | ${INSTALL_DATA} ${WRKSRC}/doc/guide/admin/guide.html ${DESTDIR}${DOCDIR}/admin/ | 20 | ${INSTALL_DATA} ${WRKSRC}/doc/guide/admin/guide.html ${DESTDIR}${DOCDIR}/admin/ | |
33 | ${INSTALL_DATA} ${WRKSRC}/doc/guide/admin/*.png ${DESTDIR}${DOCDIR}/admin/ | 21 | ${INSTALL_DATA} ${WRKSRC}/doc/guide/admin/*.png ${DESTDIR}${DOCDIR}/admin/ | |
34 | ${INSTALL_DATA} ${WRKSRC}/doc/guide/images/*.gif ${DESTDIR}${DOCDIR}/images/ | 22 | ${INSTALL_DATA} ${WRKSRC}/doc/guide/images/*.gif ${DESTDIR}${DOCDIR}/images/ | |
35 | 23 | |||
36 | .include "../../mk/bsd.pkg.mk" | 24 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.18 2018/04/02 13:40:45 adam Exp $ | 1 | $NetBSD: distinfo,v 1.19 2018/12/20 17:54:09 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (openldap-2.4.46.tgz) = a9ae2273eb9bdd70090dafe0d018a3132606bef6 | 3 | SHA1 (openldap-2.4.47.tgz) = c59d52dd75f7d1c7b02f83725da36c322d439674 | |
4 | RMD160 (openldap-2.4.46.tgz) = d7038355b1c13a0b2d5104a0c75735b63e9c4148 | 4 | RMD160 (openldap-2.4.47.tgz) = c228e5d55019c90aaeceeda32980e52cd7a0a4a6 | |
5 | SHA512 (openldap-2.4.46.tgz) = eef39d43f04aa09c657a1422cefef060fe00368559ae40d0d97536c08ebeaaa1ab06207b3f121ba6afcde54abdc550027c3505e5217e5fd47ae6f8c001260186 | 5 | SHA512 (openldap-2.4.47.tgz) = d424079e34207e3d24383a2bea70a07ded40714982a6767174d2b2cb208cd94feab5ef12157accae915b8e404e5773a7547aaef65f06b44dc3cc09c6a64d5a11 | |
6 | Size (openldap-2.4.46.tgz) = 5700204 bytes | 6 | Size (openldap-2.4.47.tgz) = 5699678 bytes |
@@ -1,103 +1,103 @@ | @@ -1,103 +1,103 @@ | |||
1 | # $NetBSD: options.mk,v 1.19 2015/09/07 12:02:06 jperkin Exp $ | 1 | # $NetBSD: options.mk,v 1.20 2018/12/20 17:54:09 adam Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.openldap-server | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.openldap-server | |
4 | PKG_SUPPORTED_OPTIONS= bdb dso inet6 sasl slapi slp smbk5pwd | 4 | PKG_SUPPORTED_OPTIONS= bdb dso inet6 sasl slapi slp smbk5pwd | |
5 | PKG_OPTIONS_OPTIONAL_GROUPS+= odbc | 5 | PKG_OPTIONS_OPTIONAL_GROUPS+= odbc | |
6 | PKG_OPTIONS_GROUP.odbc= iodbc unixodbc | 6 | PKG_OPTIONS_GROUP.odbc= iodbc unixodbc | |
7 | PKG_SUGGESTED_OPTIONS= bdb inet6 | 7 | PKG_SUGGESTED_OPTIONS= bdb inet6 | |
8 | 8 | |||
9 | .include "../../mk/bsd.options.mk" | 9 | .include "../../mk/bsd.options.mk" | |
10 | 10 | |||
11 | PLIST_VARS+= slapi | 11 | PLIST_VARS+= slapi | |
12 | 12 | |||
13 | ### | 13 | ### | |
14 | ### Whether to build with the Berkeley DB based slapd backends. | 14 | ### Whether to build with the Berkeley DB based slapd backends. | |
15 | ### | 15 | ### | |
16 | ### NOTE: that option is enabled, because the openldap server needs | 16 | ### NOTE: that option is enabled, because the openldap server needs | |
17 | ### to have local storage support to work as standalone. | 17 | ### to have local storage support to work as standalone. | |
18 | ### | 18 | ### | |
19 | .if !empty(PKG_OPTIONS:Mbdb) | 19 | .if !empty(PKG_OPTIONS:Mbdb) | |
20 | BDB_ACCEPTED= db4 db5 | 20 | BDB_ACCEPTED= db4 db5 | |
21 | CONFIGURE_ARGS+= --enable-bdb --enable-hdb | 21 | CONFIGURE_ARGS+= --enable-bdb --enable-hdb | |
22 | TEST_TARGET= test | 22 | TEST_TARGET= test | |
23 | . include "../../mk/bdb.buildlink3.mk" | 23 | . include "../../mk/bdb.buildlink3.mk" | |
24 | .else | 24 | .else | |
25 | CONFIGURE_ARGS+= --disable-bdb --disable-hdb | 25 | CONFIGURE_ARGS+= --disable-bdb --disable-hdb | |
26 | .endif | 26 | .endif | |
27 | 27 | |||
28 | ### | 28 | ### | |
29 | ### Whether to build with iODBC to enable SQL based slapd backends | 29 | ### Whether to build with iODBC to enable SQL based slapd backends | |
30 | ### | 30 | ### | |
31 | .if !empty(PKG_OPTIONS:Miodbc) | 31 | .if !empty(PKG_OPTIONS:Miodbc) | |
32 | . include "../../databases/iodbc/buildlink3.mk" | 32 | . include "../../databases/iodbc/buildlink3.mk" | |
33 | CONFIGURE_ARGS+= --enable-sql | 33 | CONFIGURE_ARGS+= --enable-sql | |
34 | .endif | 34 | .endif | |
35 | 35 | |||
36 | ### | 36 | ### | |
37 | ### Whether to build with unixODBC to enable SQL based slapd backends | 37 | ### Whether to build with unixODBC to enable SQL based slapd backends | |
38 | ### | 38 | ### | |
39 | .if !empty(PKG_OPTIONS:Munixodbc) | 39 | .if !empty(PKG_OPTIONS:Munixodbc) | |
40 | . include "../../databases/unixodbc/buildlink3.mk" | 40 | . include "../../databases/unixodbc/buildlink3.mk" | |
41 | . include "../../devel/libltdl/buildlink3.mk" | 41 | . include "../../devel/libltdl/buildlink3.mk" | |
42 | CONFIGURE_ARGS+= --enable-sql | 42 | CONFIGURE_ARGS+= --enable-sql | |
43 | .endif | 43 | .endif | |
44 | 44 | |||
45 | .if empty(PKG_OPTIONS:Miodbc) && empty(PKG_OPTIONS:Munixodbc) | 45 | .if empty(PKG_OPTIONS:Miodbc) && empty(PKG_OPTIONS:Munixodbc) | |
46 | CONFIGURE_ARGS+= --disable-sql | 46 | CONFIGURE_ARGS+= --disable-sql | |
47 | .endif | 47 | .endif | |
48 | 48 | |||
49 | ### | 49 | ### | |
50 | ### SASL authentication (requires SASL2) | 50 | ### SASL authentication (requires SASL2) | |
51 | ### | 51 | ### | |
52 | .if !empty(PKG_OPTIONS:Msasl) | 52 | .if !empty(PKG_OPTIONS:Msasl) | |
53 | CONFIGURE_ARGS+= --with-cyrus-sasl | 53 | CONFIGURE_ARGS+= --with-cyrus-sasl | |
54 | CONFIGURE_ARGS+= --enable-spasswd | 54 | CONFIGURE_ARGS+= --enable-spasswd | |
55 | BUILDLINK_API_DEPENDS.cyrus-sasl+= cyrus-sasl>=2.1.15 | 55 | BUILDLINK_API_DEPENDS.cyrus-sasl+= cyrus-sasl>=2.1.15 | |
56 | . include "../../security/cyrus-sasl/buildlink3.mk" | 56 | . include "../../security/cyrus-sasl/buildlink3.mk" | |
57 | .else | 57 | .else | |
58 | CONFIGURE_ARGS+= --without-cyrus-sasl | 58 | CONFIGURE_ARGS+= --without-cyrus-sasl | |
59 | .endif | 59 | .endif | |
60 | 60 | |||
61 | ### | 61 | ### | |
62 | ### SLP (Service Locator Protocol) | 62 | ### SLP (Service Locator Protocol) | |
63 | ### | 63 | ### | |
64 | .if !empty(PKG_OPTIONS:Mslp) | 64 | .if !empty(PKG_OPTIONS:Mslp) | |
65 | . include "../../net/openslp/buildlink3.mk" | 65 | . include "../../net/openslp/buildlink3.mk" | |
66 | CONFIGURE_ARGS+= --enable-slp | 66 | CONFIGURE_ARGS+= --enable-slp | |
67 | .endif | 67 | .endif | |
68 | 68 | |||
69 | ### | 69 | ### | |
70 | ### IPv6 support | 70 | ### IPv6 support | |
71 | ### | 71 | ### | |
72 | .if !empty(PKG_OPTIONS:Minet6) | 72 | .if !empty(PKG_OPTIONS:Minet6) | |
73 | CONFIGURE_ARGS+= --enable-ipv6 | 73 | CONFIGURE_ARGS+= --enable-ipv6 | |
74 | .else | 74 | .else | |
75 | CONFIGURE_ARGS+= --disable-ipv6 | 75 | CONFIGURE_ARGS+= --disable-ipv6 | |
76 | .endif | 76 | .endif | |
77 | 77 | |||
78 | ### | 78 | ### | |
79 | ### smbk5pwd support (sync samba and kerberos passwords on password changes) | 79 | ### smbk5pwd support (sync samba and kerberos passwords on password changes) | |
80 | ### | 80 | ### | |
81 | .if !empty(PKG_OPTIONS:Msmbk5pwd) | 81 | .if !empty(PKG_OPTIONS:Msmbk5pwd) | |
82 | PKG_FAIL_REASON+= "smbk5pwd option to openldap-server is now " \ | 82 | PKG_FAIL_REASON+= "smbk5pwd option to openldap-server is now " \ | |
83 | "available through the openldap-smbk5pwd package" | 83 | "available through the openldap-smbk5pwd package" | |
84 | .endif | 84 | .endif | |
85 | 85 | |||
86 | ### | 86 | ### | |
87 | ### Enable dynamic module support | 87 | ### Enable dynamic module support | |
88 | ### | 88 | ### | |
89 | .if !empty(PKG_OPTIONS:Mdso) | 89 | .if !empty(PKG_OPTIONS:Mdso) | |
90 | CONFIGURE_ARGS+= --enable-modules | 90 | CONFIGURE_ARGS+= --enable-modules | |
91 | .include "../../devel/libltdl/buildlink3.mk" | 91 | .include "../../devel/libltdl/buildlink3.mk" | |
92 | .endif | 92 | .endif | |
93 | 93 | |||
94 | ### | 94 | ### | |
95 | ### Enable SLAPI support | 95 | ### Enable SLAPI support | |
96 | ### | 96 | ### | |
97 | .if empty(PKG_OPTIONS:Mslapi) | 97 | .if !empty(PKG_OPTIONS:Mslapi) | |
98 | CONFIGURE_ARGS+= --disable-slapi | |||
99 | .else | |||
100 | CONFIGURE_ARGS+= --enable-slapi | 98 | CONFIGURE_ARGS+= --enable-slapi | |
101 | PLIST.slapi= yes | 99 | PLIST.slapi= yes | |
102 | .include "../../devel/libltdl/buildlink3.mk" | 100 | .include "../../devel/libltdl/buildlink3.mk" | |
101 | .else | |||
102 | CONFIGURE_ARGS+= --disable-slapi | |||
103 | .endif | 103 | .endif |