Import rbldnsd 0.996

rbldnsd is a small and fast DNS daemon which is especially made to serve
DNSBL zones. This daemon was inspired by Dan J. Bernstein's rbldns
program found in the djbdns package.

From William Yodlowsky <bsd@openbsd.rutgers.edu>
This commit is contained in:
alek 2006-05-23 05:53:07 +00:00
parent 04d2ecae41
commit 0d038d7e8f
5 changed files with 68 additions and 0 deletions

32
net/rbldnsd/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/05/23 05:53:07 alek Exp $
COMMENT= "small daemon for DNSBLs"
DISTNAME= rbldnsd_0.996
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= net
HOMEPAGE= http://www.corpit.ru/mjt/rbldnsd.html
MAINTAINER= William Yodlowsky <bsd@openbsd.rutgers.edu>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c z
MASTER_SITES= http://www.corpit.ru/mjt/rbldnsd/ \
http://openbsd.rutgers.edu/
CONFIGURE_STYLE=simple
WRKDIST= ${WRKDIR}/${DISTNAME:S/rbldnsd_/rbldnsd-/}
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/rbldnsd.8 ${PREFIX}/man/man8
.include <bsd.port.mk>

4
net/rbldnsd/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (rbldnsd_0.996.tar.gz) = adba618d40a724a4d07a9b176d86b645
RMD160 (rbldnsd_0.996.tar.gz) = cd6971023df1cf25f0f5af8a9f6032f7aa63b09e
SHA1 (rbldnsd_0.996.tar.gz) = 9151bd2328341a797c220c34c87d9b9f3ba2d623
SIZE (rbldnsd_0.996.tar.gz) = 110623

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-rbldnsd_c,v 1.1.1.1 2006/05/23 05:53:07 alek Exp $
--- rbldnsd.c.orig Mon May 22 01:52:31 2006
+++ rbldnsd.c Mon May 22 01:52:35 2006
@@ -504,7 +504,7 @@ break;
initsockets(bindaddr, nba, family);
if (!user && !(uid = getuid()))
- user = "rbldns";
+ user = "_rbldns";
if (user && (p = strchr(user, ':')) != NULL)
*p++ = '\0';

15
net/rbldnsd/pkg/DESCR Normal file
View File

@ -0,0 +1,15 @@
rbldnsd is a small and fast DNS daemon which is especially made to serve
DNSBL zones. This daemon was inspired by Dan J. Bernstein's rbldns
program found in the djbdns package.
rbldnsd is extremely fast - it outperforms both bind and djbdns greatly.
It has very small memory footprint.
The daemon can serve both IP-based (ordb.org, dsbl.org etc) and
name-based (rfc-ignorant.org) blocklists. Unlike DJB's rbldns, it has
ability to specify individual values for every entry, can serve as many
zones on a single IP address as you wish, and, finally, it is a real
nameserver: it can reply to DNS metadata requests. The daemon keeps all
zones in memory for faster operations, but its memory usage is very
efficient, especially for repeated TXT values which are stored only
once.

5
net/rbldnsd/pkg/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/05/23 05:53:07 alek Exp $
@newgroup _rbldns:561
@newuser _rbldns:561:_rbldns:daemon:rbldns Account:/var/empty:/sbin/nologin
@man man/man8/rbldnsd.8
sbin/rbldnsd