Date: Mon, 28 Jun 2004 19:50:45 GMT From: Jonathan Weiss <tomonage2@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/68454: Portupdate+rcNG of dnsmasq Message-ID: <200406281950.i5SJojbk060748@www.freebsd.org> Resent-Message-ID: <200406282000.i5SK0aIG073702@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 68454 >Category: ports >Synopsis: Portupdate+rcNG of dnsmasq >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: Mon Jun 28 20:00:36 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Jonathan Weiss >Release: 5-CURRENT >Organization: >Environment: FreeBSD satan.nodomain 5.2-CURRENT FreeBSD 5.2-CURRENT #4: Wed Jun 23 11:10:49 CEST 2004 root@satan.nodomain:/usr/obj/usr/src/sys/SATAN i386 >Description: This is a patch in order to update the port dns/dnsmasq from 2.7 to 2.9. Also there is a rcNG- startupfile included. >How-To-Repeat: Install dnsmasq >Fix: The follwing patch updats the port: http://bsd.grp.tu-berlin.de/dnsmasq_2.9.patch or: ------------------------------------- diff -urN /usr/ports/dns/dnsmasq/Makefile /home/mille/ports/dns/dnsmasq/Makefile --- /usr/ports/dns/dnsmasq/Makefile Thu Apr 29 10:24:39 2004 +++ /home/mille/ports/dns/dnsmasq/Makefile Mon Jun 28 21:37:48 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 -urN /usr/ports/dns/dnsmasq/distinfo /home/mille/ports/dns/dnsmasq/distinfo --- /usr/ports/dns/dnsmasq/distinfo Thu Apr 29 10:24:39 2004 +++ /home/mille/ports/dns/dnsmasq/distinfo Thu Jun 24 21:22:57 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 -urN /usr/ports/dns/dnsmasq/files/dnsmasq.sh /home/mille/ports/dns/dnsmasq/files/dnsmasq.sh --- /usr/ports/dns/dnsmasq/files/dnsmasq.sh Thu Jan 1 01:00:00 1970 +++ /home/mille/ports/dns/dnsmasq/files/dnsmasq.sh Mon Jun 28 21:38:27 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" + >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406281950.i5SJojbk060748>