summaryrefslogtreecommitdiff
path: root/security/amavis
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
committerwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
commitb979f7222ad9bade13f010cd27e5bc6afab1681c (patch)
tree86f14acd24842161759a420487862022044c2b4b /security/amavis
parent6a13219ca89e5dae86f27159ff86006058c06859 (diff)
downloadpkgsrc-b979f7222ad9bade13f010cd27e5bc6afab1681c.tar.gz
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced, not @VARIABLE@, nor @@VARIABLE@@). By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX, X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST. Clean up some packages while I'm there; add RCS tags to most MESSAGEs. Remove some uninteresting MESSAGEs.
Diffstat (limited to 'security/amavis')
-rw-r--r--security/amavis/Makefile6
-rw-r--r--security/amavis/pkg/MESSAGE9
2 files changed, 6 insertions, 9 deletions
diff --git a/security/amavis/Makefile b/security/amavis/Makefile
index f6f872db427..afae0d3f0b2 100644
--- a/security/amavis/Makefile
+++ b/security/amavis/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/10/23 14:52:53 rh Exp $
+# $NetBSD: Makefile,v 1.4 2001/01/29 11:34:40 wiz Exp $
#
DISTNAME= amavis-0.2.1-pre3
@@ -30,14 +30,10 @@ CONFIGURE_ENV+= procmail="/usr/libexec/mail.local"
CONFIGURE_ARGS+=--with-virusdir=${VIRUSDIR}
CONFIGURE_ARGS+=--with-mailto=${VIRUSMAILTO}
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/zipsecure/zipsecure ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/securetar/securetar ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/src/scanmails/scanmails ${PREFIX}/sbin
- ${SED} -e 's#@PREFIX@#${PREFIX}#g' < ${PKGDIR}/MESSAGE \
- >${WRKDIR}/MESSAGE
${SED} -e 's#@PREFIX@#${PREFIX}#g' < ${FILESDIR}/amavis.m4 \
>${WRKDIR}/amavis.m4
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/amavis
diff --git a/security/amavis/pkg/MESSAGE b/security/amavis/pkg/MESSAGE
index af25cdeee0b..cfc8556ec09 100644
--- a/security/amavis/pkg/MESSAGE
+++ b/security/amavis/pkg/MESSAGE
@@ -1,9 +1,9 @@
-$NetBSD: MESSAGE,v 1.3 2000/10/23 14:57:16 rh Exp $
-
==========================================================================
+$NetBSD: MESSAGE,v 1.4 2001/01/29 11:34:40 wiz Exp $
+
AMaViS has now been installed on your system. In order to integrate
the virus scanner with sendmail, copy
- @PREFIX@/share/examples/amavis/amavis.m4 to the 'mailer' sendmail
+ ${PREFIX}/share/examples/amavis/amavis.m4 to the 'mailer' sendmail
configuration directory. Then use 'amavis' instead of 'local' for
local mail delivery. Alternatively, you can simply replace
@@ -16,7 +16,8 @@ Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qrmn9, S=10/30, R=20/40,
in your installed "sendmail.cf" by
-Mlocal, P=@PREFIX@/sbin/scanmails, F=lsDFMAw5:/|@qrmn9, S=10/30, R=20/40,
+Mlocal, P=${PREFIX}/sbin/scanmails, F=lsDFMAw5:/|@qrmn9, S=10/30, R=20/40,
T=DNS/RFC822/X-Unix,
A=scanmails -d $u
+
==========================================================================