Date: Sun, 19 Jan 2014 23:39:18 +0000 (UTC) From: Ashish SHUKLA <ashish@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340358 - head/dns/pdnsd Message-ID: <201401192339.s0JNdI9c058385@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ashish Date: Sun Jan 19 23:39:17 2014 New Revision: 340358 URL: http://svnweb.freebsd.org/changeset/ports/340358 QAT: https://qat.redports.org/buildarchive/r340358/ Log: - Add STAGE support - Fix issue during installation[1] - Remove incorrect pkg-message Submitted by: Серж ИвановЪ <evasive.gyron at gmail.com> (via private mail) Deleted: head/dns/pdnsd/pkg-message Modified: head/dns/pdnsd/Makefile head/dns/pdnsd/pkg-install head/dns/pdnsd/pkg-plist Modified: head/dns/pdnsd/Makefile ============================================================================== --- head/dns/pdnsd/Makefile Sun Jan 19 23:21:30 2014 (r340357) +++ head/dns/pdnsd/Makefile Sun Jan 19 23:39:17 2014 (r340358) @@ -24,9 +24,6 @@ OPTIONS_DEFINE= IPV6 DOCS WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -MAN5= pdnsd.conf.5 -MAN8= pdnsd.8 pdnsd-ctl.8 - PDNSDB= /var/db/pdnsd DOCSRCDIR= ${WRKSRC}/doc DOC_FILES= html/dl.html html/doc.html html/faq.html html/index.html @@ -34,20 +31,14 @@ DOC_FILES+= txt/faq.txt txt/intro.txt tx CFLAGS+= -pthread -NO_STAGE= yes -.include <bsd.port.options.mk> +IPV6_CONFIGURE_ENABLE= ipv6 -.if ${PORT_OPTIONS:MIPV6} -CONFIGURE_ARGS+= --enable-ipv6 -.endif +.include <bsd.port.options.mk> post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${DOC_FILES:S@^@${DOCSRCDIR}/@} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${DOC_FILES:S@^@${DOCSRCDIR}/@} ${STAGEDIR}${DOCSDIR} .endif - @[ -f ${PREFIX}/etc/pdnsd.conf ] || \ - ${INSTALL_DATA} ${PREFIX}/etc/pdnsd.conf.sample ${PREFIX}/etc/pdnsd.conf - @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> Modified: head/dns/pdnsd/pkg-install ============================================================================== --- head/dns/pdnsd/pkg-install Sun Jan 19 23:21:30 2014 (r340357) +++ head/dns/pdnsd/pkg-install Sun Jan 19 23:39:17 2014 (r340358) @@ -4,6 +4,6 @@ PDNSDB=/var/db/pdnsd mkdir -p ${PDNSDB} chown nobody ${PDNSDB} chmod 755 ${PDNSDB} -truncate -s 4 ${PDNSDB} +touch ${PDNSDB}/pdnsd.cache chown nobody ${PDNSDB}/pdnsd.cache chmod 640 ${PDNSDB}/pdnsd.cache Modified: head/dns/pdnsd/pkg-plist ============================================================================== --- head/dns/pdnsd/pkg-plist Sun Jan 19 23:21:30 2014 (r340357) +++ head/dns/pdnsd/pkg-plist Sun Jan 19 23:39:17 2014 (r340358) @@ -1,6 +1,9 @@ @unexec if cmp -s %D/etc/pdnsd.conf %D/etc/pdnsd.conf.sample; then rm %D/etc/pdnsd.conf; fi etc/pdnsd.conf.sample @exec [ -f %D/etc/pdnsd.conf ] || install -m 644 %D/etc/pdnsd.conf.sample %D/etc/pdnsd.conf +man/man5/pdnsd.conf.5.gz +man/man8/pdnsd-ctl.8.gz +man/man8/pdnsd.8.gz sbin/pdnsd sbin/pdnsd-ctl %%PORTDOCS%%%%DOCSDIR%%/dl.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401192339.s0JNdI9c058385>