aboutsummaryrefslogtreecommitdiff
path: root/dns/rbldnsd
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-08-30 00:45:27 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-08-30 00:45:27 +0000
commit180d7d9419b20195af73b58ba2c93c5ba06d9cab (patch)
tree5e5787657f31e977e70236ae7f6e044e6969423b /dns/rbldnsd
parent57cb0ea1789c01d4067eda99771193720f61f208 (diff)
downloadports-180d7d9419b20195af73b58ba2c93c5ba06d9cab.tar.gz
ports-180d7d9419b20195af73b58ba2c93c5ba06d9cab.zip
Notes
Diffstat (limited to 'dns/rbldnsd')
-rw-r--r--dns/rbldnsd/Makefile36
-rw-r--r--dns/rbldnsd/distinfo2
-rw-r--r--dns/rbldnsd/files/patch-aa38
-rw-r--r--dns/rbldnsd/pkg-descr11
-rw-r--r--dns/rbldnsd/pkg-plist6
5 files changed, 93 insertions, 0 deletions
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