summaryrefslogtreecommitdiff
path: root/dns/rbllookup-ng
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-11-13 13:10:14 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-11-13 13:10:14 +0000
commit7a999ee653b926629ca4dda3ace0b095401a9997 (patch)
treee518daf4cec33db58c2fe2e23e0e3685ffcedb82 /dns/rbllookup-ng
parentUpdate documentation checksums (unbreak). (diff)
Improved version of dns/rbllookup
Notes
Notes: svn path=/head/; revision=177177
Diffstat (limited to 'dns/rbllookup-ng')
-rw-r--r--dns/rbllookup-ng/Makefile39
-rw-r--r--dns/rbllookup-ng/distinfo3
-rw-r--r--dns/rbllookup-ng/files/patch-rbllookup.pl11
-rw-r--r--dns/rbllookup-ng/pkg-descr8
4 files changed, 61 insertions, 0 deletions
diff --git a/dns/rbllookup-ng/Makefile b/dns/rbllookup-ng/Makefile
new file mode 100644
index 000000000000..a6934969d616
--- /dev/null
+++ b/dns/rbllookup-ng/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: rbllookup-ng
+# Date created: 2006-11-13
+# Whom: Edwin Groothuis <edwin@mavetju.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rbllookup-ng
+PORTVERSION= 1.0
+CATEGORIES= dns mail
+MASTER_SITES= http://www.mavetju.org/download/
+
+MAINTAINER= edwin@mavetju.org
+COMMENT= Check given IP/Host presence in RBLs
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
+ ${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
+
+NO_BUILD= yes
+USE_PERL5= yes
+
+PLIST_FILES= bin/rbllookup bin/getmoensted etc/rbllookup.conf-sample
+PORTDOCS= CHANGELOG INSTALL NOTES README TODO gpg.asc
+
+CONFLICTS= rbllookup-0.*
+
+post-patch:
+ ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/rbllookup.pl
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/rbllookup.pl ${PREFIX}/bin/rbllookup
+ ${INSTALL_SCRIPT} ${WRKSRC}/getmoensted.pl ${PREFIX}/bin/getmoensted
+ ${INSTALL_DATA} ${WRKSRC}/rbllookup.conf ${PREFIX}/etc/rbllookup.conf-sample
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/dns/rbllookup-ng/distinfo b/dns/rbllookup-ng/distinfo
new file mode 100644
index 000000000000..56c695bb36ed
--- /dev/null
+++ b/dns/rbllookup-ng/distinfo
@@ -0,0 +1,3 @@
+MD5 (rbllookup-ng-1.0.tar.gz) = c7c102eac0bae5c367161880eca5090f
+SHA256 (rbllookup-ng-1.0.tar.gz) = 70137125ef0068541cb0ee25b1e873951bfa34f4a7be3a18a06241561d5b7c4f
+SIZE (rbllookup-ng-1.0.tar.gz) = 13122
diff --git a/dns/rbllookup-ng/files/patch-rbllookup.pl b/dns/rbllookup-ng/files/patch-rbllookup.pl
new file mode 100644
index 000000000000..4265cbe9adad
--- /dev/null
+++ b/dns/rbllookup-ng/files/patch-rbllookup.pl
@@ -0,0 +1,11 @@
+--- rbllookup.pl.orig Mon Nov 13 23:55:52 2006
++++ rbllookup.pl Tue Nov 14 00:04:11 2006
+@@ -39,7 +39,7 @@
+
+ # Reading configuration
+
+-my $configfile="/etc/rbllookup.conf";
++my $configfile="%%PREFIX%%/etc/rbllookup.conf";
+ my $test=0;
+ my $parallel=32;
+ my $timeout=5;
diff --git a/dns/rbllookup-ng/pkg-descr b/dns/rbllookup-ng/pkg-descr
new file mode 100644
index 000000000000..52a1cab823c7
--- /dev/null
+++ b/dns/rbllookup-ng/pkg-descr
@@ -0,0 +1,8 @@
+rbllookup is a small perl script which allow you to check given IP/host
+name.
+
+In this version you have statically inserted RBL servers, but code is based
+on GPL source, so you can easy add more/replace/delete RBL servers by
+editing rbllookup.conf file.
+
+Author: Marcin Gondek <drixter@e-utp.net> / Edwin Groothuis <edwin@mavetju.org>