Index: head/dns/dnsmasq/Makefile =================================================================== --- head/dns/dnsmasq/Makefile (revision 112591) +++ head/dns/dnsmasq/Makefile (revision 112592) @@ -1,31 +1,32 @@ # New ports collection makefile for: dnsmasq # Date created: 1 June 2003 # Whom: Steven Honson # # $FreeBSD$ # PORTNAME= dnsmasq -PORTVERSION= 2.7 +PORTVERSION= 2.9 CATEGORIES= dns MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/ MAINTAINER= steven@honson.org COMMENT= A caching DNS forwarder 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 \ 's|^CC = gcc|CC?=cc|g ; \ s|^CFLAGS = -O2|CFLAGS+=-O2|g' ${WRKSRC}/Makefile 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 Property changes on: head/dns/dnsmasq/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.11 \ No newline at end of property +1.12 \ No newline at end of property Index: head/dns/dnsmasq/distinfo =================================================================== --- head/dns/dnsmasq/distinfo (revision 112591) +++ head/dns/dnsmasq/distinfo (revision 112592) @@ -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 Property changes on: head/dns/dnsmasq/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/dns/dnsmasq/files/dnsmasq.sh =================================================================== --- head/dns/dnsmasq/files/dnsmasq.sh (nonexistent) +++ head/dns/dnsmasq/files/dnsmasq.sh (revision 112592) @@ -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" + Property changes on: head/dns/dnsmasq/files/dnsmasq.sh ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/dns/dnsmasq/pkg-descr =================================================================== --- head/dns/dnsmasq/pkg-descr (revision 112591) +++ head/dns/dnsmasq/pkg-descr (revision 112592) @@ -1,15 +1,19 @@ -Dnsmasq is lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS -and, optionally, DHCP, to a small network. It can serve the names of local machines which are not in -the global DNS. The DHCP server integrates with the DNS server and allows machines with DHCP-allocated -addresses to appear in the DNS with names configured either in each host or in a central configuration -file. Dnsmasq supports static and dynamic DHCP leases and BOOTP for network booting of diskless -machines. +Dnsmasq is lightweight, easy to configure DNS forwarder and +DHCP server. It is designed to provide DNS and, optionally, +DHCP, to a small network. It can serve the names of local +machines which are not in the global DNS. The DHCP server +integrates with the DNS server and allows machines with +DHCP-allocated addresses to appear in the DNS with names +configured either in each host or in a central configuration +file. Dnsmasq supports static and dynamic DHCP leases and BOOTP +for network booting of diskless machines. -Dnsmasq is targeted at home networks using NAT and connected to the internet via a modem, cable-modem -or ADSL connection but would be a good choice for any small network where low resource use and ease of -configuration are important. +Dnsmasq is targeted at home networks using NAT and connected to +the internet via a modem, cable-modem or ADSL connection but +would be a good choice for any small network where low resource +use and ease of configuration are important. WWW: http://www.thekelleys.org.uk/dnsmasq/doc.html - Steven Honson steven@honson.org Property changes on: head/dns/dnsmasq/pkg-descr ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property