FreeBSD Bugzilla – Attachment 156649 Details for
Bug 200123
[NEW PORT] net/nsscache a utility for caching directory service information into local cache files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
nsscache port shar v1
nsscache.shar (text/plain), 4.31 KB, created by
Kevin Bowling
on 2015-05-11 09:53:14 UTC
(
hide
)
Description:
nsscache port shar v1
Filename:
MIME Type:
Creator:
Kevin Bowling
Created:
2015-05-11 09:53:14 UTC
Size:
4.31 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># nsscache ># nsscache/pkg-descr ># nsscache/files ># nsscache/files/patch-setup.py ># nsscache/files/patch-nsscache.conf ># nsscache/Makefile ># nsscache/distinfo ># >echo c - nsscache >mkdir -p nsscache > /dev/null 2>&1 >echo x - nsscache/pkg-descr >sed 's/^X//' >nsscache/pkg-descr << '7c86f0aaa986069ff4c9c4bf379e7d63' >Xnsscache is a utility for caching directory service information into local >Xcache files. >X >XOn FreeBSD, it is intended to be used with the net/libnss-cache port but it >Xcan also output BDB files for use by other operating systems. >X >XWWW: https://github.com/google/nsscache >7c86f0aaa986069ff4c9c4bf379e7d63 >echo c - nsscache/files >mkdir -p nsscache/files > /dev/null 2>&1 >echo x - nsscache/files/patch-setup.py >sed 's/^X//' >nsscache/files/patch-setup.py << '8f081a9c00688ae085bbf971d60578b0' >X--- setup.py.orig 2014-10-21 10:32:31 UTC >X+++ setup.py >X@@ -48,5 +48,4 @@ as LDAP.''', >X 'nss_cache.util', >X 'nss_cache.update', >X 'nss_cache.sources'], >X- scripts=['nsscache'], >X- data_files=[('/etc', ['nsscache.conf'])]) >X+ scripts=['nsscache']) >8f081a9c00688ae085bbf971d60578b0 >echo x - nsscache/files/patch-nsscache.conf >sed 's/^X//' >nsscache/files/patch-nsscache.conf << '207c7ca0ac3c530864b53b08fc272fca' >X--- nsscache.conf.orig 2014-10-21 10:32:31 UTC >X+++ nsscache.conf >X@@ -2,7 +2,7 @@ >X # >X # nsscache loads a config file from the environment variable NSSCACHE_CONFIG >X # >X-# By default this is /etc/nsscache.conf >X+# By default this is <installation prefix>/etc/nsscache.conf >X # >X # Commented values are overrideable defaults, uncommented values >X # require you to set them. >X@@ -13,14 +13,14 @@ >X source = ldap >X >X # Default NSS data cache module name >X-cache = nssdb >X-#cache = files >X+#cache = nssdb >X+cache = files >X >X # NSS maps to be cached >X maps = passwd, group, shadow, netgroup, automount >X >X # Directory to store our update/modify timestamps >X-timestamp_dir = /var/lib/nsscache >X+timestamp_dir = /var/nsscache >X >X # Lockfile to use for update/repair operations >X #lockfile = /var/run/nsscache >X@@ -89,7 +89,7 @@ ldap_filter = (objectclass=posixAccount) >X >X # Directory to store nssdb databases. Current libnss_db code requires >X # the path below >X-nssdb_dir = /var/lib/misc >X+nssdb_dir = /var/nsscache >X >X # Path to `makedb', supplied by the nss_db module >X #nssdb_makedb = /usr/bin/makedb >207c7ca0ac3c530864b53b08fc272fca >echo x - nsscache/Makefile >sed 's/^X//' >nsscache/Makefile << '2216eb0ac5cd8fdd0f42784ef4b6034a' >X# Created by: Kevin Bowling <k@kev009.com> >X# $FreeBSD$ >X >XPORTNAME= nsscache >XPORTVERSION= 0.29 >XCATEGORIES= net python >X >XMAINTAINER= k@kev009.com >XCOMMENT= Python utility to create a local cache of directory services >X >XLICENSE= GPLv2 >X >XRUN_DEPENDS= ${PYTHON_SITELIBDIR}/pycurl.so:${PORTSDIR}/ftp/py-curl \ >X ${PYTHON_PKGNAMEPREFIX}ldap2>0:${PORTSDIR}/net/py-ldap2 \ >X ${PYTHON_PKGNAMEPREFIX}bsddb>0:${PORTSDIR}/databases/py-bsddb >X >XUSES= python:2 >XUSE_PYTHON= autoplist distutils >XUSE_GITHUB= yes >XGH_ACCOUNT= google >XGH_TAGNAME= version/${DISTVERSION} >X >XPLIST_FILES+= '@sample etc/nsscache.conf.sample' >XPLIST_FILES+= '@dir var/nsscache' >XPLIST_FILES+= man/man1/nsscache.1.gz >XPLIST_FILES+= man/man5/nsscache.conf.5.gz >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's,/etc/nsscache.conf,${PREFIX}/etc/nsscache.conf,g' ${WRKSRC}/nss_cache/config.py >X >Xpost-install: >X ${INSTALL_DATA} ${WRKSRC}/nsscache.conf ${STAGEDIR}${PREFIX}/etc/nsscache.conf.sample >X ${INSTALL_MAN} ${WRKSRC}/nsscache.1 ${STAGEDIR}${MANPREFIX}/man/man1 >X ${INSTALL_MAN} ${WRKSRC}/nsscache.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5 >X >Xpost-stage: >X @${MKDIR} ${STAGEDIR}/var/nsscache >X >X.include <bsd.port.mk> >2216eb0ac5cd8fdd0f42784ef4b6034a >echo x - nsscache/distinfo >sed 's/^X//' >nsscache/distinfo << 'cf631e27f08bb2c137fbc17c61b79aa2' >XSHA256 (google-nsscache-0.29-version-0.29_GH0.tar.gz) = 631cd032eecdbf27d276540d9e5bb945fced6e71bb3bc8f64475d80c472d9308 >XSIZE (google-nsscache-0.29-version-0.29_GH0.tar.gz) = 106591 >cf631e27f08bb2c137fbc17c61b79aa2 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 200123
:
156649
|
156653