summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-08-16 05:05:12 +0000
committerMike Frysinger <vapier@gentoo.org>2008-08-16 05:05:12 +0000
commit2b0b8d47b314502498005b9b0345f7493182763f (patch)
tree024c007d965ed2ca452b939ae6c8dcfa628b518c /net-libs/libnfsidmap
parentAdd fix from upstream for NULL blkids. (diff)
downloadhistorical-2b0b8d47b314502498005b9b0345f7493182763f.tar.gz
historical-2b0b8d47b314502498005b9b0345f7493182763f.tar.bz2
historical-2b0b8d47b314502498005b9b0345f7493182763f.zip
old
Diffstat (limited to 'net-libs/libnfsidmap')
-rw-r--r--net-libs/libnfsidmap/files/libnfsidmap-0.16-optional-ldap.patch38
-rw-r--r--net-libs/libnfsidmap/libnfsidmap-0.17.ebuild34
2 files changed, 0 insertions, 72 deletions
diff --git a/net-libs/libnfsidmap/files/libnfsidmap-0.16-optional-ldap.patch b/net-libs/libnfsidmap/files/libnfsidmap-0.16-optional-ldap.patch
deleted file mode 100644
index 570880b8fe80..000000000000
--- a/net-libs/libnfsidmap/files/libnfsidmap-0.16-optional-ldap.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- 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/libnfsidmap-0.17.ebuild b/net-libs/libnfsidmap/libnfsidmap-0.17.ebuild
deleted file mode 100644
index 2a75e38cde35..000000000000
--- a/net-libs/libnfsidmap/libnfsidmap-0.17.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfsidmap/libnfsidmap-0.17.ebuild,v 1.11 2007/01/31 20:46:49 dertobi123 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 m68k mips ppc ppc64 s390 sh 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
-}