net-nds/fedora-ds-base: Repoman Cleanup
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@464 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
ef1315ee59
commit
444f98f8f5
@ -2,6 +2,11 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
20 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
-fedora-ds-base-1.1.0.ebuild, -fedora-ds-base-1.1.1.ebuild,
|
||||
fedora-ds-base-1.1.1-r1.ebuild:
|
||||
Repoman Cleanup
|
||||
|
||||
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
|
||||
|
@ -1,10 +1,7 @@
|
||||
AUX dirsrv.confd 72 RMD160 d5478a77018aeb727ba72217d3e67af3dcd669c9 SHA1 006d238cd3fd31b9019a2a1e5bff250192b05a91 SHA256 62d68e8ab4b2b1342a3418e6b067a99345a2806ec1575f6d49cd6c0d1cbb17bc
|
||||
AUX dirsrv.initd 2422 RMD160 f90db40234c6177c2e7b23999786f775fb62fa6e SHA1 36c29829002f91aa9e43d20bfc22dab443791c75 SHA256 8cd646015bd5bd4ea5a50fc5781200b1f287bc48a3892af4e1aea0c3c904c859
|
||||
AUX fedora-ds-cvs.sh 346 RMD160 d9659f0aa8559c59865f42e16bc611a57a63d893 SHA1 8069aeee78a5fd614f19f3438c9f3dada700e944 SHA256 f2e453b1139b010ceae3dee2c0292e616a67ec55046e759b90c1104721ad412a
|
||||
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-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
|
||||
EBUILD fedora-ds-base-1.1.1-r1.ebuild 1804 RMD160 ff74d331e3014526c88715417bc6330a8bbc97e6 SHA1 528fe54a7818ecdde113ae669a61ea0b9d586a0a SHA256 8d785fcea85e3cf3395906abaebecc8a663bf8bc9df6bdf9d47c6bf6769ce977
|
||||
MISC ChangeLog 1878 RMD160 0468b1ede1a8ea9c3e65d7c6af1573c0564b5ff3 SHA1 c4d8abefdb56910a9de978153d35cc697f9578b2 SHA256 26c64f64dc6bb670e81acda567f43b018e80271ebe50abb4939f22ab85bae77f
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -1,82 +0,0 @@
|
||||
# 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="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
|
||||
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 )
|
||||
sys-apps/lm_sensors
|
||||
app-arch/bzip2
|
||||
dev-libs/openssl
|
||||
sys-apps/tcp-wrappers
|
||||
sys-libs/pam
|
||||
sys-libs/zlib"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
}
|
||||
|
||||
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
|
||||
myconf=""
|
||||
fi
|
||||
|
||||
append-flags -D_GNU_SOURCE
|
||||
econf $(use_enable debug) \
|
||||
${myconf} \
|
||||
--with-fhs \
|
||||
|| die "econf failed"
|
||||
|
||||
emake || die "emake failed"
|
||||
|
||||
# --with-nspr=yes \
|
||||
# --with-nss=yes \
|
||||
# --with-ldapsdk=yes \
|
||||
# --with-db=yes \
|
||||
# --with-svrcore=yes \
|
||||
# --with-icu=yes \
|
||||
|
||||
}
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
}
|
@ -72,5 +72,4 @@ src_install () {
|
||||
# cope with libraries being in /usr/lib/dirsrv
|
||||
dodir /etc/env.d
|
||||
echo "LDPATH=/usr/$(get_libdir)/dirsrv" > "${D}"/etc/env.d/08dirsrv
|
||||
|
||||
}
|
||||
|
@ -1,82 +0,0 @@
|
||||
# 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="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
|
||||
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 )
|
||||
sys-apps/lm_sensors
|
||||
app-arch/bzip2
|
||||
dev-libs/openssl
|
||||
sys-apps/tcp-wrappers
|
||||
sys-libs/pam
|
||||
sys-libs/zlib"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
}
|
||||
|
||||
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
|
||||
myconf=""
|
||||
fi
|
||||
|
||||
append-flags -D_GNU_SOURCE
|
||||
econf $(use_enable debug) \
|
||||
${myconf} \
|
||||
--with-fhs \
|
||||
|| die "econf failed"
|
||||
|
||||
emake || die "emake failed"
|
||||
|
||||
# --with-nspr=yes \
|
||||
# --with-nss=yes \
|
||||
# --with-ldapsdk=yes \
|
||||
# --with-db=yes \
|
||||
# --with-svrcore=yes \
|
||||
# --with-icu=yes \
|
||||
|
||||
}
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user