Summary: | [NEW PORT] net/nsscache a utility for caching directory service information into local cache files | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Kevin Bowling <kbowling> | ||||||
Component: | Individual Port(s) | Assignee: | Johannes Jost Meixner <xmj> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | xmj | ||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Kevin Bowling
![]() ![]() I'll take it. Nits: - PLIST_FILES+= is unnecessary, you can wrap lines by adding a backslash \ at the endof the line like so: PLIST_FILES= '@sample etc/nsscache.conf.sample' '@dir /var/db/nsscache' \ man/man1/nsscache.1.gz man/man5/nsscache.conf.5.gz - I've replaced +# By default this is <installation prefix>/etc/nsscache.conf with +# By default this is %%PREFIX%%/etc/nsscache.conf and added a REINPLACE_CMD line to Makefile to patch that %%PREFIX%% into the actual ${PREFIX}. It's a good idea (if not mandatory) to add licensing files to the Makefile with LICENSE_FILE= ${WRKSRC}/COPYING. Likewise, you might want to patch out /var/lib/misc in the manpage in favor of /var/db/nsscache (which is a better place, according to hier(7). Can you please try if the attached diff works for creating local cache files? Created attachment 156653 [details]
SVN diff with review changes for testing
A commit references this bug: Author: xmj Date: Mon May 11 17:18:57 UTC 2015 New revision: 386090 URL: https://svnweb.freebsd.org/changeset/ports/386090 Log: net/nsscache: add port nsscache is a utility for caching directory service information into local cache files. On FreeBSD, it is intended to be used with the net/libnss-cache port but it can also output BDB files for use by other operating systems. WWW: https://github.com/google/nsscache PR: 200123 Submitted by: Kevin Bowling <kevin.bowling@kev009.com> Obtained from: Limelight Networks Changes: head/net/Makefile head/net/nsscache/ head/net/nsscache/Makefile head/net/nsscache/distinfo head/net/nsscache/files/ head/net/nsscache/files/patch-nsscache.conf head/net/nsscache/files/patch-setup.py head/net/nsscache/pkg-descr Committed as revision 386090. |