From owner-svn-ports-head@FreeBSD.ORG Mon May 11 12:20:23 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE7924B1; Mon, 11 May 2015 12:20:23 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC195198A; Mon, 11 May 2015 12:20:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4BCKNns021730; Mon, 11 May 2015 12:20:23 GMT (envelope-from xmj@FreeBSD.org) Received: (from xmj@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4BCKM8f021723; Mon, 11 May 2015 12:20:22 GMT (envelope-from xmj@FreeBSD.org) Message-Id: <201505111220.t4BCKM8f021723@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: xmj set sender to xmj@FreeBSD.org using -f From: Johannes Jost Meixner Date: Mon, 11 May 2015 12:20:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386076 - in head/net: . libnss-cache X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2015 12:20:24 -0000 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 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 +# $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 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