diff options
author | will <will@FreeBSD.org> | 2003-06-03 02:03:40 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2003-06-03 02:03:40 +0000 |
commit | aa830dbe4101fe7d5a466cce8ee07bb8aa4c3807 (patch) | |
tree | b6988f1ba337251657533a7df343979b4259c9f3 /dns/dnsmasq | |
parent | 0695c590921a808c5d85a18ff7a2ef2d0e7e2de6 (diff) | |
download | FreeBSD-ports-aa830dbe4101fe7d5a466cce8ee07bb8aa4c3807.zip FreeBSD-ports-aa830dbe4101fe7d5a466cce8ee07bb8aa4c3807.tar.gz |
Add dnsmasq 1.12, a caching DNS forwarder.
PR: 52840
Submitted by: Steven Honson <shonson@isoproplex.net>
Diffstat (limited to 'dns/dnsmasq')
-rw-r--r-- | dns/dnsmasq/Makefile | 29 | ||||
-rw-r--r-- | dns/dnsmasq/distinfo | 1 | ||||
-rw-r--r-- | dns/dnsmasq/files/patch-Makefile | 11 | ||||
-rw-r--r-- | dns/dnsmasq/files/patch-config.h | 12 | ||||
-rw-r--r-- | dns/dnsmasq/files/patch-dnsmasq.h | 11 | ||||
-rw-r--r-- | dns/dnsmasq/pkg-descr | 10 | ||||
-rw-r--r-- | dns/dnsmasq/pkg-plist | 1 |
7 files changed, 75 insertions, 0 deletions
diff --git a/dns/dnsmasq/Makefile b/dns/dnsmasq/Makefile new file mode 100644 index 0000000..d9ccc65 --- /dev/null +++ b/dns/dnsmasq/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: dnsmasq +# Date created: 1 June 2003 +# Whom: Steven Honson <shonson@isoproplex.net> +# +# $FreeBSD$ +# + +PORTNAME= dnsmasq +PORTVERSION= 1.12 +CATEGORIES= net +MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/ + +MAINTAINER= shonson@isoproplex.net +COMMENT= A caching DNS forwarder + +.if defined(WITH_IPV6) +CFLAGS += -DWITH_IPV6 +.endif + +MAN8= dnsmasq.8 + +pre-fetch: +.if !defined(WITH_IPV6) + @${ECHO_CMD} "" + @${ECHO_CMD} "Define WITH_IPV6 to build dnsmasq with IPv6 support." + @${ECHO_CMD} "" +.endif + +.include <bsd.port.mk> diff --git a/dns/dnsmasq/distinfo b/dns/dnsmasq/distinfo new file mode 100644 index 0000000..18c0494 --- /dev/null +++ b/dns/dnsmasq/distinfo @@ -0,0 +1 @@ +MD5 (dnsmasq-1.12.tar.gz) = 41f4ef37bb38e7b50430d00de92d5789 diff --git a/dns/dnsmasq/files/patch-Makefile b/dns/dnsmasq/files/patch-Makefile new file mode 100644 index 0000000..6c1b93c --- /dev/null +++ b/dns/dnsmasq/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig Mon Jun 2 22:22:30 2003 ++++ Makefile Mon Jun 2 22:22:35 2003 +@@ -3,7 +3,7 @@ + MANDIR = /usr/local/man + + CC = gcc +-CFLAGS = -O2 ++CFLAGS += -O2 + + all : dnsmasq + diff --git a/dns/dnsmasq/files/patch-config.h b/dns/dnsmasq/files/patch-config.h new file mode 100644 index 0000000..6773924 --- /dev/null +++ b/dns/dnsmasq/files/patch-config.h @@ -0,0 +1,12 @@ +--- config.h.orig Mon Jun 2 22:04:52 2003 ++++ config.h Mon Jun 2 22:05:03 2003 +@@ -35,7 +35,7 @@ + /* We assume that systems which don't have IPv6 + headers don't have ntop and pton either */ + +-#if defined(INET6_ADDRSTRLEN) ++#if defined(INET6_ADDRSTRLEN) && defined(WITH_IPV6) + # define HAVE_IPV6 + # define ADDRSTRLEN INET6_ADDRSTRLEN + #elif defined(INET_ADDRSTRLEN) + diff --git a/dns/dnsmasq/files/patch-dnsmasq.h b/dns/dnsmasq/files/patch-dnsmasq.h new file mode 100644 index 0000000..bb09ba8 --- /dev/null +++ b/dns/dnsmasq/files/patch-dnsmasq.h @@ -0,0 +1,11 @@ +--- dnsmasq.h.orig Mon Jun 2 00:17:58 2003 ++++ dnsmasq.h Mon Jun 2 00:18:08 2003 +@@ -16,7 +16,7 @@ + #include <sys/types.h> + #include <netinet/in.h> + /* and this for C library versions */ +-#include <libio.h> ++/* #include <libio.h> */ + + #include "config.h" + diff --git a/dns/dnsmasq/pkg-descr b/dns/dnsmasq/pkg-descr new file mode 100644 index 0000000..e75bbab --- /dev/null +++ b/dns/dnsmasq/pkg-descr @@ -0,0 +1,10 @@ +Dnsmasq is a caching DNS forwarder designed to provide DNS service on a +small network. It 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 +shonson@isoproplex.net diff --git a/dns/dnsmasq/pkg-plist b/dns/dnsmasq/pkg-plist new file mode 100644 index 0000000..0f12178 --- /dev/null +++ b/dns/dnsmasq/pkg-plist @@ -0,0 +1 @@ +sbin/dnsmasq |