Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/389-ds-base/
Date: Mon, 05 Feb 2018 21:52:48
Message-Id: 1517867542.5c73dc8bddc74876c7d3a177bf30e5d21ba3e808.monsieurp@gentoo
1 commit: 5c73dc8bddc74876c7d3a177bf30e5d21ba3e808
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 5 21:52:22 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 5 21:52:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c73dc8b
7
8 net-nds/389-ds-base: remove vulnerable version.
9
10 Bug: https://bugs.gentoo.org/645706
11 Package-Manager: Portage-2.3.19, Repoman-2.3.6
12
13 net-nds/389-ds-base/389-ds-base-1.3.5.19.ebuild | 124 ------------------------
14 net-nds/389-ds-base/Manifest | 1 -
15 2 files changed, 125 deletions(-)
16
17 diff --git a/net-nds/389-ds-base/389-ds-base-1.3.5.19.ebuild b/net-nds/389-ds-base/389-ds-base-1.3.5.19.ebuild
18 deleted file mode 100644
19 index e36a909ca91..00000000000
20 --- a/net-nds/389-ds-base/389-ds-base-1.3.5.19.ebuild
21 +++ /dev/null
22 @@ -1,124 +0,0 @@
23 -# Copyright 1999-2018 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=5
27 -
28 -WANT_AUTOMAKE="1.13"
29 -
30 -inherit user eutils multilib flag-o-matic autotools
31 -
32 -DESCRIPTION="389 Directory Server (core librares and daemons )"
33 -HOMEPAGE="http://www.port389.org/"
34 -SRC_URI="http://www.port389.org/sources/${P}.tar.bz2"
35 -
36 -LICENSE="GPL-3+"
37 -SLOT="0"
38 -KEYWORDS="~amd64 ~x86"
39 -IUSE="autobind auto-dn-suffix debug doc +pam-passthru +dna +ldapi +bitwise presence kerberos selinux"
40 -
41 -# Pinned to db:4.8 as it is the current stable, can change to a later db version < 6 when they stabilize.
42 -# The --with-db-inc line in econf will need to be updated as well when changing db version.
43 -COMMON_DEPEND="
44 - sys-libs/db:4.8
45 - >=dev-libs/cyrus-sasl-2.1.19
46 - >=net-analyzer/net-snmp-5.1.2
47 - >=dev-libs/icu-3.4:=
48 - >=dev-libs/nss-3.22[utils]
49 - dev-libs/nspr
50 - >=dev-libs/svrcore-4.1.2
51 - dev-libs/openssl:0=
52 - dev-libs/libpcre:3
53 - >=dev-perl/perl-mozldap-1.5.3
54 - dev-perl/NetAddr-IP
55 - net-nds/openldap
56 - sys-libs/pam
57 - sys-libs/zlib
58 - kerberos? ( >=app-crypt/mit-krb5-1.7-r100[openldap] )"
59 -
60 -DEPEND="${COMMON_DEPEND}
61 - virtual/pkgconfig
62 - doc? ( app-doc/doxygen )"
63 -
64 -RDEPEND="${COMMON_DEPEND}
65 - selinux? ( sec-policy/selinux-dirsrv )
66 - virtual/perl-Time-Local
67 - virtual/perl-MIME-Base64"
68 -
69 -pkg_setup() {
70 - enewgroup dirsrv
71 - enewuser dirsrv -1 -1 -1 dirsrv
72 -}
73 -
74 -src_prepare() {
75 - # as per 389 documentation, when 64bit, export USE_64
76 - use amd64 && export USE_64=1
77 -
78 - eautoreconf
79 -
80 - append-lfs-flags
81 -}
82 -
83 -src_configure() {
84 - econf \
85 - $(use_enable debug) \
86 - $(use_enable pam-passthru) \
87 - $(use_enable ldapi) \
88 - $(use_enable autobind) \
89 - $(use_enable dna) \
90 - $(use_enable bitwise) \
91 - $(use_enable presence) \
92 - $(use_with kerberos) \
93 - $(use_enable auto-dn-suffix) \
94 - --with-initddir=no \
95 - --enable-maintainer-mode \
96 - --with-fhs \
97 - --with-openldap \
98 - --sbindir=/usr/sbin \
99 - --bindir=/usr/bin \
100 - --with-db-inc=/usr/include/db4.8
101 -
102 -}
103 -
104 -src_compile() {
105 - default
106 - if use doc; then
107 - doxygen slapi.doxy || die "cannot run doxygen"
108 - fi
109 -}
110 -
111 -src_install () {
112 - # -j1 is a temporary workaround for bug #605432
113 - emake -j1 DESTDIR="${D}" install
114 -
115 - # Install gentoo style init script
116 - # Get these merged upstream
117 - newinitd "${FILESDIR}"/389-ds.initd-r1 389-ds
118 - newinitd "${FILESDIR}"/389-ds-snmp.initd 389-ds-snmp
119 -
120 - # cope with libraries being in /usr/lib/dirsrv
121 - dodir /etc/env.d
122 - echo "LDPATH=/usr/$(get_libdir)/dirsrv" > "${D}"/etc/env.d/08dirsrv
123 -
124 - if use doc; then
125 - cd "${S}" || die
126 - docinto html/
127 - dodoc -r docs/html/.
128 - fi
129 -}
130 -
131 -pkg_postinst() {
132 - echo
133 - elog "If you are planning to use 389-ds-snmp (ldap-agent),"
134 - elog "make sure to properly configure: /etc/dirsrv/config/ldap-agent.conf"
135 - elog "adding proper 'server' entries, and adding the lines below to"
136 - elog " => /etc/snmp/snmpd.conf"
137 - elog
138 - elog "master agentx"
139 - elog "agentXSocket /var/agentx/master"
140 - elog
141 - elog "To start 389 Directory Server (LDAP service) at boot:"
142 - elog
143 - elog " rc-update add 389-ds default"
144 - elog
145 - echo
146 -}
147
148 diff --git a/net-nds/389-ds-base/Manifest b/net-nds/389-ds-base/Manifest
149 index 8cfbb2f535b..703806045e2 100644
150 --- a/net-nds/389-ds-base/Manifest
151 +++ b/net-nds/389-ds-base/Manifest
152 @@ -1,2 +1 @@
153 -DIST 389-ds-base-1.3.5.19.tar.bz2 3588794 BLAKE2B f3341c8ec4d1b612babe83fd0cc8a4ef43b7a05d8ab5585dceefe39caaaa8182af0d6c8de3b0e7bd867bfd02863a70d09ea0058613b3bfdffcf1140f4cb69c2d SHA512 897f59fe23a9d5a784df7a255dc300805c8f00b754d4976f8637a61954ffe2de59da09ee700dc5047b406196deb28e9647ec50c0b06c0d34371a418c126c8b7d
154 DIST 389-ds-base-1.3.6.8.tar.bz2 3440164 BLAKE2B 20ff28fc1d59452e48ec6684f844dd2dec2f33492aa142c915029dfb6b0535860f4f598872d2de5d33ed8cb9b5a0d3ae47b1666cac54a4b38f0f4f954cdaf85f SHA512 b08a87bffbdf8e4c6bf6b4f87394aa0a12b8b44fcadec2f97c146b3a21ff89f5f547080aacb0ecda9b91aca83f8bf093b64c2569b2d8be84ffe22439be446234