Date: Mon, 25 May 2009 05:14:46 GMT From: Konstantin Saurbier <konstantin@saurbier.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/134927: [UPDATE] dns/ldns 1.5.1_1 - adding build option for example programs Message-ID: <200905250514.n4P5EkfF050941@www.freebsd.org> Resent-Message-ID: <200905250520.n4P5K1d2094689@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134927 >Category: ports >Synopsis: [UPDATE] dns/ldns 1.5.1_1 - adding build option for example programs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon May 25 05:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Konstantin Saurbier >Release: 7.1-RELEASE >Organization: >Environment: FreeBSD merkur.saurbier.net 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #0: Sun Mar 22 12:35:36 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: The users of dns/ldns requested a build option for the example programs of ldns. This patch adds this option and bumps the port revision. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN ldns.orig/Makefile ldns/Makefile --- ldns.orig/Makefile 2009-02-26 21:16:58.000000000 +0000 +++ ldns/Makefile 2009-04-02 16:36:39.901242476 +0000 @@ -7,6 +7,7 @@ PORTNAME= ldns PORTVERSION= 1.5.1 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= http://www.nlnetlabs.nl/downloads/ldns/ @@ -18,7 +19,8 @@ USE_OPENSSL= yes USE_LDCONFIG= yes -OPTIONS= DOCS "With documentation" Off +OPTIONS= DOCS "With documentation" Off \ + EXAMPLES "With example programs" Off .include <bsd.port.pre.mk> @@ -217,4 +219,29 @@ ldns_zone_sort.3 .endif +.if defined(WITH_EXAMPLES) +PLIST_SUB+= EXAMPLES="" +NOMANCOMPRESS= true +MANCOMPRESSED= no +MAN1= ldns-chaos.1 ldns-nsec3-hash.1 ldns-update.1 ldns-compare-zones.1 \ + ldns-read-zone.1 ldns-verify-zone.1 ldns-dpa.1 ldns-resolver.1 \ + ldns-version.1 ldns-key2ds.1 ldns-revoke.1 ldns-walk.1 \ + ldns-keyfetcher.1 ldns-rrsig.1 ldns-zcat.1 ldns-keygen.1 \ + ldns-signzone.1 ldns-zsplit.1 ldns-mx.1 ldns-testns.1 ldnsd.1 \ + ldns-notify.1 + +post-configure: + @(cd ${WRKSRC}/examples; ./configure --prefix=${PREFIX} \ + --infodir=${PREFIX}/${INFO_PATH} --mandir=${MANPREFIX}/man \ + --build=${CONFIGURE_TARGET}) + +post-build: + @(cd ${WRKSRC}/examples; ${GMAKE}) + +post-install: + @(cd ${WRKSRC}/examples; ${GMAKE} install) +.else +PLIST_SUB+= EXAMPLES="@comment " +.endif + .include <bsd.port.post.mk> Files ldns.orig/ldns-1.5.1.tbz and ldns/ldns-1.5.1.tbz differ diff -ruN ldns.orig/pkg-plist ldns/pkg-plist --- ldns.orig/pkg-plist 2009-01-27 19:32:50.000000000 +0000 +++ ldns/pkg-plist 2009-03-31 17:53:18.618627785 +0000 @@ -1,3 +1,25 @@ +%%EXAMPLES%%bin/ldns-chaos +%%EXAMPLES%%bin/ldns-compare-zones +%%EXAMPLES%%bin/ldns-dpa +%%EXAMPLES%%bin/ldns-key2ds +%%EXAMPLES%%bin/ldns-keyfetcher +%%EXAMPLES%%bin/ldns-keygen +%%EXAMPLES%%bin/ldns-mx +%%EXAMPLES%%bin/ldns-notify +%%EXAMPLES%%bin/ldns-nsec3-hash +%%EXAMPLES%%bin/ldns-read-zone +%%EXAMPLES%%bin/ldns-resolver +%%EXAMPLES%%bin/ldns-revoke +%%EXAMPLES%%bin/ldns-rrsig +%%EXAMPLES%%bin/ldns-signzone +%%EXAMPLES%%bin/ldns-testns +%%EXAMPLES%%bin/ldns-update +%%EXAMPLES%%bin/ldns-verify-zone +%%EXAMPLES%%bin/ldns-version +%%EXAMPLES%%bin/ldns-walk +%%EXAMPLES%%bin/ldns-zcat +%%EXAMPLES%%bin/ldns-zsplit +%%EXAMPLES%%bin/ldnsd include/ldns/buffer.h include/ldns/common.h include/ldns/dname.h >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905250514.n4P5EkfF050941>