diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2004-02-20 16:48:54 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2004-02-20 16:48:54 +0000 |
commit | ec2b2cf02eea956a65d2307fea90ad1e96636a49 (patch) | |
tree | d17eee2e5fc8600fb550f9963f24aaa5df9beca0 | |
parent | Update to latest stable release 0.4.3b. (diff) |
- H+BEDV GmbH released a new tarball shipping an updated anti-virus engine
(6.23.0.1 -> 6.24.0.2), current virus definition file (6.23.0.1 -> 6.24.0.6)
and an updated antivir.conf adding the new option "UpdaterKeepsBackups" for
for the current AV engine.
If you are using the auto-update facility you should already have the
updated AV engine binary and VDF.
- Install the original AV engine binary and the VDF from the tarball with
suffix "-dist_avfbmlt" instead of "-dist" so ${PREFIX}/AntiVir/antivir
can be shared between different H+BEDV AntiVir products without conflicts.
- Add another instance to MASTER_SITES.
Submitted by: marius
Notes
Notes:
svn path=/head/; revision=101522
-rw-r--r-- | security/antivir-milter/Makefile | 9 | ||||
-rw-r--r-- | security/antivir-milter/distinfo | 3 | ||||
-rw-r--r-- | security/antivir-milter/pkg-plist | 8 |
3 files changed, 11 insertions, 9 deletions
diff --git a/security/antivir-milter/Makefile b/security/antivir-milter/Makefile index f754da59c798..2e52025ff670 100644 --- a/security/antivir-milter/Makefile +++ b/security/antivir-milter/Makefile @@ -6,9 +6,10 @@ PORTNAME= antivir-milter PORTVERSION= 1.0.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security mail -MASTER_SITES= ftp://ftp.antivir.de/freebsd/ +MASTER_SITES= ftp://ftp.antivir.de/freebsd/ \ + http://www.antivir.de/dateien/antivir/release/ DISTNAME= avfbmlt EXTRACT_SUFX= .tgz @@ -49,13 +50,13 @@ post-patch: do-install: @${INSTALL} -d -o daemon -g daemon -m 755 ${PREFIX}/AntiVir @${INSTALL} -o daemon -g daemon -m 755 ${WRKSRC}/bin/antivir \ - ${PREFIX}/AntiVir/antivir-dist + ${PREFIX}/AntiVir/antivir-dist_avfbmlt .if !exists(${PREFIX}/AntiVir/antivir) @${INSTALL} -o daemon -g daemon -m 755 ${WRKSRC}/bin/antivir \ ${PREFIX}/AntiVir .endif @${INSTALL} -o daemon -g daemon -m 644 ${WRKSRC}/vdf/antivir.vdf \ - ${PREFIX}/AntiVir/antivir.vdf-dist + ${PREFIX}/AntiVir/antivir.vdf-dist_avfbmlt .if !exists(${PREFIX}/AntiVir/antivir.vdf) @${INSTALL} -o daemon -g daemon -m 644 ${WRKSRC}/vdf/antivir.vdf \ ${PREFIX}/AntiVir diff --git a/security/antivir-milter/distinfo b/security/antivir-milter/distinfo index 514c64ab7039..f1611954c401 100644 --- a/security/antivir-milter/distinfo +++ b/security/antivir-milter/distinfo @@ -1 +1,2 @@ -MD5 (avfbmlt.tgz) = 8a1e7eb3afb4b9fdb3fadd95669ed37b +MD5 (avfbmlt.tgz) = eeb9a41331de500494663112261f4886 +SIZE (avfbmlt.tgz) = 2524474 diff --git a/security/antivir-milter/pkg-plist b/security/antivir-milter/pkg-plist index 0cfc113c7f09..6602f264f464 100644 --- a/security/antivir-milter/pkg-plist +++ b/security/antivir-milter/pkg-plist @@ -1,9 +1,9 @@ @exec install -d -o daemon -g daemon -m 755 %D/AntiVir -@unexec if cmp -s %D/AntiVir/antivir-dist %D/AntiVir/antivir; then rm -f %D/AntiVir/antivir; fi -AntiVir/antivir-dist +@unexec if cmp -s %D/AntiVir/antivir-dist_avfbmlt %D/AntiVir/antivir; then rm -f %D/AntiVir/antivir; fi +AntiVir/antivir-dist_avfbmlt @exec [ -f %B/antivir ] || cp -p %B/%f %B/antivir -@unexec if cmp -s %D/AntiVir/antivir.vdf-dist %D/AntiVir/antivir.vdf; then rm -f %D/AntiVir/antivir.vdf; fi -AntiVir/antivir.vdf-dist +@unexec if cmp -s %D/AntiVir/antivir.vdf-dist_avfbmlt %D/AntiVir/antivir.vdf; then rm -f %D/AntiVir/antivir.vdf; fi +AntiVir/antivir.vdf-dist_avfbmlt @exec [ -f %B/antivir.vdf ] || cp -p %B/%f %B/antivir.vdf @unexec rmdir %D/AntiVir 2> /dev/null || echo "If permanently deleting this package, %D/AntiVir and its contents must be removed manually." bin/avq |