Skip site navigation (1)Skip section navigation (2)
Date:      30 Jun 2004 00:02:04 -0000
From:      Steven Honson <steven@honson.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68491: [maintainer update] dns/dnsmasq to version 2.9
Message-ID:  <20040630000204.19693.qmail@stormtrooper.enumerati.org>
Resent-Message-ID: <200406300010.i5U0A6jc027221@freefall.freebsd.org>

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

>Number:         68491
>Category:       ports
>Synopsis:       [maintainer update] dns/dnsmasq to version 2.9
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 30 00:10:05 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Steven Honson
>Release:        
>Organization:
>Environment:
>Description:

Update of dnsmasq to version 2.9, also includes rcNG patch. Both patches kindly 
provided by Jonathan Weiss.

>How-To-Repeat:
>Fix:

--- dnsmasq.patch begins here ---
diff -ruN dns/dnsmasq.old/Makefile dns/dnsmasq/Makefile
--- dns/dnsmasq.old/Makefile	Sat May 22 14:27:08 2004
+++ dns/dnsmasq/Makefile	Wed Jun 30 09:53:18 2004
@@ -2,11 +2,10 @@
 # Date created:				1 June 2003
 # Whom:					Steven Honson <steven@honson.org>
 #
-# $FreeBSD: ports/dns/dnsmasq/Makefile,v 1.11 2004/04/29 08:24:39 krion Exp $
 #
 
 PORTNAME=	dnsmasq
-PORTVERSION=	2.7
+PORTVERSION=	2.9
 CATEGORIES=	dns
 MASTER_SITES=	http://www.thekelleys.org.uk/dnsmasq/
 
@@ -16,7 +15,7 @@
 USE_REINPLACE=	yes
 
 MAN8=		dnsmasq.8
-PLIST_FILES=	sbin/dnsmasq etc/dnsmasq.conf.example
+PLIST_FILES=	sbin/dnsmasq etc/dnsmasq.conf.example etc/rc.d/dnsmasq.sh
 
 post-patch:
 	@${REINPLACE_CMD} -e \
@@ -26,6 +25,7 @@
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin
 	${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/etc/dnsmasq.conf.example
+	${INSTALL_SCRIPT} files/dnsmasq.sh ${PREFIX}/etc/rc.d/dnsmasq.sh
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8
 
 .include <bsd.port.mk>
diff -ruN dns/dnsmasq.old/distinfo dns/dnsmasq/distinfo
--- dns/dnsmasq.old/distinfo	Sat May 22 14:27:08 2004
+++ dns/dnsmasq/distinfo	Wed Jun 30 09:53:18 2004
@@ -1,2 +1,2 @@
-MD5 (dnsmasq-2.7.tar.gz) = f526e81e11627177e9949b72d5424f7a
-SIZE (dnsmasq-2.7.tar.gz) = 99948
+MD5 (dnsmasq-2.9.tar.gz) = d3f365eaba2f60b115c97116d382e98c
+SIZE (dnsmasq-2.9.tar.gz) = 104552
diff -ruN dns/dnsmasq.old/files/dnsmasq.sh dns/dnsmasq/files/dnsmasq.sh
--- dns/dnsmasq.old/files/dnsmasq.sh	Thu Jan  1 11:00:00 1970
+++ dns/dnsmasq/files/dnsmasq.sh	Wed Jun 30 09:53:18 2004
@@ -0,0 +1,29 @@
+#! /bin/sh
+#
+#
+# PROVIDE: dnsmasq
+# REQUIRE: DAEMON NETWORKING SERVERS
+# KEYWORD: FreeBSD
+#
+# Add the following line to /etc/rc.conf to enable dnsmasq:
+#
+# dnsmasq_enable="YES"
+#
+
+# override these variables in /etc/rc.conf
+dnsmasq_enable=NO
+
+
+. /etc/rc.subr
+
+name=dnsmasq
+rcvar=$(set_rcvar)
+
+command=/usr/local/sbin/${name}
+pidfile=/var/run/${name}.pid
+required_files=${dnsmasq_conf}
+#start_precmd=${name}_precmd
+
+load_rc_config ${name}
+run_rc_command "$1"
+
--- dnsmasq.patch ends here ---


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



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