pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/amavisd-milter Sendmail milter for amavisd-new.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5a1fe2e8f65
branches:  trunk
changeset: 356190:b5a1fe2e8f65
user:      kivinen <kivinen%pkgsrc.org@localhost>
date:      Wed Dec 21 12:05:51 2016 +0000

description:
Sendmail milter for amavisd-new.

diffstat:

 mail/amavisd-milter/DESCR                   |   9 +++++++++
 mail/amavisd-milter/Makefile                |  23 +++++++++++++++++++++++
 mail/amavisd-milter/PLIST                   |   3 +++
 mail/amavisd-milter/distinfo                |   6 ++++++
 mail/amavisd-milter/files/amavisd-milter.sh |  21 +++++++++++++++++++++
 mail/amavisd-milter/options.mk              |   7 +++++++
 6 files changed, 69 insertions(+), 0 deletions(-)

diffs (93 lines):

diff -r 6980b59677ca -r b5a1fe2e8f65 mail/amavisd-milter/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/amavisd-milter/DESCR Wed Dec 21 12:05:51 2016 +0000
@@ -0,0 +1,9 @@
+amavisd-milter is a sendmail milter (mail filter) for amavisd-new
+2.4.3 or and sendmail 8.13 and above (limited support for sendmail
+8.12 is provided) which use the new AM.PDP protocol.
+
+Instead of older amavis-milter helper program, full amavisd-new
+functionality is available, including adding spam and virus
+information header fields, modifying Subject, adding address
+extensions and removing certain recipients from delivery while
+delivering the same message to the rest.
diff -r 6980b59677ca -r b5a1fe2e8f65 mail/amavisd-milter/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/amavisd-milter/Makefile      Wed Dec 21 12:05:51 2016 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2016/12/21 12:05:51 kivinen Exp $
+#
+
+DISTNAME=      amavisd-milter-1.6.1
+PKGREVISION=   1
+CATEGORIES=    mail
+MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=amavisd-milter/}
+
+MAINTAINER=    kivinen%iki.fi@localhost
+HOMEPAGE=      http://amavisd-milter.sourceforge.net/
+COMMENT=       Sendmail milter program for amavisd-new
+LICENSE=       modified-bsd
+
+.include "options.mk"
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=       --with-milterinc=${BUILDLINK_PREFIX.libmilter}/include
+CONFIGURE_ARGS+=       --with-milterlib=${BUILDLINK_PREFIX.libmilter}/lib
+
+RCD_SCRIPTS=    amavisd-milter
+
+.include "../../mail/libmilter/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6980b59677ca -r b5a1fe2e8f65 mail/amavisd-milter/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/amavisd-milter/PLIST Wed Dec 21 12:05:51 2016 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2016/12/21 12:05:51 kivinen Exp $
+man/man8/amavisd-milter.8
+sbin/amavisd-milter
diff -r 6980b59677ca -r b5a1fe2e8f65 mail/amavisd-milter/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/amavisd-milter/distinfo      Wed Dec 21 12:05:51 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/12/21 12:05:51 kivinen Exp $
+
+SHA1 (amavisd-milter-1.6.1.tar.gz) = ce54371342dc7e4316d2e151d643e75cff9655c1
+RMD160 (amavisd-milter-1.6.1.tar.gz) = 81215f05b760bba31f56707a81d8dc8c90d1b025
+SHA512 (amavisd-milter-1.6.1.tar.gz) = 28f505a8e130e67decc6c6ff8526f82db24b1b27a11e69f1a112e3e6103f303d333743c2ceaf12bad86979c987cde64f41afb4794c1ca1222cf11a2c3b03c8a5
+Size (amavisd-milter-1.6.1.tar.gz) = 193739 bytes
diff -r 6980b59677ca -r b5a1fe2e8f65 mail/amavisd-milter/files/amavisd-milter.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/amavisd-milter/files/amavisd-milter.sh       Wed Dec 21 12:05:51 2016 +0000
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# $NetBSD: amavisd-milter.sh,v 1.1 2016/12/21 12:05:51 kivinen Exp $
+#
+
+# PROVIDE: amavisd-milter
+# REQUIRE: amavisd
+# BEFORE:  mail
+
+$_rc_subr_loaded . /etc/rc.subr
+
+name="amavisd_milter"
+rcvar=$name
+command="/usr/pkg/sbin/amavisd-milter"
+amavisd_milter_user="vscan"
+amavisd_milter_group="vscan"
+
+load_rc_config $name
+run_rc_command "$1"
+
+# EOF
diff -r 6980b59677ca -r b5a1fe2e8f65 mail/amavisd-milter/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/amavisd-milter/options.mk    Wed Dec 21 12:05:51 2016 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: options.mk,v 1.1 2016/12/21 12:05:51 kivinen Exp $
+
+PKG_OPTIONS_VAR=        PKG_OPTIONS.amavisd-milter
+PKG_SUPPORTED_OPTIONS=  # empty
+PKG_SUGGESTED_OPTIONS=  # empty
+
+.include "../../mk/bsd.options.mk"



Home | Main Index | Thread Index | Old Index