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