aboutsummaryrefslogtreecommitdiff
path: root/dns/dnsmasq
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-01-30 14:01:34 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-01-30 14:01:34 +0000
commit6f9c6e1ee0f01ad70f8bcf71663da430f8a3f9da (patch)
treec301dd750910a3dbf7185da9f6893685a08eb78d /dns/dnsmasq
parent206720c9f644566526c7ebafaa97d8d762b23312 (diff)
downloadports-6f9c6e1ee0f01ad70f8bcf71663da430f8a3f9da.tar.gz
ports-6f9c6e1ee0f01ad70f8bcf71663da430f8a3f9da.zip
Notes
Diffstat (limited to 'dns/dnsmasq')
-rw-r--r--dns/dnsmasq/Makefile12
-rw-r--r--dns/dnsmasq/distinfo2
-rw-r--r--dns/dnsmasq/pkg-descr2
-rw-r--r--dns/dnsmasq/pkg-plist1
4 files changed, 11 insertions, 6 deletions
diff --git a/dns/dnsmasq/Makefile b/dns/dnsmasq/Makefile
index df3b37bddb09..7edc77b9af53 100644
--- a/dns/dnsmasq/Makefile
+++ b/dns/dnsmasq/Makefile
@@ -1,16 +1,16 @@
# New ports collection makefile for: dnsmasq
# Date created: 1 June 2003
-# Whom: Steven Honson <shonson@isoproplex.net>
+# Whom: Steven Honson <steven@honson.org>
#
# $FreeBSD$
#
PORTNAME= dnsmasq
-PORTVERSION= 1.18
+PORTVERSION= 2.1
CATEGORIES= dns
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
-MAINTAINER= shonson@isoproplex.net
+MAINTAINER= steven@honson.org
COMMENT= A caching DNS forwarder
USE_REINPLACE= yes
@@ -21,9 +21,13 @@ post-patch:
@${REINPLACE_CMD} -e \
's|^CC = gcc|CC?=cc|g ; \
s|^CFLAGS = -O2|CFLAGS+=-O2|g' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e \
+ "s,\/etc\/dnsmasq.conf,${PREFIX}\/etc\/dnsmasq.conf,g" \
+ ${WRKSRC}/src/config.h ${WRKSRC}/dnsmasq.8
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/etc/dnsmasq.conf.example
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8
.include <bsd.port.mk>
diff --git a/dns/dnsmasq/distinfo b/dns/dnsmasq/distinfo
index 881d0f1da2f3..76016c0eee1b 100644
--- a/dns/dnsmasq/distinfo
+++ b/dns/dnsmasq/distinfo
@@ -1 +1 @@
-MD5 (dnsmasq-1.18.tar.gz) = a90478d2248009ada61ed5bee87c034c
+MD5 (dnsmasq-2.1.tar.gz) = 9883dc9f3b984b1f174bce6b40f62ec2
diff --git a/dns/dnsmasq/pkg-descr b/dns/dnsmasq/pkg-descr
index e75bbab945d4..5a231c410a9d 100644
--- a/dns/dnsmasq/pkg-descr
+++ b/dns/dnsmasq/pkg-descr
@@ -7,4 +7,4 @@ configuration are important.
WWW: http://www.thekelleys.org.uk/dnsmasq/doc.html
- Steven Honson
-shonson@isoproplex.net
+steven@honson.org
diff --git a/dns/dnsmasq/pkg-plist b/dns/dnsmasq/pkg-plist
index 0f121782ec19..ce85762260d3 100644
--- a/dns/dnsmasq/pkg-plist
+++ b/dns/dnsmasq/pkg-plist
@@ -1 +1,2 @@
+etc/dnsmasq.conf.example
sbin/dnsmasq