From owner-svn-ports-all@FreeBSD.ORG Sun Jan 19 23:39:18 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E669928F; Sun, 19 Jan 2014 23:39:18 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B85E816F3; Sun, 19 Jan 2014 23:39:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0JNdIJf058389; Sun, 19 Jan 2014 23:39:18 GMT (envelope-from ashish@svn.freebsd.org) Received: (from ashish@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0JNdI9c058385; Sun, 19 Jan 2014 23:39:18 GMT (envelope-from ashish@svn.freebsd.org) Message-Id: <201401192339.s0JNdI9c058385@svn.freebsd.org> From: Ashish SHUKLA Date: Sun, 19 Jan 2014 23:39:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340358 - head/dns/pdnsd X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 23:39:19 -0000 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: Серж ИвановЪ (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 +IPV6_CONFIGURE_ENABLE= ipv6 -.if ${PORT_OPTIONS:MIPV6} -CONFIGURE_ARGS+= --enable-ipv6 -.endif +.include 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 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