diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/avenger/DESCR | 9 | ||||
-rw-r--r-- | mail/avenger/Makefile | 23 | ||||
-rw-r--r-- | mail/avenger/PLIST | 40 | ||||
-rw-r--r-- | mail/avenger/distinfo | 6 | ||||
-rw-r--r-- | mail/avenger/options.mk | 15 | ||||
-rw-r--r-- | mail/avenger/patches/patch-aa | 18 |
6 files changed, 111 insertions, 0 deletions
diff --git a/mail/avenger/DESCR b/mail/avenger/DESCR new file mode 100644 index 00000000000..cf879c0f3db --- /dev/null +++ b/mail/avenger/DESCR @@ -0,0 +1,9 @@ +Mail Avenger is a highly-configurable, MTA-independent SMTP server +daemon. It lets users run messages through filters like ClamAV and +SpamAssassin during SMTP transactions, so the server can reject mail +before assuming responsibility for its delivery. Other unique features +include TCP SYN fingerprint and network route recording, verification of +sender addresses through SMTP callbacks, SPF (sender policy framework) +as a general policy language, qmail-style control over both SMTP-level +behavior and local delivery of extension addresses, mail-bomb +protection, integration with kernel firewalls, and more. diff --git a/mail/avenger/Makefile b/mail/avenger/Makefile new file mode 100644 index 00000000000..7a420d4f0d4 --- /dev/null +++ b/mail/avenger/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/10/25 14:05:31 rillig Exp $ +# + +DISTNAME= avenger-0.7.7 +CATEGORIES= mail +MASTER_SITES= http://www.mailavenger.org/dist/ + +MAINTAINER= rillig@NetBSD.org +HOMEPAGE= http://www.mailavenger.org/dist/ +COMMENT= SMTP server with filtering capabilities + +PKG_SYSCONFSUBDIR= avenger +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-db=${BUILDLINK_PREFIX.db4} +CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR} +USE_LIBTOOL= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= perl + +.include "options.mk" + +.include "../../databases/db4/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mail/avenger/PLIST b/mail/avenger/PLIST new file mode 100644 index 00000000000..3c64d942608 --- /dev/null +++ b/mail/avenger/PLIST @@ -0,0 +1,40 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/10/25 14:05:31 rillig Exp $ +bin/aliascheck +bin/dbutil +bin/deliver +bin/dotlock +bin/edinplace +bin/escape +bin/macutil +bin/mailexec +bin/match +bin/sendmac +bin/smtpdcheck +bin/synos +libexec/avenger +libexec/avenger.local +man/man1/aliascheck.1 +man/man1/avenger.1 +man/man1/dbutil.1 +man/man1/deliver.1 +man/man1/dotlock.1 +man/man1/edinplace.1 +man/man1/escape.1 +man/man1/macutil.1 +man/man1/mailexec.1 +man/man1/match.1 +man/man1/smtpdcheck.1 +man/man1/synos.1 +man/man5/asmtpd.conf.5 +man/man8/asmtpd.8 +man/man8/avenger.local.8 +sbin/asmtpd +share/avenger/INSTALL +share/avenger/INSTALL.html +share/avenger/asmtpd.conf +share/avenger/avsendmail.m4 +share/avenger/smtp-filter.iptables +share/avenger/smtp-filter.pf +share/avenger/unknown +share/pf.os +@dirrm share/avenger diff --git a/mail/avenger/distinfo b/mail/avenger/distinfo new file mode 100644 index 00000000000..71ef4af3030 --- /dev/null +++ b/mail/avenger/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/10/25 14:05:31 rillig Exp $ + +SHA1 (avenger-0.7.7.tar.gz) = 2ba44c82be8b78cf31758a25a79c8366ee6626b8 +RMD160 (avenger-0.7.7.tar.gz) = f01eebb2f41224e8e8ad655ca15afa2d1ee06ce2 +Size (avenger-0.7.7.tar.gz) = 824862 bytes +SHA1 (patch-aa) = 7df2d9ac15feaf69bbc93e33de59ca25891c4223 diff --git a/mail/avenger/options.mk b/mail/avenger/options.mk new file mode 100644 index 00000000000..892967bbe92 --- /dev/null +++ b/mail/avenger/options.mk @@ -0,0 +1,15 @@ +# $NetBSD: options.mk,v 1.1.1.1 2006/10/25 14:05:31 rillig Exp $ +# + +PKG_SUPPORTED_OPTIONS= sasl +PKG_SUGGESTED_OPTIONS= # none +PKG_OPTIONS_VAR= PKG_OPTIONS.avenger + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Msasl) +.include "../../security/cyrus-sasl/buildlink3.mk" +CONFIGURE_ARGS+= --enable-sasl +.else +CONFIGURE_ARGS+= --disable-sasl +.endif diff --git a/mail/avenger/patches/patch-aa b/mail/avenger/patches/patch-aa new file mode 100644 index 00000000000..0e8aad63f8f --- /dev/null +++ b/mail/avenger/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/10/25 14:05:31 rillig Exp $ + +--- configure.orig 2006-10-23 13:49:50.000000000 +0200 ++++ configure 2006-10-23 13:57:09.000000000 +0200 +@@ -27069,9 +27069,10 @@ test -z "${with_db+set}" && with_db=yes + + echo "$as_me:$LINENO: checking for BerkeleyDB library" >&5 + echo $ECHO_N "checking for BerkeleyDB library... $ECHO_C" >&6 +-if test "$DB_DIR" -a "$with_db" = yes; then +- CPPFLAGS="$CPPFLAGS "'-I$(top_builddir)/'"$DB_DIR/dist" +- DB_LIB='$(top_builddir)/'"$DB_DIR/dist/.libs/libdb-*.a" ++if true; then ++ # let's cheat a bit -- the detection is much too complicated. ++ DB_DIR="${prefix}" ++ DB_LIB="-ldb4" + echo "$as_me:$LINENO: result: using distribution in $DB_DIR subdirectory" >&5 + echo "${ECHO_T}using distribution in $DB_DIR subdirectory" >&6 + elif test x"$with_db" != xno; then |