From d8678b1f94bfad54bf043ab4c406fb792138a0a7 Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Mon, 12 Apr 2004 12:53:50 +0000 Subject: [PATCH] - H+BEDV GmbH released a new tarball of the beta version shipping an updated anti-virus engine (6.23.0.3 -> 6.25.0.2), current virus definition file (6.23.0.49 -> 6.25.0.1) and an updated antivir.conf. If you are using the auto-update facility you should already have the updated AV engine binary and VDF. - Look for the libmilter of the Sendmail port and the GnuPG binary in LOCALBASE instead of PREFIX. Submitted by: Marius Strobl --- security/antivir-milter/Makefile | 7 ++++--- security/antivir-milter/distinfo | 4 ++-- .../antivir-milter/files/patch-etc::antivir.conf | 16 ++++++++++++---- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/security/antivir-milter/Makefile b/security/antivir-milter/Makefile index 564a2d2fee84..81c8111be5b7 100644 --- a/security/antivir-milter/Makefile +++ b/security/antivir-milter/Makefile @@ -6,7 +6,7 @@ PORTNAME= antivir-milter PORTVERSION= 1.1.b -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security mail #MASTER_SITES= ftp://ftp.antivir.de/freebsd/ \ # http://www.antivir.de/dateien/antivir/release/ @@ -32,7 +32,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message .include -.if (!exists(/usr/lib/libmilter.a)) && (!exists(${PREFIX}/lib/libmilter.a)) +.if (!exists(/usr/lib/libmilter.a)) && (!exists(${LOCALBASE}/lib/libmilter.a)) IGNORE= requires Sendmail 8.12 .endif @@ -43,7 +43,8 @@ LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x post-patch: .for i in doc/MANUAL etc/antivir.conf etc/avmilter.conf init/rc.avmilter \ script/avq - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i} + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g; \ + s|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i} .endfor @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \ ${WRKDIR}/pkg-message diff --git a/security/antivir-milter/distinfo b/security/antivir-milter/distinfo index 79d737f6438a..f5491ef4eb28 100644 --- a/security/antivir-milter/distinfo +++ b/security/antivir-milter/distinfo @@ -1,2 +1,2 @@ -MD5 (avfbmlt_beta.tgz) = 9838d32c0e5621346e9201f696912dfa -SIZE (avfbmlt_beta.tgz) = 2530356 +MD5 (avfbmlt_beta.tgz) = 0005a0cb1f2757c357e85400a0936316 +SIZE (avfbmlt_beta.tgz) = 2597582 diff --git a/security/antivir-milter/files/patch-etc::antivir.conf b/security/antivir-milter/files/patch-etc::antivir.conf index aad22f6ca7b7..585c97ee33d3 100644 --- a/security/antivir-milter/files/patch-etc::antivir.conf +++ b/security/antivir-milter/files/patch-etc::antivir.conf @@ -1,11 +1,19 @@ --- etc/antivir.conf.orig Mon Dec 8 17:09:11 2003 +++ etc/antivir.conf Mon Dec 8 17:11:16 2003 -@@ -36,7 +36,7 @@ +@@ -52,7 +52,7 @@ # advantage of GnuPG, be aware that all updates will fail # until the AntiVir public key (antivir.gpg) has been # added to your keyring and signed. --#GnuPGBinary -+#GnuPGBinary %%PREFIX%%/bin/gpg - +-#GnuPGBinary /usr/local/bin/gpg ++#GnuPGBinary %%LOCALBASE%%/bin/gpg # If you are utilizing GnuPG, you may also specify + # options that your particular setup might need. +@@ -63,6 +63,7 @@ + # of software which are not viruses but might not be wanted. + # By default all these tests are turned off. They can be enabled + # by uncommenting the following keywords. ++# These options are only available in commercial mode. + #DetectDialer + #DetectJoke + #DetectGame