summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2009-03-18 05:33:08 +0000
committerAlec Warner <antarus@gentoo.org>2009-03-18 05:33:08 +0000
commite1e5cc6c6bb29b1c700dcd0d74723d3bdcce0c22 (patch)
tree2d3ca18f5c2481b40b650d03a9a6687b8cb4ff80 /sys-auth
parentold (diff)
downloadhistorical-e1e5cc6c6bb29b1c700dcd0d74723d3bdcce0c22.tar.gz
historical-e1e5cc6c6bb29b1c700dcd0d74723d3bdcce0c22.tar.bz2
historical-e1e5cc6c6bb29b1c700dcd0d74723d3bdcce0c22.zip
Initial import of libnss-cache.
Package-Manager: portage-2.1.4.5
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/libnss-cache/ChangeLog10
-rw-r--r--sys-auth/libnss-cache/Manifest5
-rw-r--r--sys-auth/libnss-cache/files/0.1-make-install.patch21
-rw-r--r--sys-auth/libnss-cache/libnss-cache-0.1.ebuild28
-rw-r--r--sys-auth/libnss-cache/metadata.xml5
5 files changed, 69 insertions, 0 deletions
diff --git a/sys-auth/libnss-cache/ChangeLog b/sys-auth/libnss-cache/ChangeLog
new file mode 100644
index 000000000000..b7f19852f53b
--- /dev/null
+++ b/sys-auth/libnss-cache/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-auth/libnss-cache
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-cache/ChangeLog,v 1.1 2009/03/18 05:33:07 antarus Exp $
+
+*libnss-cache-0.1 (18 Mar 2009)
+
+ 18 Mar 2009; Alec Warner <antarus@gentoo.org>
+ +files/0.1-make-install.patch, +libnss-cache-0.1.ebuild:
+ Initial import of libnss-cache.
+
diff --git a/sys-auth/libnss-cache/Manifest b/sys-auth/libnss-cache/Manifest
new file mode 100644
index 000000000000..5376593cb959
--- /dev/null
+++ b/sys-auth/libnss-cache/Manifest
@@ -0,0 +1,5 @@
+AUX 0.1-make-install.patch 617 RMD160 fccfb92c84e759b26d1c05cdb77bc702850aab4e SHA1 a2dc2d07390b77b2dee06dad53fafc23025e7395 SHA256 254cde87db1ef95b623b5a8dba1ffec49428c8a0e335377f390b86e454376abd
+DIST libnss-cache-0.1.tar.gz 7371 RMD160 f1a14e233a9441a521118be3be710b7a63d839df SHA1 9c7c12109ea6015e51bb0fc03f5e9160c3c5b806 SHA256 d7931100d0de9d4ce0e169d2bc06df85945495444d110f8fe57b312eb4464b94
+EBUILD libnss-cache-0.1.ebuild 645 RMD160 5571ff2cada38752408b0e28fe5fe1fd197d0a7a SHA1 ce5ea30cd70bc7bd4420cd9749a166801c952002 SHA256 ba6380a18ee68abd29e79bcb556ec08a1d3e285996ccc3282b9ae5f87a87c41d
+MISC ChangeLog 391 RMD160 f1d7e32cde54170cce468c4199643c66aa99776d SHA1 5f435d2d6ea1fae5faa833ea1eb26c880114db64 SHA256 33f5495d76e9597ac540653a59f34b3007bdb1ea9520a6fa6f406bbba7ae132d
+MISC metadata.xml 171 RMD160 5a419c3135013b4b321dac70f611a0a4fdce40ad SHA1 d92c626607f8d20d27bad77be1c591937c9a33ce SHA256 4a03010700e508691922d5ba63e8fe7db592e7e537ac4a79a2d0fdd13499c11e
diff --git a/sys-auth/libnss-cache/files/0.1-make-install.patch b/sys-auth/libnss-cache/files/0.1-make-install.patch
new file mode 100644
index 000000000000..3281d0c4c7e1
--- /dev/null
+++ b/sys-auth/libnss-cache/files/0.1-make-install.patch
@@ -0,0 +1,21 @@
+--- libnss-cache/Makefile 2009-03-17 20:42:15.128063498 -0700
++++ libnss-cache/Makefile 2009-03-17 20:38:33.059408526 -0700
+@@ -3,14 +3,16 @@
+ CFLAGS=-Wall -fPIC
+ LIBRARY=libnss_cache.so.2.0
+ LINKS=libnss_cache.so.2 libnss_cache.so
+-PREFIX=/usr
++DESTDIR=/
++PREFIX=$(DESTDIR)/usr
+ BUILD=.libs
+ LIBDIR=$(PREFIX)/lib
++SONAME=libnss_cache.so.2
+
+ nss_cache:
+ [ -d $(BUILD) ] || mkdir $(BUILD)
+ $(CC) $(CFLAGS) -c nss_cache.c -o $(BUILD)/nss_cache.o
+- $(CC) -shared -o $(BUILD)/$(LIBRARY) $(BUILD)/nss_cache.o
++ $(CC) -shared -Wl,-soname,$(SONAME) -o $(BUILD)/$(LIBRARY) $(BUILD)/nss_cache.o
+
+ clean:
+ rm -rf $(BUILD)
diff --git a/sys-auth/libnss-cache/libnss-cache-0.1.ebuild b/sys-auth/libnss-cache/libnss-cache-0.1.ebuild
new file mode 100644
index 000000000000..657c471ad36e
--- /dev/null
+++ b/sys-auth/libnss-cache/libnss-cache-0.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-cache/libnss-cache-0.1.ebuild,v 1.1 2009/03/18 05:33:07 antarus Exp $
+
+inherit eutils multilib
+
+DESCRIPTION="libnss-cache is a library that serves nss lookups."
+HOMEPAGE="http://code.google.com/p/nsscache/"
+SRC_URI="http://nsscache.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}/${PV}-make-install.patch"
+}
+
+src_install() {
+ emake LIBDIR=$(get_libdir)
+}
diff --git a/sys-auth/libnss-cache/metadata.xml b/sys-auth/libnss-cache/metadata.xml
new file mode 100644
index 000000000000..4f4797c619e0
--- /dev/null
+++ b/sys-auth/libnss-cache/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>maintainer-needed</herd>
+</pkgmetadata>