net-nds/fedora-ds-base: bump
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@504 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
3e28f71d9d
commit
3cab320282
@ -2,6 +2,10 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
15 Sep 2008; Mario Fetka <mario.fetka@gmail.com> +files/bug435774.patch,
|
||||||
|
+fedora-ds-base-1.1.1-r2.ebuild, +fedora-ds-base-1.1.2.ebuild:
|
||||||
|
bump
|
||||||
|
|
||||||
30 Aug 2008; Mario Fetka <mario.fetka@gmail.com> +files/bug439829.patch,
|
30 Aug 2008; Mario Fetka <mario.fetka@gmail.com> +files/bug439829.patch,
|
||||||
fedora-ds-base-1.1.1-r1.ebuild:
|
fedora-ds-base-1.1.1-r1.ebuild:
|
||||||
deactivate devel bugfix
|
deactivate devel bugfix
|
||||||
|
@ -4,7 +4,9 @@ AUX dirsrv.confd 72 RMD160 d5478a77018aeb727ba72217d3e67af3dcd669c9 SHA1 006d238
|
|||||||
AUX dirsrv.initd 2422 RMD160 f90db40234c6177c2e7b23999786f775fb62fa6e SHA1 36c29829002f91aa9e43d20bfc22dab443791c75 SHA256 8cd646015bd5bd4ea5a50fc5781200b1f287bc48a3892af4e1aea0c3c904c859
|
AUX dirsrv.initd 2422 RMD160 f90db40234c6177c2e7b23999786f775fb62fa6e SHA1 36c29829002f91aa9e43d20bfc22dab443791c75 SHA256 8cd646015bd5bd4ea5a50fc5781200b1f287bc48a3892af4e1aea0c3c904c859
|
||||||
AUX fedora-ds-cvs.sh 346 RMD160 d9659f0aa8559c59865f42e16bc611a57a63d893 SHA1 8069aeee78a5fd614f19f3438c9f3dada700e944 SHA256 f2e453b1139b010ceae3dee2c0292e616a67ec55046e759b90c1104721ad412a
|
AUX fedora-ds-cvs.sh 346 RMD160 d9659f0aa8559c59865f42e16bc611a57a63d893 SHA1 8069aeee78a5fd614f19f3438c9f3dada700e944 SHA256 f2e453b1139b010ceae3dee2c0292e616a67ec55046e759b90c1104721ad412a
|
||||||
DIST fedora-ds-base-1.1.1.tar.bz2 2590248 RMD160 824ac88f2e901e19a1ec96f5ba9b4d94fc8f39c3 SHA1 78639f5075015cc9663f8e69aacaf2a5aa938e57 SHA256 ffd4cbbd61eef96174784e5de0c01c34738826a6b10bda4fcff6d7369c1cd0b5
|
DIST fedora-ds-base-1.1.1.tar.bz2 2590248 RMD160 824ac88f2e901e19a1ec96f5ba9b4d94fc8f39c3 SHA1 78639f5075015cc9663f8e69aacaf2a5aa938e57 SHA256 ffd4cbbd61eef96174784e5de0c01c34738826a6b10bda4fcff6d7369c1cd0b5
|
||||||
|
DIST fedora-ds-base-1.1.2.tar.bz2 2663360 RMD160 fe51ca7466c1c8ff8d9ab9f9b6e88b4398656792 SHA1 e50ed2653538cc6f5071744177119e6f56aea3ad SHA256 edf64eaa16dc1f5a8fdf0e7cb802d92315b131541c3080c3521ceddffb722302
|
||||||
EBUILD fedora-ds-base-1.1.1-r1.ebuild 1851 RMD160 0be248448f65ef9d57f91957d3b01407099332b4 SHA1 48f5b9eaf63143c10675f3031b764246fd51cd64 SHA256 67257aba20ba01e3896b970c46549670406c916eb5ee8308ca02b75abb9ef0ac
|
EBUILD fedora-ds-base-1.1.1-r1.ebuild 1851 RMD160 0be248448f65ef9d57f91957d3b01407099332b4 SHA1 48f5b9eaf63143c10675f3031b764246fd51cd64 SHA256 67257aba20ba01e3896b970c46549670406c916eb5ee8308ca02b75abb9ef0ac
|
||||||
EBUILD fedora-ds-base-1.1.1-r2.ebuild 1849 RMD160 d590fcdf83339154d51900a8301039d6b3f9c103 SHA1 02b1e0c0338cd66fe01300de22d2c978fbf7bf6a SHA256 f6843041dd35ada00a553169adc56f64f3ec15f41081d988143371d39e49cac7
|
EBUILD fedora-ds-base-1.1.1-r2.ebuild 1849 RMD160 d590fcdf83339154d51900a8301039d6b3f9c103 SHA1 02b1e0c0338cd66fe01300de22d2c978fbf7bf6a SHA256 f6843041dd35ada00a553169adc56f64f3ec15f41081d988143371d39e49cac7
|
||||||
MISC ChangeLog 2014 RMD160 19dd6b3f89bf8764149d57e3dbb21deca6e39a46 SHA1 654b852fe4ab4cba8d0ffccc3e69486a385529b9 SHA256 f71338a8857e2d9c003343d2a581ba0016335e585f51b94b98569bc4a62b69df
|
EBUILD fedora-ds-base-1.1.2.ebuild 1849 RMD160 d590fcdf83339154d51900a8301039d6b3f9c103 SHA1 02b1e0c0338cd66fe01300de22d2c978fbf7bf6a SHA256 f6843041dd35ada00a553169adc56f64f3ec15f41081d988143371d39e49cac7
|
||||||
|
MISC ChangeLog 2162 RMD160 a077de985c201896194547fbbe4e8bb39cd3af02 SHA1 ae3e43cf5b4111a08f0faed6b3d9d82ad5e289ba SHA256 5a6cc4f40810f6ce065851fcd613dd00bcf8a67f011bb326e9a9e3aa3ad7d84e
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||||
|
77
net-nds/fedora-ds-base/fedora-ds-base-1.1.1-r2.ebuild
Normal file
77
net-nds/fedora-ds-base/fedora-ds-base-1.1.1-r2.ebuild
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
# 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}
|
||||||
|
cd ${S}
|
||||||
|
epatch ${FILESDIR}/bug435774.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
77
net-nds/fedora-ds-base/fedora-ds-base-1.1.2.ebuild
Normal file
77
net-nds/fedora-ds-base/fedora-ds-base-1.1.2.ebuild
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
# 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}
|
||||||
|
cd ${S}
|
||||||
|
epatch ${FILESDIR}/bug435774.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
30
net-nds/fedora-ds-base/files/bug435774.patch
Normal file
30
net-nds/fedora-ds-base/files/bug435774.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
Index: ldapserver/ldap/admin/src/scripts/DSCreate.pm.in
|
||||||
|
===================================================================
|
||||||
|
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/DSCreate.pm.in,v
|
||||||
|
retrieving revision 1.11
|
||||||
|
diff -u -8 -r1.11 DSCreate.pm.in
|
||||||
|
--- ldapserver/ldap/admin/src/scripts/DSCreate.pm.in 16 May 2008 16:25:54 -0000 1.11
|
||||||
|
+++ ldapserver/ldap/admin/src/scripts/DSCreate.pm.in 14 Jul 2008 16:28:33 -0000
|
||||||
|
@@ -462,18 +462,21 @@
|
||||||
|
my $inf = shift;
|
||||||
|
my $istempldif = 0;
|
||||||
|
# If the user has specified an LDIF file to use to initialize the database,
|
||||||
|
# load it now
|
||||||
|
my $ldiffile = $inf->{slapd}->{InstallLdifFile};
|
||||||
|
if ($ldiffile =~ /none/i) {
|
||||||
|
debug(1, "No ldif file or org entries specified - no initial database will be created\n");
|
||||||
|
return ();
|
||||||
|
- } elsif ($ldiffile && -f $ldiffile) {
|
||||||
|
+ } elsif ($ldiffile && ($ldiffile !~ /suggest/i)) {
|
||||||
|
debug(1, "Loading initial ldif file $ldiffile\n");
|
||||||
|
+ if (! -r $ldiffile) {
|
||||||
|
+ return ('error_opening_init_ldif', $ldiffile);
|
||||||
|
+ }
|
||||||
|
} elsif (($inf->{slapd}->{Suffix} =~ /^(.*?)=/) && $suffixTable{$1}) {
|
||||||
|
my @errs;
|
||||||
|
my $template = $inf->{General}->{prefix} . $suffixTable{$1};
|
||||||
|
my $mapper = new Inf("$inf->{General}->{prefix}@infdir@/dsorgentries.map");
|
||||||
|
my $dsinf = new Inf("$inf->{General}->{prefix}@infdir@/slapd.inf");
|
||||||
|
my @rdns = ldap_explode_dn($inf->{slapd}->{Suffix}, 1);
|
||||||
|
$inf->{slapd}->{naming_value} = $rdns[0];
|
||||||
|
$mapper = process_maptbl($mapper, \@errs, $inf, $dsinf);
|
Loading…
Reference in New Issue
Block a user