diff --git a/dev-libs/fedora-ds-adminutil/Manifest b/dev-libs/fedora-ds-adminutil/Manifest new file mode 100644 index 00000000..71fb5c4a --- /dev/null +++ b/dev-libs/fedora-ds-adminutil/Manifest @@ -0,0 +1,16 @@ +AUX adminutil-1.1.4-no_icu_pc.patch 573 RMD160 9b3e6e7d11a19c38827d5effdc077fef12966b02 SHA1 21505e8935351020b0c71828a76bd03588878a37 SHA256 c5b858e2e5f653cdbab08d05c9a34c855a2f390f72b7d6eba9944e1e7f6f99ab +MD5 f739d31b39c1d78f929620781e3a0a3a files/adminutil-1.1.4-no_icu_pc.patch 573 +RMD160 9b3e6e7d11a19c38827d5effdc077fef12966b02 files/adminutil-1.1.4-no_icu_pc.patch 573 +SHA256 c5b858e2e5f653cdbab08d05c9a34c855a2f390f72b7d6eba9944e1e7f6f99ab files/adminutil-1.1.4-no_icu_pc.patch 573 +AUX adminutil-cvs.sh 320 RMD160 132dfd104651cf7688b5334810ff96f3d3be4477 SHA1 55ecc190c624f751cbf8a5fe67cf20f0bf266ef9 SHA256 d34cf024629eab1d74475634c826b41c5542818d5817a27c303463b15c5d399b +MD5 5d44c98ba10f5626af3b82e099cd94f0 files/adminutil-cvs.sh 320 +RMD160 132dfd104651cf7688b5334810ff96f3d3be4477 files/adminutil-cvs.sh 320 +SHA256 d34cf024629eab1d74475634c826b41c5542818d5817a27c303463b15c5d399b files/adminutil-cvs.sh 320 +DIST adminutil-1.1.4-20070807.tar.bz2 308728 RMD160 57fa91fe81988edc1e12d93af25ff3a4bea6855d SHA1 df7b7944178663d1adf836a8524d70e9255f98c0 SHA256 61a578a0f1d78ea66a9c6390a8e44d7ec2162703f19b44e3aa3553b25f3119e3 +EBUILD fedora-ds-adminutil-1.1.4.20070807.ebuild 1656 RMD160 ef48d540e1c75e53c0b51273a345cf8e2d8523ed SHA1 83f022d252d77cbab8cdcb36bd7a09df24d7b302 SHA256 f00579dc97e1dda9eb37140890b047d6db1f0968d651a7df6355730f74e64c38 +MD5 d7c743f14dd17f3fd0d2e8e01b7ad891 fedora-ds-adminutil-1.1.4.20070807.ebuild 1656 +RMD160 ef48d540e1c75e53c0b51273a345cf8e2d8523ed fedora-ds-adminutil-1.1.4.20070807.ebuild 1656 +SHA256 f00579dc97e1dda9eb37140890b047d6db1f0968d651a7df6355730f74e64c38 fedora-ds-adminutil-1.1.4.20070807.ebuild 1656 +MD5 6e1642e99f7cb45b3f70c4c95754589f files/digest-fedora-ds-adminutil-1.1.4.20070807 277 +RMD160 1a2471b6039d97adfaf5b1114a0f33de2a115aeb files/digest-fedora-ds-adminutil-1.1.4.20070807 277 +SHA256 09505500b4cad6b1760cce98a236fafcdc1be3059c357b9b010a5854a5f1588f files/digest-fedora-ds-adminutil-1.1.4.20070807 277 diff --git a/dev-libs/fedora-ds-adminutil/fedora-ds-adminutil-1.1.4.20070807.ebuild b/dev-libs/fedora-ds-adminutil/fedora-ds-adminutil-1.1.4.20070807.ebuild new file mode 100644 index 00000000..c6bc89ea --- /dev/null +++ b/dev-libs/fedora-ds-adminutil/fedora-ds-adminutil-1.1.4.20070807.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils multilib versionator + +MY_PV=$(replace_version_separator 3 '-') + +DESCRIPTION="Fedora Directory Server (base)" +HOMEPAGE="http://directory.fedora.redhat.com/" +SRC_URI="ftp://mars.arge.at/fedora-ds/adminutil-${MY_PV}.tar.bz2" + +LICENSE="GPL-2-with-exceptions" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="sasl ipv6 debug" + +S="${WORKDIR}/adminutil-${MY_PV}" + +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" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/adminutil-1.1.4-no_icu_pc.patch +} + +src_compile() { + if use amd64 ; then + myconf="${myconf} --enable-64bit" + elif use sasl ; then + myconf="${myconf} --with-sasl=yes" + else + myconf="" + fi + + 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" + + # remove redhat style init script +# rm -rf ${D}/etc/rc.d + + # cope with libraries being in /usr/lib/fedora-ds +# dodir /etc/env.d +# echo "LDPATH=/usr/$(get_libdir)/fedora-ds" > ${D}/etc/env.d/08fedora-ds + +} diff --git a/dev-libs/fedora-ds-adminutil/files/adminutil-1.1.4-no_icu_pc.patch b/dev-libs/fedora-ds-adminutil/files/adminutil-1.1.4-no_icu_pc.patch new file mode 100644 index 00000000..e5d3771d --- /dev/null +++ b/dev-libs/fedora-ds-adminutil/files/adminutil-1.1.4-no_icu_pc.patch @@ -0,0 +1,11 @@ +diff -uNr adminutil-1.1.4-20070807.orig/adminutil.pc.in adminutil-1.1.4-20070807/adminutil.pc.in +--- adminutil-1.1.4-20070807.orig/adminutil.pc.in 2007-08-08 21:08:26.000000000 +0200 ++++ adminutil-1.1.4-20070807/adminutil.pc.in 2007-08-08 21:08:37.000000000 +0200 +@@ -6,6 +6,6 @@ + Name: @PACKAGE_NAME@ + Description: Utility library for directory server administration + Version: @PACKAGE_VERSION@ +-Requires: nspr, nss, svrcore, mozldap, icu ++Requires: nspr, nss, svrcore, mozldap + Libs: -ladmsslutil -ladminutil + Cflags: -I${includedir}/admsslutil -I${includedir}/adminutil diff --git a/dev-libs/fedora-ds-adminutil/files/adminutil-cvs.sh b/dev-libs/fedora-ds-adminutil/files/adminutil-cvs.sh new file mode 100755 index 00000000..dd448dd5 --- /dev/null +++ b/dev-libs/fedora-ds-adminutil/files/adminutil-cvs.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +DATE=`date +%Y%m%d` +CVSTAG=HEAD +VERSION=1.1.4 +PKGNAME=adminutil +export CVSROOT=:pserver:anonymous@cvs.fedora.redhat.com:/cvs/dirsec + +cvs -d "$CVSROOT" -z3 export -r$CVSTAG -d $PKGNAME-$VERSION-$DATE adminutil + +tar -cjf $PKGNAME-$VERSION-$DATE.tar.bz2 $PKGNAME-$VERSION-$DATE + +rm -rf $PKGNAME-$VERSION-$DATE diff --git a/dev-libs/fedora-ds-adminutil/files/digest-fedora-ds-adminutil-1.1.4.20070807 b/dev-libs/fedora-ds-adminutil/files/digest-fedora-ds-adminutil-1.1.4.20070807 new file mode 100644 index 00000000..437c995c --- /dev/null +++ b/dev-libs/fedora-ds-adminutil/files/digest-fedora-ds-adminutil-1.1.4.20070807 @@ -0,0 +1,3 @@ +MD5 22479358d513b102057169a6820fd9f8 adminutil-1.1.4-20070807.tar.bz2 308728 +RMD160 57fa91fe81988edc1e12d93af25ff3a4bea6855d adminutil-1.1.4-20070807.tar.bz2 308728 +SHA256 61a578a0f1d78ea66a9c6390a8e44d7ec2162703f19b44e3aa3553b25f3119e3 adminutil-1.1.4-20070807.tar.bz2 308728