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
commit4941b328c804ef4778600195b7c8dd3fd2d46cd1 (patch)
tree2d36d0f0f3a00906bb768e56be72b9f72f067014 /sys-auth
parentold (diff)
downloadgentoo-2-4941b328c804ef4778600195b7c8dd3fd2d46cd1.tar.gz
gentoo-2-4941b328c804ef4778600195b7c8dd3fd2d46cd1.tar.bz2
gentoo-2-4941b328c804ef4778600195b7c8dd3fd2d46cd1.zip
Initial import of libnss-cache.
(Portage version: 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..0c395f0753dd
--- /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 537 RMD160 24c214084850ce105faf057374c5069623d229da SHA1 ca3cb04c5c2587b7db5d193e6a8b948b926485f0 SHA256 2e3e35a7d23f117d73c3aeb27c218fab5fcc711c4e764bea2262a8b201a6fa45
+MISC ChangeLog 297 RMD160 71b49e9ef4ac3f37ebd5e4d8ae2dc834183dc02a SHA1 62b581d524e9ed38f35de9122266aca657eb3bc0 SHA256 b058d85e25faeab40406604657ad6396cc42255276f8e29ec0c46dabc67d198d
+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>