Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2014 20:52:47 +0200 (CEST)
From:      Erwin Lansing <erwin@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/189869: [dns/opendnssec13] Fix staging with @sample 
Message-ID:  <20140516185247.E99B1668@mail.droso.net>
Resent-Message-ID: <201405161900.s4GJ00BA019273@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189869
>Category:       ports
>Synopsis:       [dns/opendnssec13] Fix staging with @sample
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 16 19:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Lansing
>Release:        FreeBSD 9.2-RELEASE-p5 amd64
>Organization:
DK Hostmaster A/S 
>Environment:
System: FreeBSD koala.droso.dk 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0: Tue Apr 29 19:09:13 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:

Fix staging, currently leaves orphans behind, and simplify plist with
@sample script.

>How-To-Repeat:
	
>Fix:

	

--- ods13.diff begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 354254)
+++ Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	opendnssec
 PORTVERSION=	1.3.16
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	dns
 MASTER_SITES=	http://dist.opendnssec.org/source/
 PKGNAMESUFFIX=	13
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 354254)
+++ pkg-plist	(working copy)
@@ -4,14 +4,10 @@
 bin/ods-ksmutil
 %%AUDITOR%%bin/ods-kaspcheck
 bin/ods-kasp2html
-@unexec if cmp -s %D/etc/opendnssec/conf.xml %D/etc/opendnssec/conf.xml.sample; then rm -f %D/etc/opendnssec/conf.xml; fi
-%%ETCDIR%%/conf.xml.sample
-@unexec if cmp -s %D/etc/opendnssec/kasp.xml %D/etc/opendnssec/kasp.xml.sample; then rm -f %D/etc/opendnssec/kasp.xml; fi
-%%ETCDIR%%/kasp.xml.sample
-@unexec if cmp -s %D/etc/opendnssec/zonefetch.xml %D/etc/opendnssec/zonefetch.xml.sample; then rm -f %D/etc/opendnssec/zonefetch.xml; fi
-%%ETCDIR%%/zonefetch.xml.sample
-@unexec if cmp -s %D/etc/opendnssec/zonelist.xml %D/etc/opendnssec/zonelist.xml.sample; then rm -f %D/etc/opendnssec/zonelist.xml; fi
-%%ETCDIR%%/zonelist.xml.sample
+@sample %%ETCDIR%%/conf.xml.sample
+@sample %%ETCDIR%%/kasp.xml.sample
+@sample %%ETCDIR%%/zonefetch.xml.sample
+@sample %%ETCDIR%%/zonelist.xml.sample
 %%AUDITOR%%lib/opendnssec/kasp_auditor/auditor.rb
 %%AUDITOR%%lib/opendnssec/kasp_auditor/changed_config.rb
 %%AUDITOR%%lib/opendnssec/kasp_auditor/commands.rb
--- ods13.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140516185247.E99B1668>