summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2014-09-10 13:20:16 +0000
committerfhajny <fhajny@pkgsrc.org>2014-09-10 13:20:16 +0000
commit08b09fd50185c232fc14b08e317358beb6c50082 (patch)
tree580fe845e4366a4b44233ea0ffe750866f4493f2 /mail
parent4dfe68878149d99055ab2b7b5b4d2f269efb42a8 (diff)
downloadpkgsrc-08b09fd50185c232fc14b08e317358beb6c50082.tar.gz
Add option to enable the taRgrey tarpit patch for postgrey. PKGREVISION++
Diffstat (limited to 'mail')
-rw-r--r--mail/postgrey/Makefile4
-rw-r--r--mail/postgrey/distinfo5
-rw-r--r--mail/postgrey/options.mk13
3 files changed, 20 insertions, 2 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index 11f72a8b267..f8bbf6c6bee 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.42 2014/06/12 13:31:44 fhajny Exp $
+# $NetBSD: Makefile,v 1.43 2014/09/10 13:20:16 fhajny Exp $
DISTNAME= postgrey-1.35
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://postgrey.schweikert.ch/pub/
@@ -18,6 +19,7 @@ NO_CONFIGURE= yes
USE_TOOLS+= perl:run
.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
POSTGREY_USER?= postgrey
POSTGREY_GROUP?= postgrey
diff --git a/mail/postgrey/distinfo b/mail/postgrey/distinfo
index fc43470b144..008386bd5df 100644
--- a/mail/postgrey/distinfo
+++ b/mail/postgrey/distinfo
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.12 2014/06/12 13:31:44 fhajny Exp $
+$NetBSD: distinfo,v 1.13 2014/09/10 13:20:16 fhajny Exp $
SHA1 (postgrey-1.35.tar.gz) = 8dde06a3016f2362af0ca0ba16686b45cf1e397b
RMD160 (postgrey-1.35.tar.gz) = 7dc67fb3df37094da3039297d3885ccde5f08c06
Size (postgrey-1.35.tar.gz) = 36610 bytes
+SHA1 (targrey-0.31-postgrey-1.34.patch) = 67f9a0dd22e79a9c1c2f428b5ea12f5a9e7271af
+RMD160 (targrey-0.31-postgrey-1.34.patch) = 19d4b54da630445c3c26a4dcfdc65643780cae45
+Size (targrey-0.31-postgrey-1.34.patch) = 8555 bytes
diff --git a/mail/postgrey/options.mk b/mail/postgrey/options.mk
new file mode 100644
index 00000000000..a30a65fc7c8
--- /dev/null
+++ b/mail/postgrey/options.mk
@@ -0,0 +1,13 @@
+# $NetBSD: options.mk,v 1.1 2014/09/10 13:20:16 fhajny Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.postgrey
+PKG_SUPPORTED_OPTIONS= postgrey-targrey
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpostgrey-targrey)
+# See http://k2net.hakuba.jp/targrey/index.en.html
+PATCHFILES= targrey-0.31-postgrey-1.34.patch
+PATCH_SITES= http://k2net.hakuba.jp/pub/
+PATCH_DIST_STRIP= -p0
+.endif