summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-10 19:12:48 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-10 19:12:48 +0000
commitd1d349c3de20b77af6c2517383436df4d8c6976a (patch)
treec5905a0713061cfb06bffd0c995056ab60b012f6 /net-libs/libnfsidmap
parentrename to libnfsidmap (diff)
downloadhistorical-d1d349c3de20b77af6c2517383436df4d8c6976a.tar.gz
historical-d1d349c3de20b77af6c2517383436df4d8c6976a.tar.bz2
historical-d1d349c3de20b77af6c2517383436df4d8c6976a.zip
rename from nfsidmap
Package-Manager: portage-2.1
Diffstat (limited to 'net-libs/libnfsidmap')
-rw-r--r--net-libs/libnfsidmap/ChangeLog26
-rw-r--r--net-libs/libnfsidmap/files/digest-libnfsidmap-0.103
-rw-r--r--net-libs/libnfsidmap/files/digest-libnfsidmap-0.163
-rw-r--r--net-libs/libnfsidmap/files/libnfsidmap-0.16-optional-ldap.patch38
-rw-r--r--net-libs/libnfsidmap/files/nfsidmap-0.9-optional-ldap.patch38
-rw-r--r--net-libs/libnfsidmap/libnfsidmap-0.10.ebuild37
-rw-r--r--net-libs/libnfsidmap/libnfsidmap-0.16.ebuild34
-rw-r--r--net-libs/libnfsidmap/metadata.xml5
8 files changed, 184 insertions, 0 deletions
diff --git a/net-libs/libnfsidmap/ChangeLog b/net-libs/libnfsidmap/ChangeLog
new file mode 100644
index 000000000000..089bcca5cb0a
--- /dev/null
+++ b/net-libs/libnfsidmap/ChangeLog
@@ -0,0 +1,26 @@
+# ChangeLog for net-libs/libnfsidmap
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfsidmap/ChangeLog,v 1.1 2006/06/10 19:12:48 vapier Exp $
+
+*libnfsidmap-0.16 (10 Jun 2006)
+
+ 10 Jun 2006; Mike Frysinger <vapier@gentoo.org> :
+ Version bump / rename.
+
+*nfsidmap-0.10 (15 Mar 2005)
+
+ 15 Mar 2005; Mike Frysinger <vapier@gentoo.org> +nfsidmap-0.10.ebuild:
+ Version bump.
+
+*nfsidmap-0.9 (04 Feb 2005)
+
+ 04 Feb 2005; Aron Griffis <agriffis@gentoo.org> +nfsidmap-0.9.ebuild:
+ Bump to version 0.9
+
+ 08 Jan 2005; Sven Wegener <swegener@gentoo.org> nfsidmap-0.7.ebuild:
+ Added inherit flag-o-matic.
+
+*nfsidmap-0.7 (30 Dec 2004)
+
+ 30 Dec 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Micheal Marineau #70732.
diff --git a/net-libs/libnfsidmap/files/digest-libnfsidmap-0.10 b/net-libs/libnfsidmap/files/digest-libnfsidmap-0.10
new file mode 100644
index 000000000000..c1dad2b5132e
--- /dev/null
+++ b/net-libs/libnfsidmap/files/digest-libnfsidmap-0.10
@@ -0,0 +1,3 @@
+MD5 7f72edd613b8ca30f0dfcc401b0b96a4 nfsidmap-0.10.tar.gz 297593
+RMD160 76a2c834fcc0002e6cd1f67a328e12c65e296166 nfsidmap-0.10.tar.gz 297593
+SHA256 9df6e244e6e77680f9e7b3dbfc41b9e7262f4d716497e57c0526483ce11f5a62 nfsidmap-0.10.tar.gz 297593
diff --git a/net-libs/libnfsidmap/files/digest-libnfsidmap-0.16 b/net-libs/libnfsidmap/files/digest-libnfsidmap-0.16
new file mode 100644
index 000000000000..e9f39c7656d8
--- /dev/null
+++ b/net-libs/libnfsidmap/files/digest-libnfsidmap-0.16
@@ -0,0 +1,3 @@
+MD5 ab167a7449c029bd9f26e8275cc95c7b libnfsidmap-0.16.tar.gz 311737
+RMD160 b9665cfe50d9748e2a00249f4c5b5f76f032d140 libnfsidmap-0.16.tar.gz 311737
+SHA256 efcf0233a48a618efbacdcc7332843ca98b1e8b940d624f5c9fe460838c08b74 libnfsidmap-0.16.tar.gz 311737
diff --git a/net-libs/libnfsidmap/files/libnfsidmap-0.16-optional-ldap.patch b/net-libs/libnfsidmap/files/libnfsidmap-0.16-optional-ldap.patch
new file mode 100644
index 000000000000..570880b8fe80
--- /dev/null
+++ b/net-libs/libnfsidmap/files/libnfsidmap-0.16-optional-ldap.patch
@@ -0,0 +1,38 @@
+--- libnfsidmap-0.16/umich_ldap.c
++++ libnfsidmap-0.16/umich_ldap.c
+@@ -32,6 +32,8 @@
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
++#if defined(ENABLE_LDAP)
++
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netdb.h>
+@@ -1007,3 +1009,5 @@
+ .gid_to_name = umichldap_gid_to_name,
+ .gss_princ_to_grouplist = umichldap_gss_princ_to_grouplist,
+ };
++
++#endif /* ENABLE_LDAP */
+--- libnfsidmap-0.16/libnfsidmap.c
++++ libnfsidmap-0.16/libnfsidmap.c
+@@ -164,12 +164,18 @@
+ }
+
+ extern struct trans_func nss_trans;
++#if defined(ENABLE_LDAP)
+ extern struct trans_func umichldap_trans;
+
+ #define TR_SIZE 2
++#else
++#define TR_SIZE 1
++#endif
+ static struct trans_func * t_array[TR_SIZE] = {
+ [0] = &nss_trans,
++#if defined(ENABLE_LDAP)
+ [1] = &umichldap_trans,
++#endif
+ };
+
+ int
diff --git a/net-libs/libnfsidmap/files/nfsidmap-0.9-optional-ldap.patch b/net-libs/libnfsidmap/files/nfsidmap-0.9-optional-ldap.patch
new file mode 100644
index 000000000000..78d8cc31f36e
--- /dev/null
+++ b/net-libs/libnfsidmap/files/nfsidmap-0.9-optional-ldap.patch
@@ -0,0 +1,38 @@
+--- nfsidmap-0.7/libnfsidmap.c
++++ nfsidmap-0.7/libnfsidmap.c
+@@ -143,12 +143,18 @@
+ }
+
+ extern struct trans_func nss_trans;
++#if defined(ENABLE_LDAP)
+ extern struct trans_func umichldap_trans;
+
+ #define TR_SIZE 2
++#else
++#define TR_SIZE 1
++#endif
+ static struct trans_func * t_array[TR_SIZE] = {
+ [0] = &nss_trans,
++#if defined(ENABLE_LDAP)
+ [1] = &umichldap_trans,
++#endif
+ };
+
+ int
+--- nfsidmap-0.7/umich_ldap.c
++++ nfsidmap-0.7/umich_ldap.c
+@@ -32,6 +32,8 @@
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
++#if defined(ENABLE_LDAP)
++
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <sys/types.h>
+@@ -421,3 +423,5 @@
+ .gid_to_name = umichldap_gid_to_name,
+ .gss_princ_to_grouplist = umichldap_gss_princ_to_grouplist,
+ };
++
++#endif /* ENABLE_LDAP */
diff --git a/net-libs/libnfsidmap/libnfsidmap-0.10.ebuild b/net-libs/libnfsidmap/libnfsidmap-0.10.ebuild
new file mode 100644
index 000000000000..529f2329bf6e
--- /dev/null
+++ b/net-libs/libnfsidmap/libnfsidmap-0.10.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfsidmap/libnfsidmap-0.10.ebuild,v 1.1 2006/06/10 19:12:48 vapier Exp $
+
+inherit eutils flag-o-matic
+
+MY_P=nfsidmap-${PV}
+DESCRIPTION="NFSv4 ID <-> name mapping library"
+HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux/"
+SRC_URI="http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="ldap"
+
+DEPEND="ldap? ( net-nds/openldap )"
+RDEPEND="${DEPEND}
+ !net-fs/idmapd"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/nfsidmap-0.9-optional-ldap.patch
+
+ use ldap \
+ && append-flags -DENABLE_LDAP \
+ || sed -i '/^LIBS/s:-lldap::' Makefile.in
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/net-libs/libnfsidmap/libnfsidmap-0.16.ebuild b/net-libs/libnfsidmap/libnfsidmap-0.16.ebuild
new file mode 100644
index 000000000000..ab6ea6492e89
--- /dev/null
+++ b/net-libs/libnfsidmap/libnfsidmap-0.16.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfsidmap/libnfsidmap-0.16.ebuild,v 1.1 2006/06/10 19:12:48 vapier Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="NFSv4 ID <-> name mapping library"
+HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux/"
+SRC_URI="http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="ldap"
+
+DEPEND="ldap? ( net-nds/openldap )"
+RDEPEND="${DEPEND}
+ !net-fs/idmapd"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-0.16-optional-ldap.patch
+
+ use ldap \
+ && append-flags -DENABLE_LDAP \
+ || sed -i '/^LIBS/s:-lldap::' Makefile.in
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/net-libs/libnfsidmap/metadata.xml b/net-libs/libnfsidmap/metadata.xml
new file mode 100644
index 000000000000..ca66751dee2f
--- /dev/null
+++ b/net-libs/libnfsidmap/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-fs</herd>
+</pkgmetadata>