diff options
author | hauke <hauke> | 2011-04-08 14:39:56 +0000 |
---|---|---|
committer | hauke <hauke> | 2011-04-08 14:39:56 +0000 |
commit | 90b5d0adc82d91579543f7c4afd0ab3aff67bf79 (patch) | |
tree | 1305d84ce44773cc4c691fc5fd1169f6f810930a | |
parent | 837b9d36cfe318d87bbb86ae1823f594acea5e66 (diff) | |
download | pkgsrc-90b5d0adc82d91579543f7c4afd0ab3aff67bf79.tar.gz |
Package the cidrexpand pre-parser for Sendmail access maps that
ships with Sendmail but does not get installed.
-rw-r--r-- | mail/sendmail-cidrexpand/DESCR | 3 | ||||
-rw-r--r-- | mail/sendmail-cidrexpand/Makefile | 24 | ||||
-rw-r--r-- | mail/sendmail-cidrexpand/PLIST | 2 |
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 |