ports/138514: [PATCH] dns/dnsmasq: Update to 2.50

Sylvio Cesar scjamorim at bsd.com.br
Thu Sep 3 23:20:04 UTC 2009


>Number:         138514
>Category:       ports
>Synopsis:       [PATCH] dns/dnsmasq: Update to 2.50
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 03 23:20:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylvio Cesar
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fbsd72.scjamorim.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug  3 22:10:47 BRT
>Description:
- Update to 2.50
- Added PORTDOCS to install files of doc
- Added file "pkg-message"
- Added "cat" to print message of pkg-message
- Changed pkg-plist

Added file(s):
- pkg-message

You can see log in mine tinderbox:
http://www.scjamorim.org/Home/dnsmasq-2.50.log

Port maintainer (matthias.andree at gmx.de) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- dnsmasq-2.50.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/dns/dnsmasq/Makefile,v
retrieving revision 1.56
diff -u -u -r1.56 Makefile
--- Makefile	2 Sep 2009 12:18:10 -0000	1.56
+++ Makefile	3 Sep 2009 23:11:08 -0000
@@ -53,12 +53,15 @@
 	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.8 ${PREFIX}/man/man8
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.for docs in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+.endfor
 .endif
 	${MKDIR} ${EXAMPLESDIR}/dynamic-dnsmasq ${EXAMPLESDIR}/dnslist
 	${INSTALL_SCRIPT} ${WRKSRC}/contrib/dynamic-dnsmasq/dynamic-dnsmasq.pl ${EXAMPLESDIR}/dynamic-dnsmasq/
 	${INSTALL_SCRIPT} ${WRKSRC}/contrib/dnslist/dnslist.pl ${EXAMPLESDIR}/dnslist/
 	${INSTALL_DATA} ${WRKSRC}/contrib/dnslist/dhcp.css ${EXAMPLESDIR}/dnslist/
 	${INSTALL_DATA} ${WRKSRC}/contrib/dnslist/dnslist.tt2 ${EXAMPLESDIR}/dnslist/
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ pkg-message	3 Sep 2009 23:11:08 -0000
@@ -0,0 +1,8 @@
+**************************************************************************
+* You should copy etc/dnsmasq.conf.example to etc/dnsmasq.conf           *
+*                                                                        *
+*                                                                        *
+* To run dnsmasq from startup, add dnsmasq_enable="YES"                  * 
+* in your /etc/rc.conf                                                   *
+*                                                                        *
+**************************************************************************
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/dns/dnsmasq/pkg-plist,v
retrieving revision 1.4
diff -u -u -r1.4 pkg-plist
--- pkg-plist	22 Feb 2006 20:16:25 -0000	1.4
+++ pkg-plist	3 Sep 2009 23:11:08 -0000
@@ -1,3 +1,4 @@
+ at unexec if cmp -s %D/etc/dnsmasq.conf %D/etc/dnsmasq.conf.example; then rm -f %D/etc/dnsmasq.conf; fi
 sbin/dnsmasq
 etc/dnsmasq.conf.example
 %%EXAMPLESDIR%%/dnslist/dhcp.css
--- dnsmasq-2.50.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list