Date: Mon, 11 May 2015 12:20:22 +0000 (UTC) From: Johannes Jost Meixner <xmj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386076 - in head/net: . libnss-cache Message-ID: <201505111220.t4BCKM8f021723@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: xmj Date: Mon May 11 12:20:22 2015 New Revision: 386076 URL: https://svnweb.freebsd.org/changeset/ports/386076 Log: net/libnss-cache: Add port. libnss-cache is a NSS module for reading directory service information for hosts from an indexed, local disk cache of that directory service. nsswitch.conf services provided: passwd and group Add 'nsscache' to the desired service(s) and generate the cache with the net/nsscache port. WWW: https://github.com/google/libnss-cache PR: 200120 Submitted by: Kevin Bowling <k@kev009.com> Added: head/net/libnss-cache/ head/net/libnss-cache/Makefile (contents, props changed) head/net/libnss-cache/distinfo (contents, props changed) head/net/libnss-cache/pkg-descr (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Mon May 11 12:04:18 2015 (r386075) +++ head/net/Makefile Mon May 11 12:20:22 2015 (r386076) @@ -315,6 +315,7 @@ SUBDIR += libnfs SUBDIR += libnids SUBDIR += libnids-libnet11 + SUBDIR += libnss-cache SUBDIR += libnss-mysql SUBDIR += liboauth SUBDIR += libopennet Added: head/net/libnss-cache/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libnss-cache/Makefile Mon May 11 12:20:22 2015 (r386076) @@ -0,0 +1,32 @@ +# Created by: Kevin Bowling <k@kev009.com> +# $FreeBSD$ + +PORTNAME= libnss-cache +PORTVERSION= 0.13 +CATEGORIES= net + +MAINTAINER= k@kev009.com +COMMENT= NSS module for directory services using an indexed, local disk cache + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= gmake +USE_LDCONFIG= yes +USE_GITHUB= yes +GH_ACCOUNT= google +GH_TAGNAME= 9cacefb1afdeeefcb35c6f363370909692da5203 + +PLIST_FILES= lib/nss_nsscache.so lib/nss_nsscache.so.1 + +post-patch: + ${REINPLACE_CMD} -e 's|PREFIX=$$(DESTDIR)/usr|PREFIX=${STAGEDIR}${PREFIX}|g' \ + -e 's|LIBRARY=libnss_cache.so.2.0|LIBRARY=nss_nsscache.so.1|g' \ + -e 's|BASE_LIBRARY=libnss_cache.so.2|BASE_LIBRARY=nss_nsscache.so|g' \ + -e 's|SONAME=libnss_cache.so.2|SONAME=nss_nsscahe.so.1|g' \ + ${WRKSRC}/Makefile + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/nss_nsscache.so.1 + +.include <bsd.port.mk> Added: head/net/libnss-cache/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libnss-cache/distinfo Mon May 11 12:20:22 2015 (r386076) @@ -0,0 +1,2 @@ +SHA256 (google-libnss-cache-0.13-9cacefb1afdeeefcb35c6f363370909692da5203_GH0.tar.gz) = d3bf4c06ba165ab8ba8c244487cdf4ada5862b9493c87973a8aadabd48759767 +SIZE (google-libnss-cache-0.13-9cacefb1afdeeefcb35c6f363370909692da5203_GH0.tar.gz) = 17114 Added: head/net/libnss-cache/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libnss-cache/pkg-descr Mon May 11 12:20:22 2015 (r386076) @@ -0,0 +1,9 @@ +libnss-cache is a NSS module for reading directory service information for +hosts from an indexed, local disk cache of that directory service. + +nsswitch.conf services provided: passwd and group + +Add 'nsscache' to the desired service(s) and generate the cache with the +net/nsscache port. + +WWW: https://github.com/google/libnss-cache
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505111220.t4BCKM8f021723>