diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2011-01-13 06:47:11 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2011-01-13 06:47:11 +0000 |
commit | db617c36d240e9f61eecd9625d4f8636eb70ee3f (patch) | |
tree | 315310ae56b2175e4db7a689a9f099e36e84710f /sys-auth | |
parent | Initial commit, ebuild by boris64, bug 296738 (diff) | |
download | historical-db617c36d240e9f61eecd9625d4f8636eb70ee3f.tar.gz historical-db617c36d240e9f61eecd9625d4f8636eb70ee3f.tar.bz2 historical-db617c36d240e9f61eecd9625d4f8636eb70ee3f.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha14/cvs/Linux x86_64
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/libnss-cache/ChangeLog | 11 | ||||
-rw-r--r-- | sys-auth/libnss-cache/Manifest | 6 | ||||
-rw-r--r-- | sys-auth/libnss-cache/files/libnss-cache-0.10-fix-shadow-test.patch | 12 | ||||
-rw-r--r-- | sys-auth/libnss-cache/files/libnss-cache-0.10-make.patch | 27 | ||||
-rw-r--r-- | sys-auth/libnss-cache/libnss-cache-0.10.ebuild | 29 |
5 files changed, 82 insertions, 3 deletions
diff --git a/sys-auth/libnss-cache/ChangeLog b/sys-auth/libnss-cache/ChangeLog index 535e3b57e9cf..81e02c250903 100644 --- a/sys-auth/libnss-cache/ChangeLog +++ b/sys-auth/libnss-cache/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-auth/libnss-cache -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-cache/ChangeLog,v 1.5 2010/09/15 00:53:42 xmw Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-cache/ChangeLog,v 1.6 2011/01/13 06:47:11 robbat2 Exp $ + +*libnss-cache-0.10 (13 Jan 2011) + + 13 Jan 2011; Robin H. Johnson <robbat2@gentoo.org> +libnss-cache-0.10.ebuild, + +files/libnss-cache-0.10-fix-shadow-test.patch, + +files/libnss-cache-0.10-make.patch: + Version bump. *libnss-cache-0.1-r1 (15 Sep 2010) diff --git a/sys-auth/libnss-cache/Manifest b/sys-auth/libnss-cache/Manifest index d5d7c88b5387..882f8018cae4 100644 --- a/sys-auth/libnss-cache/Manifest +++ b/sys-auth/libnss-cache/Manifest @@ -1,7 +1,11 @@ AUX 0.1-make-install.patch 1066 RMD160 73d57a9c2af5a12d42d804e85457a6ccd9c29911 SHA1 38ca6585bb67f1ff69fe505d6a770bf05268be7d SHA256 22b5f4331436630394e395c3cffc1ac0537adf7dff48b6b772aec845af229222 AUX libnss-cache-0.1-r1-make-install.patch 1051 RMD160 bdccdc9d359186764936e0cd6ef2ec21f938f597 SHA1 2af50d541739d0725e710fad5e5d46e21cb47666 SHA256 80350d7d6081986bd99d149328c34f4171af6d201f29a01ae6a003c108f48c7a +AUX libnss-cache-0.10-fix-shadow-test.patch 410 RMD160 787bb9fed9fac67567b6f3d42b8ad6317c40b0ad SHA1 07f872f79daf08b677b87c3f5a115e90149855ef SHA256 fcd1ff350031c42fff90a4adf7af2702b83db97dc150c9113ecd5db3464a17b7 +AUX libnss-cache-0.10-make.patch 810 RMD160 70b8997565456adbeeb5fade472632d499967bf8 SHA1 5a9c5db064c999ddf96fac80a3654dd46a9d191c SHA256 cc22837ae2665c408019e88eb1d4caeeaf4df706d29a714cb64f19ffa9f9a94f DIST libnss-cache-0.1.tar.gz 7371 RMD160 f1a14e233a9441a521118be3be710b7a63d839df SHA1 9c7c12109ea6015e51bb0fc03f5e9160c3c5b806 SHA256 d7931100d0de9d4ce0e169d2bc06df85945495444d110f8fe57b312eb4464b94 +DIST libnss-cache-0.10.tar.gz 11278 RMD160 c6ab71d01e10ec796d5bed481de168a68425e131 SHA1 9c31a869954bec24965d593ed757df8fb4a7e5c3 SHA256 b311a270fc4f650c90e68ec09ba64ac593d45bfd05a0f476efeae7b5722da89d EBUILD libnss-cache-0.1-r1.ebuild 724 RMD160 90a0b37a312ed3a571ad67488417f0ef7a117785 SHA1 05dd8a091293c94d99c32f0ea55cfad04980a52d SHA256 53f6d5c9138ec120876a9961b29cceef430dd13415471147ecef4414fd8a90d3 EBUILD libnss-cache-0.1.ebuild 719 RMD160 03dde21fa55c85452d2a581e4f447bf0ea0c6ac0 SHA1 c3625d33d381912e5a4721fd637fb27bead7fc6c SHA256 26638d0a4ede62ca53968e4a948a338691bfd2f8c88fcac56d2341342edf9bf4 -MISC ChangeLog 1077 RMD160 9e5a6dfa3ebfc133dbd45022298eee43d456bbba SHA1 99b74d5d2d8ae529c7ce1a3ba7b4c0604a1408a8 SHA256 f5c4d7827498ea14d6baea48af681783420ba9c9c06684354967b3420dbe5169 +EBUILD libnss-cache-0.10.ebuild 762 RMD160 9377805c637c910d7ebb1265a38611ac15f510a4 SHA1 e291b1b012a01eb4c3633c574ebb7e0764e1e2b0 SHA256 512cf0c53ed484bce00797cae73b854c906244ffe674fcc64b9122c0314cef8c +MISC ChangeLog 1301 RMD160 d92a9e25029fd12c7244a6cdaae1cff8a5334aca SHA1 c8e627202bae92360d39772ca45004f7e0e437a1 SHA256 7645a013d66579f359d0710fcf42283241ce2f5fbc201bda900feb0ab9437426 MISC metadata.xml 249 RMD160 cc288c3d918df9fecf4122c05c5ba0ce720f2572 SHA1 7658c9fc75581538d2a2b40b466d02a6f8fdee4c SHA256 d32c7b66135139026802d69adebb2c6f914935f59c35522ad74a43bb2e99c850 diff --git a/sys-auth/libnss-cache/files/libnss-cache-0.10-fix-shadow-test.patch b/sys-auth/libnss-cache/files/libnss-cache-0.10-fix-shadow-test.patch new file mode 100644 index 000000000000..e68546c603a2 --- /dev/null +++ b/sys-auth/libnss-cache/files/libnss-cache-0.10-fix-shadow-test.patch @@ -0,0 +1,12 @@ +diff -Nuar libnss-cache-0.10.orig//gen_getent.c libnss-cache-0.10//gen_getent.c +--- libnss-cache-0.10.orig//gen_getent.c 2011-01-10 19:56:01.000000000 +0000 ++++ libnss-cache-0.10//gen_getent.c 2011-01-13 06:43:05.475875153 +0000 +@@ -133,7 +133,7 @@ + int errnop; + enum nss_status ret; + +- _nss_cache_setpwent_path(SHADOW_FILE); ++ _nss_cache_setspent_path(SHADOW_FILE); + + buffer = malloc(buflen); + diff --git a/sys-auth/libnss-cache/files/libnss-cache-0.10-make.patch b/sys-auth/libnss-cache/files/libnss-cache-0.10-make.patch new file mode 100644 index 000000000000..9bf5f5773cd1 --- /dev/null +++ b/sys-auth/libnss-cache/files/libnss-cache-0.10-make.patch @@ -0,0 +1,27 @@ +diff -Nuar libnss-cache-0.10.orig/Makefile libnss-cache-0.10/Makefile +--- libnss-cache-0.10.orig/Makefile 2011-01-10 19:56:01.000000000 +0000 ++++ libnss-cache-0.10/Makefile 2011-01-13 06:18:03.630052109 +0000 +@@ -1,16 +1,17 @@ +-CC=gcc ++CC?=gcc + #CFLAGS=-Wall -Wstrict-prototypes -Werror -fPIC -DDEBUG -g -O0 +-CFLAGS=-Wall -Wstrict-prototypes -Werror -fPIC ++CFLAGS := $(CFLAGS) -Wall -Wstrict-prototypes -fPIC ++LDFLAGS+= + LIBRARY=libnss_cache.so.2.0 + LINKS=libnss_cache.so.2 libnss_cache.so +-DESTDIR=/ ++DESTDIR?= + PREFIX=$(DESTDIR)/usr + BUILD=.libs + BUILD64=.libs64 + BUILD32=.libs32 +-LIBDIR=$(PREFIX)/lib +-LIBDIR64=$(PREFIX)/lib64 +-LIBDIR32=$(PREFIX)/lib32 ++LIBDIR?=$(PREFIX)/lib ++LIBDIR64?=$(PREFIX)/lib64 ++LIBDIR32?=$(PREFIX)/lib32 + SONAME=libnss_cache.so.2 + LD_SONAME=-Wl,-soname,$(SONAME) + TESTBIN=.testbin diff --git a/sys-auth/libnss-cache/libnss-cache-0.10.ebuild b/sys-auth/libnss-cache/libnss-cache-0.10.ebuild new file mode 100644 index 000000000000..46ce56989ad9 --- /dev/null +++ b/sys-auth/libnss-cache/libnss-cache-0.10.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2011 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.10.ebuild,v 1.1 2011/01/13 06:47:11 robbat2 Exp $ + +EAPI=2 + +inherit eutils multilib toolchain-funcs + +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-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${PF}-make.patch + epatch "${FILESDIR}"/${PF}-fix-shadow-test.patch +} + +src_compile() { + emake CC="$(tc-getCC)" nss_cache || die +} + +src_install() { + emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die +} |