summaryrefslogtreecommitdiff
path: root/mail/sendmail-cidrexpand
diff options
context:
space:
mode:
authorhauke <hauke@pkgsrc.org>2011-04-08 14:39:56 +0000
committerhauke <hauke@pkgsrc.org>2011-04-08 14:39:56 +0000
commitd872757f084401efb897862bba6c8cf3f9686da2 (patch)
tree1305d84ce44773cc4c691fc5fd1169f6f810930a /mail/sendmail-cidrexpand
parent6c65aa44e47f0f3db1e081d10415b6ddb1cd4589 (diff)
downloadpkgsrc-d872757f084401efb897862bba6c8cf3f9686da2.tar.gz
Package the cidrexpand pre-parser for Sendmail access maps that
ships with Sendmail but does not get installed.
Diffstat (limited to 'mail/sendmail-cidrexpand')
-rw-r--r--mail/sendmail-cidrexpand/DESCR3
-rw-r--r--mail/sendmail-cidrexpand/Makefile24
-rw-r--r--mail/sendmail-cidrexpand/PLIST2
3 files changed, 29 insertions, 0 deletions
diff --git a/mail/sendmail-cidrexpand/DESCR b/mail/sendmail-cidrexpand/DESCR
new file mode 100644
index 00000000000..7f63a1c8def
--- /dev/null
+++ b/mail/sendmail-cidrexpand/DESCR
@@ -0,0 +1,3 @@
+The 'cidrexpand' script (which ships with the Sendmail distribution)
+acts as a pre-parser on /etc/mail/access_db to allow you to use
+address/bit notation.
diff --git a/mail/sendmail-cidrexpand/Makefile b/mail/sendmail-cidrexpand/Makefile
new file mode 100644
index 00000000000..dc5686a52a6
--- /dev/null
+++ b/mail/sendmail-cidrexpand/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/04/08 14:39:56 hauke Exp $
+#
+
+PKGNAME= sendmail-cidrexpand-${DIST_VERS}
+MAINTAINER= hauke@NetBSD.org
+COMMENT= CIDR pre-parser for Sendmail access maps
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PKG_OPTIONS= # for the sake of Makefile.common
+.include "../../mail/sendmail/Makefile.common"
+
+DEPENDS+= p5-Net-CIDR-[0-9]*:../../devel/p5-Net-CIDR
+
+INSTALLATION_DIRS= bin
+
+REPLACE_PERL= contrib/cidrexpand
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/cidrexpand \
+ ${DESTDIR}${PREFIX}/bin/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/sendmail-cidrexpand/PLIST b/mail/sendmail-cidrexpand/PLIST
new file mode 100644
index 00000000000..66e3ee4676d
--- /dev/null
+++ b/mail/sendmail-cidrexpand/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/04/08 14:39:56 hauke Exp $
+bin/cidrexpand