net-nds/fedora-ds-base: remove USE for now as the m4 macros aren't really usable for a system like gentoo cd fedora-ds-base/
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@450 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
c3bb9f0861
commit
1d48ef8aee
@ -2,6 +2,11 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
18 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
fedora-ds-base-1.1.1.ebuild, +fedora-ds-base-1.1.1-r1.ebuild:
|
||||
remove USE for now as the m4 macros aren't really usable for a system like
|
||||
gentoo cd fedora-ds-base/
|
||||
|
||||
18 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
fedora-ds-base-1.1.1.ebuild:
|
||||
does not build without sasl gentoo Bug #104554 comment 55 thx Vladimir
|
||||
|
@ -4,6 +4,7 @@ AUX fedora-ds-cvs.sh 346 RMD160 d9659f0aa8559c59865f42e16bc611a57a63d893 SHA1 80
|
||||
DIST fedora-ds-base-1.1.0.tar.bz2 2596436 RMD160 4680a729cfdbd762e8fa8e348709e01916340854 SHA1 5ed43a030600ca2cf749c2f9f25c18c72f0a935e SHA256 9e6fc529d335d2ffd10bdd49e40bcf9c002fe6034c644a002aa0511dcc76ac70
|
||||
DIST fedora-ds-base-1.1.1.tar.bz2 2590248 RMD160 824ac88f2e901e19a1ec96f5ba9b4d94fc8f39c3 SHA1 78639f5075015cc9663f8e69aacaf2a5aa938e57 SHA256 ffd4cbbd61eef96174784e5de0c01c34738826a6b10bda4fcff6d7369c1cd0b5
|
||||
EBUILD fedora-ds-base-1.1.0.ebuild 1977 RMD160 23cd4ad7da413dbb7dc923eff6378258bc18bed6 SHA1 ed345689af61395902bd8dd033d3517c37933235 SHA256 9e247b2d294efdb7aaa6654c6c7a96090638b77721681eb061debba2de28de8a
|
||||
EBUILD fedora-ds-base-1.1.1.ebuild 1950 RMD160 a43feab8a91ac4a3ad3dbf3ce614365d6e981d6f SHA1 241a6e62b3663dec9c3afcbd96a9a943a9022299 SHA256 d2ff6609e7bba680731ba08c8dda6389fb159de0d24e9585a041fd015ab4c0a7
|
||||
MISC ChangeLog 1491 RMD160 6361905aeab6d40c9881a5c901c78a03881b933d SHA1 518baa717116f7836e4d8d4ebfa1058a7580b493 SHA256 ec79be13cb69378bdea5c407d7a814e3475118d3dad0bb56ea27334ea477d6ba
|
||||
EBUILD fedora-ds-base-1.1.1-r1.ebuild 1807 RMD160 71ea4e7202b1383e597e1d731d2255723be8b03d SHA1 fc4d579ada7181e9da9d7ac95556c231083bf7e1 SHA256 7b763391c042d4ce8c55f1b2cd90dcf458acfadd7789686d2982a33d9d2725b2
|
||||
EBUILD fedora-ds-base-1.1.1.ebuild 1977 RMD160 23cd4ad7da413dbb7dc923eff6378258bc18bed6 SHA1 ed345689af61395902bd8dd033d3517c37933235 SHA256 9e247b2d294efdb7aaa6654c6c7a96090638b77721681eb061debba2de28de8a
|
||||
MISC ChangeLog 1712 RMD160 083b86b6c2dbab3fe00f38499d9af1dcce509447 SHA1 f00002683ebd5d0a2d179f8ef4542fb7c32dff62 SHA256 488a9b47d60414cb6a9545f65bd7276355d3ff52d760ff9053abc2a5aefe9535
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
76
net-nds/fedora-ds-base/fedora-ds-base-1.1.1-r1.ebuild
Normal file
76
net-nds/fedora-ds-base/fedora-ds-base-1.1.1-r1.ebuild
Normal file
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils multilib flag-o-matic
|
||||
|
||||
DESCRIPTION="Fedora Directory Server (base)"
|
||||
HOMEPAGE="http://directory.fedora.redhat.com/"
|
||||
SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND=">=dev-libs/nss-3.11.4
|
||||
>=dev-libs/nspr-4.6.4
|
||||
>=dev-libs/svrcore-4.0.3
|
||||
>=dev-libs/mozldap-6.0.2
|
||||
>=dev-libs/cyrus-sasl-2.1.19
|
||||
>=dev-libs/icu-3.4
|
||||
>=sys-libs/db-4.2.52
|
||||
>=net-analyzer/net-snmp-5.1.2
|
||||
sys-apps/lm_sensors
|
||||
app-arch/bzip2
|
||||
dev-libs/openssl
|
||||
sys-apps/tcp-wrappers
|
||||
sys-libs/pam
|
||||
sys-libs/zlib
|
||||
dev-perl/perl-mozldap"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-flags -D_GNU_SOURCE
|
||||
econf $(use_enable debug) \
|
||||
--with-fhs || die "econf failed"
|
||||
|
||||
# --with-db=yes \
|
||||
# --with-ldapsdk=yes \
|
||||
# --with-svrcore=yes \
|
||||
# --with-nss=yes \
|
||||
# --with-nspr=yes \
|
||||
# --with-icu=yes \
|
||||
# $(use_enable pam pam-passthru) \
|
||||
# $(use_enable ldapi) \
|
||||
# $(use_with sasl sasl yes) \
|
||||
# $(use_with snmp netsnmp yes) \
|
||||
|
||||
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake failed"
|
||||
|
||||
# install not installed header
|
||||
insinto /usr/include/dirsrv
|
||||
doins ldap/servers/slapd/slapi-plugin.h
|
||||
|
||||
# make sure perl scripts have a proper shebang
|
||||
dosed 's|#{{PERL-EXEC}}|#!/usr/bin/perl|' /usr/share/dirsrv/script-templates/template-*.pl
|
||||
|
||||
# remove redhat style init script and install gentoo style
|
||||
rm -rf "${D}"/etc/rc.d
|
||||
rm -rf "${D}"/etc/default
|
||||
newinitd "${FILESDIR}"/dirsrv.initd dirsrv
|
||||
newconfd "${FILESDIR}"/dirsrv.confd dirsrv
|
||||
|
||||
# cope with libraries being in /usr/lib/dirsrv
|
||||
dodir /etc/env.d
|
||||
echo "LDPATH=/usr/$(get_libdir)/dirsrv" > "${D}"/etc/env.d/08dirsrv
|
||||
|
||||
}
|
@ -11,13 +11,13 @@ SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2"
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="snmp ipv6 debug"
|
||||
IUSE="sasl snmp ipv6 debug"
|
||||
|
||||
DEPEND=">=dev-libs/nss-3.11.4
|
||||
>=dev-libs/nspr-4.6.4
|
||||
>=dev-libs/svrcore-4.0.3
|
||||
>=dev-libs/mozldap-6.0.2
|
||||
>=dev-libs/cyrus-sasl-2.1.19
|
||||
sasl? ( >=dev-libs/cyrus-sasl-2.1.19 )
|
||||
>=dev-libs/icu-3.4
|
||||
>=sys-libs/db-4.2.52
|
||||
snmp? ( >=net-analyzer/net-snmp-5.1.2 )
|
||||
@ -35,6 +35,8 @@ src_unpack() {
|
||||
src_compile() {
|
||||
if use amd64 ; then
|
||||
myconf="${myconf} --enable-64bit"
|
||||
elif use sasl ; then
|
||||
myconf="${myconf} --with-sasl=yes"
|
||||
elif use snmp ; then
|
||||
myconf="${myconf} --netsnmp=yes"
|
||||
else
|
||||
@ -45,7 +47,6 @@ src_compile() {
|
||||
econf $(use_enable debug) \
|
||||
${myconf} \
|
||||
--with-fhs \
|
||||
--with-sasl=yes \
|
||||
|| die "econf failed"
|
||||
|
||||
emake || die "emake failed"
|
||||
@ -71,7 +72,6 @@ src_install () {
|
||||
|
||||
# remove redhat style init script and install gentoo style
|
||||
rm -rf "${D}"/etc/rc.d
|
||||
rm -rf "${D}"/etc/default
|
||||
newinitd "${FILESDIR}"/dirsrv.initd dirsrv
|
||||
newconfd "${FILESDIR}"/dirsrv.confd dirsrv
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user