From takefu@airport.fm  Wed Jun 27 04:17:58 2012
Return-Path: <takefu@airport.fm>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C3BEB1065672;
	Wed, 27 Jun 2012 04:17:58 +0000 (UTC)
	(envelope-from takefu@airport.fm)
Received: from ae-osaka.co.jp (unknown [IPv6:2001:3e0:4ec:a000::1])
	by mx1.freebsd.org (Postfix) with ESMTP id 77D638FC14;
	Wed, 27 Jun 2012 04:17:58 +0000 (UTC)
Received: from ae-osaka.co.jp (localhost.ae-osaka.co.jp [127.0.0.1])
	by ae-osaka.co.jp (Postfix) with ESMTP id D00D0D3AC1D;
	Wed, 27 Jun 2012 13:17:50 +0900 (JST)
Received: from [IPv6:2001:3e0:4ec:a011:3df8:a5e3:6240:8ea1] (unknown [IPv6:2001:3e0:4ec:a011:3df8:a5e3:6240:8ea1])
	by ae-osaka.co.jp (Postfix) with ESMTPSA id D5961D3AC1B;
	Wed, 27 Jun 2012 13:17:48 +0900 (JST)
Message-Id: <4FEA8969.1030300@airport.fm>
Date: Wed, 27 Jun 2012 13:17:45 +0900
From: Takefu <takefu@airport.fm>
Reply-To: takefu@airport.fm
To: freebsd-gnats-submit@freebsd.org
Cc: sem@FreeBSD.org
In-Reply-To: <201206270017.q5R0H33s048442@unbound.local.ae-osaka.co.jp>
Subject: [PATCH] dns/unbound: pkg-install fails in the installation because
 this file is not found.
References: <201206270017.q5R0H33s048442@unbound.local.ae-osaka.co.jp>

>Number:         169474
>Category:       ports
>Synopsis:       [PATCH] dns/unbound: pkg-install fails in the installation because this file is not found.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sem
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 27 04:20:08 UTC 2012
>Closed-Date:    Wed Jun 27 09:01:41 UTC 2012
>Last-Modified:  Sun Mar 17 19:00:02 UTC 2013
>Originator:     Takefu
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
FOX Amateur Radio Club
>Environment:
>Description:
Pkg-install fails in the installation because this file is not found.
Munin plugin is not in the option item.

Port maintainer (sem@FreeBSD.org) is cc'd.
>How-To-Repeat:

# make __MAKE_CONF=/dev/null install
===>  Installing for unbound-1.4.17
===>   unbound-1.4.17 depends on file: /usr/local/lib/libcrypto.so.8 - found
** Missing /usr/ports/dns/unbound/files/pkg-install.in for unbound-1.4.17.
*** Error code 1

Stop in /usr/ports/dns/unbound.
*** Error code 1

>Fix:
--- unbound.patch begins here ---
diff -ruN /usr/ports/dns/unbound/Makefile dns/unbound/Makefile
--- /usr/ports/dns/unbound/Makefile	2012-06-27 02:44:28.000000000 +0900
+++ dns/unbound/Makefile	2012-06-27 09:16:27.000000000 +0900
@@ -34,15 +34,15 @@
 PORTDOCS=	CREDITS Changelog FEATURES LICENSE README README.svn \
 		README.tests TODO control_proto_spec.txt ietf67-design-02.odp \
 		ietf67-design-02.pdf requirements.txt
-SUB_FILES=	pkg-install pkg-deinstall
 PLIST_SUB+=	PYTHON=${PYTHON} MUNIN=${MUNIN}

-OPTIONS_DEFINE=	LIBEVENT THREADS PYTHON GOST ECDSA
+OPTIONS_DEFINE=	LIBEVENT THREADS PYTHON GOST ECDSA MUNIN
 OPTIONS_DEFAULT=THREADS ECDSA

 LIBEVENT_DESC=	Enable whenever using many (10000) outgoing ports
 GOST_DESC=	Enable GOST support (requires OpenSSL from ports)
 ECDSA_DESC=	Enable ECDSA (elliptic curve) support
+MUNIN_DESC=	Install Munin plugin

 .include <bsd.port.options.mk>

--- unbound.patch ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sem 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jun 27 04:20:19 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169474 
State-Changed-From-To: open->closed 
State-Changed-By: sem 
State-Changed-When: Wed Jun 27 09:01:39 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169474 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/169474: commit references a PR
Date: Wed, 27 Jun 2012 09:01:24 +0000 (UTC)

 sem         2012-06-27 09:01:10 UTC
 
   FreeBSD ports repository
 
   Modified files:
     dns/unbound          Makefile 
   Log:
   - Fix the port after the last commit
   
   PR:             ports/169474
   Submitted by:   Takefu <takefu at airport.fm>
   
   Revision  Changes    Path
   1.51      +2 -2      ports/dns/unbound/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
