From fbbbb3b2030a53ffe4a5866d71ec5f87cb4d16d8 Mon Sep 17 00:00:00 2001 From: David Michael Date: Fri, 23 Jun 2017 12:58:37 -0700 Subject: [PATCH] bump(net-nds/openldap): sync with upstream --- .../md5-cache/net-nds/openldap-2.3.43-r3 | 2 +- .../md5-cache/net-nds/openldap-2.3.43-r4 | 2 +- .../md5-cache/net-nds/openldap-2.4.38-r2 | 14 - .../md5-cache/net-nds/openldap-2.4.39 | 14 - .../md5-cache/net-nds/openldap-2.4.40 | 14 - .../md5-cache/net-nds/openldap-2.4.40-r2 | 14 - .../md5-cache/net-nds/openldap-2.4.40-r4 | 14 - .../md5-cache/net-nds/openldap-2.4.42 | 14 - .../md5-cache/net-nds/openldap-2.4.42-r1 | 14 - .../md5-cache/net-nds/openldap-2.4.43 | 14 - .../md5-cache/net-nds/openldap-2.4.43-r1 | 14 - .../md5-cache/net-nds/openldap-2.4.44 | 10 +- .../md5-cache/net-nds/openldap-2.4.44-r1 | 14 + .../md5-cache/net-nds/openldap-2.4.45 | 14 + .../portage-stable/net-nds/openldap/ChangeLog | 145 -- .../net-nds/openldap/ChangeLog-2015 | 2295 ----------------- .../portage-stable/net-nds/openldap/Manifest | 40 +- .../files/openldap-2.4.33-gnutls.patch | 60 - .../files/openldap-2.4.40-mdb-unbundle.patch | 136 - ...p-2.4.45-fix-lmpasswd-gnutls-symbols.patch | 109 + .../net-nds/openldap/files/slapd-initd | 3 +- .../openldap/files/slapd-initd-2.4.28-r1 | 36 - .../net-nds/openldap/files/slapd-initd-2.4.40 | 51 - .../openldap/files/slapd-initd-2.4.40-r1 | 65 - .../openldap/files/slapd-initd-2.4.40-r2 | 3 +- .../net-nds/openldap/files/slapd-initd2 | 22 - .../net-nds/openldap/files/slurpd-initd | 3 +- .../net-nds/openldap/metadata.xml | 7 +- .../openldap/openldap-2.3.43-r3.ebuild | 15 +- .../openldap/openldap-2.3.43-r4.ebuild | 15 +- .../openldap/openldap-2.4.38-r2.ebuild | 752 ------ .../net-nds/openldap/openldap-2.4.39.ebuild | 751 ------ .../openldap/openldap-2.4.40-r2.ebuild | 812 ------ .../openldap/openldap-2.4.40-r4.ebuild | 812 ------ .../net-nds/openldap/openldap-2.4.40.ebuild | 813 ------ .../openldap/openldap-2.4.42-r1.ebuild | 819 ------ .../net-nds/openldap/openldap-2.4.42.ebuild | 809 ------ ...43-r1.ebuild => openldap-2.4.44-r1.ebuild} | 64 +- .../net-nds/openldap/openldap-2.4.44.ebuild | 35 +- ...p-2.4.43.ebuild => openldap-2.4.45.ebuild} | 102 +- 40 files changed, 334 insertions(+), 8608 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.38-r2 delete mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.39 delete mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.40 delete mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.40-r2 delete mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.40-r4 delete mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.42 delete mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.42-r1 delete mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.43 delete mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.43-r1 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.44-r1 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.45 delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/ChangeLog delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/ChangeLog-2015 delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/files/openldap-2.4.33-gnutls.patch delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/files/openldap-2.4.40-mdb-unbundle.patch create mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/files/openldap-2.4.45-fix-lmpasswd-gnutls-symbols.patch delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.28-r1 delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.40 delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.40-r1 delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd2 delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.38-r2.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.39.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.40-r2.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.40-r4.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.40.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.42-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.42.ebuild rename sdk_container/src/third_party/portage-stable/net-nds/openldap/{openldap-2.4.43-r1.ebuild => openldap-2.4.44-r1.ebuild} (93%) rename sdk_container/src/third_party/portage-stable/net-nds/openldap/{openldap-2.4.43.ebuild => openldap-2.4.45.ebuild} (90%) diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.3.43-r3 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.3.43-r3 index d6048f504d..8e821b7c84 100644 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.3.43-r3 +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.3.43-r3 @@ -10,4 +10,4 @@ RDEPEND=sys-libs/ncurses tcpd? ( sys-apps/tcp-wrappers ) ssl? ( dev-libs/openssl SLOT=0 SRC_URI=mirror://openldap/openldap-release/openldap-2.3.43.tgz _eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 db-use 582140d1a711279e50ce284fc7b609f5 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 61cad4fb5d800b29d484b27cb033f59b libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 0236be304ee52e7f179ed2f337075515 ssl-cert 68c8dc51fe1bb63d933af89d431e9132 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee user e4b567c44272a719fabf53f0f885d3f7 versionator c80ccf29e90adea7c5cae94b42eb76d0 -_md5_=b5b8ddd4d2a8ed6a2e5b93e7bcc95bb6 +_md5_=cf51b2392af3c632c3386b8eabfd16aa diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.3.43-r4 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.3.43-r4 index 5ee6b03fb6..c51106fc24 100644 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.3.43-r4 +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.3.43-r4 @@ -10,4 +10,4 @@ RDEPEND=sys-libs/ncurses tcpd? ( sys-apps/tcp-wrappers ) ssl? ( dev-libs/openssl SLOT=0 SRC_URI=mirror://openldap/openldap-release/openldap-2.3.43.tgz _eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 db-use 582140d1a711279e50ce284fc7b609f5 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 61cad4fb5d800b29d484b27cb033f59b libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 0236be304ee52e7f179ed2f337075515 ssl-cert 68c8dc51fe1bb63d933af89d431e9132 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee user e4b567c44272a719fabf53f0f885d3f7 versionator c80ccf29e90adea7c5cae94b42eb76d0 -_md5_=176062222ef64c7498c74c1a4fc10005 +_md5_=da083fcc7b53e73688ba032d8765ce21 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.38-r2 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.38-r2 deleted file mode 100644 index eb34cdf1ea..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.38-r2 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup test -DEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( sys-libs/db ) smbkrb5passwd? ( dev-libs/openssl app-crypt/heimdal ) kerberos? ( virtual/krb5 ) cxx? ( dev-libs/cyrus-sasl:= ) ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508-r3 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) sys-apps/groff ssl? ( || ( dev-libs/openssl:0 dev-libs/libressl:0 ) ) >=app-portage/elt-patches-20170317 !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig -DESCRIPTION=LDAP suite of application and development tools -EAPI=5 -HOMEPAGE=http://www.OpenLDAP.org/ -IUSE=crypt icu samba slp tcpd experimental minimal +berkdb overlays perl gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux smbkrb5passwd kerberos -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl -KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris -LICENSE=OPENLDAP GPL-2 -RDEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( sys-libs/db ) smbkrb5passwd? ( dev-libs/openssl app-crypt/heimdal ) kerberos? ( virtual/krb5 ) cxx? ( dev-libs/cyrus-sasl:= ) ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508-r3 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) selinux? ( sec-policy/selinux-ldap ) -REQUIRED_USE=cxx? ( sasl ) -SLOT=0 -SRC_URI=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.38.tgz mirror://gentoo/rfc2307bis.schema-20140524 -_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 db-use 582140d1a711279e50ce284fc7b609f5 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 61cad4fb5d800b29d484b27cb033f59b libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multilib-build eed53a6313267c9fbcd35fc384bd0087 multilib-minimal 9139c3a57e077cb8e0d0f73ceb080b89 ssl-cert 68c8dc51fe1bb63d933af89d431e9132 systemd ec2e9154031d942186c75c0aabb41900 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee user e4b567c44272a719fabf53f0f885d3f7 versionator c80ccf29e90adea7c5cae94b42eb76d0 -_md5_=989249308fcb205359763ad5fb6c4dcb diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.39 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.39 deleted file mode 100644 index d511991da5..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.39 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup test -DEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( sys-libs/db ) smbkrb5passwd? ( dev-libs/openssl app-crypt/heimdal ) kerberos? ( virtual/krb5 ) cxx? ( dev-libs/cyrus-sasl:= ) ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508-r3 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) sys-apps/groff ssl? ( || ( dev-libs/openssl:0 dev-libs/libressl:0 ) ) >=app-portage/elt-patches-20170317 !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig -DESCRIPTION=LDAP suite of application and development tools -EAPI=5 -HOMEPAGE=http://www.OpenLDAP.org/ -IUSE=crypt icu samba slp tcpd experimental minimal +berkdb overlays perl gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux smbkrb5passwd kerberos -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl -KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris -LICENSE=OPENLDAP GPL-2 -RDEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( sys-libs/db ) smbkrb5passwd? ( dev-libs/openssl app-crypt/heimdal ) kerberos? ( virtual/krb5 ) cxx? ( dev-libs/cyrus-sasl:= ) ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508-r3 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) selinux? ( sec-policy/selinux-ldap ) -REQUIRED_USE=cxx? ( sasl ) -SLOT=0 -SRC_URI=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.39.tgz mirror://gentoo/rfc2307bis.schema-20140524 -_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 db-use 582140d1a711279e50ce284fc7b609f5 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 61cad4fb5d800b29d484b27cb033f59b libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multilib-build eed53a6313267c9fbcd35fc384bd0087 multilib-minimal 9139c3a57e077cb8e0d0f73ceb080b89 ssl-cert 68c8dc51fe1bb63d933af89d431e9132 systemd ec2e9154031d942186c75c0aabb41900 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee user e4b567c44272a719fabf53f0f885d3f7 versionator c80ccf29e90adea7c5cae94b42eb76d0 -_md5_=c080335e0763853ef30606a694130dc5 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.40 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.40 deleted file mode 100644 index 1f299170df..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.40 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup test -DEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( sys-libs/db ) smbkrb5passwd? ( dev-libs/openssl kerberos? ( app-crypt/heimdal ) ) kerberos? ( virtual/krb5 ) cxx? ( dev-libs/cyrus-sasl:= ) ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508-r3 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) sys-apps/groff ssl? ( || ( dev-libs/openssl:0 dev-libs/libressl:0 ) ) >=app-portage/elt-patches-20170317 !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig -DESCRIPTION=LDAP suite of application and development tools -EAPI=5 -HOMEPAGE=http://www.OpenLDAP.org/ -IUSE=crypt icu samba slp tcpd experimental minimal +berkdb overlays perl gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux static-libs smbkrb5passwd kerberos -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl -KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris -LICENSE=OPENLDAP GPL-2 -RDEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( sys-libs/db ) smbkrb5passwd? ( dev-libs/openssl kerberos? ( app-crypt/heimdal ) ) kerberos? ( virtual/krb5 ) cxx? ( dev-libs/cyrus-sasl:= ) ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508-r3 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) selinux? ( sec-policy/selinux-ldap ) -REQUIRED_USE=cxx? ( sasl ) -SLOT=0 -SRC_URI=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.40.tgz mirror://gentoo/rfc2307bis.schema-20140524 -_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 db-use 582140d1a711279e50ce284fc7b609f5 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 61cad4fb5d800b29d484b27cb033f59b libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multilib-build eed53a6313267c9fbcd35fc384bd0087 multilib-minimal 9139c3a57e077cb8e0d0f73ceb080b89 ssl-cert 68c8dc51fe1bb63d933af89d431e9132 systemd ec2e9154031d942186c75c0aabb41900 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee user e4b567c44272a719fabf53f0f885d3f7 versionator c80ccf29e90adea7c5cae94b42eb76d0 -_md5_=7e66e7e2c7b1eaffbfbbf234b962ca5a diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.40-r2 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.40-r2 deleted file mode 100644 index fd8c1a718c..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-nds/openldap-2.4.40-r2 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup test -DEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( =app-portage/elt-patches-20170317 !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig -DESCRIPTION=LDAP suite of application and development tools -EAPI=5 -HOMEPAGE=http://www.OpenLDAP.org/ -IUSE=crypt icu samba slp tcpd experimental minimal +berkdb overlays perl gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux static-libs smbkrb5passwd kerberos -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl -KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris -LICENSE=OPENLDAP GPL-2 -RDEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( =dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( =app-portage/elt-patches-20170317 !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig -DESCRIPTION=LDAP suite of application and development tools -EAPI=5 -HOMEPAGE=http://www.OpenLDAP.org/ -IUSE=crypt icu samba slp tcpd experimental minimal +berkdb overlays perl gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux static-libs smbkrb5passwd kerberos -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl -KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris -LICENSE=OPENLDAP GPL-2 -RDEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( =dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( =app-portage/elt-patches-20170317 !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig -DESCRIPTION=LDAP suite of application and development tools -EAPI=5 -HOMEPAGE=http://www.OpenLDAP.org/ -IUSE=crypt icu samba slp tcpd experimental minimal +berkdb overlays perl gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux static-libs smbkrb5passwd kerberos -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl -KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris -LICENSE=OPENLDAP GPL-2 -RDEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( =dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( =app-portage/elt-patches-20170317 !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig -DESCRIPTION=LDAP suite of application and development tools -EAPI=5 -HOMEPAGE=http://www.OpenLDAP.org/ -IUSE=crypt icu samba slp tcpd experimental minimal +berkdb overlays perl gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs smbkrb5passwd kerberos -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl -KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris -LICENSE=OPENLDAP GPL-2 -RDEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( =dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( =app-portage/elt-patches-20170317 !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig -DESCRIPTION=LDAP suite of application and development tools -EAPI=5 -HOMEPAGE=http://www.OpenLDAP.org/ -IUSE=crypt icu samba slp tcpd experimental minimal +berkdb overlays perl gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs smbkrb5passwd kerberos -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl -KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris -LICENSE=OPENLDAP GPL-2 -RDEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( =dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( =app-portage/elt-patches-20170317 !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig -DESCRIPTION=LDAP suite of application and development tools -EAPI=5 -HOMEPAGE=http://www.OpenLDAP.org/ -IUSE=crypt icu samba slp tcpd experimental minimal +berkdb overlays perl gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs smbkrb5passwd kerberos kinit -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl -KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris -LICENSE=OPENLDAP GPL-2 -RDEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( =dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14:= tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( =app-portage/elt-patches-20170317 !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig +DEPEND=ssl? ( !gnutls? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.18:= tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl:=[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( =app-portage/elt-patches-20170317 !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig DESCRIPTION=LDAP suite of application and development tools EAPI=5 HOMEPAGE=http://www.OpenLDAP.org/ -IUSE=crypt icu samba slp tcpd experimental minimal +berkdb overlays perl gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs smbkrb5passwd kerberos kinit -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl -KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris +IUSE=crypt samba slp tcpd experimental minimal +berkdb overlays perl gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs smbkrb5passwd kerberos kinit -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl +KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris LICENSE=OPENLDAP GPL-2 -RDEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14:= tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( =dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.18:= tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl:=[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( =dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.18:= tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl:=[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( =app-portage/elt-patches-20170317 !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig +DESCRIPTION=LDAP suite of application and development tools +EAPI=5 +HOMEPAGE=http://www.OpenLDAP.org/ +IUSE=crypt samba slp tcpd experimental minimal +berkdb overlays perl gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs smbkrb5passwd kerberos kinit pbkdf2 -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl +KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris +LICENSE=OPENLDAP GPL-2 +RDEPEND=ssl? ( !gnutls? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.18:= tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl:=[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( =dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.18:= tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl:=[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( =app-portage/elt-patches-20170317 !=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig +DESCRIPTION=LDAP suite of application and development tools +EAPI=5 +HOMEPAGE=http://www.OpenLDAP.org/ +IUSE=crypt samba slp tcpd experimental minimal +berkdb overlays perl gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs smbkrb5passwd kerberos kinit pbkdf2 sha2 -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl +KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris +LICENSE=OPENLDAP GPL-2 +RDEPEND=ssl? ( !gnutls? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] libressl? ( dev-libs/libressl[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.18:= tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl:=[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) berkdb? ( - +files/DB_CONFIG.fast.example, +files/openldap-2.2.14-perlthreadsfix.patch, - +files/openldap-2.2.6-ntlm.patch, +files/openldap-2.3.21-ppolicy.patch, - +files/openldap-2.3.24-contrib-smbk5pwd.patch, - +files/openldap-2.3.34-slapd-conf, +files/openldap-2.3.37-libldap_r.patch, - +files/openldap-2.3.43-fix-hang.patch, +files/openldap-2.3.XY-gcc44.patch, - +files/openldap-2.4.11-libldap_r.patch, - +files/openldap-2.4.15-ppolicy.patch, - +files/openldap-2.4.17-fix-lmpasswd-gnutls-symbols.patch, - +files/openldap-2.4.17-gcc44.patch, +files/openldap-2.4.28-fix-dash.patch, - +files/openldap-2.4.28-gnutls-gcrypt.patch, - +files/openldap-2.4.31-gcc47.patch, +files/openldap-2.4.33-gnutls.patch, - +files/openldap-2.4.35-contrib-samba4.patch, - +files/openldap-2.4.35-contrib-smbk5pwd.patch, - +files/openldap-2.4.40-mdb-unbundle.patch, - +files/openldap-2.4.40-slapd-conf, - +files/openldap-2.4.6-evolution-ntlm.patch, +files/slapd-confd, - +files/slapd-confd-2.4.28-r1, +files/slapd-initd, - +files/slapd-initd-2.4.28-r1, +files/slapd-initd-2.4.40, - +files/slapd-initd-2.4.40-r1, +files/slapd-initd-2.4.40-r2, - +files/slapd-initd2, +files/slapd.service, +files/slapd.service.conf, - +files/slapd.tmpfilesd, +files/slurpd-initd, +metadata.xml, - +openldap-2.3.43-r3.ebuild, +openldap-2.3.43-r4.ebuild, - +openldap-2.4.38-r2.ebuild, +openldap-2.4.39.ebuild, - +openldap-2.4.40.ebuild, +openldap-2.4.40-r2.ebuild, - +openldap-2.4.40-r4.ebuild: - proj/gentoo: Initial commit - - This commit represents a new era for Gentoo: - Storing the gentoo-x86 tree in Git, as converted from CVS. - - This commit is the start of the NEW history. - Any historical data is intended to be grafted onto this point. - - Creation process: - 1. Take final CVS checkout snapshot - 2. Remove ALL ChangeLog* files - 3. Transform all Manifests to thin - 4. Remove empty Manifests - 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ - 5.1. Do not touch files with -kb/-ko keyword flags. - - Signed-off-by: Robin H. Johnson - X-Thanks: Alec Warner - did the GSoC 2006 migration - tests - X-Thanks: Robin H. Johnson - infra guy, herding this - project - X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo - developer, wrote Git features for the migration - X-Thanks: Brian Harring - wrote much python to improve - cvs2svn - X-Thanks: Rich Freeman - validation scripts - X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 - work in migration - X-Thanks: Michał Górny - scripts, QA, nagging - X-Thanks: All of other Gentoo developers - many ideas and lots of paint on - the bikeshed - - 24 Aug 2015; Justin Lecher metadata.xml, - openldap-2.3.43-r3.ebuild, openldap-2.3.43-r4.ebuild, - openldap-2.4.38-r2.ebuild, openldap-2.4.39.ebuild, openldap-2.4.40.ebuild, - openldap-2.4.40-r2.ebuild, openldap-2.4.40-r4.ebuild: - Use https by default - - Convert all URLs for sites supporting encrypted connections from http to - https - - Signed-off-by: Justin Lecher - - 24 Aug 2015; Mike Gilbert metadata.xml: - Revert DOCTYPE SYSTEM https changes in metadata.xml - - repoman does not yet accept the https version. - This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450. - - Bug: https://bugs.gentoo.org/552720 - -*openldap-2.4.42 (03 Sep 2015) - - 03 Sep 2015; Matthew Thode - +files/openldap-2.4.42-mdb-unbundle.patch, +openldap-2.4.42.ebuild: - bumping for release, also fixes bug 549614 - - Package-Manager: portage-2.2.20.1 - -*openldap-2.4.42-r1 (20 Sep 2015) - - 20 Sep 2015; Julian Ospald +openldap-2.4.42-r1.ebuild: - add libressl support - -*openldap-2.4.43 (03 Dec 2015) - - 03 Dec 2015; Tony Vroon +openldap-2.4.43.ebuild: - version bump to 2.4.43 - - This is a bugfix release, closes bug #567446. Ebuild work by Lars "Poly-C" - Wendler. - - Suggested-By: Gavin Henry - Acked-By: Matthew prometheanfire Thode - -*openldap-2.4.43-r1 (22 Jan 2016) - - 22 Jan 2016; Matthew Thode metadata.xml, - +openldap-2.4.43-r1.ebuild: - fixing heimdal usage for bug 528048 - - Package-Manager: portage-2.2.26 - - 24 Jan 2016; Michał Górny metadata.xml: - Unify quoting in metadata.xml files for machine processing - - Force unified quoting in all metadata.xml files since lxml does not - preserve original use of single and double quotes. Ensuring unified - quoting before the process allows distinguishing the GLEP 67-related - metadata.xml changes from unrelated quoting changes. - - 24 Jan 2016; Michał Górny metadata.xml: - Replace all herds with appropriate projects (GLEP 67) - - Replace all uses of herd with appropriate project maintainers, or no - maintainers in case of herds requested to be disbanded. - - 24 Jan 2016; Michał Górny metadata.xml: - Set appropriate maintainer types in metadata.xml (GLEP 67) - -*openldap-2.4.44 (03 Mar 2016) - - 03 Mar 2016; Zac Medico +openldap-2.4.44.ebuild: - version bump to 2.4.44 - - Package-Manager: portage-2.2.27 - diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/ChangeLog-2015 b/sdk_container/src/third_party/portage-stable/net-nds/openldap/ChangeLog-2015 deleted file mode 100644 index 230a20c585..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/ChangeLog-2015 +++ /dev/null @@ -1,2295 +0,0 @@ -# ChangeLog for net-nds/openldap -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/ChangeLog,v 1.501 2015/07/13 07:40:28 patrick Exp $ - -*openldap-2.4.40-r4 (13 Jul 2015) - - 13 Jul 2015; Patrick Lauer +files/slapd-initd-2.4.40-r2, - +openldap-2.4.40-r4.ebuild, -openldap-2.4.40-r3.ebuild: - Fix init script failure #545792 - - 16 May 2015; Robin H. Johnson -openldap-2.4.35-r1.ebuild: - Bug #488322 cleanup. - - 08 Mar 2015; Robin H. Johnson - -files/openldap-2.4.30-contrib-samba4.patch: - Cleanup patches. - - 08 Mar 2015; Robin H. Johnson - -files/openldap-2.4.28-contrib-smbk5pwd.patch: - Cleanup patches. - - 08 Mar 2015; Robin H. Johnson - -files/openldap-2.4.17-contrib-smbk5pwd.patch: - Cleanup patches. - - 08 Mar 2015; Robin H. Johnson - -files/openldap-2.4.19-contrib-smbk5pwd.patch: - Cleanup patches. - - 08 Mar 2015; Robin H. Johnson -openldap-2.4.30.ebuild: - Cleanup. - - 08 Mar 2015; Robin H. Johnson - -openldap-2.4.28-r1.ebuild: - Cleanup. - - 08 Mar 2015; Robin H. Johnson -openldap-2.4.24.ebuild: - Cleanup. - - 07 Mar 2015; Robin H. Johnson -openldap-2.4.23.ebuild: - Cleanup [and testing CVS hook code, hence the slow cleanup]. - - 07 Mar 2015; Robin H. Johnson -openldap-2.4.19-r1.ebuild: - Cleanup. - - 07 Mar 2015; Robin H. Johnson -openldap-2.4.35.ebuild, - -openldap-2.4.38-r1.ebuild: - Clean up some old ebuilds, but still newer than the package.mask. - - 03 Mar 2015; Yixun Lan openldap-2.4.40-r3.ebuild: - add arm64 support, tested on A53 board - -*openldap-2.4.40-r3 (10 Nov 2014) - - 10 Nov 2014; Robin H. Johnson +openldap-2.4.40-r3.ebuild, - files/slapd-initd-2.4.40-r1: - Bug #527724: eval parsing boo. - - 08 Nov 2014; Robin H. Johnson openldap-2.3.43-r3.ebuild, - openldap-2.3.43-r4.ebuild, openldap-2.4.19-r1.ebuild, openldap-2.4.23.ebuild, - openldap-2.4.24.ebuild, openldap-2.4.28-r1.ebuild, openldap-2.4.30.ebuild, - openldap-2.4.35-r1.ebuild, openldap-2.4.35.ebuild, openldap-2.4.38-r1.ebuild: - Bug #485166: borrow the dev-lang/perl[-build] workaround from the eclass, - thanks to dilfridge. - - 02 Nov 2014; Sven Vermeulen openldap-2.4.38-r2.ebuild, - openldap-2.4.39.ebuild, openldap-2.4.40-r2.ebuild, openldap-2.4.40.ebuild: - Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug - #527698) - - 01 Nov 2014; Robin H. Johnson openldap-2.4.40-r2.ebuild: - Bug #527140: avoid double-dep against bdb. - - 30 Oct 2014; Patrick Lauer metadata.xml, - openldap-2.4.40-r2.ebuild, openldap-2.4.40.ebuild: - Whitespace, remove unused useflag description from metadata.xml - -*openldap-2.4.40-r2 (27 Oct 2014) - - 27 Oct 2014; Robin H. Johnson +openldap-2.4.40-r2.ebuild, - -files/openldap-2.4.40-db-6.patch, -openldap-2.4.40-r1.ebuild: - Upstream OpenLDAP nixes bdb6 functionality. Read comment 15 on the bug 525110. - - 27 Oct 2014; Robin H. Johnson - +files/openldap-2.4.40-mdb-unbundle.patch: - failed to commit this the first time due to CVS blip. - -*openldap-2.4.40-r1 (27 Oct 2014) - - 27 Oct 2014; Robin H. Johnson - +files/openldap-2.4.40-db-6.patch, +files/slapd-initd-2.4.40-r1, - +openldap-2.4.40-r1.ebuild, metadata.xml: - Bug #525110: Improve handling for DB-6; Bug #525408: fix init script; Bug - #525126: use external lmdb - - 13 Oct 2014; Robin H. Johnson openldap-2.4.40.ebuild: - Bug #440470: Clean up elog stuff with Arfrever's suggestion. - - 13 Oct 2014; Michał Górny openldap-2.4.40.ebuild: - Wrap lmdb.h for USE=-minimal, bug #525220. - - 12 Oct 2014; Robin H. Johnson openldap-2.4.40.ebuild: - Bug #415915: smbkrb5password has a non-kerb mode. - -*openldap-2.4.40 (12 Oct 2014) - - 12 Oct 2014; Robin H. Johnson - +files/openldap-2.4.40-slapd-conf, +files/slapd-initd-2.4.40, - +openldap-2.4.40.ebuild, files/slapd.service, files/slapd.tmpfilesd, - openldap-2.3.43-r3.ebuild, openldap-2.3.43-r4.ebuild, - openldap-2.4.19-r1.ebuild, openldap-2.4.23.ebuild, openldap-2.4.24.ebuild, - openldap-2.4.28-r1.ebuild, openldap-2.4.30.ebuild, openldap-2.4.35-r1.ebuild, - openldap-2.4.35.ebuild, openldap-2.4.38-r1.ebuild, openldap-2.4.38-r2.ebuild, - openldap-2.4.39.ebuild: - Version bump for bug #524694; Bug #520234: Improve TLS_REQCERT advice; Bug - #502948: Improve datadir sanity checks; Bug #405167: USE=static-libs support; - Bug #486424: cleanup QA warning re append-flags; Bug #426100: fix LICENSE; Bug - #450948: Better smbkrb5passwd support; Bug #466992: backend example scripts; - Bug #421017: fix automagic dep; Bug #444912: use /run instead of /var/run, - ensure it exists; Bug #497590: install LMDB tools; Bug #449776: install mdb - backend - -*openldap-2.4.39 (19 Sep 2014) - - 19 Sep 2014; Robin H. Johnson +openldap-2.4.39.ebuild: - Bug #501482: bump. - - 10 Aug 2014; Agostino Sarubbo openldap-2.4.38-r2.ebuild: - Stable for sparc, wrt bug #517936 - - 10 Aug 2014; Agostino Sarubbo openldap-2.4.38-r2.ebuild: - Stable for ia64, wrt bug #517936 - - 10 Aug 2014; Agostino Sarubbo openldap-2.4.38-r2.ebuild: - Stable for ppc64, wrt bug #517936 - - 07 Aug 2014; Jeroen Roovers openldap-2.4.38-r2.ebuild: - Stable for HPPA (bug #512012). - - 06 Aug 2014; Markus Meier openldap-2.4.38-r2.ebuild: - arm stable, bug #512012 - - 31 Jul 2014; Tobias Klausmann - openldap-2.4.38-r2.ebuild: - Stable on alpha, bug #517936 - - 28 Jul 2014; Agostino Sarubbo openldap-2.4.38-r2.ebuild: - Stable for ppc, wrt bug #512012 - - 25 Jul 2014; Robin H. Johnson openldap-2.4.19-r1.ebuild, - openldap-2.4.23.ebuild, openldap-2.4.24.ebuild, openldap-2.4.28-r1.ebuild, - openldap-2.4.30.ebuild, openldap-2.4.35-r1.ebuild, openldap-2.4.35.ebuild, - openldap-2.4.38-r1.ebuild, openldap-2.4.38-r2.ebuild: - Relax the datadir sanity check slightly for ease of infra use. - - 23 Jul 2014; Agostino Sarubbo openldap-2.4.38-r2.ebuild: - Stable for x86, wrt bug #512012 - - 22 Jul 2014; Agostino Sarubbo openldap-2.4.38-r2.ebuild: - Stable for amd64, wrt bug #512912 - - 25 Jun 2014; Michael Haubenwallner - openldap-2.4.38-r2.ebuild: - keyword ~ppc-aix - - 18 Jun 2014; Michał Górny openldap-2.4.38-r2.ebuild: - Update dependencies to require guaranteed EAPI=5 or multilib ebuilds, bug - #513718. - - 24 May 2014; Jorge Manuel B. S. Vicetto - openldap-2.4.38-r1.ebuild, openldap-2.4.38-r2.ebuild: - Update rfc2307bis schema - fixes bug 484244. - - 21 May 2014; Michał Górny openldap-2.4.38-r2.ebuild: - Restore CC & CXX exports as they are necessary for the native ABI, bug - #510980. - -*openldap-2.4.38-r2 (21 May 2014) - - 21 May 2014; Michał Górny +openldap-2.4.38-r2.ebuild: - Introduce multilib support, bug #493174. - - 04 Mar 2014; Andreas K. Huettel - openldap-2.4.38-r1.ebuild: - Add subslot dependency on dev-libs/icu - - 01 Mar 2014; Michał Górny openldap-2.4.30.ebuild, - openldap-2.4.35-r1.ebuild, openldap-2.4.35.ebuild, openldap-2.4.38-r1.ebuild: - Update libgcrypt dep to use slot :0. - - 10 Jan 2014; Pacho Ramos openldap-2.4.35-r1.ebuild: - ia64 stable, bug #486302 - - 08 Jan 2014; Mike Frysinger openldap-2.4.35-r1.ebuild, - openldap-2.4.35.ebuild, openldap-2.4.38-r1.ebuild: - Inherit the user eclass for enewuser/etc... - - 23 Dec 2013; Agostino Sarubbo openldap-2.4.35-r1.ebuild: - Stable for sparc, wrt bug #486302 - - 22 Dec 2013; Agostino Sarubbo openldap-2.4.35-r1.ebuild: - Stable for ppc64, wrt bug #486302 - - 21 Dec 2013; Diego E. Pettenò - openldap-2.4.38-r1.ebuild: - Fix USE=minimal build. - - 21 Dec 2013; Agostino Sarubbo openldap-2.4.35-r1.ebuild: - Stable for ppc, wrt bug #486302 - -*openldap-2.4.38-r1 (13 Dec 2013) - - 13 Dec 2013; Patrick Lauer +openldap-2.4.38-r1.ebuild, - -openldap-2.4.38.ebuild: - EAPI5 upgrade #477966 - -*openldap-2.4.38 (13 Dec 2013) - - 13 Dec 2013; Patrick Lauer +openldap-2.4.38.ebuild: - Bump for 484682 - - 06 Dec 2013; Robin H. Johnson -openldap-2.3.43-r1.ebuild, - -openldap-2.4.21.ebuild, -openldap-2.4.25-r1.ebuild, -openldap-2.4.25.ebuild, - -openldap-2.4.28.ebuild, -openldap-2.4.31-r1.ebuild, -openldap-2.4.31.ebuild, - -openldap-2.4.32.ebuild, -openldap-2.4.33-r1.ebuild, - -openldap-2.4.33-r2.ebuild, -openldap-2.4.33.ebuild, - openldap-2.3.43-r3.ebuild, openldap-2.3.43-r4.ebuild, - openldap-2.4.19-r1.ebuild, openldap-2.4.23.ebuild, openldap-2.4.24.ebuild, - openldap-2.4.28-r1.ebuild, openldap-2.4.30.ebuild, openldap-2.4.35-r1.ebuild, - openldap-2.4.35.ebuild: - Bug #485166: dev-lang/perl no longer has USE=build, so update the dep; clean - up many older unstablized older versions. - - 09 Nov 2013; Pacho Ramos openldap-2.4.35-r1.ebuild: - x86 stable, bug #486302 - - 04 Nov 2013; Matt Turner openldap-2.4.35-r1.ebuild: - alpha stable, bug 486302. - - 19 Oct 2013; Pacho Ramos openldap-2.4.35-r1.ebuild: - amd64 stable, bug #486302 - - 18 Oct 2013; Markus Meier openldap-2.4.35-r1.ebuild: - arm stable, bug #486302 - - 16 Oct 2013; Jeroen Roovers openldap-2.4.35-r1.ebuild: - Stable for HPPA (bug #486302). - -*openldap-2.4.35-r1 (18 Sep 2013) - - 18 Sep 2013; Pacho Ramos +files/slapd.service, - +files/slapd.service.conf, +files/slapd.tmpfilesd, +openldap-2.4.35-r1.ebuild: - Add unit file (#485134 by Alexander Tsoy) - - 16 Sep 2013; Patrick Lauer openldap-2.3.43-r4.ebuild: - Bring hang-fix in 2.3 to stable users - -*openldap-2.3.43-r4 (13 Sep 2013) - - 13 Sep 2013; Patrick Lauer - +files/openldap-2.3.43-fix-hang.patch, +openldap-2.3.43-r4.ebuild: - Backport connection-hang-fix from 2.4 - - 06 Sep 2013; Agostino Sarubbo openldap-2.4.35.ebuild: - Stable for sparc, wrt bug #480304 - - 05 Sep 2013; Agostino Sarubbo openldap-2.4.35.ebuild: - Stable for x86, wrt bug #480304 - - 05 Sep 2013; Agostino Sarubbo openldap-2.4.35.ebuild: - Stable for ppc64, wrt bug #480304 - - 04 Sep 2013; Agostino Sarubbo openldap-2.4.35.ebuild: - Stable for ppc, wrt bug #480304 - - 03 Sep 2013; Agostino Sarubbo openldap-2.4.35.ebuild: - Stable for ia64, wrt bug #480304 - - 02 Sep 2013; Agostino Sarubbo openldap-2.4.35.ebuild: - Stable for alpha, wrt bug #480304 - - 31 Aug 2013; Agostino Sarubbo openldap-2.4.35.ebuild: - Stable for arm, wrt bug #480304 - - 31 Aug 2013; Agostino Sarubbo openldap-2.4.35.ebuild: - Stable for amd64, wrt bug #480304 - - 28 Aug 2013; Jeroen Roovers openldap-2.4.35.ebuild: - Stable for HPPA (bug #480304). - - 09 Aug 2013; Matt Turner openldap-2.4.35.ebuild: - Update dev-lang/perl[-build] dependency, bug 479076. - -*openldap-2.4.33-r2 (16 Apr 2013) -*openldap-2.4.35 (16 Apr 2013) - - 16 Apr 2013; Robin H. Johnson - +files/openldap-2.4.33-gnutls.patch, - +files/openldap-2.4.35-contrib-samba4.patch, - +files/openldap-2.4.35-contrib-smbk5pwd.patch, +openldap-2.4.33-r2.ebuild, - +openldap-2.4.35.ebuild: - Bump, GnuTLS support per bug #421463. Tested with USE="berkdb crypt cxx - experimental gnutls ipv6 overlays perl samba sasl slp ssl syslog -minimal". - - 03 Mar 2013; Mike Frysinger openldap-2.3.43-r1.ebuild, - openldap-2.3.43-r3.ebuild, openldap-2.4.19-r1.ebuild, openldap-2.4.21.ebuild, - openldap-2.4.23.ebuild, openldap-2.4.24.ebuild, openldap-2.4.25-r1.ebuild, - openldap-2.4.25.ebuild, openldap-2.4.28-r1.ebuild, openldap-2.4.28.ebuild, - openldap-2.4.30.ebuild, openldap-2.4.31-r1.ebuild, openldap-2.4.31.ebuild, - openldap-2.4.32.ebuild, openldap-2.4.33-r1.ebuild, openldap-2.4.33.ebuild: - Add missing user inherit for enew{user,group}. - -*openldap-2.3.43-r3 (15 Jan 2013) - - 15 Jan 2013; Patrick Lauer +openldap-2.3.43-r3.ebuild, - -openldap-2.3.43-r2.ebuild: - Bump 2.3 again to force init script change, force stable keywords - - 15 Jan 2013; Patrick Lauer files/slapd-initd: - Rectifying incomplete fix to 2.3 init script - - 14 Jan 2013; Patrick Lauer openldap-2.3.43-r1.ebuild, - openldap-2.3.43-r2.ebuild, openldap-2.4.19-r1.ebuild, openldap-2.4.21.ebuild, - openldap-2.4.23.ebuild, openldap-2.4.24.ebuild, openldap-2.4.25-r1.ebuild, - openldap-2.4.25.ebuild, openldap-2.4.28-r1.ebuild, openldap-2.4.28.ebuild, - openldap-2.4.30.ebuild, openldap-2.4.31-r1.ebuild, openldap-2.4.31.ebuild, - openldap-2.4.32.ebuild, openldap-2.4.33-r1.ebuild, openldap-2.4.33.ebuild: - Fixing gnutls dep #421463 - -*openldap-2.3.43-r2 (14 Jan 2013) - - 14 Jan 2013; Patrick Lauer +openldap-2.3.43-r2.ebuild, - files/slapd-initd: - Bump 2.3 for init script checkpath change, #444912 - - 03 Dec 2012; Robin H. Johnson metadata.xml: - Add description for USE=minimal. - -*openldap-2.4.33-r1 (01 Dec 2012) - - 01 Dec 2012; Diego E. Pettenò - +openldap-2.4.33-r1.ebuild: - Improve USE=minimal, dropping dependencies on tcpd and libtool in that - configuration (they are used by the server), and only installing - files/directories for the server if it's going to be built. Drop dependency - over ncurses (not used anywhere in the code) and stop using keepdir on - /var/run (the init script will do that properly and support tmpfs - configurations). - - 22 Oct 2012; Robin H. Johnson openldap-2.4.30.ebuild: - Fix missing dep per bug #420887. - -*openldap-2.4.33 (16 Oct 2012) - - 16 Oct 2012; Robin H. Johnson +openldap-2.4.33.ebuild: - Bump per bug #438556. - -*openldap-2.4.32 (08 Oct 2012) - - 08 Oct 2012; Robin H. Johnson +openldap-2.4.32.ebuild: - Version bump per bug #429970. - - 02 Jul 2012; Naohiro Aota openldap-2.4.21.ebuild, - openldap-2.4.23.ebuild, openldap-2.4.24.ebuild, openldap-2.4.25-r1.ebuild, - openldap-2.4.25.ebuild, openldap-2.4.28-r1.ebuild, openldap-2.4.28.ebuild, - openldap-2.4.30.ebuild: - Drop x86-fbsd keyword, due to #290571 #408001 #408009 - - 13 Jun 2012; Kacper Kowalik - +files/openldap-2.4.31-gcc47.patch, openldap-2.4.31-r1.ebuild: - Fix building with gcc-4.7 wrt #420959 by Tiziano Müller - -*openldap-2.4.31-r1 (27 May 2012) - - 27 May 2012; Robin H. Johnson +openldap-2.4.31-r1.ebuild, - files/slapd-initd-2.4.28-r1: - Bug #417673: fix typo in checkpath call. - - 25 May 2012; Alexis Ballier openldap-2.4.31.ebuild: - keyword ~amd64-fbsd - -*openldap-2.4.31 (25 May 2012) - - 25 May 2012; Robin H. Johnson - +files/openldap-2.4.30-contrib-samba4.patch, +openldap-2.4.31.ebuild, - files/slapd-initd-2.4.28-r1: - Version bump, contains fixes for bugs #408009, #408001, #410913, #407541, - #412613, #413647, #302310, #414503, #408077. - - 13 May 2012; openldap-2.3.43-r1.ebuild, - openldap-2.4.19-r1.ebuild, openldap-2.4.21.ebuild, openldap-2.4.23.ebuild, - openldap-2.4.24.ebuild, openldap-2.4.25.ebuild, openldap-2.4.25-r1.ebuild, - openldap-2.4.28.ebuild, openldap-2.4.28-r1.ebuild, openldap-2.4.30.ebuild: - SELinux policy module for OpenLDAP is provided by selinux-ldap - - 17 Mar 2012; Raúl Porcel openldap-2.4.30.ebuild: - alpha/arm/ia64/s390/sh/sparc stable wrt #407941 - - 15 Mar 2012; Pawel Hajdan jr openldap-2.4.30.ebuild: - x86 stable wrt bug #407941 - - 13 Mar 2012; Jeroen Roovers openldap-2.4.30.ebuild: - Stable for HPPA (bug #407941). - - 13 Mar 2012; Brent Baude openldap-2.4.30.ebuild: - Marking openldap-2.4.30 ppc and ppc64 for bug 407941 - - 13 Mar 2012; Agostino Sarubbo openldap-2.4.30.ebuild: - Stable for amd64, wrt bug #407941 - -*openldap-2.4.30 (12 Mar 2012) - - 12 Mar 2012; Robin H. Johnson +openldap-2.4.30.ebuild: - Version bump for security bug #407941. - - 02 Mar 2012; Brent Baude openldap-2.4.28-r1.ebuild: - Marking openldap-2.4.28-r1 ppc64 for bug 388605 - - 28 Feb 2012; Brent Baude openldap-2.4.28-r1.ebuild: - Marking openldap-2.4.28-r1 ppc for bug 388605 - - 25 Feb 2012; Raúl Porcel openldap-2.4.28-r1.ebuild: - alpha/arm/ia64/s390/sh/sparc stable wrt #388605 - - 24 Feb 2012; Pawel Hajdan jr - openldap-2.4.28-r1.ebuild: - x86 stable wrt bug #388605 - - 22 Feb 2012; Jeroen Roovers openldap-2.4.28-r1.ebuild: - Stable for HPPA (bug #388605). - - 21 Feb 2012; Agostino Sarubbo openldap-2.4.28-r1.ebuild: - Stable for AMD64, wrt security bug #388605 - - 21 Feb 2012; Robin H. Johnson openldap-2.3.43-r1.ebuild, - openldap-2.4.19-r1.ebuild, openldap-2.4.21.ebuild, openldap-2.4.23.ebuild, - openldap-2.4.24.ebuild, openldap-2.4.25-r1.ebuild, openldap-2.4.25.ebuild, - openldap-2.4.28-r1.ebuild, openldap-2.4.28.ebuild: - Upstream host has moved. - - 21 Feb 2012; Robin H. Johnson openldap-2.3.43-r1.ebuild, - openldap-2.4.19-r1.ebuild, openldap-2.4.21.ebuild, openldap-2.4.23.ebuild, - openldap-2.4.24.ebuild, openldap-2.4.25-r1.ebuild, openldap-2.4.25.ebuild, - openldap-2.4.28.ebuild: - More bug #404555: WANT_AUTOMAKE=none changes to AT_NOEAUTOMAKE=yes with eclass - changes. - - 20 Feb 2012; Sergei Trofimovich - +files/openldap-2.4.28-fix-dash.patch, openldap-2.4.28-r1.ebuild: - Fix libtool build failure when /bin/sh points to dash. Approved by robbat2. - - 20 Feb 2012; Robin H. Johnson openldap-2.4.28-r1.ebuild: - Bug #404555: Use new variable AT_NOEAUTOMAKE instead of WANT_AUTOMAKE=none - overload. - - 13 Feb 2012; Robin H. Johnson Manifest: - Maybe repoman should detect files not in the VCS in the Manifest? - - 12 Feb 2012; Robin H. Johnson Manifest: - Manifest fix. - - 12 Feb 2012; Robin H. Johnson openldap-2.4.28-r1.ebuild: - Bug #326175: Help users with very old LDAP deploys (without the tags) to - upgrade. - - 12 Feb 2012; Robin H. Johnson - files/slapd-confd-2.4.28-r1, files/slapd-initd-2.4.28-r1: - Bug #376699: Multi-instance slapd support. - - 12 Feb 2012; Robin H. Johnson metadata.xml, - openldap-2.4.19-r1.ebuild, openldap-2.4.21.ebuild, openldap-2.4.23.ebuild, - openldap-2.4.24.ebuild, openldap-2.4.25-r1.ebuild, openldap-2.4.25.ebuild, - openldap-2.4.28-r1.ebuild, openldap-2.4.28.ebuild: - Bug #378847: OpenLDAP has a run-time dependency on libtool for loading - overlays/modules. - -*openldap-2.4.28-r1 (12 Feb 2012) - - 12 Feb 2012; Robin H. Johnson - +files/openldap-2.4.6-evolution-ntlm.patch, +files/slapd-confd-2.4.28-r1, - +files/slapd-initd-2.4.28-r1, +openldap-2.4.28-r1.ebuild, metadata.xml: - Bug #322787: Fix false positve on USE=minimal build safety. Bug #322535: - Samba4 overlay support. Bug #337717: missing groff DEPEND. Bug #340987: back- - ldbm was removed in the 2.4.x branch. Bug #342439: Connectionless LDAP - support. Bug #350295: Clarify slapd.conf vs slapd.d configuration methods. Bug - #294350: NTLM auth support for evolution client. Bug #302310: rfc2307bis - schema. Bug #302960: slaptest the configuration on startup. - - 12 Feb 2012; Robin H. Johnson openldap-2.4.21.ebuild, - openldap-2.4.23.ebuild, openldap-2.4.24.ebuild, openldap-2.4.25-r1.ebuild, - openldap-2.4.25.ebuild, openldap-2.4.28.ebuild: - Bug #403261: no direct automake need, but OpenLDAP still needs a specific - version of aclocal which comes from automake - - 12 Feb 2012; Robin H. Johnson files/slapd-confd, - files/slapd-initd: - Bug #401801: Fix slapd/net/dbus circular init dependency loop for nss_ldap - usecase - - 12 Feb 2012; Robin H. Johnson - +files/openldap-2.4.28-gnutls-gcrypt.patch, openldap-2.4.21.ebuild, - openldap-2.4.23.ebuild, openldap-2.4.24.ebuild, openldap-2.4.25-r1.ebuild, - openldap-2.4.25.ebuild, openldap-2.4.28.ebuild: - Bug #337504: compile-fix for gnutls linked with gcrypt. Relies on - WANT_AUTOMAKE=none eautoreconf support added to autotools.eclass as openldap - configure.in uses AM_INIT_AUTOMAKE but there are no Makefile.am (all - Makefile.in are hand-written). - - 10 Feb 2012; Robin H. Johnson openldap-2.3.43-r1.ebuild, - openldap-2.4.19-r1.ebuild, openldap-2.4.21.ebuild, openldap-2.4.23.ebuild, - openldap-2.4.24.ebuild, openldap-2.4.25-r1.ebuild, openldap-2.4.25.ebuild, - openldap-2.4.28.ebuild: - Make USE=syslog default on older ebuilds as well, to solve where the logs are - vanishing to with the default configuration. - -*openldap-2.4.28 (02 Feb 2012) - - 02 Feb 2012; Robin H. Johnson - +files/openldap-2.4.28-contrib-smbk5pwd.patch, +openldap-2.4.28.ebuild: - Bug #374115: version bump. - - 02 Feb 2012; Robin H. Johnson openldap-2.3.43-r1.ebuild, - openldap-2.4.19-r1.ebuild, openldap-2.4.21.ebuild, openldap-2.4.23.ebuild, - openldap-2.4.24.ebuild, openldap-2.4.25-r1.ebuild, openldap-2.4.25.ebuild: - When upgrading a replicated setup, you need to remove contextCSN as well as - the usual entryCSN that is needed in non-replicated setups. - - 22 Aug 2011; Robin H. Johnson openldap-2.3.43-r1.ebuild: - Backport FORCE_UPGRADE to old 2.3 major series. - -*openldap-2.4.25-r1 (11 Aug 2011) - - 11 Aug 2011; Jonathan Callen +openldap-2.4.25-r1.ebuild: - Revbump to add prefix support. Warn about issues with slapd on prefix. - Reviewed by robbat2. - -*openldap-2.4.25 (06 May 2011) - - 06 May 2011; Robin H. Johnson +openldap-2.4.25.ebuild: - Version bump. - - 26 Feb 2011; Raúl Porcel openldap-2.4.24.ebuild: - alpha/arm/ia64/s390/sh stable wrt #355333 - - 20 Feb 2011; Pawel Hajdan jr - openldap-2.4.24.ebuild: - x86 stable wrt security bug #355333 - - 19 Feb 2011; Kacper Kowalik - openldap-2.4.24.ebuild: - ppc/ppc64 stable wrt #355333 - - 19 Feb 2011; Markos Chandras openldap-2.4.24.ebuild: - Stable on amd64 wrt bug #355333 - - 19 Feb 2011; Jeroen Roovers openldap-2.4.24.ebuild: - Stable for HPPA SPARC (bug #355333). - -*openldap-2.4.24 (18 Feb 2011) - - 18 Feb 2011; Robin H. Johnson +openldap-2.4.24.ebuild: - Bump for security bug #355333. - - 12 Sep 2010; Joseph Jezak openldap-2.4.23.ebuild: - Marked ppc stable for bug #323777. - - 06 Sep 2010; Brent Baude openldap-2.4.23.ebuild: - Marking openldap-2.4.23 ppc64 for bug 323777 - - 06 Sep 2010; Jeroen Roovers openldap-2.4.23.ebuild: - Stable for HPPA (bug #323777). - - 04 Sep 2010; Raúl Porcel openldap-2.4.23.ebuild: - alpha/arm/ia64/s390/sh/sparc stable wrt #323777 - - 03 Sep 2010; Markos Chandras openldap-2.4.23.ebuild: - Stable on amd64 wrt bug #323777 - - 01 Sep 2010; Pawel Hajdan jr - openldap-2.4.23.ebuild: - x86 stable wrt security bug #323777 - -*openldap-2.4.23 (30 Aug 2010) - - 30 Aug 2010; Robin H. Johnson - +openldap-2.4.23.ebuild: - Version bump for sec bug #323777. - - 11 Apr 2010; Markus Ullmann -openldap-2.3.41.ebuild, - -openldap-2.3.41-r1.ebuild, -openldap-2.3.43.ebuild, - openldap-2.3.43-r1.ebuild, -openldap-2.4.16.ebuild, - -openldap-2.4.17.ebuild, -openldap-2.4.17-r1.ebuild, - -openldap-2.4.19.ebuild: - Some cleanup, remove unused versions - -*openldap-2.4.21 (11 Apr 2010) - - 11 Apr 2010; Markus Ullmann +files/slapd-initd2, - +openldap-2.4.21.ebuild: - Version bump to upstream recommended version, fix bugs #296567, #306807 - and #306623. Thanks to Andreas Kimpfler, steveb and Mike Hiretsky - - 19 Feb 2010; Robin H. Johnson metadata.xml: - Describe the ODBC use flag better. - - 12 Jan 2010; Doug Goldstein openldap-2.3.41.ebuild, - openldap-2.3.41-r1.ebuild, openldap-2.3.43.ebuild, - openldap-2.3.43-r1.ebuild, openldap-2.4.16.ebuild, openldap-2.4.17.ebuild, - openldap-2.4.17-r1.ebuild, openldap-2.4.19.ebuild, - openldap-2.4.19-r1.ebuild: - modify the order of preserve_libs call so that a user that follows the - instructions to the T doesn't do needless rebuilds of openldap - - 04 Dec 2009; Robin H. Johnson - openldap-2.4.19-r1.ebuild: - Bug #295622: Try for a major improvement in the detection of an existing - on-disk DB. - - 03 Dec 2009; Robin H. Johnson - openldap-2.4.19.ebuild, openldap-2.4.19-r1.ebuild: - Make cxx NOT defaulted per the profile, due to the circular dependency it - brings in with dev-libs/cyrus-sasl. Thanks to Cardoe for pointing out. - - 03 Dec 2009; Robin H. Johnson - openldap-2.4.19-r1.ebuild: - Bug #291821 redux Cleanup the sys-libs/db check more to NOT fire when - there are no database files present. - - 28 Nov 2009; Robin H. Johnson - openldap-2.4.19-r1.ebuild: - 2.4.19-r1 is a compile-fix for ldapc++ and some additional safety checks - not present in the r0 ebuild. Taking the -r0 keywords per bug 290345 GLSA. - - 28 Nov 2009; Robin H. Johnson - openldap-2.4.19-r1.ebuild: - Bug #294401: ldapc++ will not build on a fresh system as it needs liblber - to finish it's configure process. - - 28 Nov 2009; Robin H. Johnson - openldap-2.4.19-r1.ebuild: - Fixup the bash4 usage and go into slightly more detail on the berkdb - prebuilt check so users do not block themselves out of their database. - - 27 Nov 2009; Arfrever Frehtes Taifersar Arahesis - openldap-2.4.19-r1.ebuild: - Check previously used version of sys-libs/db only with USE="berkdb". - - 24 Nov 2009; Robin H. Johnson openldap-2.4.17.ebuild, - openldap-2.4.17-r1.ebuild, openldap-2.4.19.ebuild, - openldap-2.4.19-r1.ebuild: - Bug #291923, fix missing prefix /. - -*openldap-2.4.19-r1 (24 Nov 2009) - - 24 Nov 2009; Robin H. Johnson - +openldap-2.4.19-r1.ebuild: - Bug #293699: Ensure new contrib overlays work properly when dynamically - compiled. Bug #291821: Detect that the to-be-linked against version of DB - is not the same as the existing linked version and prevent the users data - from becoming inaccessible. - - 21 Nov 2009; nixnut openldap-2.4.19.ebuild: - ppc stable #290345 - - 17 Nov 2009; Brent Baude openldap-2.4.19.ebuild: - Marking openldap-2.4.19 ppc64 for bug 290345 - - 15 Nov 2009; Raúl Porcel openldap-2.4.19.ebuild: - ia64/s390/sh/sparc stable wrt #290345 - - 07 Nov 2009; Tobias Klausmann - openldap-2.4.19.ebuild: - Stable on alpha, bug #290345 - - 06 Nov 2009; Markus Meier openldap-2.4.19.ebuild: - arm stable, bug #290345 - - 05 Nov 2009; Markus Meier openldap-2.4.19.ebuild: - amd64 stable, bug #290345 - - 05 Nov 2009; Jeroen Roovers openldap-2.4.19.ebuild: - Stable for HPPA (bug #290345). - - 04 Nov 2009; Christian Faulhammer - openldap-2.4.19.ebuild: - stable x86, security bug 290345 - -*openldap-2.4.19 (03 Nov 2009) - - 03 Nov 2009; Robin H. Johnson - +openldap-2.4.19.ebuild, +files/openldap-2.4.19-contrib-smbk5pwd.patch: - Version bump per bug #290345 (CVE-2009-3767). Also fix: #286427 - disable-syslog w/ USE=minimal. #280986 ldflags. - - 10 Aug 2009; Samuli Suominen - openldap-2.4.17-r1.ebuild, +files/openldap-2.4.17-gcc44.patch: - Fix building with GCC 4.4+ wrt #280988. - - 28 Jul 2009; Robin H. Johnson - -openldap-2.3.39-r2.ebuild, -openldap-2.3.40-r1.ebuild, - -openldap-2.4.7.ebuild, -files/openldap-2.4-disable-bdb46.patch, - -openldap-2.4.10.ebuild, -openldap-2.4.11.ebuild, - -openldap-2.4.11-r1.ebuild, -files/openldap-2.4-ppolicy.patch: - Bug #271723: Clean up old versions. - -*openldap-2.4.17-r1 (28 Jul 2009) - - 28 Jul 2009; Robin H. Johnson - +openldap-2.4.17-r1.ebuild, files/openldap-2.4.17-contrib-smbk5pwd.patch, - +files/openldap-2.4.17-fix-lmpasswd-gnutls-symbols.patch, - files/slapd-initd: - Bug #219371: Install C++ libraries and headers as needed. Bug #233633: Fix - compile with USE="samba gnutls". Bug #273699: Fix slapd init ordering. Bug - #261186: Build plugins with libtool instead of directly. Bug #279461: - Update smbk5pwd building. - -*openldap-2.4.17 (28 Jul 2009) - - 28 Jul 2009; Robin H. Johnson - +openldap-2.4.17.ebuild, +files/openldap-2.4.17-contrib-smbk5pwd.patch: - Bug #279352: version bump. Also fixes bug #266643. - - 08 May 2009; Peter Alfredsen - +files/openldap-2.3.XY-gcc44.patch, openldap-2.3.39-r2.ebuild, - openldap-2.3.40-r1.ebuild, openldap-2.3.41.ebuild, - openldap-2.3.41-r1.ebuild, openldap-2.3.43.ebuild, - openldap-2.3.43-r1.ebuild: - Fix build with gcc-4.4, bug 264761. Thanks to Daniel J. - for the patch. Versions still affected: - openldap-2.4.7, 2.4.10, 2.4.11*, but PMASKED. Use 2.4.16 if you have to. - -*openldap-2.4.16 (14 Apr 2009) - - 14 Apr 2009; Tiziano Müller - +files/openldap-2.4.15-ppolicy.patch, +openldap-2.4.16.ebuild: - Version bump (bug #260796). Also solved bug #245152. - - 07 Mar 2009; Thomas Anderson - openldap-2.3.39-r2.ebuild, openldap-2.3.40-r1.ebuild, - openldap-2.3.41.ebuild, openldap-2.3.41-r1.ebuild, openldap-2.3.43.ebuild, - openldap-2.3.43-r1.ebuild, openldap-2.4.7.ebuild, openldap-2.4.10.ebuild, - openldap-2.4.11.ebuild, openldap-2.4.11-r1.ebuild: - Fix elog which is innaccurate because of portage compression - - 05 Mar 2009; Robin H. Johnson - files/openldap-2.3.34-slapd-conf: - Bug #261287, no longer allowed to have a comment at the end of a line with - other content. - - 15 Jan 2009; Raúl Porcel openldap-2.3.43.ebuild, - openldap-2.3.43-r1.ebuild, openldap-2.4.11-r1.ebuild: - Fix ebuilds with EAPI=2, bug #255021 - - 13 Jan 2009; Raúl Porcel openldap-2.3.43.ebuild, - openldap-2.3.43-r1.ebuild, openldap-2.4.11-r1.ebuild: - Move to USE-deps to fix bug #253964, acked by robbat2 - - 14 Oct 2008; Robin H. Johnson files/slapd-initd: - Bug #229289, --quiet is no longer needed. - - 14 Oct 2008; Robin H. Johnson - openldap-2.3.43-r1.ebuild, openldap-2.4.11-r1.ebuild: - Bug #186391 - use krb5-config --cflags instead of hardcoding - -I/usr/include/heimdal. Untested due to lack of kerberos systems. - -*openldap-2.4.11-r1 (14 Oct 2008) - - 14 Oct 2008; Robin H. Johnson - +files/openldap-2.4.11-libldap_r.patch, +openldap-2.4.11-r1.ebuild: - Bug #189817, fix linking of libldap_r with as-needed. - -*openldap-2.3.43-r1 (14 Oct 2008) - - 14 Oct 2008; Robin H. Johnson - +files/openldap-2.3.37-libldap_r.patch, +openldap-2.3.43-r1.ebuild: - Bug #189817, fix linking of libldap_r with as-needed. - -*openldap-2.4.11 (03 Sep 2008) - - 03 Sep 2008; Markus Ullmann +openldap-2.4.11.ebuild: - Version bump wrt bug 232940 - - 16 Aug 2008; Doug Goldstein metadata.xml: - add GLEP 56 USE flag desc from use.local.desc - - 13 Aug 2008; Robin H. Johnson - openldap-2.3.39-r2.ebuild, openldap-2.3.40-r1.ebuild, - openldap-2.3.41.ebuild, openldap-2.4.7.ebuild, openldap-2.4.10.ebuild: - Bug #233006, block sys-libs/db:4.7 properly. Patch from Arfrever Frehtes - Taifersar Arahesis . - - 03 Aug 2008; Tobias Heinlein - openldap-2.3.43.ebuild: - amd64 stable wrt security bug #230269 - - 22 Jul 2008; Tobias Scherbaum - openldap-2.3.43.ebuild: - ppc stable, bug #230269 - - 21 Jul 2008; Raúl Porcel openldap-2.3.43.ebuild: - alpha/ia64/x86 stable wrt #230269 - - 21 Jul 2008; Friedrich Oslage - openldap-2.3.43.ebuild: - Stable on sparc, bug #230269 - - 21 Jul 2008; Markus Rothe openldap-2.3.43.ebuild: - Stable on ppc64; bug #230269 - - 21 Jul 2008; Jeroen Roovers openldap-2.3.43.ebuild: - Stable for HPPA (bug #230269). - -*openldap-2.3.43 (20 Jul 2008) - - 20 Jul 2008; Robin H. Johnson - +openldap-2.3.43.ebuild: - Version bump for security bug #230269. - - 20 Jun 2008; Peter Alfredsen - openldap-2.3.41-r1.ebuild: - Add -D_GNU_SOURCE for using struct ucred. Bug 228457. - -*openldap-2.4.10 (11 Jun 2008) - - 11 Jun 2008; Tiziano Müller - +openldap-2.4.10.ebuild: - Version bump which adds back the contrib modules, fixes the bdb usage, - etc. - -*openldap-2.3.41-r1 (21 May 2008) - - 21 May 2008; Caleb Tennis +openldap-2.3.41-r1.ebuild: - do a revbump. This incorporates fixes from bug 219069 that allows db 4.6 to - be installed on the system while linking against a lower version - - 18 Mar 2008; Jeroen Roovers openldap-2.3.41.ebuild: - Stable for HPPA (bug #209677). - - 07 Mar 2008; Steve Dibb openldap-2.3.41.ebuild: - amd64 stable, security bug 209677 - - 05 Mar 2008; Tobias Scherbaum - openldap-2.3.41.ebuild: - ppc stable, bug #209677 - - 05 Mar 2008; Raúl Porcel openldap-2.3.41.ebuild: - alpha/ia64/sparc stable wrt #209677 - - 05 Mar 2008; Christian Faulhammer - openldap-2.3.41.ebuild: - stable x86, bug 209677 - - 05 Mar 2008; Brent Baude openldap-2.3.41.ebuild: - Marking openldap-2.3.41 ppc64 for bug 209677 - -*openldap-2.3.41 (04 Mar 2008) - - 04 Mar 2008; Markus Ullmann +openldap-2.3.41.ebuild: - Version bump for security bug #209677 - - 26 Jan 2008; Sven Wegener openldap-2.4.7.ebuild: - Add selinux to IUSE, we use it in *DEPEND. - - 13 Jan 2008; Ulrich Mueller -openldap-2.3.35-r1.ebuild, - -openldap-2.3.39-r1.ebuild: - Remove old revisions wrt bug #201690. - - 13 Jan 2008; Markus Ullmann openldap-2.3.39-r2.ebuild, - openldap-2.3.40-r1.ebuild: - Add samba flag warning for bug #196045 - - 13 Jan 2008; Markus Ullmann openldap-2.3.39-r2.ebuild: - Stable on amd64 with welps permission - - 13 Jan 2008; Markus Ullmann openldap-2.3.39-r2.ebuild, - openldap-2.3.40-r1.ebuild: - Drop readline dep as it's not needed any more - - 13 Jan 2008; Markus Ullmann openldap-2.3.39-r2.ebuild, - openldap-2.3.40-r1.ebuild, openldap-2.4.7.ebuild: - Fix lib preservation for bug #205220 - -*openldap-2.4.7 (13 Jan 2008) - - 13 Jan 2008; Markus Ullmann - +files/openldap-2.4-disable-bdb46.patch, - +files/openldap-2.4-ppolicy.patch, +openldap-2.4.7.ebuild: - Version bump to new 2.4 series - - 10 Jan 2008; Raúl Porcel openldap-2.3.39-r2.ebuild: - alpha/ia64 stable wrt #201690 - - 10 Jan 2008; Markus Ullmann openldap-2.3.39-r2.ebuild: - Stable on sparc - -*openldap-2.3.40-r1 (09 Jan 2008) - - 09 Jan 2008; Markus Ullmann -openldap-2.3.40.ebuild, - +openldap-2.3.40-r1.ebuild: - Revbump to fix docert accidentally re-introduced in .40 - - 09 Jan 2008; Brent Baude openldap-2.3.39-r2.ebuild: - Marking openldap-2.3.39-r2 ppc64 for bug 201690 - - 09 Jan 2008; Brent Baude openldap-2.3.39-r2.ebuild: - Marking openldap-2.3.39-r2 ppc for bug 201690 - - 09 Jan 2008; Jeroen Roovers openldap-2.3.39-r2.ebuild: - Stable for HPPA (bug #201690). - - 09 Jan 2008; Christian Faulhammer - openldap-2.3.39-r2.ebuild: - stable x86, bug 201690 - -*openldap-2.3.40 (06 Jan 2008) - - 06 Jan 2008; Markus Ullmann +openldap-2.3.40.ebuild: - Version bump with added openldap-2.4 sync support - -*openldap-2.3.39-r2 (27 Dec 2007) - - 27 Dec 2007; Ulrich Mueller +openldap-2.3.39-r2.ebuild: - Replace docert with install_cert in pkg_postinst, bug #201690. - - 25 Dec 2007; Markus Ullmann Manifest: - Make repoman happy - - 25 Dec 2007; Markus Ullmann -openldap-2.2.28-r7.ebuild, - -openldap-2.3.37.ebuild, -openldap-2.3.38.ebuild, -openldap-2.3.39.ebuild: - Drop old - - 28 Nov 2007; Chris Gianelloni - openldap-2.3.39-r1.ebuild: - Stable on amd64 wrt bug #197446. - - 27 Nov 2007; Raúl Porcel openldap-2.3.39-r1.ebuild: - alpha/ia64/sparc stable wrt security #197446 - - 27 Nov 2007; Christian Faulhammer - openldap-2.3.39-r1.ebuild: - stable x86, security bug 197446 - - 27 Nov 2007; Jeroen Roovers openldap-2.3.39-r1.ebuild: - Stable for HPPA (bug #197446). Fixed quoting and whitespace issues. - - 27 Nov 2007; Brent Baude openldap-2.3.39-r1.ebuild: - Marking openldap-2.3.39-r1 ppc64 stable for bug 197446 - - 26 Nov 2007; Brent Baude openldap-2.3.39-r1.ebuild: - Marking openldap-2.3.39-r1 ppc for bug 197446 - -*openldap-2.3.39-r1 (08 Nov 2007) - - 08 Nov 2007; Markus Ullmann +openldap-2.3.39-r1.ebuild: - Another dep restriction and enable syncprov overlay by default without - overlays useflag as that is widely used and causes confusion if compiled as - module - - 02 Nov 2007; Mike Frysinger openldap-2.3.39.ebuild: - Add a blocker to db-4.6 since it was unmasked for a little while and can - easily still live on peoples systems #197542. - -*openldap-2.3.39 (29 Oct 2007) - - 29 Oct 2007; Markus Ullmann +openldap-2.3.39.ebuild: - Version bump - - 17 Oct 2007; Chris Gianelloni - openldap-2.3.38.ebuild: - Stable on amd64 wrt bug #195180. - - 12 Oct 2007; Markus Rothe openldap-2.3.38.ebuild: - Stable on ppc64; bug #195180 - - 11 Oct 2007; Lars Weiler openldap-2.3.38.ebuild: - stable ppc, bug #195180 - - 09 Oct 2007; Raúl Porcel openldap-2.3.38.ebuild: - alpha/ia64/sparc stable wrt #195180 - - 09 Oct 2007; Christian Faulhammer openldap-2.3.38.ebuild: - stable x86, bug 195180 - - 09 Oct 2007; Jeroen Roovers openldap-2.3.38.ebuild: - Stable for HPPA (bug #195180). - -*openldap-2.3.38 (06 Sep 2007) - - 06 Sep 2007; Markus Ullmann -openldap-2.3.30-r2.ebuild, - -openldap-2.3.35-r2.ebuild, -openldap-2.3.36.ebuild, - +openldap-2.3.38.ebuild: - Cleanup and version bump - -*openldap-2.3.37 (23 Jul 2007) - - 23 Jul 2007; Markus Ullmann +openldap-2.3.37.ebuild: - Version bump, just minor bugfixes - - 13 Jul 2007; Roy Marples openldap-2.3.36.ebuild: - Keyworded ~sparc-fbsd - -*openldap-2.3.36 (02 Jul 2007) - - 02 Jul 2007; Markus Ullmann +openldap-2.3.36.ebuild: - Version bump, upstream info: only bugfixes - -*openldap-2.3.35-r2 (04 Jun 2007) - - 04 Jun 2007; Markus Ullmann +openldap-2.3.35-r2.ebuild: - Fix lanman bug #178651 - - 02 Jun 2007; nixnut openldap-2.3.35-r1.ebuild: - Stable on ppc wrt bug 180012 - - 02 Jun 2007; Markus Ullmann -openldap-2.3.34-r1.ebuild, - -openldap-2.3.35.ebuild: - Drop old versions - - 31 May 2007; Raúl Porcel openldap-2.3.35-r1.ebuild: - x86 stable wrt #180012 - - 31 May 2007; Raúl Porcel openldap-2.3.35-r1.ebuild: - alpha/ia64 stable wrt #180012 - - 31 May 2007; Daniel Gryniewicz - openldap-2.3.35-r1.ebuild: - Marked stable on amd64 for bug #180012 - - 30 May 2007; Markus Ullmann openldap-2.3.35-r1.ebuild: - Stable on arm - - 29 May 2007; Gustavo Zacarias - openldap-2.3.35-r1.ebuild: - Stable on sparc wrt #180012 - - 29 May 2007; Brent Baude openldap-2.3.35-r1.ebuild: - Marking openldap-2.3.35-r1 ppc64 stable for bug 180012 - - 29 May 2007; Jeroen Roovers openldap-2.3.35-r1.ebuild: - Stable for HPPA (bug #180012). - - 17 May 2007; Roy Marples openldap-2.3.35-r1.ebuild: - Include the correct db.h on FreeBSD. - Fix install to use -o and not -u for SSL certs. - -*openldap-2.3.35-r1 (25 Apr 2007) - - 25 Apr 2007; Robin H. Johnson - +openldap-2.3.35-r1.ebuild: - Fix slapd.conf source location. Move SSL generation back into pkg_postinst - to avoid a potential security problem. - -*openldap-2.3.35 (10 Apr 2007) - - 10 Apr 2007; Markus Ullmann -openldap-2.3.34.ebuild, - +openldap-2.3.35.ebuild: - Version bump - - 06 Apr 2007; Markus Ullmann -openldap-2.3.33.ebuild: - Drop old version - -*openldap-2.3.34-r1 (06 Apr 2007) - - 06 Apr 2007; Markus Ullmann - +files/openldap-2.3.34-slapd-conf, +openldap-2.3.34-r1.ebuild: - Add built backends module population to config file and fix bug #163652 , - bug #172998 and bug #170648 - - 26 Mar 2007; Markus Ullmann - -openldap-2.1.30-r10.ebuild: - Drop 2.1 - -*openldap-2.3.34 (26 Mar 2007) - - 26 Mar 2007; Markus Ullmann +openldap-2.3.34.ebuild: - Version bump - - 16 Feb 2007; Markus Ullmann openldap-2.2.28-r7.ebuild, - -openldap-2.3.27-r3.ebuild, openldap-2.3.30-r2.ebuild, - openldap-2.3.33.ebuild: - Fix liblber wrt bug #164626 and drop unneeded version - - 20 Jan 2007; Markus Ullmann openldap-2.1.30-r10.ebuild: - Fix a patch call - -*openldap-2.3.33 (19 Jan 2007) - - 19 Jan 2007; Markus Ullmann -openldap-2.3.32.ebuild, - +openldap-2.3.33.ebuild: - Version bump (should fix bug #162587 as well) - - 16 Jan 2007; Markus Ullmann - -files/openldap-2.1.27-db40.patch, - -files/openldap-2.1.27-perlthreadsfix.patch, - -files/openldap-2.1.30-autoconf-archived-fix.patch, - -files/openldap-2.1.30-autoconf25.patch, - -files/openldap-2.1.30-db40.patch, -files/openldap-2.1.30-glibc24.patch, - -files/openldap-2.1.30-m4_underquoted.patch, - -files/openldap-2.1.30-rpath.patch, -files/openldap-2.1.30-tests.patch, - -files/openldap-2.1.30-tls-activedirectory-hang-fix.patch, - -files/openldap-2.1.30-ximian_connector.patch, - -files/openldap-2.2.14-db40.patch, - -files/openldap-2.2.26-tls-fix-connection-test.patch, - -files/openldap-2.2.28-autoconf-archived-fix.patch, - -files/openldap-2.2.28-cleartext-passwords.patch, - -files/openldap-2.2.28-r1-configure.in-rpath.patch, - -files/openldap-2.2.28-tests.patch, - -files/openldap-2.2.28-ximian_connector.patch, - -files/openldap-2.3.27-CVE-2006-5779.patch, openldap-2.1.30-r10.ebuild, - openldap-2.2.28-r7.ebuild: - As older versions have a constant patchset, move that out to mirrors - -*openldap-2.3.32 (16 Jan 2007) - - 16 Jan 2007; Markus Ullmann -files/2.0/slapd, - -files/2.0/slapd.conf, -files/2.0/slurpd, +files/slapd-confd, - +files/slapd-initd, +files/slurpd-initd, -openldap-2.1.30-r8.ebuild, - -openldap-2.1.30-r9.ebuild, openldap-2.1.30-r10.ebuild, - -openldap-2.2.28-r5.ebuild, -openldap-2.2.28-r6.ebuild, - openldap-2.2.28-r7.ebuild, -openldap-2.3.24-r1.ebuild, - -openldap-2.3.30-r1.ebuild, openldap-2.3.30-r2.ebuild, - -openldap-2.3.31-r1.ebuild, +openldap-2.3.32.ebuild: - Version bump and ebuild cleanup - - 16 Jan 2007; Markus Ullmann openldap-2.2.28-r7.ebuild, - openldap-2.3.30-r2.ebuild, openldap-2.3.31-r1.ebuild: - Fix preserve libs position - - 13 Jan 2007; Markus Ullmann openldap-2.1.30-r10.ebuild, - openldap-2.2.28-r7.ebuild, openldap-2.3.30-r2.ebuild: - Stable on arm - - 09 Jan 2007; Petteri Räty - openldap-2.3.31-r1.ebuild: - Fixed pkg_postinst to use elog instead of einfo and point to the right doc - directory. - - 08 Jan 2007; Peter Weller (welp) - openldap-2.1.30-r10.ebuild, openldap-2.2.28-r7.ebuild, - openldap-2.3.30-r2.ebuild: - openldap-2.3.30-r2, 2.1.30-r10, and 2.2.28-r7 stable on amd64 wrt bug #159508 - - 08 Jan 2007; Christian Faulhammer - openldap-2.1.30-r10.ebuild, openldap-2.2.28-r7.ebuild, - openldap-2.3.30-r2.ebuild: - stable x86, bug #159508 - - 08 Jan 2007; Bryan Østergaard - openldap-2.1.30-r10.ebuild, openldap-2.2.28-r7.ebuild, - openldap-2.3.30-r2.ebuild: - Stable on Alpha + IA64, bug 159508. - - 08 Jan 2007; Markus Rothe openldap-2.1.30-r10.ebuild, - openldap-2.2.28-r7.ebuild, openldap-2.3.30-r2.ebuild: - Stable on ppc64; bug #159508 - - 08 Jan 2007; Tobias Scherbaum - openldap-2.1.30-r10.ebuild, openldap-2.2.28-r7.ebuild: - Stable on ppc wrt bug #159508. - - 08 Jan 2007; Markus Ullmann openldap-2.1.30-r10.ebuild: - ssl cert magic - - 08 Jan 2007; Jeroen Roovers openldap-2.2.28-r7.ebuild: - Stable for HPPA (bug #159508). - - 08 Jan 2007; Jason Wever openldap-2.1.30-r10.ebuild, - openldap-2.2.28-r7.ebuild, openldap-2.3.30-r2.ebuild: - Stable on SPARC wrt security bug #159508. - - 08 Jan 2007; Jeroen Roovers openldap-2.1.30-r10.ebuild: - Stable for HPPA (bug #159508). - - 08 Jan 2007; Jeroen Roovers openldap-2.3.30-r2.ebuild: - Stable for HPPA (bug #159508). - - 07 Jan 2007; Tobias Scherbaum - openldap-2.3.30-r2.ebuild: - Stable on ppc wrt bug #159508. - -*openldap-2.3.31-r1 (06 Jan 2007) -*openldap-2.3.30-r2 (06 Jan 2007) -*openldap-2.2.28-r7 (06 Jan 2007) -*openldap-2.1.30-r10 (06 Jan 2007) - - 06 Jan 2007; Markus Ullmann -files/gencert.sh, - +openldap-2.1.30-r10.ebuild, +openldap-2.2.28-r7.ebuild, - +openldap-2.3.30-r2.ebuild, -openldap-2.3.31.ebuild, - +openldap-2.3.31-r1.ebuild: - Fixing enewuser placement, some further quotation (all done now, yey), - security bug #159508 and add -j1 temporarily until upstream fixes parallel - make issues - - 25 Dec 2006; Markus Ullmann openldap-2.1.30-r9.ebuild, - openldap-2.2.28-r6.ebuild, openldap-2.3.30-r1.ebuild, - openldap-2.3.31.ebuild: - more quotation fixes and fix bug #156090 - - 23 Dec 2006; Markus Ullmann -files/gencert.sh-2.2.27, - openldap-2.1.30-r9.ebuild, openldap-2.2.28-r5.ebuild, - openldap-2.2.28-r6.ebuild, openldap-2.3.30-r1.ebuild, - openldap-2.3.31.ebuild: - Ebuild clean up, don't build 2.1 libs when building 2.2, just preserve if - needed - - 23 Dec 2006; Markus Ullmann -openldap-2.1.30-r6.ebuild, - -openldap-2.1.30-r7.ebuild, openldap-2.1.30-r8.ebuild, - -openldap-2.2.28-r3.ebuild, -openldap-2.2.28-r4.ebuild, - openldap-2.2.28-r5.ebuild, -openldap-2.3.24-r2.ebuild, - -openldap-2.3.27.ebuild, -openldap-2.3.27-r1.ebuild, - -openldap-2.3.27-r2.ebuild, openldap-2.3.27-r3.ebuild, - -openldap-2.3.30.ebuild: - arm stable wrt bug# 154349 and security cleanup - -*openldap-2.3.31 (23 Dec 2006) - - 23 Dec 2006; Markus Ullmann +openldap-2.3.31.ebuild: - Version bump - -*openldap-2.3.30-r1 (27 Nov 2006) - - 27 Nov 2006; Benjamin Smee - +openldap-2.3.30-r1.ebuild: - bumped to fix an overlays bug, need to be compiled in - - 27 Nov 2006; openldap-2.1.30-r8.ebuild, - openldap-2.2.28-r5.ebuild, openldap-2.3.27-r3.ebuild: - stable on amd64 wrt security bug 154349 - -*openldap-2.3.30 (26 Nov 2006) - - 26 Nov 2006; Michael Hanselmann - +openldap-2.3.30.ebuild: - Bump to 2.3.30, approved by robbat2. - - 24 Nov 2006; Bryan Østergaard - openldap-2.1.30-r8.ebuild, openldap-2.2.28-r5.ebuild, - openldap-2.3.27-r3.ebuild: - Stable on Alpha + ia64, bug 154348. - - 24 Nov 2006; Gustavo Zacarias - openldap-2.1.30-r8.ebuild, openldap-2.2.28-r5.ebuild, - openldap-2.3.27-r3.ebuild: - Stable on sparc wrt security #154349 - - 22 Nov 2006; René Nussbaumer - openldap-2.1.30-r8.ebuild, openldap-2.2.28-r5.ebuild: - Stable on hppa. See bug #154349. - - 22 Nov 2006; Tobias Scherbaum - openldap-2.1.30-r8.ebuild, openldap-2.2.28-r5.ebuild, - openldap-2.3.27-r3.ebuild: - ppc stable, bug #154349 - - 22 Nov 2006; Christian Faulhammer - openldap-2.3.27-r3.ebuild: - stable x86, security bug #154349 - - 22 Nov 2006; Christian Faulhammer - openldap-2.2.28-r5.ebuild: - stable x86, security bug #154349 - - 22 Nov 2006; Christian Faulhammer - openldap-2.1.30-r8.ebuild: - stable x86, security bug #154349 - - 22 Nov 2006; Jeroen Roovers openldap-2.3.27-r3.ebuild: - 2.3.27-r3 stable for HPPA (bug #154349). - - 22 Nov 2006; Robin H. Johnson - openldap-2.1.30-r6.ebuild, openldap-2.1.30-r8.ebuild: - Fix cosmetic typo noted on bug #154349. - - 21 Nov 2006; Brent Baude openldap-2.1.30-r8.ebuild, - openldap-2.2.28-r5.ebuild: - Marking openldap-2.2.28-r5 & openldap-2.1.30-r8 ppc64 for bug 154349 - - 21 Nov 2006; Brent Baude openldap-2.3.27-r3.ebuild: - Marking openldap-2.3.27-r3 ppc64 stable for bug 154349 - -*openldap-2.3.27-r3 (21 Nov 2006) -*openldap-2.2.28-r6 (21 Nov 2006) -*openldap-2.2.28-r5 (21 Nov 2006) -*openldap-2.1.30-r9 (21 Nov 2006) -*openldap-2.1.30-r8 (21 Nov 2006) - - 21 Nov 2006; Robin H. Johnson - +files/openldap-2.3.27-CVE-2006-5779.patch, +openldap-2.1.30-r8.ebuild, - +openldap-2.1.30-r9.ebuild, +openldap-2.2.28-r5.ebuild, - +openldap-2.2.28-r6.ebuild, +openldap-2.3.27-r3.ebuild: - CVE-2006-5779, bug #154349. Please note that all revision sets (both stable - and unstable features) have been bumped. See the bug for the stability - target matrix. - - 19 Oct 2006; Aron Griffis openldap-2.3.27-r2.ebuild: - Mark 2.3.27-r2 stable on ia64. #144862 - - 18 Oct 2006; Markus Ullmann openldap-2.3.27-r2.ebuild: - arm stable wrt bug #144862 - - 18 Oct 2006; Markus Ullmann openldap-2.1.30-r6.ebuild, - openldap-2.2.28-r3.ebuild: - more has_version perl fixes - - 15 Oct 2006; Thomas Cort openldap-2.3.27-r2.ebuild: - Stable on alpha wrt security Bug #144862. - - 15 Oct 2006; Guy Martin openldap-2.3.27-r2.ebuild: - Stable on hppa. - - 15 Oct 2006; Bryan Østergaard - openldap-2.3.27-r2.ebuild: - Add back lost ~ia64 keyword. - - 13 Oct 2006; Jeroen Roovers - files/digest-openldap-2.3.24-r1, files/digest-openldap-2.3.24-r2, - Manifest: - Fixed the openldap-2.3.24.tgz digest for real this time. - - 13 Oct 2006; Jeroen Roovers ChangeLog: - Fixed digest - - 08 Oct 2006; Simon Stelling openldap-2.3.27.ebuild, - openldap-2.3.27-r2.ebuild: - stable on amd64 - - 06 Oct 2006; Jason Wever openldap-2.3.27-r2.ebuild: - Stable on SPARC wrt security bug #144862. - - 05 Oct 2006; Tobias Scherbaum - openldap-2.3.27-r2.ebuild: - ppc stable, bug #144862 - - 05 Oct 2006; Markus Rothe openldap-2.3.27-r2.ebuild: - Stable on ppc64; bug #144862 - - 05 Oct 2006; Joshua Jackson openldap-2.3.27-r2.ebuild: - Stable x86; bug #144862 - - 04 Oct 2006; Markus Ullmann +openldap-2.3.27.ebuild: - Broken latest stable script lead to miss latest x86 stable, reverting - - 04 Oct 2006; Markus Ullmann -openldap-2.1.30-r2.ebuild, - -openldap-2.1.30-r5.ebuild, -openldap-2.2.23-r1.ebuild, - -openldap-2.3.21.ebuild, -openldap-2.3.21-r1.ebuild, - -openldap-2.3.23.ebuild, -openldap-2.3.27.ebuild: - Cleanup - -*openldap-2.3.27-r2 (04 Oct 2006) - - 04 Oct 2006; +openldap-2.3.27-r2.ebuild: - Fixing compile problems w/ USE flag samba/kerberos ( bug #135238 ) - -*openldap-2.3.27-r1 (01 Oct 2006) - - 01 Oct 2006; Robin H. Johnson - +openldap-2.3.27-r1.ebuild: - Bug #147189 - fix dependancies for USE=minimal. Bug #136786 - tidy use - USE=minimal build. - - 19 Sep 2006; Joshua Jackson openldap-2.3.27.ebuild: - Stable x86; bug #144862 - - 18 Sep 2006; Benjamin Smee - openldap-2.3.24-r2.ebuild: - small fix for .24-r2 ebuild - -*openldap-2.3.27 (18 Sep 2006) - - 18 Sep 2006; Benjamin Smee +openldap-2.3.27.ebuild: - Version bump - - 11 Sep 2006; Markus Ullmann openldap-2.1.30-r7.ebuild, - openldap-2.2.28-r4.ebuild, openldap-2.3.21.ebuild, - openldap-2.3.21-r1.ebuild, openldap-2.3.23.ebuild, - openldap-2.3.24-r1.ebuild, openldap-2.3.24-r2.ebuild: - Fixing built_with_use checks for non-existant IUSE ( bug #147134 ) and merge - failure with minimal useflag on first installation ( bug #143473 ) - - 05 Sep 2006; Joshua Kinard openldap-2.3.24-r1.ebuild: - Marked stable on mips. - - 16 Jun 2006; Markus Ullmann openldap-2.3.24-r1.ebuild, - openldap-2.3.24-r2.ebuild: - Minor fix on migration howto wrt bug #136863 and arm love - - 15 Jun 2006; Markus Ullmann openldap-2.3.24-r1.ebuild: - Minor fix for populated tree detection, thanks to cardoe on #gentoo-dev for - troubleshooting it - - 12 Jun 2006; Markus Rothe openldap-2.3.24-r1.ebuild: - Stable on ppc64 - - 11 Jun 2006; Joshua Jackson openldap-2.3.24-r1.ebuild: - stable on x86; security bug #134010 - - 05 Jun 2006; Jason Wever openldap-2.3.24-r1.ebuild: - Stable on SPARC wrt security bug #134010. - - 04 Jun 2006; Thomas Cort openldap-2.3.24-r1.ebuild: - Stable on amd64 wrt security Bug #134010. - - 04 Jun 2006; Thomas Cort openldap-2.3.24-r1.ebuild: - Stable on alpha wrt security Bug #134010. - - 04 Jun 2006; Rene Nussbaumer - openldap-2.3.24-r1.ebuild: - Stable on hppa. See bug #134010. - - 03 Jun 2006; openldap-2.3.24-r1.ebuild: - Stable on ppc; bug #134010 - -*openldap-2.3.24-r2 (03 Jun 2006) -*openldap-2.3.24-r1 (03 Jun 2006) - - 03 Jun 2006; -openldap-2.3.24.ebuild, - +openldap-2.3.24-r1.ebuild, +openldap-2.3.24-r2.ebuild: - Moving 2.3.24 to -r2, Adding 2.3.24-r1 as stable candidate, 2.3.24-r2 is the - overlay-test version wrt bug #134010 - - 02 Jun 2006; Markus Rothe openldap-2.3.24.ebuild: - Stable on ppc64; bug #134010 - - 02 Jun 2006; Tobias Scherbaum - openldap-2.3.24.ebuild: - ppc stable, bug #134010 - - 01 Jun 2006; Thomas Cort openldap-2.3.24.ebuild: - Stable on alpha wrt security Bug #134010. - - 30 May 2006; Markus Ullmann openldap-2.3.24.ebuild: - Testing keyword on arm - -*openldap-2.3.24 (30 May 2006) - - 30 May 2006; Markus Ullmann - +files/openldap-2.3.24-contrib-smbk5pwd.patch, +openldap-2.3.24.ebuild: - Version bump, closing bug #116045, security bug #134010, bug #134505 and bug - #134919 - -*openldap-2.3.23 (18 May 2006) - - 18 May 2006; Markus Ullmann metadata.xml, - +openldap-2.3.23.ebuild: - Version bump and Versiontagcheck improved - - 06 May 2006; Markus Ullmann - +files/openldap-2.1.30-glibc24.patch, openldap-2.2.28-r4.ebuild: - Adding glibc2.4 patch for old version wrt bug #126259 - - 06 May 2006; Markus Ullmann openldap-2.3.21-r1.ebuild: - Modified Version-Tag checker and added some skip option wrt bug #132246 - -*openldap-2.3.21-r1 (06 May 2006) - - 06 May 2006; Markus Ullmann - +files/openldap-2.3.21-ppolicy.patch, +openldap-2.3.21-r1.ebuild: - Adding overlays support wrt bug #132263, thanks to Chris Covington and Dean - Baender - - 03 May 2006; Benjamin Smee openldap-2.3.21.ebuild: - trivial fix for bug #132100 - - 02 May 2006; Markus Ullmann openldap-2.3.21.ebuild: - Reordering einfos to have better information for users - - 01 May 2006; Markus Ullmann openldap-2.3.21.ebuild: - Small fix in lib preservation for 2.3.21 - - 29 Apr 2006; Michael Hanselmann - openldap-2.2.28-r3.ebuild: - Stable on mips. - - 28 Apr 2006; Jason Wever openldap-2.3.21.ebuild: - Added ~sparc keyword wrt bug #130975. - - 27 Apr 2006; Alec Warner Manifest: - Fixing SHA256 digest, pass four - - 24 Apr 2006; Patrick McLean openldap-2.3.21.ebuild: - Added ~amd64 (bug #130975). - - 23 Apr 2006; Markus Rothe openldap-2.3.21.ebuild: - Added ~ppc64; bug #130975 - - 23 Apr 2006; Tobias Scherbaum ChangeLog: - Added to ~ppc, bug #130975 - - 23 Apr 2006; Markus Ullmann -openldap-2.3.18.ebuild, - -openldap-2.3.19.ebuild, -openldap-2.3.20.ebuild: - Cleaning up / renewing digest - - 23 Apr 2006; Markus Ullmann openldap-2.3.21.ebuild: - Readding versiontag pathfix for 2.3 - - 20 Apr 2006; Diego Pettenò - openldap-2.2.28-r4.ebuild: - Add ~x86-fbsd keyword. - -*openldap-2.3.21 (20 Apr 2006) - - 20 Apr 2006; Markus Ullmann +openldap-2.3.21.ebuild: - Version bump, added versiontag reader, preserving old libs instead of - rebuilding them - - 09 Mar 2006; Mike Frysinger openldap-2.2.28-r3.ebuild, - openldap-2.2.28-r4.ebuild, openldap-2.3.18.ebuild, openldap-2.3.19.ebuild, - openldap-2.3.20.ebuild: - Use revdep-rebuild --library instead of revdep-rebuild --soname #125506 by - Carsten Lohrke. - -*openldap-2.3.20 (19 Feb 2006) - - 19 Feb 2006; Markus Ullmann +openldap-2.3.20.ebuild: - Version bump - -*openldap-2.3.19 (30 Jan 2006) - - 30 Jan 2006; Markus Ullmann +openldap-2.3.19.ebuild: - Version bump - - 30 Jan 2006; Markus Ullmann metadata.xml: - Added self as co-maintainer - -*openldap-2.3.18 (18 Jan 2006) - - 18 Jan 2006; Benjamin Smee files/2.0/slapd.conf, - +openldap-2.3.18.ebuild: - Version bump for 2.3 and change of conf.d file - -*openldap-2.3.17 (14 Jan 2006) - - 14 Jan 2006; Benjamin Smee - +files/DB_CONFIG.fast.example, +openldap-2.3.17.ebuild: - Added 2.3 hardmasked for testing. Bug #107686 - -*openldap-2.2.28-r4 (13 Jan 2006) - - 13 Jan 2006; Benjamin Smee - +files/openldap-2.2.28-autoconf-archived-fix.patch, - +files/openldap-2.2.28-cleartext-passwords.patch, - +files/openldap-2.2.28-tests.patch, +openldap-2.2.28-r4.ebuild: - new 2.2 version to fix bugs #105380 , #110412 , #112554, #114544 , #115741 , - #115872 - thanks to Markus Ullmann - -*openldap-2.1.30-r7 (13 Jan 2006) - - 13 Jan 2006; Benjamin Smee - +files/openldap-2.1.30-autoconf-archived-fix.patch, - +files/openldap-2.1.30-m4_underquoted.patch, - +files/openldap-2.1.30-tests.patch, +openldap-2.1.30-r7.ebuild: - new 2.1 version to fix bugs #77330 , #105065 , #105380 , #110412 , #114544 , - #115741 , #115792 , #115872 - thanks to Markus Ullmann - - 13 Dec 2005; Fernando J. Pereda - openldap-2.1.30-r6.ebuild, openldap-2.2.28-r3.ebuild: - stable on alpha wrt bug #105380 - - 10 Dec 2005; Jason Wever openldap-2.1.30-r6.ebuild, - openldap-2.2.28-r3.ebuild: - Stable on SPARC wrt bug #105380. - - 09 Dec 2005; Simon Stelling openldap-2.1.30-r6.ebuild: - stable on amd64 wrt bug 105380 - - 08 Dec 2005; Mark Loeser openldap-2.1.30-r6.ebuild, - openldap-2.2.28-r3.ebuild: - Stable on x86; bug #105380 - - 07 Dec 2005; openldap-2.2.28-r3.ebuild: - Marked stable on amd64 - - 06 Dec 2005; Michael Hanselmann - openldap-2.1.30-r6.ebuild, openldap-2.2.28-r3.ebuild: - Stable on hppa, ppc. - - 06 Dec 2005; Markus Rothe openldap-2.1.30-r6.ebuild, - openldap-2.2.28-r3.ebuild: - Stable on ppc64; bug #105380 - -*openldap-2.1.30-r6 (06 Dec 2005) - - 06 Dec 2005; Robin H. Johnson - +openldap-2.1.30-r6.ebuild: - Backported: Bug #105380 - RPATH. Bug #113770 - Selinux support. - -*openldap-2.2.28-r3 (06 Dec 2005) - - 06 Dec 2005; Robin H. Johnson - +files/openldap-2.1.30-autoconf25.patch, - +files/openldap-2.1.30-rpath.patch, +openldap-2.2.28-r3.ebuild: - Bug #105380 - RPATH again. Bug #113770 - Selinux support. - - 03 Dec 2005; Robin H. Johnson - openldap-2.2.28-r2.ebuild: - Change sys-lib/db DEPEND to ensure db4.2 with TXN patch is brought in. - -*openldap-2.2.28-r2 (03 Dec 2005) - - 03 Dec 2005; Robin H. Johnson - +files/openldap-2.2.28-r1-configure.in-rpath.patch, - +openldap-2.2.28-r2.ebuild: - Fix for RPATH bug #105380, thanks to Markus Ullmann - for the patch. - - 16 Oct 2005; Rene Nussbaumer - openldap-2.2.28.ebuild: - Stable on hppa. - - 03 Oct 2005; Michael Hanselmann - openldap-2.2.28-r1.ebuild: - Added to ~mips. - - 02 Oct 2005; MATSUU Takuto openldap-2.2.28.ebuild: - Stable on sh. - - 22 Sep 2005; Robin H. Johnson openldap-2.1.26.ebuild, - openldap-2.1.27.ebuild, openldap-2.1.27-r1.ebuild, openldap-2.1.30.ebuild, - openldap-2.1.30-r1.ebuild, openldap-2.1.30-r2.ebuild, - openldap-2.1.30-r3.ebuild, openldap-2.1.30-r4.ebuild, - openldap-2.1.30-r5.ebuild, openldap-2.2.14.ebuild, openldap-2.2.19.ebuild, - openldap-2.2.23.ebuild, openldap-2.2.23-r1.ebuild, openldap-2.2.24.ebuild, - openldap-2.2.26.ebuild, openldap-2.2.26-r1.ebuild, - openldap-2.2.26-r2.ebuild, openldap-2.2.27.ebuild, - openldap-2.2.27-r1.ebuild, openldap-2.2.28.ebuild, - openldap-2.2.28-r1.ebuild: - Bug #103421, use -1 instead of /bin/false for enewuser to allow working on - freebsd. - - 17 Sep 2005; Robin H. Johnson openldap-2.2.26.ebuild, - openldap-2.2.26-r1.ebuild, openldap-2.2.26-r2.ebuild, - openldap-2.2.27.ebuild, openldap-2.2.27-r1.ebuild, openldap-2.2.28.ebuild, - openldap-2.2.28-r1.ebuild: - Bug #106242, typo in the upgrade detection code. - - 15 Sep 2005; Aron Griffis openldap-2.2.28.ebuild: - Mark 2.2.28 stable on alpha - - 14 Sep 2005; Gustavo Zacarias - openldap-2.2.28.ebuild: - Stable on sparc - - 12 Sep 2005; Michael Hanselmann - openldap-2.2.28.ebuild: - Stable on ppc. - - 08 Sep 2005; Robin H. Johnson - +files/openldap-2.2.6-ntlm.patch, openldap-2.2.28-r1.ebuild: - Bug #105209, slightly different NTLM patch, ported by upstream this time, - should fix things for other people better :-). - - 08 Sep 2005; Aron Griffis openldap-2.2.28.ebuild: - Mark 2.2.28 stable on ia64 - -*openldap-2.2.28-r1 (07 Sep 2005) - - 07 Sep 2005; Robin H. Johnson - +files/openldap-2.2.28-ximian_connector.patch, +openldap-2.2.28-r1.ebuild: - Bug #105144, patch for NTLM support, candidate for quick move to stable. - - 07 Sep 2005; Robin H. Johnson openldap-2.2.28.ebuild: - Force upgrade to die. - - 06 Sep 2005; Markus Rothe openldap-2.2.28.ebuild: - Stable on ppc64 - - 06 Sep 2005; Robin H. Johnson openldap-2.2.28.ebuild: - Get rid of message complaining that /etc/openldap/slapd.conf might not exist. - - 05 Sep 2005; Robin H. Johnson openldap-2.2.28.ebuild: - Move to stable x86 now, after much testing. Pay attension to the upgrade - fail-out if you run an LDAP server! - - 25 Aug 2005; Aron Griffis openldap-2.1.30-r5.ebuild: - stable on ia64 - -*openldap-2.2.28 (24 Aug 2005) - - 24 Aug 2005; Robin H. Johnson - +openldap-2.2.28.ebuild: - Version bump. - - 03 Aug 2005; Robin H. Johnson - openldap-2.1.30-r5.ebuild, openldap-2.2.27-r1.ebuild: - Bug #100579, USE=minimal Perl is bad for the perl backend. - - 27 Jul 2005; Robin H. Johnson - openldap-2.2.27-r1.ebuild: - Depend on newer libtool to avoid bug with CC variable being empty still. - - 13 Jul 2005; Rob Holland openldap-2.1.30-r5.ebuild: - stable x86. fix sec bug #96767 - - 13 Jul 2005; Michael Hanselmann - openldap-2.1.30-r5.ebuild: - Stable on hppa. - - 11 Jul 2005; Simon Stelling openldap-2.1.30-r5.ebuild: - stable on amd64 wrt bug 96767 - - 07 Jul 2005; Markus Rothe openldap-2.1.30-r5.ebuild: - Stable on ppc64; bug #96767 - - 06 Jul 2005; Michael Hanselmann - openldap-2.1.30-r5.ebuild: - Stable on ppc. - - 05 Jul 2005; Sven Wegener openldap-2.2.23-r1.ebuild: - QA: Added kerberos to IUSE. - - 04 Jul 2005; Jason Wever openldap-2.1.30-r5.ebuild: - Stable on SPARC wrt security bug #96767. - -*openldap-2.2.27-r1 (03 Jul 2005) -*openldap-2.1.30-r5 (03 Jul 2005) - - 03 Jul 2005; Robin H. Johnson - +files/openldap-2.2.26-tls-fix-connection-test.patch, - +openldap-2.1.30-r5.ebuild, +openldap-2.2.27-r1.ebuild: - Security Bug #96767, ssl not being used always. Note that both 2.1.30-r5 and - 2.2.27-r1 have the patch. - -*openldap-2.2.27 (03 Jul 2005) - - 03 Jul 2005; Robin H. Johnson - +files/gencert.sh-2.2.27, +openldap-2.2.27.ebuild: - Fixed bugs #93074, #97782, #87591. This means that the nasty double-build - problem is now solved! New gencert.sh thanks to xmerlin. USE=minimal support - to skip building the servers. This is a strong candidate for going stable - after the 30 day period. - - 06 Jun 2005; Markus Rothe openldap-2.1.30-r4.ebuild: - Stable on ppc64 - - 30 May 2005; Robin H. Johnson - openldap-2.2.26-r2.ebuild: - Fix bug #94415, -fPIC needed for correct kerberos build stuff. - - 26 May 2005; Herbie Hopkins openldap-2.2.26-r2.ebuild: - more multilib fixes.. - - 21 May 2005; Simon Stelling openldap-2.2.26-r2.ebuild: - fixed multilib-strict issues - -*openldap-2.2.26-r2 (21 May 2005) - - 21 May 2005; Robin H. Johnson - +openldap-2.2.26-r2.ebuild: - More lib compatibility stuff, and instructions about revdep-rebuild. - -*openldap-2.2.26-r1 (19 May 2005) - - 19 May 2005; Robin H. Johnson - +openldap-2.2.26-r1.ebuild: - Add 2.2.26 version that builds a liblber from openldap-2.1. - - 18 May 2005; Robin H. Johnson openldap-2.2.14.ebuild, - openldap-2.2.19.ebuild, openldap-2.2.23.ebuild, openldap-2.2.23-r1.ebuild, - openldap-2.2.24.ebuild, openldap-2.2.26.ebuild: - Fix keywords for other arches on 2.2 series. - - 19 May 2005; Robin H. Johnson openldap-2.2.26.ebuild: - Add reminder about revdep-rebuild. - - 16 May 2005; Rene Nussbaumer - openldap-2.1.30-r4.ebuild: - stable on hppa - - 30 Apr 2005; Robin H. Johnson openldap-2.2.26.ebuild: - Fix up detection. - -*openldap-2.2.26 (30 Apr 2005) - - 30 Apr 2005; Robin H. Johnson - +openldap-2.2.26.ebuild: - Version bump, fix for bug #90959. - - 25 Apr 2005; Bryan Østergaard - openldap-2.1.30-r4.ebuild: - Stable on alpha. - - 20 Apr 2005; Michael Hanselmann - openldap-2.1.30-r4.ebuild: - Stable on ppc. - - 20 Apr 2005; Herbie Hopkins openldap-2.1.30-r4.ebuild: - Stable on amd64, wrt bug #89012 - - 15 Apr 2005; Gustavo Zacarias - openldap-2.1.30-r4.ebuild: - Stable on sparc - - 13 Apr 2005; Robin H. Johnson - openldap-2.1.30-r4.ebuild: - 2.1.30-r4 stable on x86. - - 09 Apr 2005; Markus Rothe openldap-2.1.30-r2.ebuild: - Stable on ppc64 - -*openldap-2.2.24 (20 Mar 2005) - - 20 Mar 2005; Robin H. Johnson - +openldap-2.2.24.ebuild: - New upstream version. Fixed Bugs #82584, #85974. Ebuild now checks properly - for upgrading. - - 28 Feb 2005; Aron Griffis openldap-2.1.30-r2.ebuild, - openldap-2.1.30-r3.ebuild, openldap-2.1.30-r4.ebuild, - openldap-2.2.14.ebuild, openldap-2.2.19.ebuild, openldap-2.2.23-r1.ebuild, - openldap-2.2.23.ebuild: - add ia64 keywords - - 17 Feb 2005; Robin H. Johnson - openldap-2.1.30-r4.ebuild, openldap-2.2.23-r1.ebuild: - Bug #72186: ensure proper building. - -*openldap-2.2.23-r1 (14 Feb 2005) - - 14 Feb 2005; Robin H. Johnson - +openldap-2.2.23-r1.ebuild: - Special version for seemant ;-). Makes some of the extra stuff as modules, - and builds some of contrib. - -*openldap-2.2.23 (14 Feb 2005) - - 14 Feb 2005; Robin H. Johnson - +openldap-2.2.23.ebuild: - Add in 2.2.23 for testing. Still hardmasked. - - 23 Jan 2005; Robin H. Johnson openldap-2.1.26.ebuild, - openldap-2.1.27-r1.ebuild, openldap-2.1.27.ebuild, - openldap-2.1.30-r1.ebuild, openldap-2.1.30-r2.ebuild, - openldap-2.1.30-r3.ebuild, openldap-2.1.30-r4.ebuild, - openldap-2.1.30.ebuild, openldap-2.2.14.ebuild, openldap-2.2.19.ebuild: - Fix bug #79216. - - 29 Dec 2004; Ciaran McCreesh : - Change encoding to UTF-8 for GLEP 31 compliance - - 06 Dec 2004; Robin H. Johnson - openldap-2.1.30-r3.ebuild, openldap-2.1.30-r4.ebuild, - openldap-2.2.14.ebuild, openldap-2.2.19.ebuild: - More docs for 2.2 upgrade, fix slight glitch in slapd.conf. - -*openldap-2.1.30-r4 (01 Dec 2004) - - 01 Dec 2004; Robin H. Johnson - +files/openldap-2.1.30-tls-activedirectory-hang-fix.patch, - files/2.0/slapd, +openldap-2.1.30-r4.ebuild: - Fix bugs #67080 (2.1.30-r4) and #71268 (init-script). - -*openldap-2.2.19 (01 Dec 2004) - - 01 Dec 2004; Robin H. Johnson - +openldap-2.2.19.ebuild: - Latest 2.2 ebuild, for testing only. See ebuild for upgrade notes. - - 07 Nov 2004; Joshua Kinard openldap-2.1.30-r2.ebuild: - Marked stable on mips. - - 05 Oct 2004; Guy Martin openldap-2.1.30-r2.ebuild: - Stable on hppa. - - 03 Oct 2004; Bryan Østergaard openldap-2.1.30-r2.ebuild: - Stable on alpha. - -*openldap-2.1.30-r2 (25 Sep 2004) - - 25 Sep 2004; Jason Wever openldap-2.1.30-r2.ebuild: - Stable on sparc. - - 22 Aug 2004; Jason Wever openldap-2.1.30-r1.ebuild: - Stable on sparc. - -*openldap-2.1.30-r3 (22 Aug 2004) - - 22 Aug 2004; Robin H. Johnson - +openldap-2.1.30-r3.ebuild: - Bug #55706, add BDB checkpoints to config. - - 22 Aug 2004; Joshua Kinard openldap-2.1.30-r1.ebuild: - Marked stable on mips. - - 18 Aug 2004; Aron Griffis openldap-2.1.30-r1.ebuild: - stable on alpha - - 05 Aug 2004; Alastair Tse - +files/openldap-2.1.30-ximian_connector.patch: - adding ximian connector patches to expose more of the ldap api (#58320) - - 18 Jul 2004; Robin H. Johnson openldap-2.1.26.ebuild, - openldap-2.1.27-r1.ebuild, openldap-2.1.27.ebuild, - openldap-2.1.30-r1.ebuild, openldap-2.1.30.ebuild: - stable 2.1.30-r1 on x86, fixup ebuilds to mirror://. - -*openldap-2.2.14 (09 Jul 2004) - - 09 Jul 2004; Robin H. Johnson openldap-2.2.14.ebuild: - initial 2.2 ebuild, not for public consumption yet. - - 24 Jun 2004; Aron Griffis openldap-2.1.26.ebuild, - openldap-2.1.27-r1.ebuild, openldap-2.1.27.ebuild, - openldap-2.1.30-r1.ebuild, openldap-2.1.30.ebuild: - QA - fix use invocation - -*openldap-2.1.30-r1 (20 Jun 2004) - - 20 Jun 2004; Robin H. Johnson - openldap-2.1.30-r1.ebuild, files/openldap-2.2.14-db40.patch, - files/openldap-2.2.14-perlthreadsfix.patch: - move make test to src_test. - - 12 Jun 2004; Tom Gall openldap-2.1.30.ebuild: - stable on ppc64 bug 53766 - - 06 Jun 2004; Guy Martin openldap-2.1.30.ebuild: - Marked stable on hppa. - - 21 May 2004; Robin H. Johnson files/2.0/slapd, - files/2.0/slurpd: - fix bug #51594, no version bump for now. - - 12 May 2004; Michael McCabe openldap-2.1.30.ebuild: - Added s390 keywords - -*openldap-2.1.30 (28 Apr 2004) - - 28 Apr 2004; Robin H. Johnson openldap-2.1.30.ebuild, - files/openldap-2.1.30-db40.patch: - new version with changes from bug #42427. direct kerberos is deprecated - upstream. - - 24 Apr 2004; Robin H. Johnson - openldap-2.0.25-r1.ebuild, openldap-2.0.25-r2.ebuild, - openldap-2.0.25-r3.ebuild, openldap-2.0.27-r4.ebuild, - openldap-2.0.27-r5.ebuild, openldap-2.0.27.ebuild, openldap-2.1.21.ebuild, - openldap-2.1.22-r1.ebuild, openldap-2.1.22.ebuild, openldap-2.1.23.ebuild, - files/kerberos-2.0.diff.bz2, files/kerberos-2.1.diff.bz2, - files/openldap-2.0.27-db3-gentoo.patch, - files/openldap-2.1.22-perlsedfoo.patch, files/rfc2252-bork.patch, - files/slapd-2.1-r1.rc6, files/slapd-2.1.conf, files/slapd-2.1.rc6, - files/slapd.rc6, files/slurpd-2.1.rc6, files/slurpd.rc6: - remove old versions incl old 2.0 series. - - 30 Mar 2004; Lars Weiler openldap-2.1.27-r1.ebuild: - stable on ppc, as requested in bug #26728 - -*openldap-2.1.27-r1 (28 Mar 2004) - - 28 Mar 2004; Robin H. Johnson - openldap-2.1.27-r1.ebuild, files/openldap-2.1.27-db40.patch: - add in more db40 fixes, new revision as it may change where your openldap is - linked against. - - 24 Mar 2004; Michael Sterrett - openldap-2.1.22-r1.ebuild, openldap-2.1.23.ebuild, openldap-2.1.26.ebuild, - openldap-2.1.27.ebuild: - don't use deprecated ? : use syntax - - 23 Mar 2004; Joshua Kinard openldap-2.1.27.ebuild: - Marked stable on mips. - - 10 Mar 2004; Jason Wever openldap-2.1.26.ebuild: - Stable on sparc. - - 09 Mar 2004; openldap-2.1.26.ebuild: - stable on alpha and ia64 - - 08 Mar 2004; Robin H. Johnson openldap-2.1.23.ebuild, - openldap-2.1.26.ebuild, openldap-2.1.27.ebuild: - ppc64 keywords removed pending deps: app-crypt/mit-krb5, app-crypt/heimdal, - dev-libs/cyrus-sasl, dev-db/unixODBC - -*openldap-2.1.27 (08 Mar 2004) - - 08 Mar 2004; Robin H. Johnson openldap-2.1.27.ebuild, - files/openldap-2.1.27-perlthreadsfix.patch: - fix bug #43021, change kerberos deps to virtual instead of app-crypt/mit-krb5 - (which breaks heimdal). fix bug #42966, version bump. newer, more portable fix - for bug #31202 (also fixes a weird problem case). - - 27 Feb 2004; Joshua Kinard openldap-2.1.26.ebuild: - Added ~mips to KEYWORDS to satisfy repoman deps. - - 15 Feb 2004; Robin H. Johnson openldap-2.1.26.ebuild: - add more notes on bug #41297 fix, from bug #41039. - - 11 Feb 2004; Robin H. Johnson openldap-2.1.26.ebuild: - fix bug #41297. fix bug #31202. - - 08 Feb 2004; Robin H. Johnson openldap-2.1.26.ebuild: - bug #26728, security bump, held up for a long time by DB4.1 - - 04 Feb 2004; Robin H. Johnson openldap-2.1.26.ebuild: - fix bug #40417 - -*openldap-2.1.26 (27 Jan 2004) -*openldap-2.0.27-r5 (27 Jan 2004) - - 27 Jan 2004; Robin H. Johnson - openldap-2.0.27-r5.ebuild, openldap-2.1.26.ebuild: - fix bug #33718, and version bump to new openldap - - 06 Jan 2004; openldap-2.0.27-r4.ebuild: - Stable on alpha and ia64 - - 22 Dec 2003; Robin H. Johnson - openldap-2.1.22-r1.ebuild, openldap-2.1.22.ebuild, openldap-2.1.23.ebuild: - Fix IUSE in 2.1.2[23] as per bug #34769. - - 13 Dec 2003; Jason Wever openldap-2.0.27-r4.ebuild: - Marked stable on sparc. - - 05 Dec 2003; Robin H. Johnson openldap-2.1.23.ebuild: - change the version depend on berkdb to 4.1.25_p1-r3 and fix a nasty bug with - DEPEND - - 06 Nov 2003; Robin H. Johnson - openldap-2.0.25-r3.ebuild, openldap-2.0.27-r4.ebuild, - openldap-2.1.21.ebuild, openldap-2.1.22-r1.ebuild, openldap-2.1.22.ebuild, - openldap-2.1.23.ebuild, files/gencert.sh: - : instead of . for chown - - 28 Oct 2003; Robin H. Johnson metadata.xml: - add metadata.xml - -*openldap-2.1.23 (28 Oct 2003) - - 28 Oct 2003; Robin H. Johnson openldap-2.1.23.ebuild: - version bump - - 28 Oct 2003; Robin H. Johnson - openldap-2.1.22-r1.ebuild: - fix bug #31037 - -*openldap-2.1.22-r1 (12 Oct 2003) - - 12 Oct 2003; Robin H. Johnson - openldap-2.1.22-r1.ebuild, files/openldap-2.1.22-perlsedfoo.patch: - add new patch for openldap-2.1 to compile properly again, and cleanup ebuild - - 26 Jul 2003; Nick Hadaway openldap-2.0.25-r3.ebuild: - Backporting features from the 2.0.27-r4 ebuild so 1.0 profiles are - caught up. - - 23 Jul 2003; Nick Hadaway openldap-2.0.27-r4.ebuild, - rfc2252-bork.patch: - Added a comment in postinst re: upgrading from ldap builds which ran - as root. Also included a patch suggested by Jean Jordaan on bug - #24271 which fixes a b0rked rfc2252. - - 13 Jul 2003; Nick Hadaway openldap-2.0.27-r4.ebuild, - openldap-2.1.22.ebuild: - Added chown ldap:ldap /var/lib/openldap-{data,ldbm,slurp} to - pkg_postinst. closes bug #24407 - - 12 Jul 2003; Nick Hadaway openldap-2.0.27-r4.ebuild: - Adding support for linking to SASLv1. (SASL1=yes) Not putting this - behind a use variable as people are expecting to link against SASLv2 - normally. - - 10 Jul 2003; Robin H. Johnson openldap-2.1.22.ebuild: - AF_UNIX and process title support. - - 09 Jul 2003; Nick Hadaway openldap-2.1.22.ebuild: - Version bump. Added ebuild changes made to 2.0.27-r4 to 2.1.22. - Still waiting for db4 to become a reality in gentoo. - - 09 Jul 2003; Nick Hadaway openldap-2.0.27-r4.ebuild, - files/2.0/slapd, files/2.0/slapd.conf: - Updated example to include ldapi. Added eval to the slapd init.d - so the %2f is parsed properly. Changed the location of the slapd.args - in the default config and installed config. Thanks to robbat2 for - working this solution out. Marking stable for x86. - - 08 Jul 2003; Nick Hadaway openldap-2.0.27-r4: - Fixed the conf.d slapd filename and added some code to pkg_postinst - so correct permissions are passed to directories/files affected by the - upgrade from running as root to running as user/group ldap. - -*openldap-2.1.22 (10 Jul 2003) - - 13 Jul 2003; Daniel Ahlberg : - Added missing changelog entry. - -*openldap-2.0.25-r2 (22 Jun 2003) - - 22 Jun 2003; Alastair Tse openldap-2.0.25-r1.ebuild, - openldap-2.0.25-r2.ebuild: - add openldap-2.0.25 back because it will break 1.0 profiles - -*openldap-2.1.21 (14 Jun 2003) - - 14 Jun 2003; Nick Hadaway openldap-2.1.21.ebuild, - files/digest-openldap-2.1.21, files/2.0/slapd, files/2.0/slapd.conf: - Bug fixes as noted in bug #22657. Version bump. - -*openldap-2.0.27-r4 (28 May 2003) - - 28 May 2003; Grant Goodyear openldap-2.0.27-r4.ebuild: - Added MDK password fix, changed behavior wrt gdbm/berkdb USE variables to be - more sensible. Also now generate self-signed ssl cert. - - 28 May 2003; Grant Goodyear openldap-2.1.12.ebuild, - openldap-2.1.19.ebuild, openldap-2.1.20.ebuild: - Changed goofy "-x86" masks to "~x86", but added >=net-nds/openldap-2.1 - to package.mask. That way package.unmask will work properly. - -*openldap-2.1.20 (27 May 2003) - - 27 May 2003; Grant Goodyear openldap-2.1.20.ebuild, - files/gencert.sh: - New version w/ a number of changes: - * self-signed ssl cert created at install time - * order of linking changed so that passwd + ldap works properly - # if "berkdb" and "gdbm" in USE then berkdb used in the ebuild. - - 12 May 2003; Jason Wever openldap-2.0.27-r3.ebuild: - Added ~sparc to keywords. - -*openldap-2.1.19 (11 May 2003) - - 11 May 2003; Alastair Tse openldap-2.1.19.ebuild: - wholesale changes to how this ebuild is installed. fixes : - - wrong pid file directory in both config and init.d (#13057) - - debugging enabled for syslogging (#16131) - - version bumped 2.1 series and omit redundant kerberos patch (#16341) - - fixed /var/tmp paths in *.la (#12084) - -*openldap-2.0.27-r3 (11 May 2003) - - 11 May 2003; Alastair Tse openldap-2.0.27-r3.ebuild, - files/2.0/slapd, files/2.0/slapd.conf, files/2.0/slurpd: - - wholesale changes to how this ebuild is installed. fixes : - - wrong pid file directory in both config and init.d (#13057) - - debugging enabled for syslogging (#16131) - - fixed /var/tmp paths in *.la (#12084) - - 14 Apr 2003; Will Woods openldap-2.0.27-r1.ebuild, - openldap-2.0.27-r2.ebuild, openldap-2.0.27.ebuild: - added alpha to KEYWORDS as appropriate - - 23 Feb 2003; Nick Hadaway openldap-2.0.27*.ebuild : - Changed --disable-sasl to --without-cyrus-sasl as noted by Matt - on bug #16144 - -*openldap-2.1.12 (04 Feb 2003) - - 04 Feb 2003; Nick Hadaway openldap-2.1.12.ebuild, - files/digest-openldap-2.1.12, files/kerberos-2.1.diff.bz2 : - Fixed typos like in 2.0.27-r2 and added the kainz kerberos diff for 2.1 - 2.1.12 is now considered stable so when db4 moves, so will openldap. - -*openldap-2.0.27-r2 (29 Jan 2003) - - 17 Apr 2003; Aron Griffis openldap-2.0.27-r2.ebuild: - Add ~alpha to KEYWORDS - - 04 Feb 2003; Nick Hadaway openldap-2.0.27-r2.ebuild, - files/kerberos-2.0.diff.bz2 : - Added a kerberos configure change as suggested by kainz. - - 29 Jan 2003; Nick Hadaway openldap-2.0.27-r2.ebuild, - files/digest-openldap-2.0.27-r2 files/slapd-2.1-r1.rc6, - files/slapd-2.1.conf : - Fixes some typos in -r1 and adds a slapd.conf based on suggestions - by claer@unixlover.com on bug #8780 - -*openldap-2.0.27-r1 (01 Jan 2002) -*openldap-2.1.10 (01 Jan 2002) - - 03 Jan 2002; Nick Hadaway openldap-2.1.10.ebuild : - Added dependancy on net-libs/openslp. - - 02 Jan 2002; Nick Hadaway openldap-2.0.27-r1.ebuild, - openldap-2.1.10.ebuild. files/slapd-2.1.rc6 : - Added --enable-ldap to openldap-2.1.10 and changed the ldap data dir - from /var/state/openldap/openldap-ldbm to /var/lib/openldap-data. - Both of these fixes/updates come from Eric Renfro. Many thanks! - - 01 Jan 2002; Nick Hadaway openldap-2.0.27-r1.ebuild, - openldap-2.1.10.ebuild, files/digest-openldap-2.0.27-r1, - files/digest-openldap-2.1.10, files/slapd-2.1.rc6, - files/slurpd-2.1.rc6 : - Version bump in the 2.1 series. These latest ebuilds are now setup - so that ldap services drop root privileges on startup. Please - comment on bug #8780. - -*openldap-2.1.9 (18 Dec 2002) - - 18 Dec 2002; Nick Hadaway openldap-2.1.9.ebuild, - files/digest-openldap-2.1.9 : - Version bump. - - 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords - - 03 Dec 2002; Will Woods openldap-1.2.13-r6.ebuild: - Added ~alpha keyword and src_unpack() with gnuconfig_update. - -*openldap-2.0.27 (25 Nov 2002) - - 21 Dec 2002; Nick Hadaway openldap-2.0.27.ebuild : - db4 is not required for this version. Also fixed readline - dependancy as to not squash the 1.0 profile. - - 27 Nov 2002; Nick Hadaway openldap-2.0.27.ebuild, - files/digest-openldap-2.0.27 : - Updated stable series of openldap. - -*openldap-2.1.8 (25 Nov 2002) - - 25 Nov 2002; Nick Hadaway openldap-2.1.8.ebuilod, - files/digest-openldap-2.1.8 : - New ebuild of openldap. Lots of configure updates. Needs lots of - testing. The ebuild depends on db4 so all arches are marked - until - db4 is marked unstable for testing. - -*openldap-2.0.25-r3 (21 Sept 2002) - - 11 Oct 2002; Nick Hadaway openldap-2.0.25-r3.ebuild : - Removed sasl support as saslv2 support is not complete in this and - causes a circular dependancy with cyrus-sasl. cyrus-sasl still has - ldap support built in. - - 21 Sept 2002; Grant Goodyear openldap-2.0.25-r3.ebuild - Replaced entire make install section w/ "make DESTDIR=${D} install". - The previous version was putting ${D} in the /etc/openldap files, and - the simple fix seems to have solved the problem. I also checked, and - sysconfdir seems to be working correctly, so I don't think I've broken - Seemant's fix. - -*openldap-2.0.25-r2 (15 Aug 2002) - - 16 Sep 2002; Seemant Kulleen openldap-2.0.25-r2.ebuild - Fixed sysconfdir to /etc so that config files go into the /etc/openldap - directory instead of /etc/openldap/openldap. Thanks to: - gdjohn@egregious.org.uk (Gareth John) in bug #7986 - - 07 Sep 2002; Seemant Kulleen - openldap-2.0.25-r2.ebuild : - Fixed the use flags so that they are not prefixed with "ldap-" as - discovered by jap1@ionet.net (Jacob Perkins) and kevin@aptbasilicata.it - (j2ee) in bug #7597 - - 15 Aug 2002; Nick Hadaway - openldap-2.0.25-r2.ebuild, files/digest-openldap-2.0.25-r2 : - Updated ebuild based on suggestions by Eric Renfro via bug report - #6488 - -*openldap-2.0.25-r1 (29 Jul 2002) - - 12 Aug 2002; Mark Guertin : - Added ppc to keywords - - 29 Jul 2002; Nick Hadaway - openldap-2.0.25-r1, files/slapd.rc6, files/digest-openldap-2.0.25-r1 : - Updated ebuild for proper USE flag to configure option generation. Fixed - a typo in slapd.rc6. Bumping to -r1 due to the many changes in the ebuild - since the first 2.0.25 release. - -*openldap-2.0.25 (17 Jul 2002) - - 26 Jul 2002; Nick Hadaway files/slapd.rc6 : - Added --pidfile /var/state/openldap/slapd.pid to files/slapd.rc6 to supress - error messages when shutting doesn slapd. - - 26 Jul 2002; Nick Hadaway - re-modified ebuild so localstatedir=/var/state/openldap to match with the - default slapd config file. /var/state/openldap/openldap-ldbm and - /var/state/openldap/openldap-slurp are also created correctly. - Bug #5557 re-visited. - - 26 Jul 2002; Nick Hadaway - modified ebuild to create a /var/state/openldap to conicide with default - configuration of where databases are stored. Closes bug #5557. - - 17 Jul 2002; Nick Hadaway - openldap-2.0.25.ebuild, file/digest-openldap-2.0.25 : - Version bump to latest stable vesion. Also added support for SASL by - request on bug #5104. - -*openldap-2.0.23 (20 Apr 2002) - - 20 Apr 2002; Ryan Phillips openldap-2.0.23 : - Updated package - -*openldap-2.0.21 (1 Feb 2002) - - 1 Feb 2002; G.Bevin ChangeLog : - Added initial ChangeLog which should be updated whenever the package is - updated in any way. This changelog is targetted to users. This means that the - comments should well explained and written in clean English. The details about - writing correct changelogs are explained in the skel.ChangeLog file which you - can find in the root directory of the portage repository. diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/Manifest b/sdk_container/src/third_party/portage-stable/net-nds/openldap/Manifest index fb47bb5d4f..a885e38ce8 100644 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/Manifest +++ b/sdk_container/src/third_party/portage-stable/net-nds/openldap/Manifest @@ -14,45 +14,29 @@ AUX openldap-2.4.17-gcc44.patch 509 SHA256 33345882f601050ecaa6bb3dd7458e6b5f8e3 AUX openldap-2.4.28-fix-dash.patch 1101 SHA256 fddaad5f49cce39bf5492bb1dda10f2ce83419c48f128fe536661dde703b5d1b SHA512 f9b3a50eb972f746878afe4a8cda8d7e2a2807932ad2faf602f43e5a1b81166bea4fde764b4e1ae4be0000cc0713ee90a4620afab5809b8460f60ae39a716e9e WHIRLPOOL ba3856cd1008431025811aaa21d0a0ce94896590a16eee8cd27bdc84fd89884b0d27e8dce31bc79e4b4a91884bc90624f1a6afb38efb847839a036b4a2196af5 AUX openldap-2.4.28-gnutls-gcrypt.patch 340 SHA256 26dc29a502e45f6b1003674c1ef5bc6c79b71d00fc9b2fc7a145291a314370c0 SHA512 53441707e9b24e774c0541ad8b63295eea6dc0352ae2ef3bf389f381da18f1df05fb2f7b41c816e1f697d8f1b208643d05891c03d8fba42d85e3b7689e5ee94f WHIRLPOOL 6be9eda56fd68c9e0818443ca70ee6c1e904aa6126576477d402c9abd2ee44952a0a313efc89f603b02cac35cbfea3c987de5b6ec3625a92bc691386edd85aa5 AUX openldap-2.4.31-gcc47.patch 480 SHA256 6a0bef52a8681e30c4be7c11df88f5c73d2ab90f0bbbb79c550b6174d3978060 SHA512 a35113fe3f5e9ae5b9631976415df41d53a99ae1ca4c4dcdcfd89e6ccc6ba906cf5cfe2ee4901033dba29d62b6607d4a93ca74645eb6ceba38e67c5d8521816a WHIRLPOOL bf1315bebf8b16a625d55ac1d040a1ab831c25c87fe6f9bb9ff4b1b54f621a36e75e6055955e60617823fbf78244cd4aec7f702ea0d7a8d85a164f550d2675e7 -AUX openldap-2.4.33-gnutls.patch 1863 SHA256 e8d493246c2e652135f130c1dedbeb9760bed5f61d73c6662ba7f816ead59e52 SHA512 1b3830cf96b2c470e723dd966330e1b0a69c11aa7b10b5af04f2ab907e7e9ffd038589af7a472a374f47b5d08638b06ad04e0ff9a9180a9b5fc89884d3437df4 WHIRLPOOL 331798cf7ef9270ad57ca81ad1c32c223f8cd3932cec7fb235e3328acabedf68f952ace2903c45277617ebc0f498c919e62eadf638fb5d817717b324635531cd AUX openldap-2.4.35-contrib-samba4.patch 1400 SHA256 64ca91d3edae25d392f39a7f538e269b26de4e09923f872014e84ec388bda911 SHA512 332c4b2daa3eba165cfdcd479b1012e139d60095aaa628f8f5750fffb722d39395935bd7d7e56272e98fd234ab0be1c6568a71feeda5d88ba24b91b385defdad WHIRLPOOL c472dc75bbc1261b84ce0bfe8dd0a749200d7540647733ca13c0b1ccd8330739278f83eea3c91b3b29e5982eb6c9f9fb920ffdd9a6faaf4c0e66a97a1d16db55 AUX openldap-2.4.35-contrib-smbk5pwd.patch 1626 SHA256 377b9204f51bb751d7311de3ee789386496372db2964ed2a929733099c23688a SHA512 c045c7605d25bab9eef8c12752f4952e3e6358124764ded91f5f98210686bc371f32ac20c56a63de80410f882f20e0889eec95474f1ee9d4c5bb4ed303ec8da0 WHIRLPOOL 64feead042fe22ec8bd36a23a11ea1af513702de2ab063324f0e49802635ca53b9f2f662159c8784877f6342d0a15cb231710be2ea69031c3df7459cd150cc47 -AUX openldap-2.4.40-mdb-unbundle.patch 3589 SHA256 43be88ef0810608232b2490e7f06f66272d17059c581f76d4de79c415365dd97 SHA512 ec123ff8cef6c32b1f29c2d0643433dd88dfa8ab62b4d7536de829475ff8b45b5c7376f3e17f3424aab326a573aa36a593630feecbd40c3e574c6c24f5dd83ec WHIRLPOOL 0eadd603e016506d3365f81c802561a0201122b989033935a5a6b4737db75ff6c1517bcca1c7c127b54bfd7c1ea2db0c11f65228ea6c4cbacf2f783af98dfddb AUX openldap-2.4.40-slapd-conf 2059 SHA256 306602d38cbbdc2203e9f838348cbe9b264738cf86bbebc60272658b92a1eff9 SHA512 7ce8a8262db74d86449a3d31b96b2efa9e8dae2f9992a1c3a6d6899fb65531eaf917f410d8728852cb74338d7ba3c8c3b52d2f6cdcbba4cb3b97f6c733099fa2 WHIRLPOOL 979a2802501ec22dd93032eb3bc1a3df322558013cd8038736bac436b33fdb666df5d93fbfcc4d99762c10aa9e1a1edef496fa364d2b4f0019b5dd702174b6f4 AUX openldap-2.4.42-mdb-unbundle.patch 3589 SHA256 43be88ef0810608232b2490e7f06f66272d17059c581f76d4de79c415365dd97 SHA512 ec123ff8cef6c32b1f29c2d0643433dd88dfa8ab62b4d7536de829475ff8b45b5c7376f3e17f3424aab326a573aa36a593630feecbd40c3e574c6c24f5dd83ec WHIRLPOOL 0eadd603e016506d3365f81c802561a0201122b989033935a5a6b4737db75ff6c1517bcca1c7c127b54bfd7c1ea2db0c11f65228ea6c4cbacf2f783af98dfddb +AUX openldap-2.4.45-fix-lmpasswd-gnutls-symbols.patch 3542 SHA256 e7f630f8cad556806012489973f4f9c366bdcf7779170b163de21e078da8f114 SHA512 bdbc36bc020964eb997b8038cf3c32a2a8ccc09512e735376a34e5a54d0d0abbbc73cb60a3f6efaf7f8bdd88cad37c5f652c322eb0ff66edee8c8fc8978d1a3b WHIRLPOOL a5a62a1183b38c4346898032c2343c99685e64478bd7b8a45480a4818ab089383d101d84455e02712543504ff742715a9358b4896ed97cff44d6f4ae340b3dde AUX openldap-2.4.6-evolution-ntlm.patch 5161 SHA256 3b79d9afaa7c76ca20c5e7aa856dea49931741a1022ae6c3bb264c38f4c22edb SHA512 a553231ad3e2d2ca3a3a195b20da6163c135a723e0a3ed39afcad5601ed4ef01e692533df3f8f96d5ec8cc74ca27cbd16508818007dc1343899a42b5595b980b WHIRLPOOL 624f11c996825bb248dd7c33f64afd3a4e8b9edbbe79c6fdffc7f2d8e57c5d8ac4c651eae7763dbc0a06144b916131b70e599771034bcb6bd8c586a9bf6a8209 AUX slapd-confd 614 SHA256 901044908fbbbbf333f7f0f1efccd1f0e213aa1a9156b3e659eaf0a0c7fdfc89 SHA512 e4ae52d10294da787016cf39adfd68c6ad812ac1758b00845810ee7936d21734d2ef3793252b878d88f21788414071adffb5f484381d4dc6a29f71a8729486b7 WHIRLPOOL d45df7487a952f899e9098779edda82afd9fb5ca66e42bbaf4a94f9ebdda9be58a026c0358a521a2feb4cc04c1f8477fb034896054ca4575d717bec367e1e2e8 AUX slapd-confd-2.4.28-r1 1072 SHA256 5bca003ec3b67c7c78519aede1d82002579006ccfecce8f87b559df719f82e92 SHA512 7426c04ee689bcfb29a9a3956367c571eac6bc9620efda938591d09382a05527454458f7a25bdc2fa2ac920f93bae516121e085408ffefbe8ace0c7d8c5da315 WHIRLPOOL b9cb4e249f224ce2435184922df8d053d4c6d058a6408b72ac3c393563bdc0d413f7310e74ef7dcdab6dedc3d25a77d5af0581334356a9b55be5c516d6ee71d4 -AUX slapd-initd 1174 SHA256 23d740b9c7fa76a3ed5627c18795ac937bb3e137c1db8709c09bbd74d18d0b33 SHA512 e8778f1c54ff398b01e569d0dacbccbf22d14bf1d2bdc73c79b400aab5a675fa9f8fbeddeb5079e63f0a37c93d6b0bdb14d1ad457f137166ce60fd825475f9e1 WHIRLPOOL 00c1615a1baba1aede4ed729937abc31e8b7970aad1fb475daa43b8aecaecd34e762fed6d7904ebd15fa21e58506688ae123538b26afa355eb8a3be9ba994cfb -AUX slapd-initd-2.4.28-r1 868 SHA256 a1ba689f7820dce3ab7951daeb56bc35929d1c6de7401855f5af09f2ff9cbe8a SHA512 af0bcb59417a652b79d858d99ec823b56538e759d8f65dda76083c2ef87c51a38a32d93e873ee90cf830789d390dba8ef5ded48b18c381fee2b938f65c7eb536 WHIRLPOOL 103e188393df3fef529222f6be13aaae9d9531533850e16032bd31d655b401e426c1bd846ee20c513c2c720e2ea9dd3649857f9f36bd2f36a4159f42735ff2b1 -AUX slapd-initd-2.4.40 1400 SHA256 27c5bad53a73ec414d74bb00e5d3aededd50bcb3670561db33e12dabb564ef06 SHA512 5dbfd8b939118043cf6b3fa2f5155c34be9c816029241ef665553e86355b657f1bf0d6ecae46cb3c4e80700ec7f96b82207664ce9c2deffcb3bf7e7216bdd4cc WHIRLPOOL b91db3af147512d44233a015e54ed735d1367d3342f668469f50cfd04fd9bd6dcfbac0e9f0d3b504327623e9f26049be4c535e16465a56609684af3c374a311e -AUX slapd-initd-2.4.40-r1 1731 SHA256 2b0f76ca8efafa9ade7065bf788497e5afdea89dd5b5732d25d1c1572cfa2660 SHA512 c81f3f06ca3969a1803edfc9f7add4dc1d7b76d52958497b6b8294aa53c211832b3188d243fe8bfbf1ad075c41038aff98985d17008a76fadd46dd24110394c0 WHIRLPOOL 13df9f022fd6be251b05bc40324a7a64c204c4b791ac932abb95656ecdacba12f1eb80d119fa1c6c182fce7a5d99bdff04cc3b340e22cac665225b635cf9e768 -AUX slapd-initd-2.4.40-r2 1732 SHA256 d10a54a5bca847569df213ef2dfc35f7e5e60fcfe191c4fa934db655b6f9ae1c SHA512 d32109b0e96c2ff8e949bb3de4e4bb6702f9663d255481ed5f87f0b1969975b82ea1b6ca3c0ad7d30f68f77a6bf7aabb7d44aa63db93370f012f88a60f85dc4b WHIRLPOOL 756d82a2fd863abb6f82d3e88382c6e5e98d1a76e4b148a7cae5179f6243dbf36d05100ffe4f9b0f0b9547e4d47a3e685d960b721f533645ac5db68ed3ab853e -AUX slapd-initd2 520 SHA256 2e7f1cdb40365015b58d158327d896e0208e9d11ef50413a8ad8b7f5f910c14f SHA512 d72e108a164d8aba87d7cd2b936f6f3eea8f5ee3f94887abff65c03c285649058542b3149d489b02e1e2ea30f0db20fac3f437810a3a73f67c9f4ef765cfb5db WHIRLPOOL 8253f66e69dae176ec16d724fa4ad236ab4c5f19ae6b15934616eec4da917896559440fb3926203048e65d1860e29a3667bebd5579f9d775d885b7310b76dc50 +AUX slapd-initd 1168 SHA256 6b2039adf33b9dbfcce644631f4e8d1c0517327123ad875e102bcafe6c30b364 SHA512 52dec305f990de797cfe12a9b0d5b306f4b5baedec1597879151a492a1743ea46d83bf659f7695e07b8652fddb8a5a2ea11339991432075907fc088edd9a8bd5 WHIRLPOOL b2b29b8571976fafdf3c801b744b86ce9f2bb460bedf736ea912e6c97739c3cc57a64dee45b4fbc15382d26571cd1540b9ac3e609e25ce97973e80fd8bb77ff3 +AUX slapd-initd-2.4.40-r2 1726 SHA256 bcd84fca8efc1eec3aea489f238b51ce7226ffcdb1562044e48106897bc5a6fc SHA512 3945dc4cff9b20bddd2ac4f38d045f8caabb59368ab0b5e952d4194d06a1bdd9871546b84e9a54b692d2e3ca699aa065e5fa909a29ae80e102ed9635c94bcfd5 WHIRLPOOL 1be86d1dcd863077fa77a98e56b5dded097d34afabaebb29d3d37f39c818cca246067fdab4aaffddc64c02fbe01e7000ece6da6e7b9015dcf3248b5325d7ed84 AUX slapd.service 284 SHA256 106563991611b44717cf93c10473edef39b4f0b4b391e29b9d5bdd3059c7a64a SHA512 450c93b320101e1c28681cad6694c24332fbe424ac98283b621a2f6e1eb01e9e2dbd80a4142e6e8d01d95c55018b44e847d4f4c55f11d7e0e0a11ae1827daa82 WHIRLPOOL d1ff7b8c672d9b38116cc8984567179a743b140211ae99bebd00729d8dc3cfcd4ed7c0833a18b071c9fa20eeb2cce4e053e7b6805474fc3ca8442167254c1e35 AUX slapd.service.conf 443 SHA256 462adb8f6fc1a9f742c792b4392346d30949eed523453dd19b64afc9dc448145 SHA512 be9cf4bf19111bd77c0ce481428e6f3cc183a6939775ed1a2d7606a5162da34178cb139d666288f6a35b8413bd4dc5f8f1bd60b39f3cca8f749557674b93910b WHIRLPOOL 8697c1c1c82c5c3fbb5d3fffc43e56f1a05a8bf23443270f2a051fde7d6ca0d1c5102611ac62d244b2c190c6bd1fb675cc46a5978a715d2df4e72f13c58db3c8 AUX slapd.tmpfilesd 90 SHA256 8039a0190bd5b701f29661c63e03e4fb439a8eb50fdd7be5ce96a7f7f3aaeb1b SHA512 c462c92911635a2a6a30eb7239e74b529062224f9798351f53dca9a2e25cbc7f9fbb3743f98a015b7ccac0823ab85adb42d91d980f053bc3f12fdce760ce4bec WHIRLPOOL 2fb28068fa2b8113041544bd88a58060aa309b012b58bd903b58e2ff853fec0882de2f2b0fa28da76eaa5550dcccbe7ed6e8b792df7f788b6bf0d324a0dc0e52 -AUX slurpd-initd 392 SHA256 d5ff3c31e0520eaaede085d2dddaf50b39978f494be8dba362ce3534474ebcc7 SHA512 8d49c9641b21092abbbe9eb6df7396f8ddb5f26673e10f8c063edd56433bd5ebec9ad18e2905d2f4b7c1872be1e8bdb8d79c19f8b0be34ddea3d447467e083dd WHIRLPOOL 8443bcf8b6f7681fe1676389c3acf05212eaabcfb2ecbf65eb3f884e67c3c7d0a3931aa53caa64a0b762ce103c5913d5a22935c8f1064fbdb65e2b830c3cdfa6 +AUX slurpd-initd 386 SHA256 f63742fd5f4192e8c676d3634b3947f48dffc2d37ebc82d50a3eec19178c51f0 SHA512 f6f5ede73eb1290673f1d4c9605d8806c759d68568610660eaa1cdcacf2926c728387b5e70885acdec0eea0e15a734c730af49550c4ffc8f121fffc3d9b7ed8c WHIRLPOOL 8f6fe3bb1e2221438e546b766368f76cb6dec18aa3b3b997cf3867b058f0d0d0ca1690a0fb10ae2aac28917d0803c4d2d6663e7993e3eeac3589b4f407befc0f DIST openldap-2.3.43.tgz 3803011 SHA256 d7d2dea05362c8ac7e11bb7bf1da4cdeb07225ba8dc16974bff9f51a9f3d37e1 SHA512 2b0ebb35adbeed34673e1a55cc7a89b348ddee7ad6ce7f915ca3745198cee992aba7281bf0d56197dcfd59665935d5d3764db0ba487975e4dbc2a2507d6ea7a6 WHIRLPOOL 7457112bbad83d75f7ad01230da97511a8d983a98f7e31357dbffd79a7ed7e53057af781002cae8c610d3ad7834dfeefbd7f223798d45aea8cd00b70f5ee0e39 -DIST openldap-2.4.38.tgz 5506085 SHA256 88209a3599ec5d9354fc09bbe29b99db1ffa1b612127c06bad0c5265d0b31fd1 SHA512 df7b6b2b84102ba996f84575396c7505ada851b5f09841fd821d34fd8d62580f85ecc655e2cd3965730b44d6919d64864f56b23791f38b411d142d345f250666 WHIRLPOOL bb6a19b353f9dcde07afe78052ce9d5db5a2aaa09236b69d22da0879e74c4de8587312bad66939702db30af779f7ee9720ad792b73d225f004a1a90d80a6fed1 -DIST openldap-2.4.39.tgz 5509060 SHA256 8267c87347103fef56b783b24877c0feda1063d3cb85d070e503d076584bf8a7 SHA512 7b5ef2a69f79f0901a06f8be4ab50afc3b3e98ab1ea74a421569443d32cb43d3cf773d3f028fb5fb39908c09ee172cb4770ecc5882754877a59d29bf8f8cc059 WHIRLPOOL 90ac4cff185855d569a8033a3e35a251d75e4a2805bcfa5ba5b3605ec88b2fc244b0e95aabd33c47c9846f29c95a17e1be43650442987f6abc043667e06f15cd -DIST openldap-2.4.40.tgz 5641865 SHA256 d12611a5c25b6499293c2bb7b435dc2b174db73e83f5a8cb7e34f2ce5fa6dadb SHA512 c803c4a82878891d60414d64dcb54a7c3f08675106ba13f50cba06034a97b3eee1c238761dd5ddad97d8c3f6675d9bbbec176d0340eb4a3bcd808f940baabab5 WHIRLPOOL 82cb6033798ac69faf4a0d1f5d7716316f5fbfc67e0f3a013b5bae461a01e3029aa6fb7d510bc14eed4f40ef83632561a3fa39aebf2be2785e3d0e0038db048c -DIST openldap-2.4.42.tgz 5645925 SHA256 eeb7b0e2c5852bfd2650e83909bb6152835c0b862fab10b63954dc1bcbba8e63 SHA512 52d6af7610c4fdc8f965ebea04d09c38f73773a02c2e484dc111100f3d472f8b2f766ca32d9c80f5815a57745095cc7c33ad62d9165eec5b9e252ae172e7782c WHIRLPOOL e151c63bfd10f5e96c60f216925315ed788d426ba2c15ee2793a4de4bb25d01717e7bb5144814a0e6a053a5d5a0aab75213a495aa47aa13f7c3e70716c01633e -DIST openldap-2.4.43.tgz 5654057 SHA256 34d78e5598a2b0360d26a9050fcdbbe198c65493b013bb607839d5598b6978c8 SHA512 1306206bf22fcec2ccf4b91fd7eadf0207e7015f20d761a4055b0e0213fe1f4c275eec933d86220b03b558650439e74cdca07db05e8debb54d38be4e983b3631 WHIRLPOOL 0d4dc1c1f36f85c4711d0ec1d11107dac242f1d69b4f183e7762cc3ed3d7221c45bd44777e7441afe10156abc487da18f9bdf748244123dd62a241aefe7bca3f DIST openldap-2.4.44.tgz 5658830 SHA256 d7de6bf3c67009c95525dde3a0212cc110d0a70b92af2af8e3ee800e81b88400 SHA512 132eb81798f59a364c9246d08697e1c7ebb6c2c3b983f786b14ec0233df09696cbad33a1f35f3076348b5efb77665a076ab854a24122c31e8b58310b7c7fd136 WHIRLPOOL 37399793d681a6489c369d663772970c62a4e1e370d4dc306bcb6fa3b9cb680139c9d940d9218aaac4618f50a63bc391b10f2aec0a134f84094ce4f7378c88ff +DIST openldap-2.4.45.tgz 5672845 SHA256 cdd6cffdebcd95161a73305ec13fc7a78e9707b46ca9f84fb897cd5626df3824 SHA512 1c9fc84efed8998f107ce6e1c6be3f5466388241afdca0cb3847720c9def0bc263a2dbc15bf0f9112d1b4c391fd01e8531a4fb08c5532c30fb86924c08daedab WHIRLPOOL b5855bfe2b2c3856a98fb8b07ab94e51ef995ff80d4f39f0e7edae64f9774f0af9987db3673e25f98df8a5856a3f8839f28f1aa9184c92862a4df22540b3ab49 DIST rfc2307bis.schema-20140524 12262 SHA256 6cd8154ad86be1d6bb88a79c303dc10a49bce4ce7d21bb417a951d6496df30b1 SHA512 83b89a1deeefc8566b97e7e865b9b6d04541099cbdf719e24538a7d27d61b6209e87ab9003a9f140bd9afd018ec569e71721e3a24090e1902c8b6659d2ba103e WHIRLPOOL 40cef24529fb4bfc1661d03088eccdb17d9056d696b2bf0e698fa248d03f508ba776784bf8abbaffb5f4c2c59b59b29525b4be2babc978fed681e5e3c88073de -EBUILD openldap-2.3.43-r3.ebuild 18020 SHA256 74ae0e03243cb3d5e715d43f5f7eac15b9f928572195d364da47f7c4753c7623 SHA512 7e4819e8893aacf0b5d91b76d048e2c9465ada4a4886726482b058269ec280a2c400502d96db17c25041d18406eb81ae7d081efbfb5cea50d595627a0d9100f2 WHIRLPOOL 720d273446c5a1a86f3a2bb5ec36151684a516d38c5eee390dab10c1d38f30cf8500226c0c221c0d9179359ce69a14308f2a302709586cf6dffb49f92ce464d8 -EBUILD openldap-2.3.43-r4.ebuild 18212 SHA256 151676cd5d269e4d08f37b669c026f018a1666c60fad5eb2266f98579c288209 SHA512 1a00db27e4a3102dea89eb7ffca08d0a5fd9db914ad7d99d263863a31dd20e7cc869b16d11b29ab237f2faab1dc07facae257bc09e6f2235277838f7ba6c1e97 WHIRLPOOL 6216146b6d16cfe642163c0b3f39f1823d8c9c6bd0cbefb12300d22dbe7f765f4443be391d0524f47fe0ff3975de2bf4a391a1bb21e40baca94b7f32131e23db -EBUILD openldap-2.4.38-r2.ebuild 23899 SHA256 c46f7c9d1c2f13e0f3f19a3a27d18bb65ab0320370ac0198ae541444f4ddc02d SHA512 fc754639d7f28d6e6c50051ab6c37ad5fc9938de16a15efd8e455740eaa33e9cd3c6e23b06c66cca747e675621a7a4f3cbedd57a5ddf7b3f2d54377e7fefefe5 WHIRLPOOL e3e4b2f0c31f3f954ea163c1395b1316b09c0fa95553d2b11504330c9bda431cd83eafb2069e9d41e9b74b35557865ceca335ac0230e7ad02f946e9454473b19 -EBUILD openldap-2.4.39.ebuild 23907 SHA256 66fd19c6e91fd67dcfdbacb7dabaa0bce0e881ebba44b2627002c023bb60df4f SHA512 07b4c1ce2aa0846732a8e33da063cedb06c8c53ce2c0dced6288400791d417e7666a613eb1a7996b9debe0c9eb80f5bb4560834e402f481fe56f41d360cf03dc WHIRLPOOL dbe1141df3a6e6686cd1dc69cc5e3a64914b0a80c4e134fd167529dcdf8999694f0c322b01d70aab3f6fd5caa79d29039e84e0719dcd2290d069df3af39c4217 -EBUILD openldap-2.4.40-r2.ebuild 26119 SHA256 2314abf85593796e7ba2a881919bac06e3d52b3432068701b26999b74dd2c497 SHA512 8bfa9ee86b25e5d6b245155b44db050a000914329fb7e8a8a0546302c32a1020dbaf5adca73639cc922ebda428fe250f233bd738aa891692035ecce35004e976 WHIRLPOOL b890177fa58767c69dfce6f93cc79aaec69cc950a9936219ae88404c2bd7df128479b9e3991580a3a20aeac85a09d16c40da60001b141df27b8dea5cb501003a -EBUILD openldap-2.4.40-r4.ebuild 26126 SHA256 db9cd32073812567d2292a39e39b87231e94b8cc649a8849609c3de852a726be SHA512 3384889e40001c4b6121a6a18eba33f9e5ff6e099c01d5920ed78fb72395a8ee4113eee9ca226516e32425dff0560d1fa3ccb0773680a6fed286f4c421f9917b WHIRLPOOL 9d27157dfdb4ba8770118f71984c09fd84a1fb6470bdc79226b4ce89a96b8ff9bbdcf474b4dad2c432259abf0b25fbac1af3bde065da785ed46368e7f64f61dd -EBUILD openldap-2.4.40.ebuild 26560 SHA256 1c2bf719a10adaf5fccf6a293f851c5d98f87bedffa31b5b4823ce9e3363c010 SHA512 e96f13802b48fbfb5df4b08c49400418570ace1233cc85b0d8e344c186f174268b77393e31eb78696280ddc5d9a4a1ab09be62aa23e1336263fc1250764a764b WHIRLPOOL c6526d927b0b687898081447c0baf4bba8756dafcfddff04da02577907a5184c7351d2175e4f35c2d77af301852774c1de1beef168428e921a6cddee5e3c8fe7 -EBUILD openldap-2.4.42-r1.ebuild 26273 SHA256 de0d7f604ef920565c2efe8d7d27be9f15bcd0912c6bf23e46accc1b4bea7bff SHA512 6e081ea441f1d88a0423229564954af5e93048a65aefc254b45216844c43dc7e331ac75bfb36a9de9e231e68e92f03f7a1ad11331bd0dc2952e4c3ae4e3f345a WHIRLPOOL 32d32e2db25157e721fedd4f9f2c314f7bafc44b4218e8263bcc0e955378ac2187f1612347b39e645ec246d5d79a2ef506e743087593112a5cd1a5c9c56895ba -EBUILD openldap-2.4.42.ebuild 26051 SHA256 3064832645a401453c80118248153b3bfb13a5d741cc7914b3b026fc5fb97d10 SHA512 5a35cea059dc40fc31d162cce000965a7bc35500caace56e385535aefb58b2f4965726aec33316ecf00de30bb60c6862d3c3b33a918f6a038897337831b3c595 WHIRLPOOL 5cb54bd5229132dedd82592d3f45a695b8254b2be9c89d7b91e0d25c63643863d778ccb187ce2572a5804d1df2b0241e0fd77fb2c7796d3f523829297fb7ada2 -EBUILD openldap-2.4.43-r1.ebuild 26273 SHA256 bdf608c9da573117bbb20b64ec0fe98f00dda2d35ad07ba2632286d36ff96921 SHA512 5c6910fe289c390e3a7baa10878467f70fcaa6055e6019d3489489217939e5e6d472658aef615610e9c7519f4c7dacbfe28631ff5f6b7e3c4da7d50e06616c06 WHIRLPOOL 0660c16f4fe1029dc51403abd00f9a90ff3846ed9ea7aacfcc3fc2727794250acbe0a7f6cfe0a48caa16b911b2743b15addd19ae038426f7aa5115f55feb214a -EBUILD openldap-2.4.43.ebuild 26198 SHA256 bc604eb62a44978e2548691bf5c99b61b01536d277318dfd5aa8e64273606352 SHA512 6463471886d137741c47573eae38863405847da03a09810c0757d0c08a219145d9c743645afd41030326e69712ea70942cb2d3238fc83376cdb732713b8a500a WHIRLPOOL c8c3f918337779b8de221bb97e270ab2d81c7a0eef856779832180193dee8bae491bb7ccef4ee96e80693e06218643a800334de0c0947db3e6b1f1d1ed91fc93 -EBUILD openldap-2.4.44.ebuild 26275 SHA256 744bff0273afdb180f2baca3eb4e3e13cee04ddbfcd7fc19617030efbf3264af SHA512 6c5365f2a173e0e4263fd75bbfd71b007be93e3201a7fe50f696207753b22a591138d881a4c340c1dcdffd9bb9c804fdf0433a9bde0d420c71d6e63ce549f210 WHIRLPOOL e61fb70d93885fb9e2aa166fe9ef90fd93fb21bd340a04adc3cd62ae476740f99a570fc1227dd3770873fa51266763fcdec56e82248d7cc5ae6745397c6c262b -MISC ChangeLog 5704 SHA256 7326fa16fa32e2548616c930f4ff1e1ea98acb75e9b2157ba137dd5dd61310b6 SHA512 d0d78acd671814a00bcc091caf31ce373f0ea718e5449b781ad46a234d275405ec53394ebefe349204af4063ef923a8d26dbec5a097c2bf3e96cf8eac298944b WHIRLPOOL 9619fd6fc7427b23ccafc6df0270b12f764d4a0e37a439f966a2c8606513b3248c1a81627c71cc11f0e18b752958d80a6e95bed46a23970cc9717c29869e32fa +EBUILD openldap-2.3.43-r3.ebuild 18084 SHA256 e8bdb634b475e9773001bd4325518e4854b02d9fc21c6e153f5437d662e1c238 SHA512 7d8d7a2e1563960f1db4704d4dc1c1d922c4fc1ac311f5bda1ad9278388be26d9d4e7a0f4c2695406bba2a97613d0fa3a4eaacd7bb639439804a2c105fb859c8 WHIRLPOOL 564dd18d46124a7cd55b22308532dde74caa3393f43ff7fcd96ddf2634a2c2182ba6cbde302620c965a146f6838f3534db19b5d015eca55b7064a25bde83f7a4 +EBUILD openldap-2.3.43-r4.ebuild 18276 SHA256 51dcc2d596a0ae4c494a1c7a473930c10122abc3f91073daac5002f87f60b7bb SHA512 31cea69f98d773f8ef909acc424f29062dd31ad187b771417ba624fb1d3c1c6edfbfb4094fdf31045d251c6e9d44f322732ee4086710be39a8a00e4ad25ddb68 WHIRLPOOL 6a9dc29d18f399f885ea86d56cab4c7e637f8e32d5f584fccdf80641d2742011dafba213c8ca300641ef899d9b7da93dbda926b3741c1a6d8b3c9374e84610c8 +EBUILD openldap-2.4.44-r1.ebuild 27245 SHA256 034bf87b74f8092305d1035d2994a319de41412b21f038418caa8dcdb02a975c SHA512 a5273bcf45add81f5dc01b17ab0e4888a5f96e535c0156aed8f9e48fedf382c30f53cbcebbdc4d3e68e79009b8e53ae8faf8245f12980b9127bd8688960adbe7 WHIRLPOOL 9efabbacb9e7c70209ca478f41855c4cd6e89b979bbe3b38c36a2ff39ec7fcfb07a76a2dbc2da1ae0d82f5ee1d69ced25f90797dabae8095fd64f204775d03f4 +EBUILD openldap-2.4.44.ebuild 26576 SHA256 85310e0749a2bd1dfe37fb10fdbab74cf88bdef06a4d796f3b222daf28de9eb4 SHA512 870e3c0a52144e663d3ba7b8dc70a9198292fc81755ebabee0a214113596d76d004f5b2f91b2033c50432b21de98d0b5f37ace15e2b40a6bc309400c44df286c WHIRLPOOL c655f2c9e3930fd2cfda558e1da8b698fd3db191927fe7eee16a6964a207082e11dd63723df278b8a4640ca9713f328ce28a046d9af1af8b629782a9fd849d64 +EBUILD openldap-2.4.45.ebuild 28042 SHA256 3aedd923fd2e5f20c24b9fe57f5340b2cbc56b5f82276b3d25669518320c4f74 SHA512 554d404a2af4716d8759f0a435f440d1bbc5e31c2c55c0b529ac412aae4d0774c770ebc4248dcc0a856ddd68fba6a276bcb9dc6f8afb0baeb95be2ed80a7c597 WHIRLPOOL 46db827860f5cd3b74836944db87384a7d43e5d2adbf821cc94f3e74d6dbe3c81bbcb778df581663dabce2c0d6d284f46846f77133a6c5e92fbc9855d95d1c13 +MISC ChangeLog 8175 SHA256 3e40d412ae900631f1ff6666ca53a00c645d846d17e85dda64f2307af9a8b51b SHA512 5758f053e916ff51f0af336a4c1ab5068827334b441b5904be35968bb6be7efd078682360e41f7ba2bbbdf0302e0cf0e9b3e51bf466efd8a4a5ef61ff890258e WHIRLPOOL 0d7b6d7f534bdeca1aa97339e69a2705ab96abf678d910e6cdf994956553dc9ad25b935903e938991bf79b4986692912e846989e7a1f9d4fa96c8a82c331d432 MISC ChangeLog-2015 87821 SHA256 29dc9d2d86f5c0de89ee44162332ee4390220ea9e546895100bd413bc60a0a30 SHA512 7c98e1dfe9ea30d7a31a7187cd913e6997bd8f8d5d74747c85f989a61b702272ce120588874257f2653343c2134c94dc405710f82957169a6f7bac01854d3611 WHIRLPOOL 2b657cb4f1f302e90eea233e401c6ca379b605c697443b36280153eb7419695ed2040ada6505b2c38c86832bda3efa74a4bfeda267d644639148ca6954cd10e9 -MISC metadata.xml 718 SHA256 257ce776275668f0ebab78f7cbe3ffb9ff640b98c460dde78f2c46a5ec3088ac SHA512 4cae6daef446d15b0bf169b4b3ecc65ab80e25bfaeed6b2ddc61ff16bb12b62be4f7783fb2f602cfa6330266868c80de15c7adc4d36dab0231fa5208d31a1e8c WHIRLPOOL 6ce12a5a9731ad8c26665d0d79882bdd2e383224e5f3ce752210cf92835fcaaf8bcd854b662daa26b4a24663322b23f08adeb682ab9f6347da21e87941a0542b +MISC metadata.xml 939 SHA256 dbed34e13c441b16f14e2ddb4a415b343e7148c9ebbd294b8d825f5abad9b350 SHA512 2cb744d3e29b0a3e8418b47df6c4d64a606d9a5e021e64104b8644da4977b0ad030b7d2e6c74259799c5ee1aa64984b779fa7966f6a77402574150f6756df1c1 WHIRLPOOL 2febb19b808bb5eea0040655b745c44cddd89f25f8c74091fb63371bec1e4b99d41fce6e5a1e1b699706e1a14634ccc7b49f8d022d3b4cc3a544680e728773fa diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/openldap-2.4.33-gnutls.patch b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/openldap-2.4.33-gnutls.patch deleted file mode 100644 index 2b07c85c04..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/openldap-2.4.33-gnutls.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 98de912932732f1441300eb64ca3070ff1469fcf Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Sun, 30 Dec 2012 21:11:06 +0100 -Subject: [PATCH] GnuTLS 3.0 removed gnutls_certificate_get_x509_cas() - ---- - libraries/libldap/tls_g.c | 23 +++++++++++++++++++++++ - 1 file changed, 23 insertions(+) - -diff --git a/libraries/libldap/tls_g.c b/libraries/libldap/tls_g.c -index 40616f5..374514d 100644 ---- a/libraries/libldap/tls_g.c -+++ b/libraries/libldap/tls_g.c -@@ -60,6 +60,12 @@ - #undef HAVE_GCRYPT_RAND - #endif - -+#if LIBGNUTLS_VERSION_NUMBER >= 0x030000 -+#define HAVE_GNUTLS_CERTIFICATE_GET_ISSUER 1 -+#else -+#undef HAVE_GNUTLS_CERTIFICATE_GET_ISSUER -+#endif -+ - #ifndef HAVE_CIPHERSUITES - /* Versions prior to 2.2.0 didn't handle cipher suites, so we had to - * kludge them ourselves. -@@ -368,6 +374,22 @@ tlsg_ctx_init( struct ldapoptions *lo, struct ldaptls *lt, int is_server ) - * then we have to build the cert chain. - */ - if ( max == 1 && !gnutls_x509_crt_check_issuer( certs[0], certs[0] )) { -+#ifdef HAVE_GNUTLS_CERTIFICATE_GET_ISSUER -+ gnutls_x509_crt_t issuer; -+ unsigned int i; -+ -+ for ( i = 1; icred, certs[i-1], -+ &issuer, 0 ) ) -+ break; -+ certs[i] = issuer; -+ max++; -+ /* If this CA is self-signed, we're done */ -+ if ( gnutls_x509_crt_check_issuer( certs[i], certs[i] )) -+ break; -+ } -+#else - gnutls_x509_crt_t *cas; - unsigned int i, j, ncas; - -@@ -387,6 +409,7 @@ tlsg_ctx_init( struct ldapoptions *lo, struct ldaptls *lt, int is_server ) - if ( j == ncas ) - break; - } -+#endif /* !defined HAVE_GNUTLS_CERTIFICATE_GET_ISSUER */ - } - rc = gnutls_certificate_set_x509_key( ctx->cred, certs, max, key ); - if ( rc ) return -1; --- -1.8.0.2 - diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/openldap-2.4.40-mdb-unbundle.patch b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/openldap-2.4.40-mdb-unbundle.patch deleted file mode 100644 index 9265a01701..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/openldap-2.4.40-mdb-unbundle.patch +++ /dev/null @@ -1,136 +0,0 @@ ---- ./build/top.mk.orig 2014-10-24 14:34:59.260827298 +0200 -+++ ./build/top.mk 2014-10-24 14:35:25.281168893 +0200 -@@ -160,6 +160,7 @@ - LTHREAD_LIBS = @LTHREAD_LIBS@ - - BDB_LIBS = @BDB_LIBS@ -+MDB_LIBS = @MDB_LIBS@ - SLAPD_NDB_LIBS = @SLAPD_NDB_LIBS@ - - LDAP_LIBLBER_LA = $(LDAP_LIBDIR)/liblber/liblber.la ---- ./build/openldap.m4.orig 2014-10-24 10:52:02.837221734 +0200 -+++ ./build/openldap.m4 2014-10-24 11:31:02.748087966 +0200 -@@ -563,6 +563,38 @@ - ], [ol_cv_bdb_compat=yes], [ol_cv_bdb_compat=no])]) - ]) - -+dnl -------------------------------------------------------------------- -+dnl Check for version compatility with back-mdb -+AC_DEFUN([OL_MDB_COMPAT], -+[AC_CACHE_CHECK([if LMDB version supported by MDB backends], [ol_cv_mdb_compat],[ -+ AC_EGREP_CPP(__mdb_version_compat,[ -+#include -+ -+/* require 0.9.14 or later */ -+#if MDB_VERSION_FULL >= 0x00000009000E -+ __mdb_version_compat -+#endif -+ ], [ol_cv_mdb_compat=yes], [ol_cv_mdb_compat=no])]) -+]) -+ -+dnl -+dnl -------------------------------------------------------------------- -+dnl Find any MDB -+AC_DEFUN([OL_MDB], -+[ol_cv_mdb=no -+AC_CHECK_HEADERS(lmdb.h) -+if test $ac_cv_header_lmdb_h = yes; then -+ OL_MDB_COMPAT -+ -+ if test $ol_cv_mdb_compat != yes ; then -+ AC_MSG_ERROR([LMDB version incompatible with MDB backends]) -+ fi -+ -+ ol_cv_lib_mdb=-llmdb -+ ol_cv_mdb=yes -+fi -+]) -+ - dnl - dnl ==================================================================== - dnl Check POSIX Thread version ---- ./servers/slapd/back-mdb/Makefile.in.orig 2014-10-24 10:31:30.860931076 +0200 -+++ ./servers/slapd/back-mdb/Makefile.in 2014-10-24 14:33:33.803705424 +0200 -@@ -25,11 +25,10 @@ - extended.lo operational.lo \ - attr.lo index.lo key.lo filterindex.lo \ - dn2entry.lo dn2id.lo id2entry.lo idl.lo \ -- nextid.lo monitor.lo mdb.lo midl.lo -+ nextid.lo monitor.lo - - LDAP_INCDIR= ../../../include - LDAP_LIBDIR= ../../../libraries --MDB_SUBDIR = $(srcdir)/$(LDAP_LIBDIR)/liblmdb - - BUILD_OPT = "--enable-mdb" - BUILD_MOD = @BUILD_MDB@ -@@ -44,7 +43,7 @@ - - LIBBASE = back_mdb - --XINCPATH = -I.. -I$(srcdir)/.. -I$(MDB_SUBDIR) -+XINCPATH = -I.. -I$(srcdir)/.. - XDEFS = $(MODULES_CPPFLAGS) - - all-local-lib: ../.backend -@@ -52,11 +51,5 @@ - ../.backend: lib$(LIBBASE).a - @touch $@ - --mdb.lo: $(MDB_SUBDIR)/mdb.c -- $(LTCOMPILE_MOD) $(MDB_SUBDIR)/mdb.c -- --midl.lo: $(MDB_SUBDIR)/midl.c -- $(LTCOMPILE_MOD) $(MDB_SUBDIR)/midl.c -- - veryclean-local-lib: FORCE - $(RM) $(XXHEADERS) $(XXSRCS) .links ---- ./configure.in.orig 2014-10-24 10:46:53.289139847 +0200 -+++ ./configure.in 2014-10-24 10:51:34.372846374 +0200 -@@ -519,6 +519,7 @@ - dnl Initialize vars - LDAP_LIBS= - BDB_LIBS= -+MDB_LIBS= - SLAPD_NDB_LIBS= - SLAPD_NDB_INCS= - LTHREAD_LIBS= -@@ -1905,6 +1906,30 @@ - fi - - dnl ---------------------------------------------------------------- -+ol_link_mdb=no -+ -+if test $ol_enable_mdb != no; then -+ OL_MDB -+ -+ if test $ol_cv_mdb = no ; then -+ AC_MSG_ERROR(MDB: LMDB not available) -+ fi -+ -+ AC_DEFINE(HAVE_MDB,1, -+ [define this if LMDB is available]) -+ -+ dnl $ol_cv_lib_mdb should be yes or -llmdb -+ dnl (it could be no, but that would be an error -+ if test $ol_cv_lib_mdb != yes ; then -+ MDB_LIBS="$MDB_LIBS $ol_cv_lib_mdb" -+ fi -+ -+ SLAPD_LIBS="$SLAPD_LIBS \$(MDB_LIBS)" -+ -+ ol_link_mdb=yes -+fi -+ -+dnl ---------------------------------------------------------------- - - if test $ol_enable_dynamic = yes && test $enable_shared = yes ; then - BUILD_LIBS_DYNAMIC=shared -@@ -3133,6 +3158,7 @@ - AC_SUBST(LDAP_LIBS) - AC_SUBST(SLAPD_LIBS) - AC_SUBST(BDB_LIBS) -+AC_SUBST(MDB_LIBS) - AC_SUBST(SLAPD_NDB_LIBS) - AC_SUBST(SLAPD_NDB_INCS) - AC_SUBST(LTHREAD_LIBS) diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/openldap-2.4.45-fix-lmpasswd-gnutls-symbols.patch b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/openldap-2.4.45-fix-lmpasswd-gnutls-symbols.patch new file mode 100644 index 0000000000..0859d53cae --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/openldap-2.4.45-fix-lmpasswd-gnutls-symbols.patch @@ -0,0 +1,109 @@ +If GnuTLS is used, the lmpasswd module for USE=samba does not compile. +Forward-port an old Debian patch that upstream never applied. + +Signed-off-by: Robin H. Johnson +Signed-off-by: Steffen Hau +X-Gentoo-Bug: http://bugs.gentoo.org/show_bug.cgi?id=233633 +X-Upstream-Bug: http://www.openldap.org/its/index.cgi/Software%20Enhancements?id=4997 +X-Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=245341 + +--- openldap-2.4.17.orig/libraries/liblutil/passwd.c 2009-07-27 18:59:19.635995474 -0700 ++++ openldap-2.4.17/libraries/liblutil/passwd.c 2009-07-27 19:01:13.588069010 -0700 +@@ -51,6 +51,26 @@ typedef unsigned char des_data_block[8]; + typedef PK11Context *des_context[1]; + #define DES_ENCRYPT CKA_ENCRYPT + ++#elif defined(HAVE_GNUTLS_GNUTLS_H) && !defined(DES_ENCRYPT) ++# include ++static int gcrypt_init = 0; ++ ++typedef const void* des_key; ++typedef unsigned char DES_cblock[8]; ++typedef des_cblock des_data_block; ++typedef int DES_key_schedule; /* unused */ ++typedef DES_key_schedule des_context; /* unused */ ++#define des_failed(encrypted) 0 ++#define des_finish(key, schedule) ++ ++#define DES_set_key_unchecked( key, key_sched ) \ ++ gcry_cipher_setkey( hd, key, 8 ) ++ ++#define DES_ecb_encrypt( input, output, key_sched, enc ) \ ++ gcry_cipher_encrypt( hd, *output, 8, *input, 8 ) ++ ++#define DES_set_odd_parity( key ) do {} while(0) ++ + #endif + + #endif /* SLAPD_LMHASH */ +@@ -651,7 +671,7 @@ static int chk_md5( + + #ifdef SLAPD_LMHASH + +-#if defined(HAVE_OPENSSL) ++#if defined(HAVE_OPENSSL) || defined(HAVE_GNUTLS_GNUTLS_H) + + /* + * abstract away setting the parity. +@@ -841,6 +861,19 @@ static int chk_lanman( + des_data_block StdText = "KGS!@#$%"; + des_data_block PasswordHash1, PasswordHash2; + char PasswordHash[33], storedPasswordHash[33]; ++ ++#if defined(HAVE_GNUTLS_GNUTLS_H) && !defined(DES_ENCRYPT) ++ gcry_cipher_hd_t hd; ++ ++ if ( !gcrypt_init ) { ++ gcry_check_version( GCRYPT_VERSION ); ++ gcrypt_init = 1; ++ } ++ ++ schedule = schedule; /* unused - avoid warning */ ++ ++ gcry_cipher_open( &hd, GCRY_CIPHER_DES, GCRY_CIPHER_MODE_ECB, 0 ); ++#endif /* HAVE_GNUTLS_GNUTLS_H && !DES_ENCRYPT */ + + for( i=0; ibv_len; i++) { + if(cred->bv_val[i] == '\0') { +@@ -883,6 +916,10 @@ static int chk_lanman( + strncpy( storedPasswordHash, passwd->bv_val, 32 ); + storedPasswordHash[32] = '\0'; + ldap_pvt_str2lower( storedPasswordHash ); ++ ++#if defined(HAVE_GNUTLS_GNUTLS_H) && !defined(DES_ENCRYPT) ++ gcry_cipher_close( hd ); ++#endif /* HAVE_GNUTLS_GNUTLS_H && !DES_ENCRYPT */ + + return memcmp( PasswordHash, storedPasswordHash, 32) ? LUTIL_PASSWD_ERR : LUTIL_PASSWD_OK; + } +@@ -1138,6 +1175,19 @@ static int hash_lanman( + des_data_block PasswordHash1, PasswordHash2; + char PasswordHash[33]; + ++#if defined(HAVE_GNUTLS_GNUTLS_H) && !defined(DES_ENCRYPT) ++ gcry_cipher_hd_t hd; ++ ++ if ( !gcrypt_init ) { ++ gcry_check_version( GCRYPT_VERSION ); ++ gcrypt_init = 1; ++ } ++ ++ schedule = schedule; /* unused - avoid warning */ ++ ++ gcry_cipher_open( &hd, GCRY_CIPHER_DES, GCRY_CIPHER_MODE_ECB, 0 ); ++#endif /* HAVE_GNUTLS_GNUTLS_H && !DES_ENCRYPT */ ++ + for( i=0; ibv_len; i++) { + if(passwd->bv_val[i] == '\0') { + return LUTIL_PASSWD_ERR; /* NUL character in password */ +@@ -1168,6 +1218,10 @@ static int hash_lanman( + + hash->bv_val = PasswordHash; + hash->bv_len = 32; ++ ++#if defined(HAVE_GNUTLS_GNUTLS_H) && !defined(DES_ENCRYPT) ++ gcry_cipher_close( hd ); ++#endif /* HAVE_GNUTLS_GNUTLS_H && !DES_ENCRYPT */ + + return pw_string( scheme, hash ); + } diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd index 1e674802eb..ecd8f650a2 100644 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd +++ b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd @@ -1,7 +1,6 @@ -#!/sbin/runscript +#!/sbin/openrc-run # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ depend() { need net.lo diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.28-r1 b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.28-r1 deleted file mode 100644 index 52d3e4b2f2..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.28-r1 +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -extra_commands="checkconfig" - -[ -z "$INSTANCE" ] && INSTANCE="openldap${SVCNAME#slapd}" - -depend() { - need net - before dbus hald avahi-daemon - provide ldap -} - -start() { - checkpath -q -d /var/run/openldap/ -o ldap:ldap - if ! checkconfig -Q ; then - eerror "There is a problem with your slapd.conf!" - return 1 - fi - ebegin "Starting ldap-server" - [ -n "$KRB5_KTNAME" ] && export KRB5_KTNAME - eval start-stop-daemon --start --pidfile /var/run/openldap/${SVCNAME}.pid --exec /usr/lib/openldap/slapd -- -u ldap -g ldap "${OPTS}" - eend $? -} - -stop() { - ebegin "Stopping ldap-server" - start-stop-daemon --stop --signal 2 --quiet --pidfile /var/run/openldap/${SVCNAME}.pid - eend $? -} - -checkconfig() { - /usr/sbin/slaptest -u "$@" ${OPTS_CONF} -} diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.40 b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.40 deleted file mode 100644 index dc0e021e18..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.40 +++ /dev/null @@ -1,51 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -extra_commands="checkconfig" - -[ -z "$INSTANCE" ] && INSTANCE="openldap${SVCNAME#slapd}" -PIDDIR=/run/openldap -PIDFILE=$PIDDIR/$SVCNAME.pid - -depend() { - need net - before dbus hald avahi-daemon - provide ldap -} - -start() { - checkpath -q -d ${PIDDIR} -o ldap:ldap - if ! checkconfig -Q ; then - eerror "There is a problem with your slapd.conf!" - return 1 - fi - ebegin "Starting ldap-server" - [ -n "$KRB5_KTNAME" ] && export KRB5_KTNAME - eval start-stop-daemon --start --pidfile ${PIDFILE} --exec /usr/lib/openldap/slapd -- -u ldap -g ldap "${OPTS}" - eend $? -} - -stop() { - ebegin "Stopping ldap-server" - start-stop-daemon --stop --signal 2 --quiet --pidfile ${PIDFILE} - eend $? -} - -checkconfig() { - # checks requested by bug #502948 - for d in `awk '/^directory/{print $2}'`; do - if [ ! -d $d ]; then - eerror "Directory $d in config does not exist!" - return 1 - fi - /usr/bin/find $d ! -name DB_CONFIG ! -user ldap -o ! -group ldap |grep -sq . - if [ $? -ne 0 ]; then - ewarn "You have files in $d not owned by the ldap user, you must ensure they are accessible to the slapd instance!" - fi - [ ! -e $d/DB_CONFIG ] && ewarn "$d/DB_CONFIG does not exist, slapd performance may be sub-optimal" - done - # now test the config fully - /usr/sbin/slaptest -u "$@" ${OPTS_CONF} -} diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.40-r1 b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.40-r1 deleted file mode 100644 index 9a68fb7f80..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.40-r1 +++ /dev/null @@ -1,65 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -extra_commands="checkconfig" - -[ -z "$INSTANCE" ] && INSTANCE="openldap${SVCNAME#slapd}" -PIDDIR=/run/openldap -PIDFILE=$PIDDIR/$SVCNAME.pid - -depend() { - need net - before dbus hald avahi-daemon - provide ldap -} - -start() { - checkpath -q -d ${PIDDIR} -o ldap:ldap - if ! checkconfig -Q ; then - eerror "There is a problem with your slapd.conf!" - return 1 - fi - ebegin "Starting ldap-server" - [ -n "$KRB5_KTNAME" ] && export KRB5_KTNAME - eval start-stop-daemon --start --pidfile ${PIDFILE} --exec /usr/lib/openldap/slapd -- -u ldap -g ldap "${OPTS}" - eend $? -} - -stop() { - ebegin "Stopping ldap-server" - start-stop-daemon --stop --signal 2 --quiet --pidfile ${PIDFILE} - eend $? -} - -checkconfig() { - # checks requested by bug #502948 - # Step 1: extract the last valid config file or config dir - set -- $OPTS - while [ -n "$*" ]; do - opt=$1 ; shift - if [ "$opt" = "-f" -o "$opt" = "-F" ] ; then - CONF=$1 - shift - fi - done - set -- - # Fallback - CONF=${CONF-/etc/openldap/slapd.conf} - [ -d $CONF ] && CONF=${CONF}/* - DBDIRS=`eval awk '"/^(directory|olcDbDirectory:)/{print \$2}"' $CONF` - for d in $DBDIRS; do - if [ ! -d $d ]; then - eerror "Directory $d in config does not exist!" - return 1 - fi - /usr/bin/find $d ! -name DB_CONFIG ! -user ldap -o ! -group ldap |grep -sq . - if [ $? -ne 0 ]; then - ewarn "You have files in $d not owned by the ldap user, you must ensure they are accessible to the slapd instance!" - fi - [ ! -e $d/DB_CONFIG ] && ewarn "$d/DB_CONFIG does not exist, slapd performance may be sub-optimal" - done - # now test the config fully - /usr/sbin/slaptest -u "$@" ${OPTS_CONF} -} diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.40-r2 b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.40-r2 index b38cc4fa3a..722b6c20de 100644 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.40-r2 +++ b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd-2.4.40-r2 @@ -1,7 +1,6 @@ -#!/sbin/runscript +#!/sbin/openrc-run # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ extra_commands="checkconfig" diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd2 b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd2 deleted file mode 100644 index 7430312819..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slapd-initd2 +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -depend() { - need net - before dbus hald avahi-daemon - provide ldap -} - -start() { - ebegin "Starting ldap-server" - eval start-stop-daemon --start --pidfile /var/run/openldap/slapd.pid --exec /usr/lib/openldap/slapd -- -u ldap -g ldap "${OPTS}" - eend $? -} - -stop() { - ebegin "Stopping ldap-server" - start-stop-daemon --stop --signal 2 --quiet --pidfile /var/run/openldap/slapd.pid - eend $? -} diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slurpd-initd b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slurpd-initd index 1b315918d8..bb1b50dbb1 100644 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slurpd-initd +++ b/sdk_container/src/third_party/portage-stable/net-nds/openldap/files/slurpd-initd @@ -1,7 +1,6 @@ -#!/sbin/runscript +#!/sbin/openrc-run # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ depend() { need net diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/metadata.xml b/sdk_container/src/third_party/portage-stable/net-nds/openldap/metadata.xml index ee8cb116d2..4e5e2c4903 100644 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/net-nds/openldap/metadata.xml @@ -4,7 +4,7 @@ ldap-bugs@gentoo.org - + Enable experimental backend options Enable support for kerberos init Enable ODBC and SQL backend options @@ -12,5 +12,10 @@ Enable overlay for syncing ldap, unix and lanman passwords Build libraries & userspace tools only. Does not install any server code. + Enable support for pbkdf2 passwords + Enable support for pw-sha2 password hashes. + + cpe:/a:openldap:openldap + diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.3.43-r3.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.3.43-r3.ebuild index 43fc797b82..321b6b720f 100644 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.3.43-r3.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.3.43-r3.ebuild @@ -1,11 +1,8 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ EAPI="2" -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="latest" AT_M4DIR="./build" inherit autotools db-use eutils flag-o-matic multilib ssl-cert toolchain-funcs versionator user @@ -180,7 +177,7 @@ pkg_setup() { die "Please set ssl useflag" fi - if use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then + if use minimal && has_version 'net-nds/openldap[minimal]' ; then einfo einfo "Skipping scan for previous datadirs as requested by minimal useflag" einfo @@ -188,8 +185,12 @@ pkg_setup() { openldap_find_versiontags fi - enewgroup ldap 439 - enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap + # The user/group are only used for running daemons which are + # disabled in minimal builds, so elide the accounts too. + if ! use minimal ; then + enewgroup ldap 439 + enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap + fi } src_prepare() { diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.3.43-r4.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.3.43-r4.ebuild index bdb8c8d677..663b6aa5e3 100644 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.3.43-r4.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.3.43-r4.ebuild @@ -1,11 +1,8 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ EAPI="2" -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="latest" AT_M4DIR="./build" inherit autotools db-use eutils flag-o-matic multilib ssl-cert toolchain-funcs versionator user @@ -180,7 +177,7 @@ pkg_setup() { die "Please set ssl useflag" fi - if use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then + if use minimal && has_version 'net-nds/openldap[minimal]' ; then einfo einfo "Skipping scan for previous datadirs as requested by minimal useflag" einfo @@ -188,8 +185,12 @@ pkg_setup() { openldap_find_versiontags fi - enewgroup ldap 439 - enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap + # The user/group are only used for running daemons which are + # disabled in minimal builds, so elide the accounts too. + if ! use minimal ; then + enewgroup ldap 439 + enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap + fi } src_prepare() { diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.38-r2.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.38-r2.ebuild deleted file mode 100644 index 4832435d5e..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.38-r2.ebuild +++ /dev/null @@ -1,752 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit db-use eutils flag-o-matic multilib multilib-minimal ssl-cert versionator toolchain-funcs autotools user systemd - -BIS_PN=rfc2307bis.schema -BIS_PV=20140524 -BIS_P="${BIS_PN}-${BIS_PV}" - -DESCRIPTION="LDAP suite of application and development tools" -HOMEPAGE="http://www.OpenLDAP.org/" - -# mirrors are mostly not working, using canonical URI -SRC_URI="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz - mirror://gentoo/${BIS_P}" - -LICENSE="OPENLDAP GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" - -IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal" -IUSE_BACKEND="+berkdb" -IUSE_OVERLAY="overlays perl" -IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux" -IUSE_CONTRIB="smbkrb5passwd kerberos" -IUSE_CONTRIB="${IUSE_CONTRIB} -cxx" -IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}" - -REQUIRED_USE="cxx? ( sasl )" - -# openssl is needed to generate lanman-passwords required by samba -CDEPEND="icu? ( dev-libs/icu:= ) - ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) - gnutls? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] ) ) - sasl? ( dev-libs/cyrus-sasl:= ) - !minimal? ( - sys-devel/libtool - tcpd? ( sys-apps/tcp-wrappers ) - odbc? ( !iodbc? ( dev-db/unixODBC ) - iodbc? ( dev-db/libiodbc ) ) - slp? ( net-libs/openslp ) - perl? ( dev-lang/perl[-build(-)] ) - samba? ( dev-libs/openssl ) - berkdb? ( sys-libs/db ) - smbkrb5passwd? ( - dev-libs/openssl - app-crypt/heimdal ) - kerberos? ( virtual/krb5 ) - cxx? ( dev-libs/cyrus-sasl:= ) - ) - abi_x86_32? ( - !<=app-emulation/emul-linux-x86-baselibs-20140508-r3 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] - )" -DEPEND="${CDEPEND} - sys-apps/groff" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-ldap ) -" - -# for tracking versions -OPENLDAP_VERSIONTAG=".version-tag" -OPENLDAP_DEFAULTDIR_VERSIONTAG="/var/lib/openldap-data" - -MULTILIB_WRAPPED_HEADERS=( - # USE=cxx - /usr/include/LDAPAsynConnection.h - /usr/include/LDAPAttrType.h - /usr/include/LDAPAttribute.h - /usr/include/LDAPAttributeList.h - /usr/include/LDAPConnection.h - /usr/include/LDAPConstraints.h - /usr/include/LDAPControl.h - /usr/include/LDAPControlSet.h - /usr/include/LDAPEntry.h - /usr/include/LDAPEntryList.h - /usr/include/LDAPException.h - /usr/include/LDAPExtResult.h - /usr/include/LDAPMessage.h - /usr/include/LDAPMessageQueue.h - /usr/include/LDAPModList.h - /usr/include/LDAPModification.h - /usr/include/LDAPObjClass.h - /usr/include/LDAPRebind.h - /usr/include/LDAPRebindAuth.h - /usr/include/LDAPReferenceList.h - /usr/include/LDAPResult.h - /usr/include/LDAPSaslBindResult.h - /usr/include/LDAPSchema.h - /usr/include/LDAPSearchReference.h - /usr/include/LDAPSearchResult.h - /usr/include/LDAPSearchResults.h - /usr/include/LDAPUrl.h - /usr/include/LDAPUrlList.h - /usr/include/LdifReader.h - /usr/include/LdifWriter.h - /usr/include/SaslInteraction.h - /usr/include/SaslInteractionHandler.h - /usr/include/StringList.h - /usr/include/TlsOptions.h -) - -openldap_filecount() { - local dir="$1" - find "${dir}" -type f ! -name '.*' ! -name 'DB_CONFIG*' | wc -l -} - -openldap_find_versiontags() { - # scan for all datadirs - openldap_datadirs="" - if [ -f "${EROOT}"/etc/openldap/slapd.conf ]; then - openldap_datadirs="$(awk '{if($1 == "directory") print $2 }' ${EROOT}/etc/openldap/slapd.conf)" - fi - openldap_datadirs="${openldap_datadirs} ${OPENLDAP_DEFAULTDIR_VERSIONTAG}" - - einfo - einfo "Scanning datadir(s) from slapd.conf and" - einfo "the default installdir for Versiontags" - einfo "(${OPENLDAP_DEFAULTDIR_VERSIONTAG} may appear twice)" - einfo - - # scan datadirs if we have a version tag - openldap_found_tag=0 - have_files=0 - for each in ${openldap_datadirs}; do - CURRENT_TAGDIR=${ROOT}`echo ${each} | sed "s:\/::"` - CURRENT_TAG=${CURRENT_TAGDIR}/${OPENLDAP_VERSIONTAG} - if [ -d ${CURRENT_TAGDIR} ] && [ ${openldap_found_tag} == 0 ] ; then - einfo "- Checking ${each}..." - if [ -r ${CURRENT_TAG} ] ; then - # yey, we have one :) - einfo " Found Versiontag in ${each}" - source ${CURRENT_TAG} - if [ "${OLDPF}" == "" ] ; then - eerror "Invalid Versiontag found in ${CURRENT_TAGDIR}" - eerror "Please delete it" - eerror - die "Please kill the invalid versiontag in ${CURRENT_TAGDIR}" - fi - - OLD_MAJOR=`get_version_component_range 2-3 ${OLDPF}` - - [ $(openldap_filecount ${CURRENT_TAGDIR}) -gt 0 ] && have_files=1 - - # are we on the same branch? - if [ "${OLD_MAJOR}" != "${PV:0:3}" ] ; then - ewarn " Versiontag doesn't match current major release!" - if [[ "${have_files}" == "1" ]] ; then - eerror " Versiontag says other major and you (probably) have datafiles!" - echo - openldap_upgrade_howto - else - einfo " No real problem, seems there's no database." - fi - else - einfo " Versiontag is fine here :)" - fi - else - einfo " Non-tagged dir ${each}" - [ $(openldap_filecount ${each}) -gt 0 ] && have_files=1 - if [[ "${have_files}" == "1" ]] ; then - einfo " EEK! Non-empty non-tagged datadir, counting `ls -a ${each} | wc -l` files" - echo - - eerror - eerror "Your OpenLDAP Installation has a non tagged datadir that" - eerror "possibly contains a database at ${CURRENT_TAGDIR}" - eerror - eerror "Please export data if any entered and empty or remove" - eerror "the directory, installation has been stopped so you" - eerror "can take required action" - eerror - eerror "For a HOWTO on exporting the data, see instructions in the ebuild" - eerror - openldap_upgrade_howto - die "Please move the datadir ${CURRENT_TAGDIR} away" - fi - fi - einfo - fi - done - [ "${have_files}" == "1" ] && einfo "DB files present" || einfo "No DB files present" - - # Now we must check for the major version of sys-libs/db linked against. - SLAPD_PATH=${EROOT}/usr/$(get_libdir)/openldap/slapd - if [ "${have_files}" == "1" -a -f "${SLAPD_PATH}" ]; then - OLDVER="$(/usr/bin/ldd ${SLAPD_PATH} \ - | awk '/libdb-/{gsub("^libdb-","",$1);gsub(".so$","",$1);print $1}')" - NEWVER="$(use berkdb && db_findver sys-libs/db)" - local fail=0 - if [ -z "${OLDVER}" -a -z "${NEWVER}" ]; then - : - # Nothing wrong here. - elif [ -z "${OLDVER}" -a -n "${NEWVER}" ]; then - eerror " Your existing version of OpenLDAP was not built against" - eerror " any version of sys-libs/db, but the new one will build" - eerror " against ${NEWVER} and your database may be inaccessible." - echo - fail=1 - elif [ -n "${OLDVER}" -a -z "${NEWVER}" ]; then - eerror " Your existing version of OpenLDAP was built against" - eerror " sys-libs/db:${OLDVER}, but the new one will not be" - eerror " built against any version and your database may be" - eerror " inaccessible." - echo - fail=1 - elif [ "${OLDVER}" != "${NEWVER}" ]; then - eerror " Your existing version of OpenLDAP was built against" - eerror " sys-libs/db:${OLDVER}, but the new one will build against" - eerror " ${NEWVER} and your database would be inaccessible." - echo - fail=1 - fi - [ "${fail}" == "1" ] && openldap_upgrade_howto - fi - - echo - einfo - einfo "All datadirs are fine, proceeding with merge now..." - einfo -} - -openldap_upgrade_howto() { - eerror - eerror "A (possible old) installation of OpenLDAP was detected," - eerror "installation will not proceed for now." - eerror - eerror "As major version upgrades can corrupt your database," - eerror "you need to dump your database and re-create it afterwards." - eerror - eerror "Additionally, rebuilding against different major versions of the" - eerror "sys-libs/db libraries will cause your database to be inaccessible." - eerror "" - d="$(date -u +%s)" - l="/root/ldapdump.${d}" - i="${l}.raw" - eerror " 1. /etc/init.d/slurpd stop ; /etc/init.d/slapd stop" - eerror " 2. slapcat -l ${i}" - eerror " 3. egrep -v '^(entry|context)CSN:' <${i} >${l}" - eerror " 4. mv /var/lib/openldap-data/ /var/lib/openldap-data-backup/" - eerror " 5. emerge --update \=net-nds/${PF}" - eerror " 6. etc-update, and ensure that you apply the changes" - eerror " 7. slapadd -l ${l}" - eerror " 8. chown ldap:ldap /var/lib/openldap-data/*" - eerror " 9. /etc/init.d/slapd start" - eerror "10. check that your data is intact." - eerror "11. set up the new replication system." - eerror - if [ "${FORCE_UPGRADE}" != "1" ]; then - die "You need to upgrade your database first" - else - eerror "You have the magical FORCE_UPGRADE=1 in place." - eerror "Don't say you weren't warned about data loss." - fi -} - -pkg_setup() { - if ! use sasl && use cxx ; then - die "To build the ldapc++ library you must emerge openldap with sasl support" - fi - # Bug #322787 - if use minimal && ! has_version "net-nds/openldap" ; then - einfo "No datadir scan needed, openldap not installed" - elif use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then - einfo "Skipping scan for previous datadirs as requested by minimal useflag" - else - openldap_find_versiontags - fi - - enewgroup ldap 439 - enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap -} - -src_prepare() { - # ensure correct SLAPI path by default - sed -i -e 's,\(#define LDAPI_SOCK\).*,\1 "'"${EPREFIX}"'/var/run/openldap/slapd.sock",' \ - "${S}"/include/ldap_defaults.h - - epatch "${FILESDIR}"/${PN}-2.4.17-gcc44.patch - - epatch \ - "${FILESDIR}"/${PN}-2.2.14-perlthreadsfix.patch \ - "${FILESDIR}"/${PN}-2.4.15-ppolicy.patch - - # bug #116045 - still present in 2.4.28 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-smbk5pwd.patch - # bug #408077 - samba4 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-samba4.patch - - # bug #189817 - epatch "${FILESDIR}"/${PN}-2.4.11-libldap_r.patch - - # bug #233633 - epatch "${FILESDIR}"/${PN}-2.4.17-fix-lmpasswd-gnutls-symbols.patch - - # bug #281495 - epatch "${FILESDIR}"/${PN}-2.4.28-gnutls-gcrypt.patch - - # bug #294350 - epatch "${FILESDIR}"/${PN}-2.4.6-evolution-ntlm.patch - - # unbreak /bin/sh -> dash - epatch "${FILESDIR}"/${PN}-2.4.28-fix-dash.patch - - # bug #420959 - epatch "${FILESDIR}"/${PN}-2.4.31-gcc47.patch - - # bug #421463 - epatch "${FILESDIR}"/${PN}-2.4.33-gnutls.patch - - cd "${S}"/build || die - einfo "Making sure upstream build strip does not do stripping too early" - sed -i.orig \ - -e '/^STRIP/s,-s,,g' \ - top.mk || die "Failed to block stripping" - - # wrong assumption that /bin/sh is /bin/bash - sed -i \ - -e 's|/bin/sh|/bin/bash|g' \ - "${S}"/tests/scripts/* || die "sed failed" - - cd "${S}" || die - AT_NOEAUTOMAKE=yes eautoreconf -} - -build_contrib_module() { - # - cd "${S}/contrib/slapd-modules/$1" || die - einfo "Compiling contrib-module: $3" - # Make sure it's uppercase - local define_name="$(echo "SLAPD_OVER_${1}" | LC_ALL=C tr '[:lower:]' '[:upper:]')" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -D${define_name}=SLAPD_MOD_DYNAMIC \ - -I"${BUILD_DIR}"/include \ - -I../../../include -I../../../servers/slapd ${CFLAGS} \ - -o ${2%.c}.lo -c $2 || die "compiling $3 failed" - einfo "Linking contrib-module: $3" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o $3.la ${2%.c}.lo || die "linking $3 failed" -} - -src_configure() { - #Fix for glibc-2.8 and ucred. Bug 228457. - append-flags -D_GNU_SOURCE - - # Bug 408001 - use elibc_FreeBSD && append-cppflags -DMDB_DSYNC=O_SYNC -DMDB_FDATASYNC=fsync - - # connectionless ldap per bug #342439 - append-cppflags -DLDAP_CONNECTIONLESS - - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myconf=() - - use debug && myconf+=( $(use_enable debug) ) - - # ICU usage is not configurable - export ac_cv_header_unicode_utypes_h="$(multilib_is_native_abi && use icu && echo yes || echo no)" - - if ! use minimal && multilib_is_native_abi; then - local CPPFLAGS=${CPPFLAGS} - - # re-enable serverside overlay chains per bug #296567 - # see ldap docs chaper 12.3.1 for details - myconf+=( --enable-ldap ) - - # backends - myconf+=( --enable-slapd ) - if use berkdb ; then - einfo "Using Berkeley DB for local backend" - myconf+=( --enable-bdb --enable-hdb ) - # We need to include the slotted db.h dir for FreeBSD - append-cppflags -I$(db_includedir) - else - ewarn - ewarn "Note: if you disable berkdb, you can only use remote-backends!" - ewarn - myconf+=( --disable-bdb --disable-hdb ) - fi - for backend in dnssrv ldap meta monitor null passwd relay shell sock; do - myconf+=( --enable-${backend}=mod ) - done - - myconf+=( $(use_enable perl perl mod) ) - - myconf+=( $(use_enable odbc sql mod) ) - if use odbc ; then - local odbc_lib="unixodbc" - if use iodbc ; then - odbc_lib="iodbc" - append-cppflags -I"${EPREFIX}"/usr/include/iodbc - fi - myconf+=( --with-odbc=${odbc_lib} ) - fi - - # slapd options - myconf+=( - $(use_enable crypt) - $(use_enable slp) - $(use_enable samba lmpasswd) - $(use_enable syslog) - ) - if use experimental ; then - myconf+=( - --enable-dynacl - --enable-aci=mod - ) - fi - for option in aci cleartext modules rewrite rlookups slapi; do - myconf+=( --enable-${option} ) - done - - # slapd overlay options - # Compile-in the syncprov, the others as module - myconf+=( --enable-syncprov=yes ) - use overlays && myconf+=( --enable-overlays=mod ) - - else - myconf+=( - --disable-slapd - --disable-bdb - --disable-hdb - --disable-overlays - --disable-syslog - ) - fi - - # basic functionality stuff - myconf+=( - $(use_enable ipv6) - $(multilib_native_use_with sasl cyrus-sasl) - $(multilib_native_use_enable sasl spasswd) - $(use_enable tcpd wrappers) - ) - - local ssl_lib="no" - if use ssl || ( ! use minimal && use samba ) ; then - ssl_lib="openssl" - use gnutls && ssl_lib="gnutls" - fi - - myconf+=( --with-tls=${ssl_lib} ) - - for basicflag in dynamic local proctitle shared static; do - myconf+=( --enable-${basicflag} ) - done - - tc-export AR CC CXX - ECONF_SOURCE=${S} \ - STRIP=/bin/true \ - econf \ - --libexecdir="${EPREFIX}"/usr/$(get_libdir)/openldap \ - "${myconf[@]}" - emake depend -} - -src_configure_cxx() { - # This needs the libraries built by the first build run. - # So we have to run it AFTER the main build, not just after the main - # configure. - local myconf_ldapcpp=( - --with-ldap-includes="${S}"/include - ) - - mkdir -p "${BUILD_DIR}"/contrib/ldapc++ || die - cd "${BUILD_DIR}/contrib/ldapc++" || die - - local LDFLAGS=${LDFLAGS} CPPFLAGS=${CPPFLAGS} - append-ldflags -L"${BUILD_DIR}"/libraries/liblber/.libs \ - -L"${BUILD_DIR}"/libraries/libldap/.libs - append-cppflags -I"${BUILD_DIR}"/include - ECONF_SOURCE=${S}/contrib/ldapc++ \ - econf "${myconf_ldapcpp[@]}" \ - CC="${CC}" \ - CXX="${CXX}" -} - -multilib_src_compile() { - tc-export AR CC CXX - emake CC="${CC}" AR="${AR}" SHELL="${EPREFIX}"/bin/bash - local lt="${BUILD_DIR}/libtool" - export echo="echo" - - if ! use minimal && multilib_is_native_abi ; then - if use cxx ; then - einfo "Building contrib library: ldapc++" - src_configure_cxx - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake \ - CC="${CC}" CXX="${CXX}" - fi - - if use smbkrb5passwd ; then - einfo "Building contrib-module: smbk5pwd" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - - emake \ - DEFS="-DDO_SAMBA -DDO_KRB5 -DDO_SHADOW" \ - KRB5_INC="$(krb5-config --cflags)" \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" - fi - - if use overlays ; then - einfo "Building contrib-module: samba4" - cd "${S}/contrib/slapd-modules/samba4" || die - - emake \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="/usr/$(get_libdir)/openldap" - fi - - if use kerberos ; then - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-kerberos" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - $(krb5-config --cflags) \ - -DHAVE_KRB5 \ - -o kerberos.lo \ - -c kerberos.c || die "compiling pw-kerberos failed" - einfo "Linking contrib-module: pw-kerberos" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-kerberos.la \ - kerberos.lo || die "linking pw-kerberos failed" - fi - # We could build pw-radius if GNURadius would install radlib.h - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-netscape" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -o netscape.lo \ - -c netscape.c || die "compiling pw-netscape failed" - einfo "Linking contrib-module: pw-netscape" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-netscape.la \ - netscape.lo || die "linking pw-netscape failed" - - build_contrib_module "addpartial" "addpartial-overlay.c" "addpartial-overlay" - build_contrib_module "allop" "allop.c" "overlay-allop" - build_contrib_module "allowed" "allowed.c" "allowed" - build_contrib_module "autogroup" "autogroup.c" "autogroup" - build_contrib_module "denyop" "denyop.c" "denyop-overlay" - build_contrib_module "dsaschema" "dsaschema.c" "dsaschema-plugin" - # lastmod may not play well with other overlays - build_contrib_module "lastmod" "lastmod.c" "lastmod" - build_contrib_module "nops" "nops.c" "nops-overlay" - build_contrib_module "trace" "trace.c" "trace" - # build slapi-plugins - cd "${S}/contrib/slapi-plugins/addrdnvalues" || die - einfo "Building contrib-module: addrdnvalues plugin" - "${CC}" -shared \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -fPIC \ - ${LDFLAGS} \ - -o libaddrdnvalues-plugin.so \ - addrdnvalues.c || die "Building libaddrdnvalues-plugin.so failed" - - fi -} - -multilib_src_test() { - if multilib_is_native_abi; then - cd tests || die - make tests || die "make tests failed" - fi -} - -multilib_src_install() { - local lt="${BUILD_DIR}/libtool" - emake DESTDIR="${D}" SHELL="${EPREFIX}"/bin/bash install - - if ! use minimal && multilib_is_native_abi; then - # openldap modules go here - # TODO: write some code to populate slapd.conf with moduleload statements - keepdir /usr/$(get_libdir)/openldap/openldap/ - - # initial data storage dir - keepdir /var/lib/openldap-data - use prefix || fowners ldap:ldap /var/lib/openldap-data - fperms 0700 /var/lib/openldap-data - - echo "OLDPF='${PF}'" > "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# do NOT delete this. it is used" >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# to track versions for upgrading." >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - - # use our config - rm "${ED}"etc/openldap/slapd.conf - insinto /etc/openldap - newins "${FILESDIR}"/${PN}-2.3.34-slapd-conf slapd.conf - configfile="${ED}"etc/openldap/slapd.conf - - # populate with built backends - ebegin "populate config with built backends" - for x in "${ED}"usr/$(get_libdir)/openldap/openldap/back_*.so; do - elog "Adding $(basename ${x})" - sed -e "/###INSERTDYNAMICMODULESHERE###$/a# moduleload\t$(basename ${x})" -i "${configfile}" - done - sed -e "s:###INSERTDYNAMICMODULESHERE###$:# modulepath\t${EPREFIX}/usr/$(get_libdir)/openldap/openldap:" -i "${configfile}" - use prefix || fowners root:ldap /etc/openldap/slapd.conf - fperms 0640 /etc/openldap/slapd.conf - cp "${configfile}" "${configfile}".default - eend - - # install our own init scripts and systemd unit files - newinitd "${FILESDIR}"/slapd-initd-2.4.28-r1 slapd - newconfd "${FILESDIR}"/slapd-confd-2.4.28-r1 slapd - systemd_dounit "${FILESDIR}"/slapd.service - systemd_install_serviced "${FILESDIR}"/slapd.service.conf - systemd_newtmpfilesd "${FILESDIR}"/slapd.tmpfilesd slapd.conf - - if [[ $(get_libdir) != lib ]]; then - sed -e "s,/usr/lib/,/usr/$(get_libdir)/," -i \ - "${ED}"/etc/init.d/slapd \ - "${ED}"/usr/lib/systemd/system/slapd.service || die - fi - # If built without SLP, we don't need to be before avahi - use slp \ - || sed -i \ - -e '/before/{s/avahi-daemon//g}' \ - "${ED}"etc/init.d/slapd - - if use cxx ; then - einfo "Install the ldapc++ library" - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake DESTDIR="${D}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - cd "${S}"/contrib/ldapc++ || die - newdoc README ldapc++-README - fi - - if use smbkrb5passwd ; then - einfo "Install the smbk5pwd module" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - newdoc README smbk5pwd-README - fi - - if use overlays ; then - einfo "Install the samba4 module" - cd "${S}/contrib/slapd-modules/samba4" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="/usr/$(get_libdir)/openldap" install - newdoc README samba4-README - fi - - einfo "Installing contrib modules" - cd "${S}/contrib/slapd-modules" || die - for l in */*.la; do - "${lt}" --mode=install cp ${l} \ - "${ED}"usr/$(get_libdir)/openldap/openldap || \ - die "installing ${l} failed" - done - - docinto contrib - newdoc addpartial/README addpartial-README - newdoc allop/README allop-README - doman allop/slapo-allop.5 - newdoc autogroup/README autogroup-README - newdoc denyop/denyop.c denyop-denyop.c - newdoc dsaschema/README dsaschema-README - doman lastmod/slapo-lastmod.5 - doman nops/slapo-nops.5 - newdoc passwd/README passwd-README - cd "${S}/contrib/slapi-plugins" || die - insinto /usr/$(get_libdir)/openldap/openldap - doins */*.so - docinto contrib - newdoc addrdnvalues/README addrdnvalues-README - - insinto /etc/openldap/schema - newins "${DISTDIR}"/${BIS_P} ${BIS_PN} - fi -} - -multilib_src_install_all() { - dodoc ANNOUNCEMENT CHANGES COPYRIGHT README "${FILESDIR}"/DB_CONFIG.fast.example - docinto rfc ; dodoc doc/rfc/*.txt -} - -pkg_preinst() { - # keep old libs if any - preserve_old_lib /usr/$(get_libdir)/{liblber,libldap_r,liblber}-2.3$(get_libname 0) -} - -pkg_postinst() { - if ! use minimal ; then - # You cannot build SSL certificates during src_install that will make - # binary packages containing your SSL key, which is both a security risk - # and a misconfiguration if multiple machines use the same key and cert. - if use ssl; then - install_cert /etc/openldap/ssl/ldap - use prefix || chown ldap:ldap "${EROOT}"etc/openldap/ssl/ldap.* - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "add 'TLS_REQCERT never' if you want to use them." - fi - - if use prefix; then - # Warn about prefix issues with slapd - eerror "slapd might NOT be usable on Prefix systems as it requires root privileges" - eerror "to start up, and requires that certain files directories be owned by" - eerror "ldap:ldap. As Prefix does not support changing ownership of files and" - eerror "directories, you will have to manually fix this yourself." - fi - - # These lines force the permissions of various content to be correct - use prefix || chown ldap:ldap "${EROOT}"var/run/openldap - chmod 0755 "${EROOT}"var/run/openldap - use prefix || chown root:ldap "${EROOT}"etc/openldap/slapd.conf{,.default} - chmod 0640 "${EROOT}"etc/openldap/slapd.conf{,.default} - use prefix || chown ldap:ldap "${EROOT}"var/lib/openldap-data - fi - - elog "Getting started using OpenLDAP? There is some documentation available:" - elog "Gentoo Guide to OpenLDAP Authentication" - elog "(https://www.gentoo.org/doc/en/ldap-howto.xml)" - elog "---" - elog "An example file for tuning BDB backends with openldap is" - elog "DB_CONFIG.fast.example in /usr/share/doc/${PF}/" - - preserve_old_lib_notify /usr/$(get_libdir)/{liblber,libldap,libldap_r}-2.3$(get_libname 0) -} diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.39.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.39.ebuild deleted file mode 100644 index d87e8aad69..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.39.ebuild +++ /dev/null @@ -1,751 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit db-use eutils flag-o-matic multilib multilib-minimal ssl-cert versionator toolchain-funcs autotools user systemd - -BIS_PN=rfc2307bis.schema -BIS_PV=20140524 -BIS_P="${BIS_PN}-${BIS_PV}" - -DESCRIPTION="LDAP suite of application and development tools" -HOMEPAGE="http://www.OpenLDAP.org/" - -# mirrors are mostly not working, using canonical URI -SRC_URI="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz - mirror://gentoo/${BIS_P}" - -LICENSE="OPENLDAP GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" - -IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal" -IUSE_BACKEND="+berkdb" -IUSE_OVERLAY="overlays perl" -IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux" -IUSE_CONTRIB="smbkrb5passwd kerberos" -IUSE_CONTRIB="${IUSE_CONTRIB} -cxx" -IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}" - -REQUIRED_USE="cxx? ( sasl )" - -# openssl is needed to generate lanman-passwords required by samba -CDEPEND="icu? ( dev-libs/icu:= ) - ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) - gnutls? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] ) ) - sasl? ( dev-libs/cyrus-sasl:= ) - !minimal? ( - sys-devel/libtool - tcpd? ( sys-apps/tcp-wrappers ) - odbc? ( !iodbc? ( dev-db/unixODBC ) - iodbc? ( dev-db/libiodbc ) ) - slp? ( net-libs/openslp ) - perl? ( dev-lang/perl[-build(-)] ) - samba? ( dev-libs/openssl ) - berkdb? ( sys-libs/db ) - smbkrb5passwd? ( - dev-libs/openssl - app-crypt/heimdal ) - kerberos? ( virtual/krb5 ) - cxx? ( dev-libs/cyrus-sasl:= ) - ) - abi_x86_32? ( - !<=app-emulation/emul-linux-x86-baselibs-20140508-r3 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] - )" -DEPEND="${CDEPEND} - sys-apps/groff" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-ldap ) -" -# for tracking versions -OPENLDAP_VERSIONTAG=".version-tag" -OPENLDAP_DEFAULTDIR_VERSIONTAG="/var/lib/openldap-data" - -MULTILIB_WRAPPED_HEADERS=( - # USE=cxx - /usr/include/LDAPAsynConnection.h - /usr/include/LDAPAttrType.h - /usr/include/LDAPAttribute.h - /usr/include/LDAPAttributeList.h - /usr/include/LDAPConnection.h - /usr/include/LDAPConstraints.h - /usr/include/LDAPControl.h - /usr/include/LDAPControlSet.h - /usr/include/LDAPEntry.h - /usr/include/LDAPEntryList.h - /usr/include/LDAPException.h - /usr/include/LDAPExtResult.h - /usr/include/LDAPMessage.h - /usr/include/LDAPMessageQueue.h - /usr/include/LDAPModList.h - /usr/include/LDAPModification.h - /usr/include/LDAPObjClass.h - /usr/include/LDAPRebind.h - /usr/include/LDAPRebindAuth.h - /usr/include/LDAPReferenceList.h - /usr/include/LDAPResult.h - /usr/include/LDAPSaslBindResult.h - /usr/include/LDAPSchema.h - /usr/include/LDAPSearchReference.h - /usr/include/LDAPSearchResult.h - /usr/include/LDAPSearchResults.h - /usr/include/LDAPUrl.h - /usr/include/LDAPUrlList.h - /usr/include/LdifReader.h - /usr/include/LdifWriter.h - /usr/include/SaslInteraction.h - /usr/include/SaslInteractionHandler.h - /usr/include/StringList.h - /usr/include/TlsOptions.h -) - -openldap_filecount() { - local dir="$1" - find "${dir}" -type f ! -name '.*' ! -name 'DB_CONFIG*' | wc -l -} - -openldap_find_versiontags() { - # scan for all datadirs - openldap_datadirs="" - if [ -f "${EROOT}"/etc/openldap/slapd.conf ]; then - openldap_datadirs="$(awk '{if($1 == "directory") print $2 }' ${EROOT}/etc/openldap/slapd.conf)" - fi - openldap_datadirs="${openldap_datadirs} ${OPENLDAP_DEFAULTDIR_VERSIONTAG}" - - einfo - einfo "Scanning datadir(s) from slapd.conf and" - einfo "the default installdir for Versiontags" - einfo "(${OPENLDAP_DEFAULTDIR_VERSIONTAG} may appear twice)" - einfo - - # scan datadirs if we have a version tag - openldap_found_tag=0 - have_files=0 - for each in ${openldap_datadirs}; do - CURRENT_TAGDIR=${ROOT}`echo ${each} | sed "s:\/::"` - CURRENT_TAG=${CURRENT_TAGDIR}/${OPENLDAP_VERSIONTAG} - if [ -d ${CURRENT_TAGDIR} ] && [ ${openldap_found_tag} == 0 ] ; then - einfo "- Checking ${each}..." - if [ -r ${CURRENT_TAG} ] ; then - # yey, we have one :) - einfo " Found Versiontag in ${each}" - source ${CURRENT_TAG} - if [ "${OLDPF}" == "" ] ; then - eerror "Invalid Versiontag found in ${CURRENT_TAGDIR}" - eerror "Please delete it" - eerror - die "Please kill the invalid versiontag in ${CURRENT_TAGDIR}" - fi - - OLD_MAJOR=`get_version_component_range 2-3 ${OLDPF}` - - [ $(openldap_filecount ${CURRENT_TAGDIR}) -gt 0 ] && have_files=1 - - # are we on the same branch? - if [ "${OLD_MAJOR}" != "${PV:0:3}" ] ; then - ewarn " Versiontag doesn't match current major release!" - if [[ "${have_files}" == "1" ]] ; then - eerror " Versiontag says other major and you (probably) have datafiles!" - echo - openldap_upgrade_howto - else - einfo " No real problem, seems there's no database." - fi - else - einfo " Versiontag is fine here :)" - fi - else - einfo " Non-tagged dir ${each}" - [ $(openldap_filecount ${each}) -gt 0 ] && have_files=1 - if [[ "${have_files}" == "1" ]] ; then - einfo " EEK! Non-empty non-tagged datadir, counting `ls -a ${each} | wc -l` files" - echo - - eerror - eerror "Your OpenLDAP Installation has a non tagged datadir that" - eerror "possibly contains a database at ${CURRENT_TAGDIR}" - eerror - eerror "Please export data if any entered and empty or remove" - eerror "the directory, installation has been stopped so you" - eerror "can take required action" - eerror - eerror "For a HOWTO on exporting the data, see instructions in the ebuild" - eerror - openldap_upgrade_howto - die "Please move the datadir ${CURRENT_TAGDIR} away" - fi - fi - einfo - fi - done - [ "${have_files}" == "1" ] && einfo "DB files present" || einfo "No DB files present" - - # Now we must check for the major version of sys-libs/db linked against. - SLAPD_PATH=${EROOT}/usr/$(get_libdir)/openldap/slapd - if [ "${have_files}" == "1" -a -f "${SLAPD_PATH}" ]; then - OLDVER="$(/usr/bin/ldd ${SLAPD_PATH} \ - | awk '/libdb-/{gsub("^libdb-","",$1);gsub(".so$","",$1);print $1}')" - NEWVER="$(use berkdb && db_findver sys-libs/db)" - local fail=0 - if [ -z "${OLDVER}" -a -z "${NEWVER}" ]; then - : - # Nothing wrong here. - elif [ -z "${OLDVER}" -a -n "${NEWVER}" ]; then - eerror " Your existing version of OpenLDAP was not built against" - eerror " any version of sys-libs/db, but the new one will build" - eerror " against ${NEWVER} and your database may be inaccessible." - echo - fail=1 - elif [ -n "${OLDVER}" -a -z "${NEWVER}" ]; then - eerror " Your existing version of OpenLDAP was built against" - eerror " sys-libs/db:${OLDVER}, but the new one will not be" - eerror " built against any version and your database may be" - eerror " inaccessible." - echo - fail=1 - elif [ "${OLDVER}" != "${NEWVER}" ]; then - eerror " Your existing version of OpenLDAP was built against" - eerror " sys-libs/db:${OLDVER}, but the new one will build against" - eerror " ${NEWVER} and your database would be inaccessible." - echo - fail=1 - fi - [ "${fail}" == "1" ] && openldap_upgrade_howto - fi - - echo - einfo - einfo "All datadirs are fine, proceeding with merge now..." - einfo -} - -openldap_upgrade_howto() { - eerror - eerror "A (possible old) installation of OpenLDAP was detected," - eerror "installation will not proceed for now." - eerror - eerror "As major version upgrades can corrupt your database," - eerror "you need to dump your database and re-create it afterwards." - eerror - eerror "Additionally, rebuilding against different major versions of the" - eerror "sys-libs/db libraries will cause your database to be inaccessible." - eerror "" - d="$(date -u +%s)" - l="/root/ldapdump.${d}" - i="${l}.raw" - eerror " 1. /etc/init.d/slurpd stop ; /etc/init.d/slapd stop" - eerror " 2. slapcat -l ${i}" - eerror " 3. egrep -v '^(entry|context)CSN:' <${i} >${l}" - eerror " 4. mv /var/lib/openldap-data/ /var/lib/openldap-data-backup/" - eerror " 5. emerge --update \=net-nds/${PF}" - eerror " 6. etc-update, and ensure that you apply the changes" - eerror " 7. slapadd -l ${l}" - eerror " 8. chown ldap:ldap /var/lib/openldap-data/*" - eerror " 9. /etc/init.d/slapd start" - eerror "10. check that your data is intact." - eerror "11. set up the new replication system." - eerror - if [ "${FORCE_UPGRADE}" != "1" ]; then - die "You need to upgrade your database first" - else - eerror "You have the magical FORCE_UPGRADE=1 in place." - eerror "Don't say you weren't warned about data loss." - fi -} - -pkg_setup() { - if ! use sasl && use cxx ; then - die "To build the ldapc++ library you must emerge openldap with sasl support" - fi - # Bug #322787 - if use minimal && ! has_version "net-nds/openldap" ; then - einfo "No datadir scan needed, openldap not installed" - elif use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then - einfo "Skipping scan for previous datadirs as requested by minimal useflag" - else - openldap_find_versiontags - fi - - enewgroup ldap 439 - enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap -} - -src_prepare() { - # ensure correct SLAPI path by default - sed -i -e 's,\(#define LDAPI_SOCK\).*,\1 "'"${EPREFIX}"'/var/run/openldap/slapd.sock",' \ - "${S}"/include/ldap_defaults.h - - epatch "${FILESDIR}"/${PN}-2.4.17-gcc44.patch - - epatch \ - "${FILESDIR}"/${PN}-2.2.14-perlthreadsfix.patch \ - "${FILESDIR}"/${PN}-2.4.15-ppolicy.patch - - # bug #116045 - still present in 2.4.28 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-smbk5pwd.patch - # bug #408077 - samba4 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-samba4.patch - - # bug #189817 - epatch "${FILESDIR}"/${PN}-2.4.11-libldap_r.patch - - # bug #233633 - epatch "${FILESDIR}"/${PN}-2.4.17-fix-lmpasswd-gnutls-symbols.patch - - # bug #281495 - epatch "${FILESDIR}"/${PN}-2.4.28-gnutls-gcrypt.patch - - # bug #294350 - epatch "${FILESDIR}"/${PN}-2.4.6-evolution-ntlm.patch - - # unbreak /bin/sh -> dash - epatch "${FILESDIR}"/${PN}-2.4.28-fix-dash.patch - - # bug #420959 - epatch "${FILESDIR}"/${PN}-2.4.31-gcc47.patch - - # bug #421463 - epatch "${FILESDIR}"/${PN}-2.4.33-gnutls.patch - - cd "${S}"/build || die - einfo "Making sure upstream build strip does not do stripping too early" - sed -i.orig \ - -e '/^STRIP/s,-s,,g' \ - top.mk || die "Failed to block stripping" - - # wrong assumption that /bin/sh is /bin/bash - sed -i \ - -e 's|/bin/sh|/bin/bash|g' \ - "${S}"/tests/scripts/* || die "sed failed" - - cd "${S}" || die - AT_NOEAUTOMAKE=yes eautoreconf -} - -build_contrib_module() { - # - cd "${S}/contrib/slapd-modules/$1" || die - einfo "Compiling contrib-module: $3" - # Make sure it's uppercase - local define_name="$(echo "SLAPD_OVER_${1}" | LC_ALL=C tr '[:lower:]' '[:upper:]')" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -D${define_name}=SLAPD_MOD_DYNAMIC \ - -I"${BUILD_DIR}"/include \ - -I../../../include -I../../../servers/slapd ${CFLAGS} \ - -o ${2%.c}.lo -c $2 || die "compiling $3 failed" - einfo "Linking contrib-module: $3" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o $3.la ${2%.c}.lo || die "linking $3 failed" -} - -src_configure() { - #Fix for glibc-2.8 and ucred. Bug 228457. - append-flags -D_GNU_SOURCE - - # Bug 408001 - use elibc_FreeBSD && append-cppflags -DMDB_DSYNC=O_SYNC -DMDB_FDATASYNC=fsync - - # connectionless ldap per bug #342439 - append-cppflags -DLDAP_CONNECTIONLESS - - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myconf=() - - use debug && myconf+=( $(use_enable debug) ) - - # ICU usage is not configurable - export ac_cv_header_unicode_utypes_h="$(multilib_is_native_abi && use icu && echo yes || echo no)" - - if ! use minimal && multilib_is_native_abi; then - local CPPFLAGS=${CPPFLAGS} - - # re-enable serverside overlay chains per bug #296567 - # see ldap docs chaper 12.3.1 for details - myconf+=( --enable-ldap ) - - # backends - myconf+=( --enable-slapd ) - if use berkdb ; then - einfo "Using Berkeley DB for local backend" - myconf+=( --enable-bdb --enable-hdb ) - # We need to include the slotted db.h dir for FreeBSD - append-cppflags -I$(db_includedir) - else - ewarn - ewarn "Note: if you disable berkdb, you can only use remote-backends!" - ewarn - myconf+=( --disable-bdb --disable-hdb ) - fi - for backend in dnssrv ldap meta monitor null passwd relay shell sock; do - myconf+=( --enable-${backend}=mod ) - done - - myconf+=( $(use_enable perl perl mod) ) - - myconf+=( $(use_enable odbc sql mod) ) - if use odbc ; then - local odbc_lib="unixodbc" - if use iodbc ; then - odbc_lib="iodbc" - append-cppflags -I"${EPREFIX}"/usr/include/iodbc - fi - myconf+=( --with-odbc=${odbc_lib} ) - fi - - # slapd options - myconf+=( - $(use_enable crypt) - $(use_enable slp) - $(use_enable samba lmpasswd) - $(use_enable syslog) - ) - if use experimental ; then - myconf+=( - --enable-dynacl - --enable-aci=mod - ) - fi - for option in aci cleartext modules rewrite rlookups slapi; do - myconf+=( --enable-${option} ) - done - - # slapd overlay options - # Compile-in the syncprov, the others as module - myconf+=( --enable-syncprov=yes ) - use overlays && myconf+=( --enable-overlays=mod ) - - else - myconf+=( - --disable-slapd - --disable-bdb - --disable-hdb - --disable-overlays - --disable-syslog - ) - fi - - # basic functionality stuff - myconf+=( - $(use_enable ipv6) - $(multilib_native_use_with sasl cyrus-sasl) - $(multilib_native_use_enable sasl spasswd) - $(use_enable tcpd wrappers) - ) - - local ssl_lib="no" - if use ssl || ( ! use minimal && use samba ) ; then - ssl_lib="openssl" - use gnutls && ssl_lib="gnutls" - fi - - myconf+=( --with-tls=${ssl_lib} ) - - for basicflag in dynamic local proctitle shared static; do - myconf+=( --enable-${basicflag} ) - done - - tc-export AR CC CXX - ECONF_SOURCE=${S} \ - STRIP=/bin/true \ - econf \ - --libexecdir="${EPREFIX}"/usr/$(get_libdir)/openldap \ - "${myconf[@]}" - emake depend -} - -src_configure_cxx() { - # This needs the libraries built by the first build run. - # So we have to run it AFTER the main build, not just after the main - # configure. - local myconf_ldapcpp=( - --with-ldap-includes="${S}"/include - ) - - mkdir -p "${BUILD_DIR}"/contrib/ldapc++ || die - cd "${BUILD_DIR}/contrib/ldapc++" || die - - local LDFLAGS=${LDFLAGS} CPPFLAGS=${CPPFLAGS} - append-ldflags -L"${BUILD_DIR}"/libraries/liblber/.libs \ - -L"${BUILD_DIR}"/libraries/libldap/.libs - append-cppflags -I"${BUILD_DIR}"/include - ECONF_SOURCE=${S}/contrib/ldapc++ \ - econf "${myconf_ldapcpp[@]}" \ - CC="${CC}" \ - CXX="${CXX}" -} - -multilib_src_compile() { - tc-export AR CC CXX - emake CC="${CC}" AR="${AR}" SHELL="${EPREFIX}"/bin/bash - local lt="${BUILD_DIR}/libtool" - export echo="echo" - - if ! use minimal && multilib_is_native_abi ; then - if use cxx ; then - einfo "Building contrib library: ldapc++" - src_configure_cxx - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake \ - CC="${CC}" CXX="${CXX}" - fi - - if use smbkrb5passwd ; then - einfo "Building contrib-module: smbk5pwd" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - - emake \ - DEFS="-DDO_SAMBA -DDO_KRB5 -DDO_SHADOW" \ - KRB5_INC="$(krb5-config --cflags)" \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" - fi - - if use overlays ; then - einfo "Building contrib-module: samba4" - cd "${S}/contrib/slapd-modules/samba4" || die - - emake \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="/usr/$(get_libdir)/openldap" - fi - - if use kerberos ; then - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-kerberos" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - $(krb5-config --cflags) \ - -DHAVE_KRB5 \ - -o kerberos.lo \ - -c kerberos.c || die "compiling pw-kerberos failed" - einfo "Linking contrib-module: pw-kerberos" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-kerberos.la \ - kerberos.lo || die "linking pw-kerberos failed" - fi - # We could build pw-radius if GNURadius would install radlib.h - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-netscape" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -o netscape.lo \ - -c netscape.c || die "compiling pw-netscape failed" - einfo "Linking contrib-module: pw-netscape" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-netscape.la \ - netscape.lo || die "linking pw-netscape failed" - - build_contrib_module "addpartial" "addpartial-overlay.c" "addpartial-overlay" - build_contrib_module "allop" "allop.c" "overlay-allop" - build_contrib_module "allowed" "allowed.c" "allowed" - build_contrib_module "autogroup" "autogroup.c" "autogroup" - build_contrib_module "denyop" "denyop.c" "denyop-overlay" - build_contrib_module "dsaschema" "dsaschema.c" "dsaschema-plugin" - # lastmod may not play well with other overlays - build_contrib_module "lastmod" "lastmod.c" "lastmod" - build_contrib_module "nops" "nops.c" "nops-overlay" - build_contrib_module "trace" "trace.c" "trace" - # build slapi-plugins - cd "${S}/contrib/slapi-plugins/addrdnvalues" || die - einfo "Building contrib-module: addrdnvalues plugin" - "${CC}" -shared \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -fPIC \ - ${LDFLAGS} \ - -o libaddrdnvalues-plugin.so \ - addrdnvalues.c || die "Building libaddrdnvalues-plugin.so failed" - - fi -} - -multilib_src_test() { - if multilib_is_native_abi; then - cd tests || die - make tests || die "make tests failed" - fi -} - -multilib_src_install() { - local lt="${BUILD_DIR}/libtool" - emake DESTDIR="${D}" SHELL="${EPREFIX}"/bin/bash install - - if ! use minimal && multilib_is_native_abi; then - # openldap modules go here - # TODO: write some code to populate slapd.conf with moduleload statements - keepdir /usr/$(get_libdir)/openldap/openldap/ - - # initial data storage dir - keepdir /var/lib/openldap-data - use prefix || fowners ldap:ldap /var/lib/openldap-data - fperms 0700 /var/lib/openldap-data - - echo "OLDPF='${PF}'" > "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# do NOT delete this. it is used" >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# to track versions for upgrading." >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - - # use our config - rm "${ED}"etc/openldap/slapd.conf - insinto /etc/openldap - newins "${FILESDIR}"/${PN}-2.3.34-slapd-conf slapd.conf - configfile="${ED}"etc/openldap/slapd.conf - - # populate with built backends - ebegin "populate config with built backends" - for x in "${ED}"usr/$(get_libdir)/openldap/openldap/back_*.so; do - elog "Adding $(basename ${x})" - sed -e "/###INSERTDYNAMICMODULESHERE###$/a# moduleload\t$(basename ${x})" -i "${configfile}" - done - sed -e "s:###INSERTDYNAMICMODULESHERE###$:# modulepath\t${EPREFIX}/usr/$(get_libdir)/openldap/openldap:" -i "${configfile}" - use prefix || fowners root:ldap /etc/openldap/slapd.conf - fperms 0640 /etc/openldap/slapd.conf - cp "${configfile}" "${configfile}".default - eend - - # install our own init scripts and systemd unit files - newinitd "${FILESDIR}"/slapd-initd-2.4.28-r1 slapd - newconfd "${FILESDIR}"/slapd-confd-2.4.28-r1 slapd - systemd_dounit "${FILESDIR}"/slapd.service - systemd_install_serviced "${FILESDIR}"/slapd.service.conf - systemd_newtmpfilesd "${FILESDIR}"/slapd.tmpfilesd slapd.conf - - if [[ $(get_libdir) != lib ]]; then - sed -e "s,/usr/lib/,/usr/$(get_libdir)/," -i \ - "${ED}"/etc/init.d/slapd \ - "${ED}"/usr/lib/systemd/system/slapd.service || die - fi - # If built without SLP, we don't need to be before avahi - use slp \ - || sed -i \ - -e '/before/{s/avahi-daemon//g}' \ - "${ED}"etc/init.d/slapd - - if use cxx ; then - einfo "Install the ldapc++ library" - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake DESTDIR="${D}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - cd "${S}"/contrib/ldapc++ || die - newdoc README ldapc++-README - fi - - if use smbkrb5passwd ; then - einfo "Install the smbk5pwd module" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - newdoc README smbk5pwd-README - fi - - if use overlays ; then - einfo "Install the samba4 module" - cd "${S}/contrib/slapd-modules/samba4" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="/usr/$(get_libdir)/openldap" install - newdoc README samba4-README - fi - - einfo "Installing contrib modules" - cd "${S}/contrib/slapd-modules" || die - for l in */*.la; do - "${lt}" --mode=install cp ${l} \ - "${ED}"usr/$(get_libdir)/openldap/openldap || \ - die "installing ${l} failed" - done - - docinto contrib - newdoc addpartial/README addpartial-README - newdoc allop/README allop-README - doman allop/slapo-allop.5 - newdoc autogroup/README autogroup-README - newdoc denyop/denyop.c denyop-denyop.c - newdoc dsaschema/README dsaschema-README - doman lastmod/slapo-lastmod.5 - doman nops/slapo-nops.5 - newdoc passwd/README passwd-README - cd "${S}/contrib/slapi-plugins" || die - insinto /usr/$(get_libdir)/openldap/openldap - doins */*.so - docinto contrib - newdoc addrdnvalues/README addrdnvalues-README - - insinto /etc/openldap/schema - newins "${DISTDIR}"/${BIS_P} ${BIS_PN} - fi -} - -multilib_src_install_all() { - dodoc ANNOUNCEMENT CHANGES COPYRIGHT README "${FILESDIR}"/DB_CONFIG.fast.example - docinto rfc ; dodoc doc/rfc/*.txt -} - -pkg_preinst() { - # keep old libs if any - preserve_old_lib /usr/$(get_libdir)/{liblber,libldap_r,liblber}-2.3$(get_libname 0) -} - -pkg_postinst() { - if ! use minimal ; then - # You cannot build SSL certificates during src_install that will make - # binary packages containing your SSL key, which is both a security risk - # and a misconfiguration if multiple machines use the same key and cert. - if use ssl; then - install_cert /etc/openldap/ssl/ldap - use prefix || chown ldap:ldap "${EROOT}"etc/openldap/ssl/ldap.* - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "add 'TLS_REQCERT never' if you want to use them." - fi - - if use prefix; then - # Warn about prefix issues with slapd - eerror "slapd might NOT be usable on Prefix systems as it requires root privileges" - eerror "to start up, and requires that certain files directories be owned by" - eerror "ldap:ldap. As Prefix does not support changing ownership of files and" - eerror "directories, you will have to manually fix this yourself." - fi - - # These lines force the permissions of various content to be correct - use prefix || chown ldap:ldap "${EROOT}"var/run/openldap - chmod 0755 "${EROOT}"var/run/openldap - use prefix || chown root:ldap "${EROOT}"etc/openldap/slapd.conf{,.default} - chmod 0640 "${EROOT}"etc/openldap/slapd.conf{,.default} - use prefix || chown ldap:ldap "${EROOT}"var/lib/openldap-data - fi - - elog "Getting started using OpenLDAP? There is some documentation available:" - elog "Gentoo Guide to OpenLDAP Authentication" - elog "(https://www.gentoo.org/doc/en/ldap-howto.xml)" - elog "---" - elog "An example file for tuning BDB backends with openldap is" - elog "DB_CONFIG.fast.example in /usr/share/doc/${PF}/" - - preserve_old_lib_notify /usr/$(get_libdir)/{liblber,libldap,libldap_r}-2.3$(get_libname 0) -} diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.40-r2.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.40-r2.ebuild deleted file mode 100644 index fc830602ee..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.40-r2.ebuild +++ /dev/null @@ -1,812 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit db-use eutils flag-o-matic multilib multilib-minimal ssl-cert versionator toolchain-funcs autotools user systemd - -BIS_PN=rfc2307bis.schema -BIS_PV=20140524 -BIS_P="${BIS_PN}-${BIS_PV}" - -DESCRIPTION="LDAP suite of application and development tools" -HOMEPAGE="http://www.OpenLDAP.org/" - -# mirrors are mostly not working, using canonical URI -SRC_URI="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz - mirror://gentoo/${BIS_P}" - -LICENSE="OPENLDAP GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" - -IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal" -IUSE_BACKEND="+berkdb" -IUSE_OVERLAY="overlays perl" -IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux static-libs" -IUSE_CONTRIB="smbkrb5passwd kerberos" -IUSE_CONTRIB="${IUSE_CONTRIB} -cxx" -IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}" - -REQUIRED_USE="cxx? ( sasl )" - -# always list newer first -# Do not add any AGPL-3 BDB here! -# See bug 525110, comment 15. -BDB_SLOTS='5.3 5.1 4.8 4.7 4.6 4.5 4.4' -BDB_PKGS='' -for _slot in $BDB_SLOTS; do BDB_PKGS="${BDB_PKGS} sys-libs/db:${_slot}" ; done - -# openssl is needed to generate lanman-passwords required by samba -CDEPEND="icu? ( dev-libs/icu:= ) - ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) - gnutls? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] ) ) - sasl? ( dev-libs/cyrus-sasl:= ) - !minimal? ( - sys-devel/libtool - sys-libs/e2fsprogs-libs - >=dev-db/lmdb-0.9.14 - tcpd? ( sys-apps/tcp-wrappers ) - odbc? ( !iodbc? ( dev-db/unixODBC ) - iodbc? ( dev-db/libiodbc ) ) - slp? ( net-libs/openslp ) - perl? ( dev-lang/perl[-build(-)] ) - samba? ( dev-libs/openssl ) - berkdb? ( - ${l}" - eerror " 4. mv /var/lib/openldap-data/ /var/lib/openldap-data-backup/" - eerror " 5. emerge --update \=net-nds/${PF}" - eerror " 6. etc-update, and ensure that you apply the changes" - eerror " 7. slapadd -l ${l}" - eerror " 8. chown ldap:ldap /var/lib/openldap-data/*" - eerror " 9. /etc/init.d/slapd start" - eerror "10. check that your data is intact." - eerror "11. set up the new replication system." - eerror - if [ "${FORCE_UPGRADE}" != "1" ]; then - die "You need to upgrade your database first" - else - eerror "You have the magical FORCE_UPGRADE=1 in place." - eerror "Don't say you weren't warned about data loss." - fi -} - -pkg_setup() { - if ! use sasl && use cxx ; then - die "To build the ldapc++ library you must emerge openldap with sasl support" - fi - # Bug #322787 - if use minimal && ! has_version "net-nds/openldap" ; then - einfo "No datadir scan needed, openldap not installed" - elif use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then - einfo "Skipping scan for previous datadirs as requested by minimal useflag" - else - openldap_find_versiontags - fi - - enewgroup ldap 439 - enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap -} - -src_prepare() { - # ensure correct SLAPI path by default - sed -i -e 's,\(#define LDAPI_SOCK\).*,\1 "'"${EPREFIX}"'/var/run/openldap/slapd.sock",' \ - "${S}"/include/ldap_defaults.h - - epatch "${FILESDIR}"/${PN}-2.4.17-gcc44.patch - - epatch \ - "${FILESDIR}"/${PN}-2.2.14-perlthreadsfix.patch \ - "${FILESDIR}"/${PN}-2.4.15-ppolicy.patch - - # bug #116045 - still present in 2.4.28 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-smbk5pwd.patch - # bug #408077 - samba4 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-samba4.patch - - # bug #189817 - epatch "${FILESDIR}"/${PN}-2.4.11-libldap_r.patch - - # bug #233633 - epatch "${FILESDIR}"/${PN}-2.4.17-fix-lmpasswd-gnutls-symbols.patch - - # bug #281495 - epatch "${FILESDIR}"/${PN}-2.4.28-gnutls-gcrypt.patch - - # bug #294350 - epatch "${FILESDIR}"/${PN}-2.4.6-evolution-ntlm.patch - - # unbreak /bin/sh -> dash - epatch "${FILESDIR}"/${PN}-2.4.28-fix-dash.patch - - # bug #420959 - epatch "${FILESDIR}"/${PN}-2.4.31-gcc47.patch - - # bug #421463 - #epatch "${FILESDIR}"/${PN}-2.4.33-gnutls.patch # merged upstream - - # unbundle lmdb - epatch "${FILESDIR}"/${P}-mdb-unbundle.patch - rm -rf "${S}"/libraries/liblmdb - - cd "${S}"/build || die - einfo "Making sure upstream build strip does not do stripping too early" - sed -i.orig \ - -e '/^STRIP/s,-s,,g' \ - top.mk || die "Failed to block stripping" - - # wrong assumption that /bin/sh is /bin/bash - sed -i \ - -e 's|/bin/sh|/bin/bash|g' \ - "${S}"/tests/scripts/* || die "sed failed" - - cd "${S}" || die - - AT_NOEAUTOMAKE=yes eautoreconf -} - -build_contrib_module() { - # - cd "${S}/contrib/slapd-modules/$1" || die - einfo "Compiling contrib-module: $3" - # Make sure it's uppercase - local define_name="$(echo "SLAPD_OVER_${1}" | LC_ALL=C tr '[:lower:]' '[:upper:]')" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -D${define_name}=SLAPD_MOD_DYNAMIC \ - -I"${BUILD_DIR}"/include \ - -I../../../include -I../../../servers/slapd ${CFLAGS} \ - -o ${2%.c}.lo -c $2 || die "compiling $3 failed" - einfo "Linking contrib-module: $3" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o $3.la ${2%.c}.lo || die "linking $3 failed" -} - -src_configure() { - #Fix for glibc-2.8 and ucred. Bug 228457. - append-cppflags -D_GNU_SOURCE - - # Bug 408001 - use elibc_FreeBSD && append-cppflags -DMDB_DSYNC=O_SYNC -DMDB_FDATASYNC=fsync - - # connectionless ldap per bug #342439 - append-cppflags -DLDAP_CONNECTIONLESS - - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myconf=() - - use debug && myconf+=( $(use_enable debug) ) - - # ICU usage is not configurable - export ac_cv_header_unicode_utypes_h="$(multilib_is_native_abi && use icu && echo yes || echo no)" - - if ! use minimal && multilib_is_native_abi; then - local CPPFLAGS=${CPPFLAGS} - - # re-enable serverside overlay chains per bug #296567 - # see ldap docs chaper 12.3.1 for details - myconf+=( --enable-ldap ) - - # backends - myconf+=( --enable-slapd ) - if use berkdb ; then - einfo "Using Berkeley DB for local backend" - myconf+=( --enable-bdb --enable-hdb ) - DBINCLUDE=$(db_includedir $BDB_SLOTS) - einfo "Using $DBINCLUDE for sys-libs/db version" - # We need to include the slotted db.h dir for FreeBSD - append-cppflags -I${DBINCLUDE} - else - myconf+=( --disable-bdb --disable-hdb ) - fi - for backend in dnssrv ldap mdb meta monitor null passwd relay shell sock; do - myconf+=( --enable-${backend}=mod ) - done - - myconf+=( $(use_enable perl perl mod) ) - - myconf+=( $(use_enable odbc sql mod) ) - if use odbc ; then - local odbc_lib="unixodbc" - if use iodbc ; then - odbc_lib="iodbc" - append-cppflags -I"${EPREFIX}"/usr/include/iodbc - fi - myconf+=( --with-odbc=${odbc_lib} ) - fi - - # slapd options - myconf+=( - $(use_enable crypt) - $(use_enable slp) - $(use_enable samba lmpasswd) - $(use_enable syslog) - ) - if use experimental ; then - myconf+=( - --enable-dynacl - --enable-aci=mod - ) - fi - for option in aci cleartext modules rewrite rlookups slapi; do - myconf+=( --enable-${option} ) - done - - # slapd overlay options - # Compile-in the syncprov, the others as module - myconf+=( --enable-syncprov=yes ) - use overlays && myconf+=( --enable-overlays=mod ) - - else - myconf+=( - --disable-backends - --disable-slapd - --disable-bdb - --disable-hdb - --disable-mdb - --disable-overlays - --disable-syslog - ) - fi - - # basic functionality stuff - myconf+=( - $(use_enable ipv6) - $(multilib_native_use_with sasl cyrus-sasl) - $(multilib_native_use_enable sasl spasswd) - $(use_enable tcpd wrappers) - ) - - local ssl_lib="no" - if use ssl || ( ! use minimal && use samba ) ; then - ssl_lib="openssl" - use gnutls && ssl_lib="gnutls" - fi - - myconf+=( --with-tls=${ssl_lib} ) - - for basicflag in dynamic local proctitle shared; do - myconf+=( --enable-${basicflag} ) - done - - tc-export AR CC CXX - ECONF_SOURCE=${S} \ - STRIP=/bin/true \ - econf \ - --libexecdir="${EPREFIX}"/usr/$(get_libdir)/openldap \ - $(use_enable static-libs static) \ - "${myconf[@]}" - emake depend -} - -src_configure_cxx() { - # This needs the libraries built by the first build run. - # So we have to run it AFTER the main build, not just after the main - # configure. - local myconf_ldapcpp=( - --with-ldap-includes="${S}"/include - ) - - mkdir -p "${BUILD_DIR}"/contrib/ldapc++ || die - cd "${BUILD_DIR}/contrib/ldapc++" || die - - local LDFLAGS=${LDFLAGS} CPPFLAGS=${CPPFLAGS} - append-ldflags -L"${BUILD_DIR}"/libraries/liblber/.libs \ - -L"${BUILD_DIR}"/libraries/libldap/.libs - append-cppflags -I"${BUILD_DIR}"/include - ECONF_SOURCE=${S}/contrib/ldapc++ \ - econf "${myconf_ldapcpp[@]}" \ - CC="${CC}" \ - CXX="${CXX}" -} - -multilib_src_compile() { - tc-export AR CC CXX - emake CC="${CC}" AR="${AR}" SHELL="${EPREFIX}"/bin/bash - local lt="${BUILD_DIR}/libtool" - export echo="echo" - - if ! use minimal && multilib_is_native_abi ; then - if use cxx ; then - einfo "Building contrib library: ldapc++" - src_configure_cxx - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake \ - CC="${CC}" CXX="${CXX}" - fi - - if use smbkrb5passwd ; then - einfo "Building contrib-module: smbk5pwd" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - - MY_DEFS="-DDO_SHADOW" - if use samba ; then - MY_DEFS="${MY_DEFS} -DDO_SAMBA" - MY_KRB5_INC="" - fi - if use kerberos ; then - MY_DEFS="${MY_DEFS} -DDO_KRB5" - MY_KRB5_INC="$(krb5-config --cflags)" - fi - - emake \ - DEFS="${MY_DEFS}" \ - KRB5_INC="${MY_KRB5_INC}" \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" - fi - - if use overlays ; then - einfo "Building contrib-module: samba4" - cd "${S}/contrib/slapd-modules/samba4" || die - - emake \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="/usr/$(get_libdir)/openldap" - fi - - if use kerberos ; then - build_contrib_module "kinit" "kinit.c" "kinit" - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-kerberos" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - $(krb5-config --cflags) \ - -DHAVE_KRB5 \ - -o kerberos.lo \ - -c kerberos.c || die "compiling pw-kerberos failed" - einfo "Linking contrib-module: pw-kerberos" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-kerberos.la \ - kerberos.lo || die "linking pw-kerberos failed" - fi - # We could build pw-radius if GNURadius would install radlib.h - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-netscape" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -o netscape.lo \ - -c netscape.c || die "compiling pw-netscape failed" - einfo "Linking contrib-module: pw-netscape" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-netscape.la \ - netscape.lo || die "linking pw-netscape failed" - - #build_contrib_module "acl" "posixgroup.c" "posixGroup" # example code only - #build_contrib_module "acl" "gssacl.c" "gss" # example code only, also needs kerberos - build_contrib_module "addpartial" "addpartial-overlay.c" "addpartial-overlay" - build_contrib_module "allop" "allop.c" "overlay-allop" - build_contrib_module "allowed" "allowed.c" "allowed" - build_contrib_module "autogroup" "autogroup.c" "autogroup" - build_contrib_module "cloak" "cloak.c" "cloak" - # build_contrib_module "comp_match" "comp_match.c" "comp_match" # really complex, adds new external deps, questionable demand - build_contrib_module "denyop" "denyop.c" "denyop-overlay" - build_contrib_module "dsaschema" "dsaschema.c" "dsaschema-plugin" - build_contrib_module "dupent" "dupent.c" "dupent" - build_contrib_module "lastbind" "lastbind.c" "lastbind" - # lastmod may not play well with other overlays - build_contrib_module "lastmod" "lastmod.c" "lastmod" - build_contrib_module "noopsrch" "noopsrch.c" "noopsrch" - build_contrib_module "nops" "nops.c" "nops-overlay" - #build_contrib_module "nssov" "nssov.c" "nssov-overlay" RESO:LATER - build_contrib_module "trace" "trace.c" "trace" - # build slapi-plugins - cd "${S}/contrib/slapi-plugins/addrdnvalues" || die - einfo "Building contrib-module: addrdnvalues plugin" - "${CC}" -shared \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -fPIC \ - ${LDFLAGS} \ - -o libaddrdnvalues-plugin.so \ - addrdnvalues.c || die "Building libaddrdnvalues-plugin.so failed" - - fi -} - -multilib_src_test() { - if multilib_is_native_abi; then - cd tests || die - emake tests || die "make tests failed" - fi -} - -multilib_src_install() { - local lt="${BUILD_DIR}/libtool" - emake DESTDIR="${D}" SHELL="${EPREFIX}"/bin/bash install - use static-libs || prune_libtool_files --all - - if ! use minimal && multilib_is_native_abi; then - # openldap modules go here - # TODO: write some code to populate slapd.conf with moduleload statements - keepdir /usr/$(get_libdir)/openldap/openldap/ - - # initial data storage dir - keepdir /var/lib/openldap-data - use prefix || fowners ldap:ldap /var/lib/openldap-data - fperms 0700 /var/lib/openldap-data - - echo "OLDPF='${PF}'" > "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# do NOT delete this. it is used" >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# to track versions for upgrading." >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - - # use our config - rm "${ED}"etc/openldap/slapd.conf - insinto /etc/openldap - newins "${FILESDIR}"/${PN}-2.4.40-slapd-conf slapd.conf - configfile="${ED}"etc/openldap/slapd.conf - - # populate with built backends - ebegin "populate config with built backends" - for x in "${ED}"usr/$(get_libdir)/openldap/openldap/back_*.so; do - einfo "Adding $(basename ${x})" - sed -e "/###INSERTDYNAMICMODULESHERE###$/a# moduleload\t$(basename ${x})" -i "${configfile}" - done - sed -e "s:###INSERTDYNAMICMODULESHERE###$:# modulepath\t${EPREFIX}/usr/$(get_libdir)/openldap/openldap:" -i "${configfile}" - use prefix || fowners root:ldap /etc/openldap/slapd.conf - fperms 0640 /etc/openldap/slapd.conf - cp "${configfile}" "${configfile}".default - eend - - # install our own init scripts and systemd unit files - einfo "Install init scripts" - newinitd "${FILESDIR}"/slapd-initd-2.4.40-r1 slapd - newconfd "${FILESDIR}"/slapd-confd-2.4.28-r1 slapd - einfo "Install systemd service" - systemd_dounit "${FILESDIR}"/slapd.service - systemd_install_serviced "${FILESDIR}"/slapd.service.conf - systemd_newtmpfilesd "${FILESDIR}"/slapd.tmpfilesd slapd.conf - - if [[ $(get_libdir) != lib ]]; then - sed -e "s,/usr/lib/,/usr/$(get_libdir)/," -i \ - "${ED}"/etc/init.d/slapd \ - "${ED}"/usr/lib/systemd/system/slapd.service || die - fi - # If built without SLP, we don't need to be before avahi - use slp \ - || sed -i \ - -e '/before/{s/avahi-daemon//g}' \ - "${ED}"etc/init.d/slapd - - if use cxx ; then - einfo "Install the ldapc++ library" - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake DESTDIR="${D}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - cd "${S}"/contrib/ldapc++ || die - newdoc README ldapc++-README - fi - - if use smbkrb5passwd ; then - einfo "Install the smbk5pwd module" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - newdoc README smbk5pwd-README - fi - - if use overlays ; then - einfo "Install the samba4 module" - cd "${S}/contrib/slapd-modules/samba4" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="/usr/$(get_libdir)/openldap" install - newdoc README samba4-README - fi - - einfo "Installing contrib modules" - cd "${S}/contrib/slapd-modules" || die - for l in */*.la; do - "${lt}" --mode=install cp ${l} \ - "${ED}"usr/$(get_libdir)/openldap/openldap || \ - die "installing ${l} failed" - done - - dodoc "${FILESDIR}"/DB_CONFIG.fast.example - docinto contrib - doman */*.5 - #newdoc acl/README* - newdoc addpartial/README addpartial-README - newdoc allop/README allop-README - newdoc allowed/README allowed-README - newdoc autogroup/README autogroup-README - newdoc dsaschema/README dsaschema-README - newdoc passwd/README passwd-README - cd "${S}/contrib/slapi-plugins" || die - insinto /usr/$(get_libdir)/openldap/openldap - doins */*.so - docinto contrib - newdoc addrdnvalues/README addrdnvalues-README - - insinto /etc/openldap/schema - newins "${DISTDIR}"/${BIS_P} ${BIS_PN} - - docinto back-sock ; dodoc "${S}"/servers/slapd/back-sock/searchexample* - docinto back-shell ; dodoc "${S}"/servers/slapd/back-shell/searchexample* - docinto back-perl ; dodoc "${S}"/servers/slapd/back-perl/SampleLDAP.pm - - dosbin "${S}"/contrib/slapd-tools/statslog - newdoc "${S}"/contrib/slapd-tools/README README.statslog - fi -} - -multilib_src_install_all() { - dodoc ANNOUNCEMENT CHANGES COPYRIGHT README - docinto rfc ; dodoc doc/rfc/*.txt -} - -pkg_preinst() { - # keep old libs if any - preserve_old_lib /usr/$(get_libdir)/{liblber,libldap_r,liblber}-2.3$(get_libname 0) - # bug 440470, only display the getting started help there was no openldap before, - # or we are going to a non-minimal build - ! has_version net-nds/openldap || has_version 'net-nds/openldap[minimal]' - OPENLDAP_PRINT_MESSAGES=$((! $?)) -} - -pkg_postinst() { - if ! use minimal ; then - # You cannot build SSL certificates during src_install that will make - # binary packages containing your SSL key, which is both a security risk - # and a misconfiguration if multiple machines use the same key and cert. - if use ssl; then - install_cert /etc/openldap/ssl/ldap - use prefix || chown ldap:ldap "${EROOT}"etc/openldap/ssl/ldap.* - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "add 'TLS_REQCERT allow' if you want to use them." - fi - - if use prefix; then - # Warn about prefix issues with slapd - eerror "slapd might NOT be usable on Prefix systems as it requires root privileges" - eerror "to start up, and requires that certain files directories be owned by" - eerror "ldap:ldap. As Prefix does not support changing ownership of files and" - eerror "directories, you will have to manually fix this yourself." - fi - - # These lines force the permissions of various content to be correct - use prefix || chown ldap:ldap "${EROOT}"var/run/openldap - chmod 0755 "${EROOT}"var/run/openldap - use prefix || chown root:ldap "${EROOT}"etc/openldap/slapd.conf{,.default} - chmod 0640 "${EROOT}"etc/openldap/slapd.conf{,.default} - use prefix || chown ldap:ldap "${EROOT}"var/lib/openldap-data - fi - - if has_version 'net-nds/openldap[-minimal]' && ((${OPENLDAP_PRINT_MESSAGES})); then - elog "Getting started using OpenLDAP? There is some documentation available:" - elog "Gentoo Guide to OpenLDAP Authentication" - elog "(https://www.gentoo.org/doc/en/ldap-howto.xml)" - elog "---" - elog "An example file for tuning BDB backends with openldap is" - elog "DB_CONFIG.fast.example in /usr/share/doc/${PF}/" - fi - - preserve_old_lib_notify /usr/$(get_libdir)/{liblber,libldap,libldap_r}-2.3$(get_libname 0) -} diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.40-r4.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.40-r4.ebuild deleted file mode 100644 index 990d027299..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.40-r4.ebuild +++ /dev/null @@ -1,812 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit db-use eutils flag-o-matic multilib multilib-minimal ssl-cert versionator toolchain-funcs autotools user systemd - -BIS_PN=rfc2307bis.schema -BIS_PV=20140524 -BIS_P="${BIS_PN}-${BIS_PV}" - -DESCRIPTION="LDAP suite of application and development tools" -HOMEPAGE="http://www.OpenLDAP.org/" - -# mirrors are mostly not working, using canonical URI -SRC_URI="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz - mirror://gentoo/${BIS_P}" - -LICENSE="OPENLDAP GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" - -IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal" -IUSE_BACKEND="+berkdb" -IUSE_OVERLAY="overlays perl" -IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux static-libs" -IUSE_CONTRIB="smbkrb5passwd kerberos" -IUSE_CONTRIB="${IUSE_CONTRIB} -cxx" -IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}" - -REQUIRED_USE="cxx? ( sasl )" - -# always list newer first -# Do not add any AGPL-3 BDB here! -# See bug 525110, comment 15. -BDB_SLOTS='5.3 5.1 4.8 4.7 4.6 4.5 4.4' -BDB_PKGS='' -for _slot in $BDB_SLOTS; do BDB_PKGS="${BDB_PKGS} sys-libs/db:${_slot}" ; done - -# openssl is needed to generate lanman-passwords required by samba -CDEPEND="icu? ( dev-libs/icu:= ) - ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) - gnutls? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] ) ) - sasl? ( dev-libs/cyrus-sasl:= ) - !minimal? ( - sys-devel/libtool - sys-libs/e2fsprogs-libs - >=dev-db/lmdb-0.9.14 - tcpd? ( sys-apps/tcp-wrappers ) - odbc? ( !iodbc? ( dev-db/unixODBC ) - iodbc? ( dev-db/libiodbc ) ) - slp? ( net-libs/openslp ) - perl? ( dev-lang/perl[-build(-)] ) - samba? ( dev-libs/openssl ) - berkdb? ( - ${l}" - eerror " 4. mv /var/lib/openldap-data/ /var/lib/openldap-data-backup/" - eerror " 5. emerge --update \=net-nds/${PF}" - eerror " 6. etc-update, and ensure that you apply the changes" - eerror " 7. slapadd -l ${l}" - eerror " 8. chown ldap:ldap /var/lib/openldap-data/*" - eerror " 9. /etc/init.d/slapd start" - eerror "10. check that your data is intact." - eerror "11. set up the new replication system." - eerror - if [ "${FORCE_UPGRADE}" != "1" ]; then - die "You need to upgrade your database first" - else - eerror "You have the magical FORCE_UPGRADE=1 in place." - eerror "Don't say you weren't warned about data loss." - fi -} - -pkg_setup() { - if ! use sasl && use cxx ; then - die "To build the ldapc++ library you must emerge openldap with sasl support" - fi - # Bug #322787 - if use minimal && ! has_version "net-nds/openldap" ; then - einfo "No datadir scan needed, openldap not installed" - elif use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then - einfo "Skipping scan for previous datadirs as requested by minimal useflag" - else - openldap_find_versiontags - fi - - enewgroup ldap 439 - enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap -} - -src_prepare() { - # ensure correct SLAPI path by default - sed -i -e 's,\(#define LDAPI_SOCK\).*,\1 "'"${EPREFIX}"'/var/run/openldap/slapd.sock",' \ - "${S}"/include/ldap_defaults.h - - epatch "${FILESDIR}"/${PN}-2.4.17-gcc44.patch - - epatch \ - "${FILESDIR}"/${PN}-2.2.14-perlthreadsfix.patch \ - "${FILESDIR}"/${PN}-2.4.15-ppolicy.patch - - # bug #116045 - still present in 2.4.28 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-smbk5pwd.patch - # bug #408077 - samba4 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-samba4.patch - - # bug #189817 - epatch "${FILESDIR}"/${PN}-2.4.11-libldap_r.patch - - # bug #233633 - epatch "${FILESDIR}"/${PN}-2.4.17-fix-lmpasswd-gnutls-symbols.patch - - # bug #281495 - epatch "${FILESDIR}"/${PN}-2.4.28-gnutls-gcrypt.patch - - # bug #294350 - epatch "${FILESDIR}"/${PN}-2.4.6-evolution-ntlm.patch - - # unbreak /bin/sh -> dash - epatch "${FILESDIR}"/${PN}-2.4.28-fix-dash.patch - - # bug #420959 - epatch "${FILESDIR}"/${PN}-2.4.31-gcc47.patch - - # bug #421463 - #epatch "${FILESDIR}"/${PN}-2.4.33-gnutls.patch # merged upstream - - # unbundle lmdb - epatch "${FILESDIR}"/${P}-mdb-unbundle.patch - rm -rf "${S}"/libraries/liblmdb - - cd "${S}"/build || die - einfo "Making sure upstream build strip does not do stripping too early" - sed -i.orig \ - -e '/^STRIP/s,-s,,g' \ - top.mk || die "Failed to block stripping" - - # wrong assumption that /bin/sh is /bin/bash - sed -i \ - -e 's|/bin/sh|/bin/bash|g' \ - "${S}"/tests/scripts/* || die "sed failed" - - cd "${S}" || die - - AT_NOEAUTOMAKE=yes eautoreconf -} - -build_contrib_module() { - # - cd "${S}/contrib/slapd-modules/$1" || die - einfo "Compiling contrib-module: $3" - # Make sure it's uppercase - local define_name="$(echo "SLAPD_OVER_${1}" | LC_ALL=C tr '[:lower:]' '[:upper:]')" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -D${define_name}=SLAPD_MOD_DYNAMIC \ - -I"${BUILD_DIR}"/include \ - -I../../../include -I../../../servers/slapd ${CFLAGS} \ - -o ${2%.c}.lo -c $2 || die "compiling $3 failed" - einfo "Linking contrib-module: $3" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o $3.la ${2%.c}.lo || die "linking $3 failed" -} - -src_configure() { - #Fix for glibc-2.8 and ucred. Bug 228457. - append-cppflags -D_GNU_SOURCE - - # Bug 408001 - use elibc_FreeBSD && append-cppflags -DMDB_DSYNC=O_SYNC -DMDB_FDATASYNC=fsync - - # connectionless ldap per bug #342439 - append-cppflags -DLDAP_CONNECTIONLESS - - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myconf=() - - use debug && myconf+=( $(use_enable debug) ) - - # ICU usage is not configurable - export ac_cv_header_unicode_utypes_h="$(multilib_is_native_abi && use icu && echo yes || echo no)" - - if ! use minimal && multilib_is_native_abi; then - local CPPFLAGS=${CPPFLAGS} - - # re-enable serverside overlay chains per bug #296567 - # see ldap docs chaper 12.3.1 for details - myconf+=( --enable-ldap ) - - # backends - myconf+=( --enable-slapd ) - if use berkdb ; then - einfo "Using Berkeley DB for local backend" - myconf+=( --enable-bdb --enable-hdb ) - DBINCLUDE=$(db_includedir $BDB_SLOTS) - einfo "Using $DBINCLUDE for sys-libs/db version" - # We need to include the slotted db.h dir for FreeBSD - append-cppflags -I${DBINCLUDE} - else - myconf+=( --disable-bdb --disable-hdb ) - fi - for backend in dnssrv ldap mdb meta monitor null passwd relay shell sock; do - myconf+=( --enable-${backend}=mod ) - done - - myconf+=( $(use_enable perl perl mod) ) - - myconf+=( $(use_enable odbc sql mod) ) - if use odbc ; then - local odbc_lib="unixodbc" - if use iodbc ; then - odbc_lib="iodbc" - append-cppflags -I"${EPREFIX}"/usr/include/iodbc - fi - myconf+=( --with-odbc=${odbc_lib} ) - fi - - # slapd options - myconf+=( - $(use_enable crypt) - $(use_enable slp) - $(use_enable samba lmpasswd) - $(use_enable syslog) - ) - if use experimental ; then - myconf+=( - --enable-dynacl - --enable-aci=mod - ) - fi - for option in aci cleartext modules rewrite rlookups slapi; do - myconf+=( --enable-${option} ) - done - - # slapd overlay options - # Compile-in the syncprov, the others as module - myconf+=( --enable-syncprov=yes ) - use overlays && myconf+=( --enable-overlays=mod ) - - else - myconf+=( - --disable-backends - --disable-slapd - --disable-bdb - --disable-hdb - --disable-mdb - --disable-overlays - --disable-syslog - ) - fi - - # basic functionality stuff - myconf+=( - $(use_enable ipv6) - $(multilib_native_use_with sasl cyrus-sasl) - $(multilib_native_use_enable sasl spasswd) - $(use_enable tcpd wrappers) - ) - - local ssl_lib="no" - if use ssl || ( ! use minimal && use samba ) ; then - ssl_lib="openssl" - use gnutls && ssl_lib="gnutls" - fi - - myconf+=( --with-tls=${ssl_lib} ) - - for basicflag in dynamic local proctitle shared; do - myconf+=( --enable-${basicflag} ) - done - - tc-export AR CC CXX - ECONF_SOURCE=${S} \ - STRIP=/bin/true \ - econf \ - --libexecdir="${EPREFIX}"/usr/$(get_libdir)/openldap \ - $(use_enable static-libs static) \ - "${myconf[@]}" - emake depend -} - -src_configure_cxx() { - # This needs the libraries built by the first build run. - # So we have to run it AFTER the main build, not just after the main - # configure. - local myconf_ldapcpp=( - --with-ldap-includes="${S}"/include - ) - - mkdir -p "${BUILD_DIR}"/contrib/ldapc++ || die - cd "${BUILD_DIR}/contrib/ldapc++" || die - - local LDFLAGS=${LDFLAGS} CPPFLAGS=${CPPFLAGS} - append-ldflags -L"${BUILD_DIR}"/libraries/liblber/.libs \ - -L"${BUILD_DIR}"/libraries/libldap/.libs - append-cppflags -I"${BUILD_DIR}"/include - ECONF_SOURCE=${S}/contrib/ldapc++ \ - econf "${myconf_ldapcpp[@]}" \ - CC="${CC}" \ - CXX="${CXX}" -} - -multilib_src_compile() { - tc-export AR CC CXX - emake CC="${CC}" AR="${AR}" SHELL="${EPREFIX}"/bin/bash - local lt="${BUILD_DIR}/libtool" - export echo="echo" - - if ! use minimal && multilib_is_native_abi ; then - if use cxx ; then - einfo "Building contrib library: ldapc++" - src_configure_cxx - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake \ - CC="${CC}" CXX="${CXX}" - fi - - if use smbkrb5passwd ; then - einfo "Building contrib-module: smbk5pwd" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - - MY_DEFS="-DDO_SHADOW" - if use samba ; then - MY_DEFS="${MY_DEFS} -DDO_SAMBA" - MY_KRB5_INC="" - fi - if use kerberos ; then - MY_DEFS="${MY_DEFS} -DDO_KRB5" - MY_KRB5_INC="$(krb5-config --cflags)" - fi - - emake \ - DEFS="${MY_DEFS}" \ - KRB5_INC="${MY_KRB5_INC}" \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" - fi - - if use overlays ; then - einfo "Building contrib-module: samba4" - cd "${S}/contrib/slapd-modules/samba4" || die - - emake \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="/usr/$(get_libdir)/openldap" - fi - - if use kerberos ; then - build_contrib_module "kinit" "kinit.c" "kinit" - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-kerberos" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - $(krb5-config --cflags) \ - -DHAVE_KRB5 \ - -o kerberos.lo \ - -c kerberos.c || die "compiling pw-kerberos failed" - einfo "Linking contrib-module: pw-kerberos" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-kerberos.la \ - kerberos.lo || die "linking pw-kerberos failed" - fi - # We could build pw-radius if GNURadius would install radlib.h - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-netscape" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -o netscape.lo \ - -c netscape.c || die "compiling pw-netscape failed" - einfo "Linking contrib-module: pw-netscape" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-netscape.la \ - netscape.lo || die "linking pw-netscape failed" - - #build_contrib_module "acl" "posixgroup.c" "posixGroup" # example code only - #build_contrib_module "acl" "gssacl.c" "gss" # example code only, also needs kerberos - build_contrib_module "addpartial" "addpartial-overlay.c" "addpartial-overlay" - build_contrib_module "allop" "allop.c" "overlay-allop" - build_contrib_module "allowed" "allowed.c" "allowed" - build_contrib_module "autogroup" "autogroup.c" "autogroup" - build_contrib_module "cloak" "cloak.c" "cloak" - # build_contrib_module "comp_match" "comp_match.c" "comp_match" # really complex, adds new external deps, questionable demand - build_contrib_module "denyop" "denyop.c" "denyop-overlay" - build_contrib_module "dsaschema" "dsaschema.c" "dsaschema-plugin" - build_contrib_module "dupent" "dupent.c" "dupent" - build_contrib_module "lastbind" "lastbind.c" "lastbind" - # lastmod may not play well with other overlays - build_contrib_module "lastmod" "lastmod.c" "lastmod" - build_contrib_module "noopsrch" "noopsrch.c" "noopsrch" - build_contrib_module "nops" "nops.c" "nops-overlay" - #build_contrib_module "nssov" "nssov.c" "nssov-overlay" RESO:LATER - build_contrib_module "trace" "trace.c" "trace" - # build slapi-plugins - cd "${S}/contrib/slapi-plugins/addrdnvalues" || die - einfo "Building contrib-module: addrdnvalues plugin" - "${CC}" -shared \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -fPIC \ - ${LDFLAGS} \ - -o libaddrdnvalues-plugin.so \ - addrdnvalues.c || die "Building libaddrdnvalues-plugin.so failed" - - fi -} - -multilib_src_test() { - if multilib_is_native_abi; then - cd tests || die - emake tests || die "make tests failed" - fi -} - -multilib_src_install() { - local lt="${BUILD_DIR}/libtool" - emake DESTDIR="${D}" SHELL="${EPREFIX}"/bin/bash install - use static-libs || prune_libtool_files --all - - if ! use minimal && multilib_is_native_abi; then - # openldap modules go here - # TODO: write some code to populate slapd.conf with moduleload statements - keepdir /usr/$(get_libdir)/openldap/openldap/ - - # initial data storage dir - keepdir /var/lib/openldap-data - use prefix || fowners ldap:ldap /var/lib/openldap-data - fperms 0700 /var/lib/openldap-data - - echo "OLDPF='${PF}'" > "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# do NOT delete this. it is used" >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# to track versions for upgrading." >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - - # use our config - rm "${ED}"etc/openldap/slapd.conf - insinto /etc/openldap - newins "${FILESDIR}"/${PN}-2.4.40-slapd-conf slapd.conf - configfile="${ED}"etc/openldap/slapd.conf - - # populate with built backends - ebegin "populate config with built backends" - for x in "${ED}"usr/$(get_libdir)/openldap/openldap/back_*.so; do - einfo "Adding $(basename ${x})" - sed -e "/###INSERTDYNAMICMODULESHERE###$/a# moduleload\t$(basename ${x})" -i "${configfile}" - done - sed -e "s:###INSERTDYNAMICMODULESHERE###$:# modulepath\t${EPREFIX}/usr/$(get_libdir)/openldap/openldap:" -i "${configfile}" - use prefix || fowners root:ldap /etc/openldap/slapd.conf - fperms 0640 /etc/openldap/slapd.conf - cp "${configfile}" "${configfile}".default - eend - - # install our own init scripts and systemd unit files - einfo "Install init scripts" - newinitd "${FILESDIR}"/slapd-initd-2.4.40-r2 slapd - newconfd "${FILESDIR}"/slapd-confd-2.4.28-r1 slapd - einfo "Install systemd service" - systemd_dounit "${FILESDIR}"/slapd.service - systemd_install_serviced "${FILESDIR}"/slapd.service.conf - systemd_newtmpfilesd "${FILESDIR}"/slapd.tmpfilesd slapd.conf - - if [[ $(get_libdir) != lib ]]; then - sed -e "s,/usr/lib/,/usr/$(get_libdir)/," -i \ - "${ED}"/etc/init.d/slapd \ - "${ED}"/usr/lib/systemd/system/slapd.service || die - fi - # If built without SLP, we don't need to be before avahi - use slp \ - || sed -i \ - -e '/before/{s/avahi-daemon//g}' \ - "${ED}"etc/init.d/slapd - - if use cxx ; then - einfo "Install the ldapc++ library" - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake DESTDIR="${D}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - cd "${S}"/contrib/ldapc++ || die - newdoc README ldapc++-README - fi - - if use smbkrb5passwd ; then - einfo "Install the smbk5pwd module" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - newdoc README smbk5pwd-README - fi - - if use overlays ; then - einfo "Install the samba4 module" - cd "${S}/contrib/slapd-modules/samba4" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="/usr/$(get_libdir)/openldap" install - newdoc README samba4-README - fi - - einfo "Installing contrib modules" - cd "${S}/contrib/slapd-modules" || die - for l in */*.la; do - "${lt}" --mode=install cp ${l} \ - "${ED}"usr/$(get_libdir)/openldap/openldap || \ - die "installing ${l} failed" - done - - dodoc "${FILESDIR}"/DB_CONFIG.fast.example - docinto contrib - doman */*.5 - #newdoc acl/README* - newdoc addpartial/README addpartial-README - newdoc allop/README allop-README - newdoc allowed/README allowed-README - newdoc autogroup/README autogroup-README - newdoc dsaschema/README dsaschema-README - newdoc passwd/README passwd-README - cd "${S}/contrib/slapi-plugins" || die - insinto /usr/$(get_libdir)/openldap/openldap - doins */*.so - docinto contrib - newdoc addrdnvalues/README addrdnvalues-README - - insinto /etc/openldap/schema - newins "${DISTDIR}"/${BIS_P} ${BIS_PN} - - docinto back-sock ; dodoc "${S}"/servers/slapd/back-sock/searchexample* - docinto back-shell ; dodoc "${S}"/servers/slapd/back-shell/searchexample* - docinto back-perl ; dodoc "${S}"/servers/slapd/back-perl/SampleLDAP.pm - - dosbin "${S}"/contrib/slapd-tools/statslog - newdoc "${S}"/contrib/slapd-tools/README README.statslog - fi -} - -multilib_src_install_all() { - dodoc ANNOUNCEMENT CHANGES COPYRIGHT README - docinto rfc ; dodoc doc/rfc/*.txt -} - -pkg_preinst() { - # keep old libs if any - preserve_old_lib /usr/$(get_libdir)/{liblber,libldap_r,liblber}-2.3$(get_libname 0) - # bug 440470, only display the getting started help there was no openldap before, - # or we are going to a non-minimal build - ! has_version net-nds/openldap || has_version 'net-nds/openldap[minimal]' - OPENLDAP_PRINT_MESSAGES=$((! $?)) -} - -pkg_postinst() { - if ! use minimal ; then - # You cannot build SSL certificates during src_install that will make - # binary packages containing your SSL key, which is both a security risk - # and a misconfiguration if multiple machines use the same key and cert. - if use ssl; then - install_cert /etc/openldap/ssl/ldap - use prefix || chown ldap:ldap "${EROOT}"etc/openldap/ssl/ldap.* - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "add 'TLS_REQCERT allow' if you want to use them." - fi - - if use prefix; then - # Warn about prefix issues with slapd - eerror "slapd might NOT be usable on Prefix systems as it requires root privileges" - eerror "to start up, and requires that certain files directories be owned by" - eerror "ldap:ldap. As Prefix does not support changing ownership of files and" - eerror "directories, you will have to manually fix this yourself." - fi - - # These lines force the permissions of various content to be correct - use prefix || chown ldap:ldap "${EROOT}"var/run/openldap - chmod 0755 "${EROOT}"var/run/openldap - use prefix || chown root:ldap "${EROOT}"etc/openldap/slapd.conf{,.default} - chmod 0640 "${EROOT}"etc/openldap/slapd.conf{,.default} - use prefix || chown ldap:ldap "${EROOT}"var/lib/openldap-data - fi - - if has_version 'net-nds/openldap[-minimal]' && ((${OPENLDAP_PRINT_MESSAGES})); then - elog "Getting started using OpenLDAP? There is some documentation available:" - elog "Gentoo Guide to OpenLDAP Authentication" - elog "(https://www.gentoo.org/doc/en/ldap-howto.xml)" - elog "---" - elog "An example file for tuning BDB backends with openldap is" - elog "DB_CONFIG.fast.example in /usr/share/doc/${PF}/" - fi - - preserve_old_lib_notify /usr/$(get_libdir)/{liblber,libldap,libldap_r}-2.3$(get_libname 0) -} diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.40.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.40.ebuild deleted file mode 100644 index 758db487fd..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.40.ebuild +++ /dev/null @@ -1,813 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit db-use eutils flag-o-matic multilib multilib-minimal ssl-cert versionator toolchain-funcs autotools user systemd - -BIS_PN=rfc2307bis.schema -BIS_PV=20140524 -BIS_P="${BIS_PN}-${BIS_PV}" - -DESCRIPTION="LDAP suite of application and development tools" -HOMEPAGE="http://www.OpenLDAP.org/" - -# mirrors are mostly not working, using canonical URI -SRC_URI="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz - mirror://gentoo/${BIS_P}" - -LICENSE="OPENLDAP GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" - -IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal" -IUSE_BACKEND="+berkdb" -IUSE_OVERLAY="overlays perl" -IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux static-libs" -IUSE_CONTRIB="smbkrb5passwd kerberos" -IUSE_CONTRIB="${IUSE_CONTRIB} -cxx" -IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}" - -REQUIRED_USE="cxx? ( sasl )" - -# openssl is needed to generate lanman-passwords required by samba -CDEPEND="icu? ( dev-libs/icu:= ) - ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) - gnutls? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] ) ) - sasl? ( dev-libs/cyrus-sasl:= ) - !minimal? ( - sys-devel/libtool - sys-libs/e2fsprogs-libs - tcpd? ( sys-apps/tcp-wrappers ) - odbc? ( !iodbc? ( dev-db/unixODBC ) - iodbc? ( dev-db/libiodbc ) ) - slp? ( net-libs/openslp ) - perl? ( dev-lang/perl[-build(-)] ) - samba? ( dev-libs/openssl ) - berkdb? ( sys-libs/db ) - smbkrb5passwd? ( - dev-libs/openssl - kerberos? ( app-crypt/heimdal ) - ) - kerberos? ( virtual/krb5 ) - cxx? ( dev-libs/cyrus-sasl:= ) - ) - abi_x86_32? ( - !<=app-emulation/emul-linux-x86-baselibs-20140508-r3 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] - )" -DEPEND="${CDEPEND} - sys-apps/groff" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-ldap ) -" -# for tracking versions -OPENLDAP_VERSIONTAG=".version-tag" -OPENLDAP_DEFAULTDIR_VERSIONTAG="/var/lib/openldap-data" - -MULTILIB_WRAPPED_HEADERS=( - # USE=cxx - /usr/include/LDAPAsynConnection.h - /usr/include/LDAPAttrType.h - /usr/include/LDAPAttribute.h - /usr/include/LDAPAttributeList.h - /usr/include/LDAPConnection.h - /usr/include/LDAPConstraints.h - /usr/include/LDAPControl.h - /usr/include/LDAPControlSet.h - /usr/include/LDAPEntry.h - /usr/include/LDAPEntryList.h - /usr/include/LDAPException.h - /usr/include/LDAPExtResult.h - /usr/include/LDAPMessage.h - /usr/include/LDAPMessageQueue.h - /usr/include/LDAPModList.h - /usr/include/LDAPModification.h - /usr/include/LDAPObjClass.h - /usr/include/LDAPRebind.h - /usr/include/LDAPRebindAuth.h - /usr/include/LDAPReferenceList.h - /usr/include/LDAPResult.h - /usr/include/LDAPSaslBindResult.h - /usr/include/LDAPSchema.h - /usr/include/LDAPSearchReference.h - /usr/include/LDAPSearchResult.h - /usr/include/LDAPSearchResults.h - /usr/include/LDAPUrl.h - /usr/include/LDAPUrlList.h - /usr/include/LdifReader.h - /usr/include/LdifWriter.h - /usr/include/SaslInteraction.h - /usr/include/SaslInteractionHandler.h - /usr/include/StringList.h - /usr/include/TlsOptions.h - - # USE=-minimal - /usr/include/lmdb.h -) - -openldap_filecount() { - local dir="$1" - find "${dir}" -type f ! -name '.*' ! -name 'DB_CONFIG*' | wc -l -} - -openldap_find_versiontags() { - # scan for all datadirs - openldap_datadirs="" - if [ -f "${EROOT}"/etc/openldap/slapd.conf ]; then - openldap_datadirs="$(awk '{if($1 == "directory") print $2 }' ${EROOT}/etc/openldap/slapd.conf)" - fi - openldap_datadirs="${openldap_datadirs} ${OPENLDAP_DEFAULTDIR_VERSIONTAG}" - - einfo - einfo "Scanning datadir(s) from slapd.conf and" - einfo "the default installdir for Versiontags" - einfo "(${OPENLDAP_DEFAULTDIR_VERSIONTAG} may appear twice)" - einfo - - # scan datadirs if we have a version tag - openldap_found_tag=0 - have_files=0 - for each in ${openldap_datadirs}; do - CURRENT_TAGDIR=${ROOT}`echo ${each} | sed "s:\/::"` - CURRENT_TAG=${CURRENT_TAGDIR}/${OPENLDAP_VERSIONTAG} - if [ -d ${CURRENT_TAGDIR} ] && [ ${openldap_found_tag} == 0 ] ; then - einfo "- Checking ${each}..." - if [ -r ${CURRENT_TAG} ] ; then - # yey, we have one :) - einfo " Found Versiontag in ${each}" - source ${CURRENT_TAG} - if [ "${OLDPF}" == "" ] ; then - eerror "Invalid Versiontag found in ${CURRENT_TAGDIR}" - eerror "Please delete it" - eerror - die "Please kill the invalid versiontag in ${CURRENT_TAGDIR}" - fi - - OLD_MAJOR=`get_version_component_range 2-3 ${OLDPF}` - - [ $(openldap_filecount ${CURRENT_TAGDIR}) -gt 0 ] && have_files=1 - - # are we on the same branch? - if [ "${OLD_MAJOR}" != "${PV:0:3}" ] ; then - ewarn " Versiontag doesn't match current major release!" - if [[ "${have_files}" == "1" ]] ; then - eerror " Versiontag says other major and you (probably) have datafiles!" - echo - openldap_upgrade_howto - else - einfo " No real problem, seems there's no database." - fi - else - einfo " Versiontag is fine here :)" - fi - else - einfo " Non-tagged dir ${each}" - [ $(openldap_filecount ${each}) -gt 0 ] && have_files=1 - if [[ "${have_files}" == "1" ]] ; then - einfo " EEK! Non-empty non-tagged datadir, counting `ls -a ${each} | wc -l` files" - echo - - eerror - eerror "Your OpenLDAP Installation has a non tagged datadir that" - eerror "possibly contains a database at ${CURRENT_TAGDIR}" - eerror - eerror "Please export data if any entered and empty or remove" - eerror "the directory, installation has been stopped so you" - eerror "can take required action" - eerror - eerror "For a HOWTO on exporting the data, see instructions in the ebuild" - eerror - openldap_upgrade_howto - die "Please move the datadir ${CURRENT_TAGDIR} away" - fi - fi - einfo - fi - done - [ "${have_files}" == "1" ] && einfo "DB files present" || einfo "No DB files present" - - # Now we must check for the major version of sys-libs/db linked against. - SLAPD_PATH=${EROOT}/usr/$(get_libdir)/openldap/slapd - if [ "${have_files}" == "1" -a -f "${SLAPD_PATH}" ]; then - OLDVER="$(/usr/bin/ldd ${SLAPD_PATH} \ - | awk '/libdb-/{gsub("^libdb-","",$1);gsub(".so$","",$1);print $1}')" - NEWVER="$(use berkdb && db_findver sys-libs/db)" - local fail=0 - if [ -z "${OLDVER}" -a -z "${NEWVER}" ]; then - : - # Nothing wrong here. - elif [ -z "${OLDVER}" -a -n "${NEWVER}" ]; then - eerror " Your existing version of OpenLDAP was not built against" - eerror " any version of sys-libs/db, but the new one will build" - eerror " against ${NEWVER} and your database may be inaccessible." - echo - fail=1 - elif [ -n "${OLDVER}" -a -z "${NEWVER}" ]; then - eerror " Your existing version of OpenLDAP was built against" - eerror " sys-libs/db:${OLDVER}, but the new one will not be" - eerror " built against any version and your database may be" - eerror " inaccessible." - echo - fail=1 - elif [ "${OLDVER}" != "${NEWVER}" ]; then - eerror " Your existing version of OpenLDAP was built against" - eerror " sys-libs/db:${OLDVER}, but the new one will build against" - eerror " ${NEWVER} and your database would be inaccessible." - echo - fail=1 - fi - [ "${fail}" == "1" ] && openldap_upgrade_howto - fi - - echo - einfo - einfo "All datadirs are fine, proceeding with merge now..." - einfo -} - -openldap_upgrade_howto() { - eerror - eerror "A (possible old) installation of OpenLDAP was detected," - eerror "installation will not proceed for now." - eerror - eerror "As major version upgrades can corrupt your database," - eerror "you need to dump your database and re-create it afterwards." - eerror - eerror "Additionally, rebuilding against different major versions of the" - eerror "sys-libs/db libraries will cause your database to be inaccessible." - eerror "" - d="$(date -u +%s)" - l="/root/ldapdump.${d}" - i="${l}.raw" - eerror " 1. /etc/init.d/slurpd stop ; /etc/init.d/slapd stop" - eerror " 2. slapcat -l ${i}" - eerror " 3. egrep -v '^(entry|context)CSN:' <${i} >${l}" - eerror " 4. mv /var/lib/openldap-data/ /var/lib/openldap-data-backup/" - eerror " 5. emerge --update \=net-nds/${PF}" - eerror " 6. etc-update, and ensure that you apply the changes" - eerror " 7. slapadd -l ${l}" - eerror " 8. chown ldap:ldap /var/lib/openldap-data/*" - eerror " 9. /etc/init.d/slapd start" - eerror "10. check that your data is intact." - eerror "11. set up the new replication system." - eerror - if [ "${FORCE_UPGRADE}" != "1" ]; then - die "You need to upgrade your database first" - else - eerror "You have the magical FORCE_UPGRADE=1 in place." - eerror "Don't say you weren't warned about data loss." - fi -} - -pkg_setup() { - if ! use sasl && use cxx ; then - die "To build the ldapc++ library you must emerge openldap with sasl support" - fi - # Bug #322787 - if use minimal && ! has_version "net-nds/openldap" ; then - einfo "No datadir scan needed, openldap not installed" - elif use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then - einfo "Skipping scan for previous datadirs as requested by minimal useflag" - else - openldap_find_versiontags - fi - - enewgroup ldap 439 - enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap -} - -src_prepare() { - # ensure correct SLAPI path by default - sed -i -e 's,\(#define LDAPI_SOCK\).*,\1 "'"${EPREFIX}"'/var/run/openldap/slapd.sock",' \ - "${S}"/include/ldap_defaults.h - - epatch "${FILESDIR}"/${PN}-2.4.17-gcc44.patch - - epatch \ - "${FILESDIR}"/${PN}-2.2.14-perlthreadsfix.patch \ - "${FILESDIR}"/${PN}-2.4.15-ppolicy.patch - - # bug #116045 - still present in 2.4.28 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-smbk5pwd.patch - # bug #408077 - samba4 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-samba4.patch - - # bug #189817 - epatch "${FILESDIR}"/${PN}-2.4.11-libldap_r.patch - - # bug #233633 - epatch "${FILESDIR}"/${PN}-2.4.17-fix-lmpasswd-gnutls-symbols.patch - - # bug #281495 - epatch "${FILESDIR}"/${PN}-2.4.28-gnutls-gcrypt.patch - - # bug #294350 - epatch "${FILESDIR}"/${PN}-2.4.6-evolution-ntlm.patch - - # unbreak /bin/sh -> dash - epatch "${FILESDIR}"/${PN}-2.4.28-fix-dash.patch - - # bug #420959 - epatch "${FILESDIR}"/${PN}-2.4.31-gcc47.patch - - # bug #421463 - #epatch "${FILESDIR}"/${PN}-2.4.33-gnutls.patch # merged upstream - - sed -i.orig \ - -e '/IDOCS.*DESTDIR/s,/man/man1,/share/man/man1,g' \ - -e '/ILIBS.*DESTDIR/s,/lib,/$(LIBDIR),g' \ - "${S}"/libraries/liblmdb/Makefile \ - || die "Failed to fix LMDB manpage install location" - - cd "${S}"/build || die - einfo "Making sure upstream build strip does not do stripping too early" - sed -i.orig \ - -e '/^STRIP/s,-s,,g' \ - top.mk || die "Failed to block stripping" - - # wrong assumption that /bin/sh is /bin/bash - sed -i \ - -e 's|/bin/sh|/bin/bash|g' \ - "${S}"/tests/scripts/* || die "sed failed" - - cd "${S}" || die - AT_NOEAUTOMAKE=yes eautoreconf -} - -build_contrib_module() { - # - cd "${S}/contrib/slapd-modules/$1" || die - einfo "Compiling contrib-module: $3" - # Make sure it's uppercase - local define_name="$(echo "SLAPD_OVER_${1}" | LC_ALL=C tr '[:lower:]' '[:upper:]')" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -D${define_name}=SLAPD_MOD_DYNAMIC \ - -I"${BUILD_DIR}"/include \ - -I../../../include -I../../../servers/slapd ${CFLAGS} \ - -o ${2%.c}.lo -c $2 || die "compiling $3 failed" - einfo "Linking contrib-module: $3" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o $3.la ${2%.c}.lo || die "linking $3 failed" -} - -src_configure() { - #Fix for glibc-2.8 and ucred. Bug 228457. - append-cppflags -D_GNU_SOURCE - - # Bug 408001 - use elibc_FreeBSD && append-cppflags -DMDB_DSYNC=O_SYNC -DMDB_FDATASYNC=fsync - - # connectionless ldap per bug #342439 - append-cppflags -DLDAP_CONNECTIONLESS - - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myconf=() - - use debug && myconf+=( $(use_enable debug) ) - - # ICU usage is not configurable - export ac_cv_header_unicode_utypes_h="$(multilib_is_native_abi && use icu && echo yes || echo no)" - - if ! use minimal && multilib_is_native_abi; then - local CPPFLAGS=${CPPFLAGS} - - # re-enable serverside overlay chains per bug #296567 - # see ldap docs chaper 12.3.1 for details - myconf+=( --enable-ldap ) - - # backends - myconf+=( --enable-slapd ) - if use berkdb ; then - einfo "Using Berkeley DB for local backend" - myconf+=( --enable-bdb --enable-hdb ) - # We need to include the slotted db.h dir for FreeBSD - append-cppflags -I$(db_includedir) - else - ewarn - ewarn "Note: if you disable berkdb, you can only use remote-backends!" - ewarn - myconf+=( --disable-bdb --disable-hdb ) - fi - for backend in dnssrv ldap mdb meta monitor null passwd relay shell sock; do - myconf+=( --enable-${backend}=mod ) - done - - myconf+=( $(use_enable perl perl mod) ) - - myconf+=( $(use_enable odbc sql mod) ) - if use odbc ; then - local odbc_lib="unixodbc" - if use iodbc ; then - odbc_lib="iodbc" - append-cppflags -I"${EPREFIX}"/usr/include/iodbc - fi - myconf+=( --with-odbc=${odbc_lib} ) - fi - - # slapd options - myconf+=( - $(use_enable crypt) - $(use_enable slp) - $(use_enable samba lmpasswd) - $(use_enable syslog) - ) - if use experimental ; then - myconf+=( - --enable-dynacl - --enable-aci=mod - ) - fi - for option in aci cleartext modules rewrite rlookups slapi; do - myconf+=( --enable-${option} ) - done - - # slapd overlay options - # Compile-in the syncprov, the others as module - myconf+=( --enable-syncprov=yes ) - use overlays && myconf+=( --enable-overlays=mod ) - - else - myconf+=( - --disable-backends - --disable-slapd - --disable-bdb - --disable-hdb - --disable-mdb - --disable-overlays - --disable-syslog - ) - fi - - # basic functionality stuff - myconf+=( - $(use_enable ipv6) - $(multilib_native_use_with sasl cyrus-sasl) - $(multilib_native_use_enable sasl spasswd) - $(use_enable tcpd wrappers) - ) - - local ssl_lib="no" - if use ssl || ( ! use minimal && use samba ) ; then - ssl_lib="openssl" - use gnutls && ssl_lib="gnutls" - fi - - myconf+=( --with-tls=${ssl_lib} ) - - for basicflag in dynamic local proctitle shared; do - myconf+=( --enable-${basicflag} ) - done - - tc-export AR CC CXX - ECONF_SOURCE=${S} \ - STRIP=/bin/true \ - econf \ - --libexecdir="${EPREFIX}"/usr/$(get_libdir)/openldap \ - $(use_enable static-libs static) \ - "${myconf[@]}" - emake depend -} - -src_configure_cxx() { - # This needs the libraries built by the first build run. - # So we have to run it AFTER the main build, not just after the main - # configure. - local myconf_ldapcpp=( - --with-ldap-includes="${S}"/include - ) - - mkdir -p "${BUILD_DIR}"/contrib/ldapc++ || die - cd "${BUILD_DIR}/contrib/ldapc++" || die - - local LDFLAGS=${LDFLAGS} CPPFLAGS=${CPPFLAGS} - append-ldflags -L"${BUILD_DIR}"/libraries/liblber/.libs \ - -L"${BUILD_DIR}"/libraries/libldap/.libs - append-cppflags -I"${BUILD_DIR}"/include - ECONF_SOURCE=${S}/contrib/ldapc++ \ - econf "${myconf_ldapcpp[@]}" \ - CC="${CC}" \ - CXX="${CXX}" -} - -multilib_src_compile() { - tc-export AR CC CXX - emake CC="${CC}" AR="${AR}" SHELL="${EPREFIX}"/bin/bash - local lt="${BUILD_DIR}/libtool" - export echo="echo" - - if ! use minimal && multilib_is_native_abi ; then - if use cxx ; then - einfo "Building contrib library: ldapc++" - src_configure_cxx - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake \ - CC="${CC}" CXX="${CXX}" - fi - - # LMDB tools - cp -ral "${S}"/libraries/liblmdb "${BUILD_DIR}"/libraries/liblmdb || die - cd "${BUILD_DIR}"/libraries/liblmdb || die - emake CC="${CC}" CXX="${CXX}" OPT="${CFLAGS}" prefix="${EPREFIX}/usr" DESTDIR="${D}" SHELL="${EPREFIX}"/bin/bash LIBDIR="$(get_libdir)" - - if use smbkrb5passwd ; then - einfo "Building contrib-module: smbk5pwd" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - - MY_DEFS="-DDO_SHADOW" - if use samba ; then - MY_DEFS="${MY_DEFS} -DDO_SAMBA" - MY_KRB5_INC="" - fi - if use kerberos ; then - MY_DEFS="${MY_DEFS} -DDO_KRB5" - MY_KRB5_INC="$(krb5-config --cflags)" - fi - - emake \ - DEFS="${MY_DEFS}" \ - KRB5_INC="${MY_KRB5_INC}" \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" - fi - - if use overlays ; then - einfo "Building contrib-module: samba4" - cd "${S}/contrib/slapd-modules/samba4" || die - - emake \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="/usr/$(get_libdir)/openldap" - fi - - if use kerberos ; then - build_contrib_module "kinit" "kinit.c" "kinit" - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-kerberos" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - $(krb5-config --cflags) \ - -DHAVE_KRB5 \ - -o kerberos.lo \ - -c kerberos.c || die "compiling pw-kerberos failed" - einfo "Linking contrib-module: pw-kerberos" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-kerberos.la \ - kerberos.lo || die "linking pw-kerberos failed" - fi - # We could build pw-radius if GNURadius would install radlib.h - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-netscape" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -o netscape.lo \ - -c netscape.c || die "compiling pw-netscape failed" - einfo "Linking contrib-module: pw-netscape" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-netscape.la \ - netscape.lo || die "linking pw-netscape failed" - - #build_contrib_module "acl" "posixgroup.c" "posixGroup" # example code only - #build_contrib_module "acl" "gssacl.c" "gss" # example code only, also needs kerberos - build_contrib_module "addpartial" "addpartial-overlay.c" "addpartial-overlay" - build_contrib_module "allop" "allop.c" "overlay-allop" - build_contrib_module "allowed" "allowed.c" "allowed" - build_contrib_module "autogroup" "autogroup.c" "autogroup" - build_contrib_module "cloak" "cloak.c" "cloak" - # build_contrib_module "comp_match" "comp_match.c" "comp_match" # really complex, adds new external deps, questionable demand - build_contrib_module "denyop" "denyop.c" "denyop-overlay" - build_contrib_module "dsaschema" "dsaschema.c" "dsaschema-plugin" - build_contrib_module "dupent" "dupent.c" "dupent" - build_contrib_module "lastbind" "lastbind.c" "lastbind" - # lastmod may not play well with other overlays - build_contrib_module "lastmod" "lastmod.c" "lastmod" - build_contrib_module "noopsrch" "noopsrch.c" "noopsrch" - build_contrib_module "nops" "nops.c" "nops-overlay" - #build_contrib_module "nssov" "nssov.c" "nssov-overlay" RESO:LATER - build_contrib_module "trace" "trace.c" "trace" - # build slapi-plugins - cd "${S}/contrib/slapi-plugins/addrdnvalues" || die - einfo "Building contrib-module: addrdnvalues plugin" - "${CC}" -shared \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -fPIC \ - ${LDFLAGS} \ - -o libaddrdnvalues-plugin.so \ - addrdnvalues.c || die "Building libaddrdnvalues-plugin.so failed" - - fi -} - -multilib_src_test() { - if multilib_is_native_abi; then - cd tests || die - make tests || die "make tests failed" - fi -} - -multilib_src_install() { - local lt="${BUILD_DIR}/libtool" - emake DESTDIR="${D}" SHELL="${EPREFIX}"/bin/bash install - use static-libs || prune_libtool_files --all - - if ! use minimal && multilib_is_native_abi; then - # LMDB tools - cd "${BUILD_DIR}"/libraries/liblmdb || die - dodir /usr/include /usr/lib /usr/bin /usr/share/man/man1 # otherwise this will make them files :-( - emake CC="${CC}" CXX="${CXX}" OPT="${CFLAGS}" prefix="${EPREFIX}/usr" DESTDIR="${D}" SHELL="${EPREFIX}"/bin/bash LIBDIR="$(get_libdir)" install - - # openldap modules go here - # TODO: write some code to populate slapd.conf with moduleload statements - keepdir /usr/$(get_libdir)/openldap/openldap/ - - # initial data storage dir - keepdir /var/lib/openldap-data - use prefix || fowners ldap:ldap /var/lib/openldap-data - fperms 0700 /var/lib/openldap-data - - echo "OLDPF='${PF}'" > "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# do NOT delete this. it is used" >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# to track versions for upgrading." >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - - # use our config - rm "${ED}"etc/openldap/slapd.conf - insinto /etc/openldap - newins "${FILESDIR}"/${PN}-2.4.40-slapd-conf slapd.conf - configfile="${ED}"etc/openldap/slapd.conf - - # populate with built backends - ebegin "populate config with built backends" - for x in "${ED}"usr/$(get_libdir)/openldap/openldap/back_*.so; do - einfo "Adding $(basename ${x})" - sed -e "/###INSERTDYNAMICMODULESHERE###$/a# moduleload\t$(basename ${x})" -i "${configfile}" - done - sed -e "s:###INSERTDYNAMICMODULESHERE###$:# modulepath\t${EPREFIX}/usr/$(get_libdir)/openldap/openldap:" -i "${configfile}" - use prefix || fowners root:ldap /etc/openldap/slapd.conf - fperms 0640 /etc/openldap/slapd.conf - cp "${configfile}" "${configfile}".default - eend - - # install our own init scripts and systemd unit files - einfo "Install init scripts" - newinitd "${FILESDIR}"/slapd-initd-2.4.40 slapd - newconfd "${FILESDIR}"/slapd-confd-2.4.28-r1 slapd - einfo "Install systemd service" - systemd_dounit "${FILESDIR}"/slapd.service - systemd_install_serviced "${FILESDIR}"/slapd.service.conf - systemd_newtmpfilesd "${FILESDIR}"/slapd.tmpfilesd slapd.conf - - if [[ $(get_libdir) != lib ]]; then - sed -e "s,/usr/lib/,/usr/$(get_libdir)/," -i \ - "${ED}"/etc/init.d/slapd \ - "${ED}"/usr/lib/systemd/system/slapd.service || die - fi - # If built without SLP, we don't need to be before avahi - use slp \ - || sed -i \ - -e '/before/{s/avahi-daemon//g}' \ - "${ED}"etc/init.d/slapd - - if use cxx ; then - einfo "Install the ldapc++ library" - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake DESTDIR="${D}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - cd "${S}"/contrib/ldapc++ || die - newdoc README ldapc++-README - fi - - if use smbkrb5passwd ; then - einfo "Install the smbk5pwd module" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - newdoc README smbk5pwd-README - fi - - if use overlays ; then - einfo "Install the samba4 module" - cd "${S}/contrib/slapd-modules/samba4" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="/usr/$(get_libdir)/openldap" install - newdoc README samba4-README - fi - - einfo "Installing contrib modules" - cd "${S}/contrib/slapd-modules" || die - for l in */*.la; do - "${lt}" --mode=install cp ${l} \ - "${ED}"usr/$(get_libdir)/openldap/openldap || \ - die "installing ${l} failed" - done - - dodoc "${FILESDIR}"/DB_CONFIG.fast.example - docinto contrib - doman */*.5 - #newdoc acl/README* - newdoc addpartial/README addpartial-README - newdoc allop/README allop-README - newdoc allowed/README allowed-README - newdoc autogroup/README autogroup-README - newdoc dsaschema/README dsaschema-README - newdoc passwd/README passwd-README - cd "${S}/contrib/slapi-plugins" || die - insinto /usr/$(get_libdir)/openldap/openldap - doins */*.so - docinto contrib - newdoc addrdnvalues/README addrdnvalues-README - - insinto /etc/openldap/schema - newins "${DISTDIR}"/${BIS_P} ${BIS_PN} - - docinto back-sock ; dodoc "${S}"/servers/slapd/back-sock/searchexample* - docinto back-shell ; dodoc "${S}"/servers/slapd/back-shell/searchexample* - docinto back-perl ; dodoc "${S}"/servers/slapd/back-perl/SampleLDAP.pm - - docinto liblmdb ; dodoc "${S}"/libraries/liblmdb/{sample*txt,CHANGES,COPYRIGHT,LICENSE} - doman "${S}"/libraries/liblmdb/*.1 - - dosbin "${S}"/contrib/slapd-tools/statslog - newdoc "${S}"/contrib/slapd-tools/README README.statslog - fi -} - -multilib_src_install_all() { - dodoc ANNOUNCEMENT CHANGES COPYRIGHT README - docinto rfc ; dodoc doc/rfc/*.txt -} - -pkg_preinst() { - # keep old libs if any - preserve_old_lib /usr/$(get_libdir)/{liblber,libldap_r,liblber}-2.3$(get_libname 0) - # bug 440470, only display the getting started help there was no openldap before, - # or we are going to a non-minimal build - ! has_version net-nds/openldap || has_version 'net-nds/openldap[minimal]' - OPENLDAP_PRINT_MESSAGES=$((! $?)) -} - -pkg_postinst() { - if ! use minimal ; then - # You cannot build SSL certificates during src_install that will make - # binary packages containing your SSL key, which is both a security risk - # and a misconfiguration if multiple machines use the same key and cert. - if use ssl; then - install_cert /etc/openldap/ssl/ldap - use prefix || chown ldap:ldap "${EROOT}"etc/openldap/ssl/ldap.* - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "add 'TLS_REQCERT allow' if you want to use them." - fi - - if use prefix; then - # Warn about prefix issues with slapd - eerror "slapd might NOT be usable on Prefix systems as it requires root privileges" - eerror "to start up, and requires that certain files directories be owned by" - eerror "ldap:ldap. As Prefix does not support changing ownership of files and" - eerror "directories, you will have to manually fix this yourself." - fi - - # These lines force the permissions of various content to be correct - use prefix || chown ldap:ldap "${EROOT}"var/run/openldap - chmod 0755 "${EROOT}"var/run/openldap - use prefix || chown root:ldap "${EROOT}"etc/openldap/slapd.conf{,.default} - chmod 0640 "${EROOT}"etc/openldap/slapd.conf{,.default} - use prefix || chown ldap:ldap "${EROOT}"var/lib/openldap-data - fi - - if has_version 'net-nds/openldap[-minimal]' && ((${OPENLDAP_PRINT_MESSAGES})); then - elog "Getting started using OpenLDAP? There is some documentation available:" - elog "Gentoo Guide to OpenLDAP Authentication" - elog "(https://www.gentoo.org/doc/en/ldap-howto.xml)" - elog "---" - elog "An example file for tuning BDB backends with openldap is" - elog "DB_CONFIG.fast.example in /usr/share/doc/${PF}/" - fi - - preserve_old_lib_notify /usr/$(get_libdir)/{liblber,libldap,libldap_r}-2.3$(get_libname 0) -} diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.42-r1.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.42-r1.ebuild deleted file mode 100644 index 5f46c6b42d..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.42-r1.ebuild +++ /dev/null @@ -1,819 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit db-use eutils flag-o-matic multilib multilib-minimal ssl-cert versionator toolchain-funcs autotools user systemd - -BIS_PN=rfc2307bis.schema -BIS_PV=20140524 -BIS_P="${BIS_PN}-${BIS_PV}" - -DESCRIPTION="LDAP suite of application and development tools" -HOMEPAGE="http://www.OpenLDAP.org/" - -# mirrors are mostly not working, using canonical URI -SRC_URI="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz - mirror://gentoo/${BIS_P}" - -LICENSE="OPENLDAP GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" - -IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal" -IUSE_BACKEND="+berkdb" -IUSE_OVERLAY="overlays perl" -IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs" -IUSE_CONTRIB="smbkrb5passwd kerberos" -IUSE_CONTRIB="${IUSE_CONTRIB} -cxx" -IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}" - -REQUIRED_USE="cxx? ( sasl ) - ?? ( gnutls libressl )" - -# always list newer first -# Do not add any AGPL-3 BDB here! -# See bug 525110, comment 15. -BDB_SLOTS='5.3 5.1 4.8 4.7 4.6 4.5 4.4' -BDB_PKGS='' -for _slot in $BDB_SLOTS; do BDB_PKGS="${BDB_PKGS} sys-libs/db:${_slot}" ; done - -# openssl is needed to generate lanman-passwords required by samba -CDEPEND="icu? ( dev-libs/icu:= ) - ssl? ( - !gnutls? ( - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) - ) - gnutls? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) - >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] ) ) - sasl? ( dev-libs/cyrus-sasl:= ) - !minimal? ( - sys-devel/libtool - sys-libs/e2fsprogs-libs - >=dev-db/lmdb-0.9.14 - tcpd? ( sys-apps/tcp-wrappers ) - odbc? ( !iodbc? ( dev-db/unixODBC ) - iodbc? ( dev-db/libiodbc ) ) - slp? ( net-libs/openslp ) - perl? ( dev-lang/perl[-build(-)] ) - samba? ( - !libressl? ( dev-libs/openssl:0 ) - libressl? ( dev-libs/libressl ) - ) - berkdb? ( - ${l}" - eerror " 4. mv /var/lib/openldap-data/ /var/lib/openldap-data-backup/" - eerror " 5. emerge --update \=net-nds/${PF}" - eerror " 6. etc-update, and ensure that you apply the changes" - eerror " 7. slapadd -l ${l}" - eerror " 8. chown ldap:ldap /var/lib/openldap-data/*" - eerror " 9. /etc/init.d/slapd start" - eerror "10. check that your data is intact." - eerror "11. set up the new replication system." - eerror - if [ "${FORCE_UPGRADE}" != "1" ]; then - die "You need to upgrade your database first" - else - eerror "You have the magical FORCE_UPGRADE=1 in place." - eerror "Don't say you weren't warned about data loss." - fi -} - -pkg_setup() { - if ! use sasl && use cxx ; then - die "To build the ldapc++ library you must emerge openldap with sasl support" - fi - # Bug #322787 - if use minimal && ! has_version "net-nds/openldap" ; then - einfo "No datadir scan needed, openldap not installed" - elif use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then - einfo "Skipping scan for previous datadirs as requested by minimal useflag" - else - openldap_find_versiontags - fi - - enewgroup ldap 439 - enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap -} - -src_prepare() { - # ensure correct SLAPI path by default - sed -i -e 's,\(#define LDAPI_SOCK\).*,\1 "'"${EPREFIX}"'/var/run/openldap/slapd.sock",' \ - "${S}"/include/ldap_defaults.h - - epatch "${FILESDIR}"/${PN}-2.4.17-gcc44.patch - - epatch \ - "${FILESDIR}"/${PN}-2.2.14-perlthreadsfix.patch \ - "${FILESDIR}"/${PN}-2.4.15-ppolicy.patch - - # bug #116045 - still present in 2.4.28 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-smbk5pwd.patch - # bug #408077 - samba4 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-samba4.patch - - # bug #189817 - epatch "${FILESDIR}"/${PN}-2.4.11-libldap_r.patch - - # bug #233633 - epatch "${FILESDIR}"/${PN}-2.4.17-fix-lmpasswd-gnutls-symbols.patch - - # bug #281495 - epatch "${FILESDIR}"/${PN}-2.4.28-gnutls-gcrypt.patch - - # bug #294350 - epatch "${FILESDIR}"/${PN}-2.4.6-evolution-ntlm.patch - - # unbreak /bin/sh -> dash - epatch "${FILESDIR}"/${PN}-2.4.28-fix-dash.patch - - # bug #420959 - epatch "${FILESDIR}"/${PN}-2.4.31-gcc47.patch - - # bug #421463 - #epatch "${FILESDIR}"/${PN}-2.4.33-gnutls.patch # merged upstream - - # unbundle lmdb - epatch "${FILESDIR}"/${P}-mdb-unbundle.patch - rm -rf "${S}"/libraries/liblmdb - - cd "${S}"/build || die - einfo "Making sure upstream build strip does not do stripping too early" - sed -i.orig \ - -e '/^STRIP/s,-s,,g' \ - top.mk || die "Failed to block stripping" - - # wrong assumption that /bin/sh is /bin/bash - sed -i \ - -e 's|/bin/sh|/bin/bash|g' \ - "${S}"/tests/scripts/* || die "sed failed" - - cd "${S}" || die - - AT_NOEAUTOMAKE=yes eautoreconf -} - -build_contrib_module() { - # - cd "${S}/contrib/slapd-modules/$1" || die - einfo "Compiling contrib-module: $3" - # Make sure it's uppercase - local define_name="$(echo "SLAPD_OVER_${1}" | LC_ALL=C tr '[:lower:]' '[:upper:]')" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -D${define_name}=SLAPD_MOD_DYNAMIC \ - -I"${BUILD_DIR}"/include \ - -I../../../include -I../../../servers/slapd ${CFLAGS} \ - -o ${2%.c}.lo -c $2 || die "compiling $3 failed" - einfo "Linking contrib-module: $3" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o $3.la ${2%.c}.lo || die "linking $3 failed" -} - -src_configure() { - # Bug 408001 - use elibc_FreeBSD && append-cppflags -DMDB_DSYNC=O_SYNC -DMDB_FDATASYNC=fsync - - # connectionless ldap per bug #342439 - append-cppflags -DLDAP_CONNECTIONLESS - - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myconf=() - - use debug && myconf+=( $(use_enable debug) ) - - # ICU usage is not configurable - export ac_cv_header_unicode_utypes_h="$(multilib_is_native_abi && use icu && echo yes || echo no)" - - if ! use minimal && multilib_is_native_abi; then - local CPPFLAGS=${CPPFLAGS} - - # re-enable serverside overlay chains per bug #296567 - # see ldap docs chaper 12.3.1 for details - myconf+=( --enable-ldap ) - - # backends - myconf+=( --enable-slapd ) - if use berkdb ; then - einfo "Using Berkeley DB for local backend" - myconf+=( --enable-bdb --enable-hdb ) - DBINCLUDE=$(db_includedir $BDB_SLOTS) - einfo "Using $DBINCLUDE for sys-libs/db version" - # We need to include the slotted db.h dir for FreeBSD - append-cppflags -I${DBINCLUDE} - else - myconf+=( --disable-bdb --disable-hdb ) - fi - for backend in dnssrv ldap mdb meta monitor null passwd relay shell sock; do - myconf+=( --enable-${backend}=mod ) - done - - myconf+=( $(use_enable perl perl mod) ) - - myconf+=( $(use_enable odbc sql mod) ) - if use odbc ; then - local odbc_lib="unixodbc" - if use iodbc ; then - odbc_lib="iodbc" - append-cppflags -I"${EPREFIX}"/usr/include/iodbc - fi - myconf+=( --with-odbc=${odbc_lib} ) - fi - - # slapd options - myconf+=( - $(use_enable crypt) - $(use_enable slp) - $(use_enable samba lmpasswd) - $(use_enable syslog) - ) - if use experimental ; then - myconf+=( - --enable-dynacl - --enable-aci=mod - ) - fi - for option in aci cleartext modules rewrite rlookups slapi; do - myconf+=( --enable-${option} ) - done - - # slapd overlay options - # Compile-in the syncprov, the others as module - myconf+=( --enable-syncprov=yes ) - use overlays && myconf+=( --enable-overlays=mod ) - - else - myconf+=( - --disable-backends - --disable-slapd - --disable-bdb - --disable-hdb - --disable-mdb - --disable-overlays - --disable-syslog - ) - fi - - # basic functionality stuff - myconf+=( - $(use_enable ipv6) - $(multilib_native_use_with sasl cyrus-sasl) - $(multilib_native_use_enable sasl spasswd) - $(use_enable tcpd wrappers) - ) - - local ssl_lib="no" - if use ssl || ( ! use minimal && use samba ) ; then - ssl_lib="openssl" - use gnutls && ssl_lib="gnutls" - fi - - myconf+=( --with-tls=${ssl_lib} ) - - for basicflag in dynamic local proctitle shared; do - myconf+=( --enable-${basicflag} ) - done - - tc-export AR CC CXX - ECONF_SOURCE=${S} \ - STRIP=/bin/true \ - econf \ - --libexecdir="${EPREFIX}"/usr/$(get_libdir)/openldap \ - $(use_enable static-libs static) \ - "${myconf[@]}" - emake depend -} - -src_configure_cxx() { - # This needs the libraries built by the first build run. - # So we have to run it AFTER the main build, not just after the main - # configure. - local myconf_ldapcpp=( - --with-ldap-includes="${S}"/include - ) - - mkdir -p "${BUILD_DIR}"/contrib/ldapc++ || die - cd "${BUILD_DIR}/contrib/ldapc++" || die - - local LDFLAGS=${LDFLAGS} CPPFLAGS=${CPPFLAGS} - append-ldflags -L"${BUILD_DIR}"/libraries/liblber/.libs \ - -L"${BUILD_DIR}"/libraries/libldap/.libs - append-cppflags -I"${BUILD_DIR}"/include - ECONF_SOURCE=${S}/contrib/ldapc++ \ - econf "${myconf_ldapcpp[@]}" \ - CC="${CC}" \ - CXX="${CXX}" -} - -multilib_src_compile() { - tc-export AR CC CXX - emake CC="${CC}" AR="${AR}" SHELL="${EPREFIX}"/bin/bash - local lt="${BUILD_DIR}/libtool" - export echo="echo" - - if ! use minimal && multilib_is_native_abi ; then - if use cxx ; then - einfo "Building contrib library: ldapc++" - src_configure_cxx - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake \ - CC="${CC}" CXX="${CXX}" - fi - - if use smbkrb5passwd ; then - einfo "Building contrib-module: smbk5pwd" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - - MY_DEFS="-DDO_SHADOW" - if use samba ; then - MY_DEFS="${MY_DEFS} -DDO_SAMBA" - MY_KRB5_INC="" - fi - if use kerberos ; then - MY_DEFS="${MY_DEFS} -DDO_KRB5" - MY_KRB5_INC="$(krb5-config --cflags)" - fi - - emake \ - DEFS="${MY_DEFS}" \ - KRB5_INC="${MY_KRB5_INC}" \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" - fi - - if use overlays ; then - einfo "Building contrib-module: samba4" - cd "${S}/contrib/slapd-modules/samba4" || die - - emake \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="/usr/$(get_libdir)/openldap" - fi - - if use kerberos ; then - build_contrib_module "kinit" "kinit.c" "kinit" - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-kerberos" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - $(krb5-config --cflags) \ - -DHAVE_KRB5 \ - -o kerberos.lo \ - -c kerberos.c || die "compiling pw-kerberos failed" - einfo "Linking contrib-module: pw-kerberos" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-kerberos.la \ - kerberos.lo || die "linking pw-kerberos failed" - fi - # We could build pw-radius if GNURadius would install radlib.h - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-netscape" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -o netscape.lo \ - -c netscape.c || die "compiling pw-netscape failed" - einfo "Linking contrib-module: pw-netscape" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-netscape.la \ - netscape.lo || die "linking pw-netscape failed" - - #build_contrib_module "acl" "posixgroup.c" "posixGroup" # example code only - #build_contrib_module "acl" "gssacl.c" "gss" # example code only, also needs kerberos - build_contrib_module "addpartial" "addpartial-overlay.c" "addpartial-overlay" - build_contrib_module "allop" "allop.c" "overlay-allop" - build_contrib_module "allowed" "allowed.c" "allowed" - build_contrib_module "autogroup" "autogroup.c" "autogroup" - build_contrib_module "cloak" "cloak.c" "cloak" - # build_contrib_module "comp_match" "comp_match.c" "comp_match" # really complex, adds new external deps, questionable demand - build_contrib_module "denyop" "denyop.c" "denyop-overlay" - build_contrib_module "dsaschema" "dsaschema.c" "dsaschema-plugin" - build_contrib_module "dupent" "dupent.c" "dupent" - build_contrib_module "lastbind" "lastbind.c" "lastbind" - # lastmod may not play well with other overlays - build_contrib_module "lastmod" "lastmod.c" "lastmod" - build_contrib_module "noopsrch" "noopsrch.c" "noopsrch" - build_contrib_module "nops" "nops.c" "nops-overlay" - #build_contrib_module "nssov" "nssov.c" "nssov-overlay" RESO:LATER - build_contrib_module "trace" "trace.c" "trace" - # build slapi-plugins - cd "${S}/contrib/slapi-plugins/addrdnvalues" || die - einfo "Building contrib-module: addrdnvalues plugin" - "${CC}" -shared \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -fPIC \ - ${LDFLAGS} \ - -o libaddrdnvalues-plugin.so \ - addrdnvalues.c || die "Building libaddrdnvalues-plugin.so failed" - - fi -} - -multilib_src_test() { - if multilib_is_native_abi; then - cd tests || die - emake tests || die "make tests failed" - fi -} - -multilib_src_install() { - local lt="${BUILD_DIR}/libtool" - emake DESTDIR="${D}" SHELL="${EPREFIX}"/bin/bash install - use static-libs || prune_libtool_files --all - - if ! use minimal && multilib_is_native_abi; then - # openldap modules go here - # TODO: write some code to populate slapd.conf with moduleload statements - keepdir /usr/$(get_libdir)/openldap/openldap/ - - # initial data storage dir - keepdir /var/lib/openldap-data - use prefix || fowners ldap:ldap /var/lib/openldap-data - fperms 0700 /var/lib/openldap-data - - echo "OLDPF='${PF}'" > "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# do NOT delete this. it is used" >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# to track versions for upgrading." >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - - # use our config - rm "${ED}"etc/openldap/slapd.conf - insinto /etc/openldap - newins "${FILESDIR}"/${PN}-2.4.40-slapd-conf slapd.conf - configfile="${ED}"etc/openldap/slapd.conf - - # populate with built backends - ebegin "populate config with built backends" - for x in "${ED}"usr/$(get_libdir)/openldap/openldap/back_*.so; do - einfo "Adding $(basename ${x})" - sed -e "/###INSERTDYNAMICMODULESHERE###$/a# moduleload\t$(basename ${x})" -i "${configfile}" - done - sed -e "s:###INSERTDYNAMICMODULESHERE###$:# modulepath\t${EPREFIX}/usr/$(get_libdir)/openldap/openldap:" -i "${configfile}" - use prefix || fowners root:ldap /etc/openldap/slapd.conf - fperms 0640 /etc/openldap/slapd.conf - cp "${configfile}" "${configfile}".default - eend - - # install our own init scripts and systemd unit files - einfo "Install init scripts" - newinitd "${FILESDIR}"/slapd-initd-2.4.40-r2 slapd - newconfd "${FILESDIR}"/slapd-confd-2.4.28-r1 slapd - einfo "Install systemd service" - systemd_dounit "${FILESDIR}"/slapd.service - systemd_install_serviced "${FILESDIR}"/slapd.service.conf - systemd_newtmpfilesd "${FILESDIR}"/slapd.tmpfilesd slapd.conf - - if [[ $(get_libdir) != lib ]]; then - sed -e "s,/usr/lib/,/usr/$(get_libdir)/," -i \ - "${ED}"/etc/init.d/slapd \ - "${ED}"/usr/lib/systemd/system/slapd.service || die - fi - # If built without SLP, we don't need to be before avahi - use slp \ - || sed -i \ - -e '/before/{s/avahi-daemon//g}' \ - "${ED}"etc/init.d/slapd - - if use cxx ; then - einfo "Install the ldapc++ library" - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake DESTDIR="${D}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - cd "${S}"/contrib/ldapc++ || die - newdoc README ldapc++-README - fi - - if use smbkrb5passwd ; then - einfo "Install the smbk5pwd module" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - newdoc README smbk5pwd-README - fi - - if use overlays ; then - einfo "Install the samba4 module" - cd "${S}/contrib/slapd-modules/samba4" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="/usr/$(get_libdir)/openldap" install - newdoc README samba4-README - fi - - einfo "Installing contrib modules" - cd "${S}/contrib/slapd-modules" || die - for l in */*.la; do - "${lt}" --mode=install cp ${l} \ - "${ED}"usr/$(get_libdir)/openldap/openldap || \ - die "installing ${l} failed" - done - - dodoc "${FILESDIR}"/DB_CONFIG.fast.example - docinto contrib - doman */*.5 - #newdoc acl/README* - newdoc addpartial/README addpartial-README - newdoc allop/README allop-README - newdoc allowed/README allowed-README - newdoc autogroup/README autogroup-README - newdoc dsaschema/README dsaschema-README - newdoc passwd/README passwd-README - cd "${S}/contrib/slapi-plugins" || die - insinto /usr/$(get_libdir)/openldap/openldap - doins */*.so - docinto contrib - newdoc addrdnvalues/README addrdnvalues-README - - insinto /etc/openldap/schema - newins "${DISTDIR}"/${BIS_P} ${BIS_PN} - - docinto back-sock ; dodoc "${S}"/servers/slapd/back-sock/searchexample* - docinto back-shell ; dodoc "${S}"/servers/slapd/back-shell/searchexample* - docinto back-perl ; dodoc "${S}"/servers/slapd/back-perl/SampleLDAP.pm - - dosbin "${S}"/contrib/slapd-tools/statslog - newdoc "${S}"/contrib/slapd-tools/README README.statslog - fi -} - -multilib_src_install_all() { - dodoc ANNOUNCEMENT CHANGES COPYRIGHT README - docinto rfc ; dodoc doc/rfc/*.txt -} - -pkg_preinst() { - # keep old libs if any - preserve_old_lib /usr/$(get_libdir)/{liblber,libldap_r,liblber}-2.3$(get_libname 0) - # bug 440470, only display the getting started help there was no openldap before, - # or we are going to a non-minimal build - ! has_version net-nds/openldap || has_version 'net-nds/openldap[minimal]' - OPENLDAP_PRINT_MESSAGES=$((! $?)) -} - -pkg_postinst() { - if ! use minimal ; then - # You cannot build SSL certificates during src_install that will make - # binary packages containing your SSL key, which is both a security risk - # and a misconfiguration if multiple machines use the same key and cert. - if use ssl; then - install_cert /etc/openldap/ssl/ldap - use prefix || chown ldap:ldap "${EROOT}"etc/openldap/ssl/ldap.* - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "add 'TLS_REQCERT allow' if you want to use them." - fi - - if use prefix; then - # Warn about prefix issues with slapd - eerror "slapd might NOT be usable on Prefix systems as it requires root privileges" - eerror "to start up, and requires that certain files directories be owned by" - eerror "ldap:ldap. As Prefix does not support changing ownership of files and" - eerror "directories, you will have to manually fix this yourself." - fi - - # These lines force the permissions of various content to be correct - use prefix || chown ldap:ldap "${EROOT}"var/run/openldap - chmod 0755 "${EROOT}"var/run/openldap - use prefix || chown root:ldap "${EROOT}"etc/openldap/slapd.conf{,.default} - chmod 0640 "${EROOT}"etc/openldap/slapd.conf{,.default} - use prefix || chown ldap:ldap "${EROOT}"var/lib/openldap-data - fi - - if has_version 'net-nds/openldap[-minimal]' && ((${OPENLDAP_PRINT_MESSAGES})); then - elog "Getting started using OpenLDAP? There is some documentation available:" - elog "Gentoo Guide to OpenLDAP Authentication" - elog "(https://www.gentoo.org/doc/en/ldap-howto.xml)" - elog "---" - elog "An example file for tuning BDB backends with openldap is" - elog "DB_CONFIG.fast.example in /usr/share/doc/${PF}/" - fi - - preserve_old_lib_notify /usr/$(get_libdir)/{liblber,libldap,libldap_r}-2.3$(get_libname 0) -} diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.42.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.42.ebuild deleted file mode 100644 index 35e79b62d7..0000000000 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.42.ebuild +++ /dev/null @@ -1,809 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit db-use eutils flag-o-matic multilib multilib-minimal ssl-cert versionator toolchain-funcs autotools user systemd - -BIS_PN=rfc2307bis.schema -BIS_PV=20140524 -BIS_P="${BIS_PN}-${BIS_PV}" - -DESCRIPTION="LDAP suite of application and development tools" -HOMEPAGE="http://www.OpenLDAP.org/" - -# mirrors are mostly not working, using canonical URI -SRC_URI="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz - mirror://gentoo/${BIS_P}" - -LICENSE="OPENLDAP GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" - -IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal" -IUSE_BACKEND="+berkdb" -IUSE_OVERLAY="overlays perl" -IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux static-libs" -IUSE_CONTRIB="smbkrb5passwd kerberos" -IUSE_CONTRIB="${IUSE_CONTRIB} -cxx" -IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}" - -REQUIRED_USE="cxx? ( sasl )" - -# always list newer first -# Do not add any AGPL-3 BDB here! -# See bug 525110, comment 15. -BDB_SLOTS='5.3 5.1 4.8 4.7 4.6 4.5 4.4' -BDB_PKGS='' -for _slot in $BDB_SLOTS; do BDB_PKGS="${BDB_PKGS} sys-libs/db:${_slot}" ; done - -# openssl is needed to generate lanman-passwords required by samba -CDEPEND="icu? ( dev-libs/icu:= ) - ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] ) - gnutls? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] ) ) - sasl? ( dev-libs/cyrus-sasl:= ) - !minimal? ( - sys-devel/libtool - sys-libs/e2fsprogs-libs - >=dev-db/lmdb-0.9.14 - tcpd? ( sys-apps/tcp-wrappers ) - odbc? ( !iodbc? ( dev-db/unixODBC ) - iodbc? ( dev-db/libiodbc ) ) - slp? ( net-libs/openslp ) - perl? ( dev-lang/perl[-build(-)] ) - samba? ( dev-libs/openssl ) - berkdb? ( - ${l}" - eerror " 4. mv /var/lib/openldap-data/ /var/lib/openldap-data-backup/" - eerror " 5. emerge --update \=net-nds/${PF}" - eerror " 6. etc-update, and ensure that you apply the changes" - eerror " 7. slapadd -l ${l}" - eerror " 8. chown ldap:ldap /var/lib/openldap-data/*" - eerror " 9. /etc/init.d/slapd start" - eerror "10. check that your data is intact." - eerror "11. set up the new replication system." - eerror - if [ "${FORCE_UPGRADE}" != "1" ]; then - die "You need to upgrade your database first" - else - eerror "You have the magical FORCE_UPGRADE=1 in place." - eerror "Don't say you weren't warned about data loss." - fi -} - -pkg_setup() { - if ! use sasl && use cxx ; then - die "To build the ldapc++ library you must emerge openldap with sasl support" - fi - # Bug #322787 - if use minimal && ! has_version "net-nds/openldap" ; then - einfo "No datadir scan needed, openldap not installed" - elif use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then - einfo "Skipping scan for previous datadirs as requested by minimal useflag" - else - openldap_find_versiontags - fi - - enewgroup ldap 439 - enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap -} - -src_prepare() { - # ensure correct SLAPI path by default - sed -i -e 's,\(#define LDAPI_SOCK\).*,\1 "'"${EPREFIX}"'/var/run/openldap/slapd.sock",' \ - "${S}"/include/ldap_defaults.h - - epatch "${FILESDIR}"/${PN}-2.4.17-gcc44.patch - - epatch \ - "${FILESDIR}"/${PN}-2.2.14-perlthreadsfix.patch \ - "${FILESDIR}"/${PN}-2.4.15-ppolicy.patch - - # bug #116045 - still present in 2.4.28 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-smbk5pwd.patch - # bug #408077 - samba4 - epatch "${FILESDIR}"/${PN}-2.4.35-contrib-samba4.patch - - # bug #189817 - epatch "${FILESDIR}"/${PN}-2.4.11-libldap_r.patch - - # bug #233633 - epatch "${FILESDIR}"/${PN}-2.4.17-fix-lmpasswd-gnutls-symbols.patch - - # bug #281495 - epatch "${FILESDIR}"/${PN}-2.4.28-gnutls-gcrypt.patch - - # bug #294350 - epatch "${FILESDIR}"/${PN}-2.4.6-evolution-ntlm.patch - - # unbreak /bin/sh -> dash - epatch "${FILESDIR}"/${PN}-2.4.28-fix-dash.patch - - # bug #420959 - epatch "${FILESDIR}"/${PN}-2.4.31-gcc47.patch - - # bug #421463 - #epatch "${FILESDIR}"/${PN}-2.4.33-gnutls.patch # merged upstream - - # unbundle lmdb - epatch "${FILESDIR}"/${P}-mdb-unbundle.patch - rm -rf "${S}"/libraries/liblmdb - - cd "${S}"/build || die - einfo "Making sure upstream build strip does not do stripping too early" - sed -i.orig \ - -e '/^STRIP/s,-s,,g' \ - top.mk || die "Failed to block stripping" - - # wrong assumption that /bin/sh is /bin/bash - sed -i \ - -e 's|/bin/sh|/bin/bash|g' \ - "${S}"/tests/scripts/* || die "sed failed" - - cd "${S}" || die - - AT_NOEAUTOMAKE=yes eautoreconf -} - -build_contrib_module() { - # - cd "${S}/contrib/slapd-modules/$1" || die - einfo "Compiling contrib-module: $3" - # Make sure it's uppercase - local define_name="$(echo "SLAPD_OVER_${1}" | LC_ALL=C tr '[:lower:]' '[:upper:]')" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -D${define_name}=SLAPD_MOD_DYNAMIC \ - -I"${BUILD_DIR}"/include \ - -I../../../include -I../../../servers/slapd ${CFLAGS} \ - -o ${2%.c}.lo -c $2 || die "compiling $3 failed" - einfo "Linking contrib-module: $3" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o $3.la ${2%.c}.lo || die "linking $3 failed" -} - -src_configure() { - # Bug 408001 - use elibc_FreeBSD && append-cppflags -DMDB_DSYNC=O_SYNC -DMDB_FDATASYNC=fsync - - # connectionless ldap per bug #342439 - append-cppflags -DLDAP_CONNECTIONLESS - - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myconf=() - - use debug && myconf+=( $(use_enable debug) ) - - # ICU usage is not configurable - export ac_cv_header_unicode_utypes_h="$(multilib_is_native_abi && use icu && echo yes || echo no)" - - if ! use minimal && multilib_is_native_abi; then - local CPPFLAGS=${CPPFLAGS} - - # re-enable serverside overlay chains per bug #296567 - # see ldap docs chaper 12.3.1 for details - myconf+=( --enable-ldap ) - - # backends - myconf+=( --enable-slapd ) - if use berkdb ; then - einfo "Using Berkeley DB for local backend" - myconf+=( --enable-bdb --enable-hdb ) - DBINCLUDE=$(db_includedir $BDB_SLOTS) - einfo "Using $DBINCLUDE for sys-libs/db version" - # We need to include the slotted db.h dir for FreeBSD - append-cppflags -I${DBINCLUDE} - else - myconf+=( --disable-bdb --disable-hdb ) - fi - for backend in dnssrv ldap mdb meta monitor null passwd relay shell sock; do - myconf+=( --enable-${backend}=mod ) - done - - myconf+=( $(use_enable perl perl mod) ) - - myconf+=( $(use_enable odbc sql mod) ) - if use odbc ; then - local odbc_lib="unixodbc" - if use iodbc ; then - odbc_lib="iodbc" - append-cppflags -I"${EPREFIX}"/usr/include/iodbc - fi - myconf+=( --with-odbc=${odbc_lib} ) - fi - - # slapd options - myconf+=( - $(use_enable crypt) - $(use_enable slp) - $(use_enable samba lmpasswd) - $(use_enable syslog) - ) - if use experimental ; then - myconf+=( - --enable-dynacl - --enable-aci=mod - ) - fi - for option in aci cleartext modules rewrite rlookups slapi; do - myconf+=( --enable-${option} ) - done - - # slapd overlay options - # Compile-in the syncprov, the others as module - myconf+=( --enable-syncprov=yes ) - use overlays && myconf+=( --enable-overlays=mod ) - - else - myconf+=( - --disable-backends - --disable-slapd - --disable-bdb - --disable-hdb - --disable-mdb - --disable-overlays - --disable-syslog - ) - fi - - # basic functionality stuff - myconf+=( - $(use_enable ipv6) - $(multilib_native_use_with sasl cyrus-sasl) - $(multilib_native_use_enable sasl spasswd) - $(use_enable tcpd wrappers) - ) - - local ssl_lib="no" - if use ssl || ( ! use minimal && use samba ) ; then - ssl_lib="openssl" - use gnutls && ssl_lib="gnutls" - fi - - myconf+=( --with-tls=${ssl_lib} ) - - for basicflag in dynamic local proctitle shared; do - myconf+=( --enable-${basicflag} ) - done - - tc-export AR CC CXX - ECONF_SOURCE=${S} \ - STRIP=/bin/true \ - econf \ - --libexecdir="${EPREFIX}"/usr/$(get_libdir)/openldap \ - $(use_enable static-libs static) \ - "${myconf[@]}" - emake depend -} - -src_configure_cxx() { - # This needs the libraries built by the first build run. - # So we have to run it AFTER the main build, not just after the main - # configure. - local myconf_ldapcpp=( - --with-ldap-includes="${S}"/include - ) - - mkdir -p "${BUILD_DIR}"/contrib/ldapc++ || die - cd "${BUILD_DIR}/contrib/ldapc++" || die - - local LDFLAGS=${LDFLAGS} CPPFLAGS=${CPPFLAGS} - append-ldflags -L"${BUILD_DIR}"/libraries/liblber/.libs \ - -L"${BUILD_DIR}"/libraries/libldap/.libs - append-cppflags -I"${BUILD_DIR}"/include - ECONF_SOURCE=${S}/contrib/ldapc++ \ - econf "${myconf_ldapcpp[@]}" \ - CC="${CC}" \ - CXX="${CXX}" -} - -multilib_src_compile() { - tc-export AR CC CXX - emake CC="${CC}" AR="${AR}" SHELL="${EPREFIX}"/bin/bash - local lt="${BUILD_DIR}/libtool" - export echo="echo" - - if ! use minimal && multilib_is_native_abi ; then - if use cxx ; then - einfo "Building contrib library: ldapc++" - src_configure_cxx - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake \ - CC="${CC}" CXX="${CXX}" - fi - - if use smbkrb5passwd ; then - einfo "Building contrib-module: smbk5pwd" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - - MY_DEFS="-DDO_SHADOW" - if use samba ; then - MY_DEFS="${MY_DEFS} -DDO_SAMBA" - MY_KRB5_INC="" - fi - if use kerberos ; then - MY_DEFS="${MY_DEFS} -DDO_KRB5" - MY_KRB5_INC="$(krb5-config --cflags)" - fi - - emake \ - DEFS="${MY_DEFS}" \ - KRB5_INC="${MY_KRB5_INC}" \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" - fi - - if use overlays ; then - einfo "Building contrib-module: samba4" - cd "${S}/contrib/slapd-modules/samba4" || die - - emake \ - LDAP_BUILD="${BUILD_DIR}" \ - CC="${CC}" libexecdir="/usr/$(get_libdir)/openldap" - fi - - if use kerberos ; then - build_contrib_module "kinit" "kinit.c" "kinit" - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-kerberos" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - $(krb5-config --cflags) \ - -DHAVE_KRB5 \ - -o kerberos.lo \ - -c kerberos.c || die "compiling pw-kerberos failed" - einfo "Linking contrib-module: pw-kerberos" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-kerberos.la \ - kerberos.lo || die "linking pw-kerberos failed" - fi - # We could build pw-radius if GNURadius would install radlib.h - cd "${S}/contrib/slapd-modules/passwd" || die - einfo "Compiling contrib-module: pw-netscape" - "${lt}" --mode=compile --tag=CC \ - "${CC}" \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -o netscape.lo \ - -c netscape.c || die "compiling pw-netscape failed" - einfo "Linking contrib-module: pw-netscape" - "${lt}" --mode=link --tag=CC \ - "${CC}" -module \ - ${CFLAGS} \ - ${LDFLAGS} \ - -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ - -o pw-netscape.la \ - netscape.lo || die "linking pw-netscape failed" - - #build_contrib_module "acl" "posixgroup.c" "posixGroup" # example code only - #build_contrib_module "acl" "gssacl.c" "gss" # example code only, also needs kerberos - build_contrib_module "addpartial" "addpartial-overlay.c" "addpartial-overlay" - build_contrib_module "allop" "allop.c" "overlay-allop" - build_contrib_module "allowed" "allowed.c" "allowed" - build_contrib_module "autogroup" "autogroup.c" "autogroup" - build_contrib_module "cloak" "cloak.c" "cloak" - # build_contrib_module "comp_match" "comp_match.c" "comp_match" # really complex, adds new external deps, questionable demand - build_contrib_module "denyop" "denyop.c" "denyop-overlay" - build_contrib_module "dsaschema" "dsaschema.c" "dsaschema-plugin" - build_contrib_module "dupent" "dupent.c" "dupent" - build_contrib_module "lastbind" "lastbind.c" "lastbind" - # lastmod may not play well with other overlays - build_contrib_module "lastmod" "lastmod.c" "lastmod" - build_contrib_module "noopsrch" "noopsrch.c" "noopsrch" - build_contrib_module "nops" "nops.c" "nops-overlay" - #build_contrib_module "nssov" "nssov.c" "nssov-overlay" RESO:LATER - build_contrib_module "trace" "trace.c" "trace" - # build slapi-plugins - cd "${S}/contrib/slapi-plugins/addrdnvalues" || die - einfo "Building contrib-module: addrdnvalues plugin" - "${CC}" -shared \ - -I"${BUILD_DIR}"/include \ - -I../../../include \ - ${CFLAGS} \ - -fPIC \ - ${LDFLAGS} \ - -o libaddrdnvalues-plugin.so \ - addrdnvalues.c || die "Building libaddrdnvalues-plugin.so failed" - - fi -} - -multilib_src_test() { - if multilib_is_native_abi; then - cd tests || die - emake tests || die "make tests failed" - fi -} - -multilib_src_install() { - local lt="${BUILD_DIR}/libtool" - emake DESTDIR="${D}" SHELL="${EPREFIX}"/bin/bash install - use static-libs || prune_libtool_files --all - - if ! use minimal && multilib_is_native_abi; then - # openldap modules go here - # TODO: write some code to populate slapd.conf with moduleload statements - keepdir /usr/$(get_libdir)/openldap/openldap/ - - # initial data storage dir - keepdir /var/lib/openldap-data - use prefix || fowners ldap:ldap /var/lib/openldap-data - fperms 0700 /var/lib/openldap-data - - echo "OLDPF='${PF}'" > "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# do NOT delete this. it is used" >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - echo "# to track versions for upgrading." >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}" - - # use our config - rm "${ED}"etc/openldap/slapd.conf - insinto /etc/openldap - newins "${FILESDIR}"/${PN}-2.4.40-slapd-conf slapd.conf - configfile="${ED}"etc/openldap/slapd.conf - - # populate with built backends - ebegin "populate config with built backends" - for x in "${ED}"usr/$(get_libdir)/openldap/openldap/back_*.so; do - einfo "Adding $(basename ${x})" - sed -e "/###INSERTDYNAMICMODULESHERE###$/a# moduleload\t$(basename ${x})" -i "${configfile}" - done - sed -e "s:###INSERTDYNAMICMODULESHERE###$:# modulepath\t${EPREFIX}/usr/$(get_libdir)/openldap/openldap:" -i "${configfile}" - use prefix || fowners root:ldap /etc/openldap/slapd.conf - fperms 0640 /etc/openldap/slapd.conf - cp "${configfile}" "${configfile}".default - eend - - # install our own init scripts and systemd unit files - einfo "Install init scripts" - newinitd "${FILESDIR}"/slapd-initd-2.4.40-r2 slapd - newconfd "${FILESDIR}"/slapd-confd-2.4.28-r1 slapd - einfo "Install systemd service" - systemd_dounit "${FILESDIR}"/slapd.service - systemd_install_serviced "${FILESDIR}"/slapd.service.conf - systemd_newtmpfilesd "${FILESDIR}"/slapd.tmpfilesd slapd.conf - - if [[ $(get_libdir) != lib ]]; then - sed -e "s,/usr/lib/,/usr/$(get_libdir)/," -i \ - "${ED}"/etc/init.d/slapd \ - "${ED}"/usr/lib/systemd/system/slapd.service || die - fi - # If built without SLP, we don't need to be before avahi - use slp \ - || sed -i \ - -e '/before/{s/avahi-daemon//g}' \ - "${ED}"etc/init.d/slapd - - if use cxx ; then - einfo "Install the ldapc++ library" - cd "${BUILD_DIR}/contrib/ldapc++" || die - emake DESTDIR="${D}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - cd "${S}"/contrib/ldapc++ || die - newdoc README ldapc++-README - fi - - if use smbkrb5passwd ; then - einfo "Install the smbk5pwd module" - cd "${S}/contrib/slapd-modules/smbk5pwd" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install - newdoc README smbk5pwd-README - fi - - if use overlays ; then - einfo "Install the samba4 module" - cd "${S}/contrib/slapd-modules/samba4" || die - emake DESTDIR="${D}" \ - LDAP_BUILD="${BUILD_DIR}" \ - libexecdir="/usr/$(get_libdir)/openldap" install - newdoc README samba4-README - fi - - einfo "Installing contrib modules" - cd "${S}/contrib/slapd-modules" || die - for l in */*.la; do - "${lt}" --mode=install cp ${l} \ - "${ED}"usr/$(get_libdir)/openldap/openldap || \ - die "installing ${l} failed" - done - - dodoc "${FILESDIR}"/DB_CONFIG.fast.example - docinto contrib - doman */*.5 - #newdoc acl/README* - newdoc addpartial/README addpartial-README - newdoc allop/README allop-README - newdoc allowed/README allowed-README - newdoc autogroup/README autogroup-README - newdoc dsaschema/README dsaschema-README - newdoc passwd/README passwd-README - cd "${S}/contrib/slapi-plugins" || die - insinto /usr/$(get_libdir)/openldap/openldap - doins */*.so - docinto contrib - newdoc addrdnvalues/README addrdnvalues-README - - insinto /etc/openldap/schema - newins "${DISTDIR}"/${BIS_P} ${BIS_PN} - - docinto back-sock ; dodoc "${S}"/servers/slapd/back-sock/searchexample* - docinto back-shell ; dodoc "${S}"/servers/slapd/back-shell/searchexample* - docinto back-perl ; dodoc "${S}"/servers/slapd/back-perl/SampleLDAP.pm - - dosbin "${S}"/contrib/slapd-tools/statslog - newdoc "${S}"/contrib/slapd-tools/README README.statslog - fi -} - -multilib_src_install_all() { - dodoc ANNOUNCEMENT CHANGES COPYRIGHT README - docinto rfc ; dodoc doc/rfc/*.txt -} - -pkg_preinst() { - # keep old libs if any - preserve_old_lib /usr/$(get_libdir)/{liblber,libldap_r,liblber}-2.3$(get_libname 0) - # bug 440470, only display the getting started help there was no openldap before, - # or we are going to a non-minimal build - ! has_version net-nds/openldap || has_version 'net-nds/openldap[minimal]' - OPENLDAP_PRINT_MESSAGES=$((! $?)) -} - -pkg_postinst() { - if ! use minimal ; then - # You cannot build SSL certificates during src_install that will make - # binary packages containing your SSL key, which is both a security risk - # and a misconfiguration if multiple machines use the same key and cert. - if use ssl; then - install_cert /etc/openldap/ssl/ldap - use prefix || chown ldap:ldap "${EROOT}"etc/openldap/ssl/ldap.* - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]" - ewarn "add 'TLS_REQCERT allow' if you want to use them." - fi - - if use prefix; then - # Warn about prefix issues with slapd - eerror "slapd might NOT be usable on Prefix systems as it requires root privileges" - eerror "to start up, and requires that certain files directories be owned by" - eerror "ldap:ldap. As Prefix does not support changing ownership of files and" - eerror "directories, you will have to manually fix this yourself." - fi - - # These lines force the permissions of various content to be correct - use prefix || chown ldap:ldap "${EROOT}"var/run/openldap - chmod 0755 "${EROOT}"var/run/openldap - use prefix || chown root:ldap "${EROOT}"etc/openldap/slapd.conf{,.default} - chmod 0640 "${EROOT}"etc/openldap/slapd.conf{,.default} - use prefix || chown ldap:ldap "${EROOT}"var/lib/openldap-data - fi - - if has_version 'net-nds/openldap[-minimal]' && ((${OPENLDAP_PRINT_MESSAGES})); then - elog "Getting started using OpenLDAP? There is some documentation available:" - elog "Gentoo Guide to OpenLDAP Authentication" - elog "(https://www.gentoo.org/doc/en/ldap-howto.xml)" - elog "---" - elog "An example file for tuning BDB backends with openldap is" - elog "DB_CONFIG.fast.example in /usr/share/doc/${PF}/" - fi - - preserve_old_lib_notify /usr/$(get_libdir)/{liblber,libldap,libldap_r}-2.3$(get_libname 0) -} diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.43-r1.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.44-r1.ebuild similarity index 93% rename from sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.43-r1.ebuild rename to sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.44-r1.ebuild index cea4ffd45c..23c66c3db5 100644 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.43-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.44-r1.ebuild @@ -1,6 +1,5 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ EAPI="5" @@ -19,28 +18,30 @@ SRC_URI="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz LICENSE="OPENLDAP GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" -IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal" +IUSE_DAEMON="crypt samba slp tcpd experimental minimal" IUSE_BACKEND="+berkdb" IUSE_OVERLAY="overlays perl" IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs" -IUSE_CONTRIB="smbkrb5passwd kerberos kinit" +IUSE_CONTRIB="smbkrb5passwd kerberos kinit pbkdf2" IUSE_CONTRIB="${IUSE_CONTRIB} -cxx" IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}" REQUIRED_USE="cxx? ( sasl ) - ?? ( gnutls libressl )" + ?? ( gnutls libressl ) + pbkdf2? ( ssl )" # always list newer first # Do not add any AGPL-3 BDB here! # See bug 525110, comment 15. -BDB_SLOTS='5.3 5.1 4.8 4.7 4.6 4.5 4.4' +# Advanced usage: OPENLDAP_BDB_SLOTS in the environment can be used to force a slot during build. +BDB_SLOTS="${OPENLDAP_BDB_SLOTS:=5.3 5.1 4.8 4.7 4.6 4.5 4.4}" BDB_PKGS='' for _slot in $BDB_SLOTS; do BDB_PKGS="${BDB_PKGS} sys-libs/db:${_slot}" ; done # openssl is needed to generate lanman-passwords required by samba -CDEPEND="icu? ( dev-libs/icu:= ) +CDEPEND=" ssl? ( !gnutls? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) @@ -52,12 +53,12 @@ CDEPEND="icu? ( dev-libs/icu:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs - >=dev-db/lmdb-0.9.14 + >=dev-db/lmdb-0.9.18:= tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) - perl? ( dev-lang/perl[-build(-)] ) + perl? ( dev-lang/perl:=[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) @@ -295,14 +296,18 @@ pkg_setup() { # Bug #322787 if use minimal && ! has_version "net-nds/openldap" ; then einfo "No datadir scan needed, openldap not installed" - elif use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then + elif use minimal && has_version 'net-nds/openldap[minimal]' ; then einfo "Skipping scan for previous datadirs as requested by minimal useflag" else openldap_find_versiontags fi - enewgroup ldap 439 - enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap + # The user/group are only used for running daemons which are + # disabled in minimal builds, so elide the accounts too. + if ! use minimal ; then + enewgroup ldap 439 + enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap + fi } src_prepare() { @@ -395,8 +400,8 @@ multilib_src_configure() { use debug && myconf+=( $(use_enable debug) ) - # ICU usage is not configurable - export ac_cv_header_unicode_utypes_h="$(multilib_is_native_abi && use icu && echo yes || echo no)" + # ICU exists only in the configure, nowhere in the codebase, bug #510858 + export ac_cv_header_unicode_utypes_h=no ol_cv_lib_icu=no if ! use minimal && multilib_is_native_abi; then local CPPFLAGS=${CPPFLAGS} @@ -475,6 +480,11 @@ multilib_src_configure() { $(use_enable tcpd wrappers) ) + # Some cross-compiling tests don't pan out well. + tc-is-cross-compiler && myconf+=( + --with-yielding-select=yes + ) + local ssl_lib="no" if use ssl || ( ! use minimal && use samba ) ; then ssl_lib="openssl" @@ -587,6 +597,27 @@ multilib_src_compile() { -o pw-kerberos.la \ kerberos.lo || die "linking pw-kerberos failed" fi + + if use pbkdf2; then + cd "${S}/contrib/slapd-modules/passwd/pbkdf2" || die + einfo "Compiling contrib-module: pw-pbkdf2" + "${lt}" --mode=compile --tag=CC \ + "${CC}" \ + -I"${BUILD_DIR}"/include \ + -I../../../../include \ + ${CFLAGS} \ + -o pbkdf2.lo \ + -c pw-pbkdf2.c || die "compiling pw-pbkdf2 failed" + einfo "Linking contrib-module: pw-pbkdf2" + "${lt}" --mode=link --tag=CC \ + "${CC}" -module \ + ${CFLAGS} \ + ${LDFLAGS} \ + -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ + -o pw-pbkdf2.la \ + pbkdf2.lo || die "linking pw-pbkdf2 failed" + fi + # We could build pw-radius if GNURadius would install radlib.h cd "${S}/contrib/slapd-modules/passwd" || die einfo "Compiling contrib-module: pw-netscape" @@ -731,7 +762,8 @@ multilib_src_install() { einfo "Installing contrib modules" cd "${S}/contrib/slapd-modules" || die - for l in */*.la; do + for l in */*.la */*/*.la; do + [[ -e ${l} ]] || continue "${lt}" --mode=install cp ${l} \ "${ED}"usr/$(get_libdir)/openldap/openldap || \ die "installing ${l} failed" diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.44.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.44.ebuild index 4e463cfc34..ea8e84e9cf 100644 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.44.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.44.ebuild @@ -1,6 +1,5 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ EAPI="5" @@ -19,9 +18,9 @@ SRC_URI="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz LICENSE="OPENLDAP GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" -IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal" +IUSE_DAEMON="crypt samba slp tcpd experimental minimal" IUSE_BACKEND="+berkdb" IUSE_OVERLAY="overlays perl" IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs" @@ -35,12 +34,13 @@ REQUIRED_USE="cxx? ( sasl ) # always list newer first # Do not add any AGPL-3 BDB here! # See bug 525110, comment 15. -BDB_SLOTS='5.3 5.1 4.8 4.7 4.6 4.5 4.4' +# Advanced usage: OPENLDAP_BDB_SLOTS in the environment can be used to force a slot during build. +BDB_SLOTS="${OPENLDAP_BDB_SLOTS:=5.3 5.1 4.8 4.7 4.6 4.5 4.4}" BDB_PKGS='' for _slot in $BDB_SLOTS; do BDB_PKGS="${BDB_PKGS} sys-libs/db:${_slot}" ; done # openssl is needed to generate lanman-passwords required by samba -CDEPEND="icu? ( dev-libs/icu:= ) +CDEPEND=" ssl? ( !gnutls? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) @@ -52,12 +52,12 @@ CDEPEND="icu? ( dev-libs/icu:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs - >=dev-db/lmdb-0.9.14:= + >=dev-db/lmdb-0.9.18:= tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) - perl? ( dev-lang/perl[-build(-)] ) + perl? ( dev-lang/perl:=[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) @@ -295,14 +295,18 @@ pkg_setup() { # Bug #322787 if use minimal && ! has_version "net-nds/openldap" ; then einfo "No datadir scan needed, openldap not installed" - elif use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then + elif use minimal && has_version 'net-nds/openldap[minimal]' ; then einfo "Skipping scan for previous datadirs as requested by minimal useflag" else openldap_find_versiontags fi - enewgroup ldap 439 - enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap + # The user/group are only used for running daemons which are + # disabled in minimal builds, so elide the accounts too. + if ! use minimal ; then + enewgroup ldap 439 + enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap + fi } src_prepare() { @@ -395,8 +399,8 @@ multilib_src_configure() { use debug && myconf+=( $(use_enable debug) ) - # ICU usage is not configurable - export ac_cv_header_unicode_utypes_h="$(multilib_is_native_abi && use icu && echo yes || echo no)" + # ICU exists only in the configure, nowhere in the codebase, bug #510858 + export ac_cv_header_unicode_utypes_h=no ol_cv_lib_icu=no if ! use minimal && multilib_is_native_abi; then local CPPFLAGS=${CPPFLAGS} @@ -475,6 +479,11 @@ multilib_src_configure() { $(use_enable tcpd wrappers) ) + # Some cross-compiling tests don't pan out well. + tc-is-cross-compiler && myconf+=( + --with-yielding-select=yes + ) + local ssl_lib="no" if use ssl || ( ! use minimal && use samba ) ; then ssl_lib="openssl" diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.43.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.45.ebuild similarity index 90% rename from sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.43.ebuild rename to sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.45.ebuild index 3b121dbe24..e81d354305 100644 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.43.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.4.45.ebuild @@ -1,6 +1,5 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ EAPI="5" @@ -19,28 +18,30 @@ SRC_URI="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz LICENSE="OPENLDAP GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" -IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal" +IUSE_DAEMON="crypt samba slp tcpd experimental minimal" IUSE_BACKEND="+berkdb" IUSE_OVERLAY="overlays perl" IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs" -IUSE_CONTRIB="smbkrb5passwd kerberos" +IUSE_CONTRIB="smbkrb5passwd kerberos kinit pbkdf2 sha2" IUSE_CONTRIB="${IUSE_CONTRIB} -cxx" IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}" REQUIRED_USE="cxx? ( sasl ) - ?? ( gnutls libressl )" + ?? ( gnutls libressl ) + pbkdf2? ( ssl )" # always list newer first # Do not add any AGPL-3 BDB here! # See bug 525110, comment 15. -BDB_SLOTS='5.3 5.1 4.8 4.7 4.6 4.5 4.4' +# Advanced usage: OPENLDAP_BDB_SLOTS in the environment can be used to force a slot during build. +BDB_SLOTS="${OPENLDAP_BDB_SLOTS:=5.3 5.1 4.8 4.7 4.6 4.5 4.4}" BDB_PKGS='' for _slot in $BDB_SLOTS; do BDB_PKGS="${BDB_PKGS} sys-libs/db:${_slot}" ; done # openssl is needed to generate lanman-passwords required by samba -CDEPEND="icu? ( dev-libs/icu:= ) +CDEPEND=" ssl? ( !gnutls? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) @@ -52,12 +53,12 @@ CDEPEND="icu? ( dev-libs/icu:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs - >=dev-db/lmdb-0.9.14 + >=dev-db/lmdb-0.9.18:= tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) - perl? ( dev-lang/perl[-build(-)] ) + perl? ( dev-lang/perl:=[-build(-)] ) samba? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) @@ -71,7 +72,10 @@ CDEPEND="icu? ( dev-libs/icu:= ) libressl? ( dev-libs/libressl ) kerberos? ( app-crypt/heimdal ) ) - kerberos? ( virtual/krb5 ) + kerberos? ( + virtual/krb5 + kinit? ( !app-crypt/heimdal ) + ) cxx? ( dev-libs/cyrus-sasl:= ) ) abi_x86_32? ( @@ -292,14 +296,18 @@ pkg_setup() { # Bug #322787 if use minimal && ! has_version "net-nds/openldap" ; then einfo "No datadir scan needed, openldap not installed" - elif use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then + elif use minimal && has_version 'net-nds/openldap[minimal]' ; then einfo "Skipping scan for previous datadirs as requested by minimal useflag" else openldap_find_versiontags fi - enewgroup ldap 439 - enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap + # The user/group are only used for running daemons which are + # disabled in minimal builds, so elide the accounts too. + if ! use minimal ; then + enewgroup ldap 439 + enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap + fi } src_prepare() { @@ -322,7 +330,7 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-2.4.11-libldap_r.patch # bug #233633 - epatch "${FILESDIR}"/${PN}-2.4.17-fix-lmpasswd-gnutls-symbols.patch + epatch "${FILESDIR}"/${PN}-2.4.45-fix-lmpasswd-gnutls-symbols.patch # bug #281495 epatch "${FILESDIR}"/${PN}-2.4.28-gnutls-gcrypt.patch @@ -392,8 +400,8 @@ multilib_src_configure() { use debug && myconf+=( $(use_enable debug) ) - # ICU usage is not configurable - export ac_cv_header_unicode_utypes_h="$(multilib_is_native_abi && use icu && echo yes || echo no)" + # ICU exists only in the configure, nowhere in the codebase, bug #510858 + export ac_cv_header_unicode_utypes_h=no ol_cv_lib_icu=no if ! use minimal && multilib_is_native_abi; then local CPPFLAGS=${CPPFLAGS} @@ -472,6 +480,11 @@ multilib_src_configure() { $(use_enable tcpd wrappers) ) + # Some cross-compiling tests don't pan out well. + tc-is-cross-compiler && myconf+=( + --with-yielding-select=yes + ) + local ssl_lib="no" if use ssl || ( ! use minimal && use samba ) ; then ssl_lib="openssl" @@ -561,7 +574,9 @@ multilib_src_compile() { fi if use kerberos ; then - build_contrib_module "kinit" "kinit.c" "kinit" + if use kinit ; then + build_contrib_module "kinit" "kinit.c" "kinit" + fi cd "${S}/contrib/slapd-modules/passwd" || die einfo "Compiling contrib-module: pw-kerberos" "${lt}" --mode=compile --tag=CC \ @@ -582,6 +597,54 @@ multilib_src_compile() { -o pw-kerberos.la \ kerberos.lo || die "linking pw-kerberos failed" fi + + if use pbkdf2; then + cd "${S}/contrib/slapd-modules/passwd/pbkdf2" || die + einfo "Compiling contrib-module: pw-pbkdf2" + "${lt}" --mode=compile --tag=CC \ + "${CC}" \ + -I"${BUILD_DIR}"/include \ + -I../../../../include \ + ${CFLAGS} \ + -o pbkdf2.lo \ + -c pw-pbkdf2.c || die "compiling pw-pbkdf2 failed" + einfo "Linking contrib-module: pw-pbkdf2" + "${lt}" --mode=link --tag=CC \ + "${CC}" -module \ + ${CFLAGS} \ + ${LDFLAGS} \ + -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ + -o pw-pbkdf2.la \ + pbkdf2.lo || die "linking pw-pbkdf2 failed" + fi + + if use sha2 ; then + cd "${S}/contrib/slapd-modules/passwd/sha2" || die + einfo "Compiling contrib-module: pw-sha2" + "${lt}" --mode=compile --tag=CC \ + "${CC}" \ + -I"${BUILD_DIR}"/include \ + -I../../../../include \ + ${CFLAGS} \ + -o sha2.lo \ + -c sha2.c || die "compiling pw-sha2 failed" + "${lt}" --mode=compile --tag=CC \ + "${CC}" \ + -I"${BUILD_DIR}"/include \ + -I../../../../include \ + ${CFLAGS} \ + -o slapd-sha2.lo \ + -c slapd-sha2.c || die "compiling pw-sha2 failed" + einfo "Linking contrib-module: pw-sha2" + "${lt}" --mode=link --tag=CC \ + "${CC}" -module \ + ${CFLAGS} \ + ${LDFLAGS} \ + -rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \ + -o pw-sha2.la \ + sha2.lo slapd-sha2.lo || die "linking pw-sha2 failed" + fi + # We could build pw-radius if GNURadius would install radlib.h cd "${S}/contrib/slapd-modules/passwd" || die einfo "Compiling contrib-module: pw-netscape" @@ -726,7 +789,8 @@ multilib_src_install() { einfo "Installing contrib modules" cd "${S}/contrib/slapd-modules" || die - for l in */*.la; do + for l in */*.la */*/*.la; do + [[ -e ${l} ]] || continue "${lt}" --mode=install cp ${l} \ "${ED}"usr/$(get_libdir)/openldap/openldap || \ die "installing ${l} failed"