summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2004-04-12 12:53:50 +0000
committernetchild <netchild@FreeBSD.org>2004-04-12 12:53:50 +0000
commitc3cee59825fcc843013e514089d64b86702a9be4 (patch)
tree4fc8f3aec7ff52811b0005589fd6829a96e4714b
parent51b261438d2dd07fd5df1adbe9208e6cb8ebfbda (diff)
downloadFreeBSD-ports-c3cee59825fcc843013e514089d64b86702a9be4.zip
FreeBSD-ports-c3cee59825fcc843013e514089d64b86702a9be4.tar.gz
- 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 <marius@alchemy.franken.de>
-rw-r--r--security/antivir-milter/Makefile7
-rw-r--r--security/antivir-milter/distinfo4
-rw-r--r--security/antivir-milter/files/patch-etc::antivir.conf16
3 files changed, 18 insertions, 9 deletions
diff --git a/security/antivir-milter/Makefile b/security/antivir-milter/Makefile
index 564a2d2..81c8111 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 <bsd.port.pre.mk>
-.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 79d737f..f5491ef 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 aad22f6..585c97e 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
OpenPOWER on IntegriCloud