diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-30 08:45:27 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-30 08:45:27 +0800 |
commit | ed39b703edad2a81c34a578a6bf40a0c155fa803 (patch) | |
tree | 3a55bd8394f34a6ed1815d3b5a8d53ce08e5f19e /dns | |
parent | 604c683923a3ac9fb1eced680a7baffe537f0960 (diff) | |
download | freebsd-ports-gnome-ed39b703edad2a81c34a578a6bf40a0c155fa803.tar.gz freebsd-ports-gnome-ed39b703edad2a81c34a578a6bf40a0c155fa803.tar.zst freebsd-ports-gnome-ed39b703edad2a81c34a578a6bf40a0c155fa803.zip |
New port: net/rbldnsd - small fast DNS server for DNSBL zones
A very small and fast DNS server made especially for DNSBL
zones. Inspired by Dan J Bernstein's rbldns from djbdns,
but entirely original (and faster and more featureful).
PR: ports/53274
Submitted by: Paul Chvostek <paul+fbsd@it.ca>
Diffstat (limited to 'dns')
-rw-r--r-- | dns/Makefile | 1 | ||||
-rw-r--r-- | dns/rbldnsd/Makefile | 36 | ||||
-rw-r--r-- | dns/rbldnsd/distinfo | 2 | ||||
-rw-r--r-- | dns/rbldnsd/files/patch-aa | 38 | ||||
-rw-r--r-- | dns/rbldnsd/pkg-descr | 11 | ||||
-rw-r--r-- | dns/rbldnsd/pkg-plist | 6 |
6 files changed, 94 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile index 8a7f9778e922..84269a6b2823 100644 --- a/dns/Makefile +++ b/dns/Makefile @@ -1,4 +1,5 @@ # $FreeBSD$ # + SUBDIR += rbldnsd .include <bsd.port.subdir.mk> diff --git a/dns/rbldnsd/Makefile b/dns/rbldnsd/Makefile new file mode 100644 index 000000000000..585f349d595a --- /dev/null +++ b/dns/rbldnsd/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: rbldnsd +# Date created: Fri Jun 13 05:30:12 EDT 2003 +# Whom: Paul Chvostek <paul@it.ca> +# +# $FreeBSD$ +# + +PORTNAME= rbldnsd +PORTVERSION= 0.96 +CATEGORIES= dns +MASTER_SITES= http://www.it.ca/~paul/src/:0 +DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}:0 + +MAINTAINER= paul+ports@it.ca +COMMENT= Small and fast DNS daemon especially for DNSBL zones + +.if !defined(NOPORTDOCS) +EXTRACT_ONLY= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX} +MASTER_SITES+= http://www.it.ca/~paul/src/:1 +DISTFILES+= rbldnsd.html:1 +.endif + +MAN8= rbldnsd.8 + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${PREFIX}/sbin/ + @${INSTALL_MAN} ${WRKSRC}/rbldnsd.8 ${PREFIX}/man/man8/ +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/CHANGES-0.81 ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR} + @${INSTALL_DATA} ${DISTDIR}/rbldnsd.html ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/dns/rbldnsd/distinfo b/dns/rbldnsd/distinfo new file mode 100644 index 000000000000..a6d7fbbb0e8b --- /dev/null +++ b/dns/rbldnsd/distinfo @@ -0,0 +1,2 @@ +MD5 (rbldnsd_0.96.tar.gz) = 7b0d155e70436ddc50528412fa398cad +MD5 (rbldnsd.html) = d9eae742d3875e467c8a4555eba678ca diff --git a/dns/rbldnsd/files/patch-aa b/dns/rbldnsd/files/patch-aa new file mode 100644 index 000000000000..2fcbfcd29345 --- /dev/null +++ b/dns/rbldnsd/files/patch-aa @@ -0,0 +1,38 @@ +--- Makefile.orig Fri Jun 13 05:14:45 2003 ++++ Makefile Fri Jun 13 05:19:41 2003 +@@ -4,26 +4,28 @@ + # Makefile for rbldnsd + +-CC = cc +-CFLAGS = -O ++CC ?= cc ++CFLAGS += -O + LD = $(CC) +-LDFLAGS = $(CFLAGS) ++LDFLAGS += $(CFLAGS) + AR = ar + ARFLAGS = rv + RANLIB = : +-SHELL = /bin/sh +-AWK = awk ++SHELL = ${SH} ++AWK ?= awk + + # Disable statistic counters + #DEFS = -DNOSTATS + # Disable memory info logging (mallinfo) +-#DEFS = -DNOMEMINFO ++DEFS += -DNOMEMINFO + # Disable printing zone (re)load time using utimes() + #DEFS = -DNOTIMES + # If your system lacks <stdint.h> header but uint32_t is in sys/types.h +-#DEFS = -DNOSTDINT_H ++DEFS += -DNOSTDINT_H + # If you don't want/have IPv6 support (transport only) +-#DEFS = -DNOIPv6 ++.if !defined(WITH_IPV6) ++DEFS += -DNOIPv6 ++.endif + # + # For FreeBSD 4, use DEFS="-DNOMEMINFO -DNOSTDINT_H" + # For Solaris, use DEFS="-DNOMEMINFO -DNOSTDINT_H -DNOIPv6" diff --git a/dns/rbldnsd/pkg-descr b/dns/rbldnsd/pkg-descr new file mode 100644 index 000000000000..0c27c8ded02f --- /dev/null +++ b/dns/rbldnsd/pkg-descr @@ -0,0 +1,11 @@ +rbldnsd is a small and fast DNS daemon, made especially to serve DNSBL +zones. It was inspired by Dan J. Bernstein's rbldns program, found in +/usr/ports/net/djbdns, but is significantly faster. + +See http://www.corpit.ru/mjt/rbldnsd.html for more information. + +rbldnsd was written by Michael Tokarev. + +WWW: http://www.corpit.ru/mjt/rbldnsd.html + +- Paul Chvostek <paul+ports@it.ca> diff --git a/dns/rbldnsd/pkg-plist b/dns/rbldnsd/pkg-plist new file mode 100644 index 000000000000..ae62a84fccf5 --- /dev/null +++ b/dns/rbldnsd/pkg-plist @@ -0,0 +1,6 @@ +sbin/rbldnsd +%%PORTDOCS%%share/doc/rbldnsd/CHANGES-0.81 +%%PORTDOCS%%share/doc/rbldnsd/NEWS +%%PORTDOCS%%share/doc/rbldnsd/TODO +%%PORTDOCS%%share/doc/rbldnsd/rbldnsd.html +%%PORTDOCS%%@dirrm share/doc/rbldnsd |