From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/389-ds-base/
Date: Wed, 17 Feb 2016 00:44:01 +0000 (UTC) [thread overview]
Message-ID: <1455667116.a489e844cba8d46ae5edd3e230c4a4539451d2c4.idella4@gentoo> (raw)
commit: a489e844cba8d46ae5edd3e230c4a4539451d2c4
Author: Wes Cilldhaire <wes <AT> sol1 <DOT> com <DOT> au>
AuthorDate: Tue Feb 16 23:58:36 2016 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Tue Feb 16 23:58:36 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a489e844
net-nds/389-ds-base: revbump to 1.3.4.7-r2 to fix bdb dep and nomenclature
Correct slotted dep for sys-libs/db:5.3
and rename ALL_DEPEND to COMMON_DEPEND
Package-Manager: portage-2.2.27
net-nds/389-ds-base/389-ds-base-1.3.4.7-r2.ebuild | 151 ++++++++++++++++++++++
1 file changed, 151 insertions(+)
diff --git a/net-nds/389-ds-base/389-ds-base-1.3.4.7-r2.ebuild b/net-nds/389-ds-base/389-ds-base-1.3.4.7-r2.ebuild
new file mode 100644
index 0000000..0166bf8
--- /dev/null
+++ b/net-nds/389-ds-base/389-ds-base-1.3.4.7-r2.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WANT_AUTOMAKE="1.9"
+MY_P=${P/_alpha/.a}
+MY_P=${MY_P/_rc/.rc}
+
+inherit user eutils multilib flag-o-matic autotools
+
+DESCRIPTION="389 Directory Server (core librares and daemons )"
+HOMEPAGE="http://port389.org/"
+SRC_URI="http://directory.fedoraproject.org/sources/${MY_P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="autobind auto-dn-suffix debug doc +pam-passthru +dna +ldapi +bitwise +presence kerberos selinux"
+
+COMMON_DEPEND="
+ sys-libs/db:5.3
+ >=dev-libs/cyrus-sasl-2.1.19
+ >=net-analyzer/net-snmp-5.1.2
+ >=dev-libs/icu-3.4:=
+ dev-libs/nss[utils]
+ dev-libs/nspr
+ dev-libs/svrcore
+ dev-libs/openssl:0=
+ dev-libs/libpcre:3
+ >=dev-perl/perl-mozldap-1.5.3
+ dev-perl/NetAddr-IP
+ net-nds/openldap
+ sys-libs/pam
+ sys-libs/zlib
+ kerberos? ( >=app-crypt/mit-krb5-1.7-r100[openldap] )"
+
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ sys-devel/libtool
+ doc? ( app-doc/doxygen )
+ sys-apps/sed"
+RDEPEND="${COMMON_DEPEND}
+ selinux? ( sec-policy/selinux-dirsrv )
+ virtual/perl-Time-Local
+ virtual/perl-MIME-Base64"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ enewgroup dirsrv
+ enewuser dirsrv -1 -1 -1 dirsrv
+}
+
+src_prepare() {
+ #0001-Ticket-47840-add-configure-option-to-disable-instanc.patch
+ epatch "${FILESDIR}/${P}-no-instance-script.patch"
+
+ #0001-Ticket-48448-dirsrv-start-stop-fail-in-certain-shell.patch
+ epatch "${FILESDIR}/${P}-shell-corrections.patch"
+
+ # as per 389 documentation, when 64bit, export USE_64
+ use amd64 && export USE_64=1
+
+ # This will be changed in 1.3.5.X
+ sed -i -e 's/nobody/dirsrv/g' configure.ac || die "sed failed on configure.ac"
+ eautoreconf
+
+ append-lfs-flags
+}
+
+src_configure() {
+ local myconf=""
+
+ use auto-dn-suffix && myconf="${myconf} --enable-auto-dn-suffix"
+
+ # for 1.3.5.X, will add --enable-gcc-security
+ econf \
+ $(use_enable debug) \
+ $(use_enable pam-passthru) \
+ $(use_enable ldapi) \
+ $(use_enable autobind) \
+ $(use_enable dna) \
+ $(use_enable bitwise) \
+ $(use_enable presence) \
+ $(use_with kerberos) \
+ $(use_enable debug) \
+ --enable-maintainer-mode \
+ --enable-autobind \
+ --with-fhs \
+ --with-openldap \
+ --with-db-inc=/usr/include/${CHOST}/db5.3/ \
+ --sbindir=/usr/sbin \
+ --bindir=/usr/bin \
+ $myconf
+
+ # This relies on bug https://fedorahosted.org/389/ticket/48447
+ #--without-initddir \
+}
+
+src_compile() {
+ default
+ if use doc; then
+ doxygen slapi.doxy || die "cannot run doxygen"
+ fi
+}
+
+src_install () {
+ emake DESTDIR="${D}" install
+
+ # remove redhat style init script
+ rm -rf "${D}"/etc/rc.d || die
+ # Needs a config option to remove this.
+ rm -rf "${D}"/etc/default || die
+
+ # and install gentoo style init script
+ # Get these merged upstream
+ newinitd "${FILESDIR}"/389-ds.initd-r1 389-ds
+ newinitd "${FILESDIR}"/389-ds-snmp.initd 389-ds-snmp
+
+ # cope with libraries being in /usr/lib/dirsrv
+ dodir /etc/env.d
+ echo "LDPATH=/usr/$(get_libdir)/dirsrv" > "${D}"/etc/env.d/08dirsrv
+
+ if use doc; then
+ cd "${S}" || die
+ docinto html/
+ dodoc -r docs/html/.
+ fi
+}
+
+pkg_postinst() {
+ echo
+ elog "If you are planning to use 389-ds-snmp (ldap-agent),"
+ elog "make sure to properly configure: /etc/dirsrv/config/ldap-agent.conf"
+ elog "adding proper 'server' entries, and adding the lines below to"
+ elog " => /etc/snmp/snmpd.conf"
+ elog
+ elog "master agentx"
+ elog "agentXSocket /var/agentx/master"
+ elog
+ elog "To start 389 Directory Server (LDAP service) at boot:"
+ elog
+ elog " rc-update add 389-ds default"
+ elog
+ elog "If you are upgrading from previous 1.2.6 release candidates"
+ elog "please see:"
+ elog "http://directory.fedoraproject.org/wiki/Subtree_Rename#warning:_upgrade_from_389_v1.2.6_.28a.3F.2C_rc1_.7E_rc6.29_to_v1.2.6_rc6_or_newer"
+ echo
+}
next reply other threads:[~2016-02-17 0:44 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-17 0:44 Ian Delaney [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-29 22:00 [gentoo-commits] repo/gentoo:master commit in: net-nds/389-ds-base/ Sam James
2024-04-28 7:24 Arthur Zamarin
2023-01-30 9:04 Florian Schmaus
2023-01-29 18:50 Florian Schmaus
2022-04-20 17:02 Arthur Zamarin
2022-04-17 15:09 David Seifert
2022-03-23 0:14 Sam James
2022-03-18 17:07 Dennis Lamm
2022-03-18 17:07 Dennis Lamm
2022-03-18 17:07 Dennis Lamm
2022-03-18 17:07 Dennis Lamm
2022-02-18 23:04 Sam James
2022-02-18 13:53 Florian Schmaus
2022-02-18 8:31 Florian Schmaus
2022-02-18 8:31 Florian Schmaus
2021-09-24 16:29 Florian Schmaus
2021-09-13 20:30 David Seifert
2021-08-12 7:50 Joonas Niilola
2021-02-22 15:03 Joonas Niilola
2021-01-22 5:07 Sam James
2019-06-02 12:35 Jonas Stein
2018-08-01 18:20 Jonas Stein
2018-02-11 11:12 Michał Górny
2018-02-05 22:04 Patrice Clement
2018-02-05 21:52 Patrice Clement
2017-11-10 0:40 Jonas Stein
2017-11-10 0:09 Jonas Stein
2017-11-10 0:00 Jonas Stein
2017-11-09 23:50 Jonas Stein
2017-08-14 21:41 Patrice Clement
2017-05-14 22:04 Patrice Clement
2017-05-14 22:04 Patrice Clement
2017-05-14 22:04 Patrice Clement
2017-01-15 3:12 Göktürk Yüksek
2016-11-28 4:48 Mike Gilbert
2016-11-28 4:48 Mike Gilbert
2016-06-14 4:38 Göktürk Yüksek
2016-06-14 4:38 Göktürk Yüksek
2016-06-10 16:59 Patrice Clement
2016-06-10 16:59 Patrice Clement
2016-04-01 6:25 Ian Delaney
2016-03-01 4:29 Ian Delaney
2016-02-17 0:44 Ian Delaney
2016-02-16 5:42 Ian Delaney
2016-02-16 5:42 Ian Delaney
2016-02-05 7:03 NP Hardass
2016-01-29 11:01 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1455667116.a489e844cba8d46ae5edd3e230c4a4539451d2c4.idella4@gentoo \
--to=idella4@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox