- 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>
This commit is contained in:
Alexander Leidinger 2004-04-12 12:53:50 +00:00
parent 39911251ad
commit d8678b1f94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106805
3 changed files with 18 additions and 9 deletions

View file

@ -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

View file

@ -1,2 +1,2 @@
MD5 (avfbmlt_beta.tgz) = 9838d32c0e5621346e9201f696912dfa
SIZE (avfbmlt_beta.tgz) = 2530356
MD5 (avfbmlt_beta.tgz) = 0005a0cb1f2757c357e85400a0936316
SIZE (avfbmlt_beta.tgz) = 2597582

View file

@ -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