head	1.18;
access;
symbols
	RELEASE_6_1_0:1.15
	RELEASE_5_5_0:1.15
	RELEASE_6_0_0:1.13
	RELEASE_5_4_0:1.11
	RELEASE_4_11_0:1.11
	RELEASE_5_3_0:1.9
	RELEASE_4_10_0:1.9
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3;
locks; strict;
comment	@# @;


1.18
date	2006.09.02.21.52.20;	author kris;	state dead;
branches;
next	1.17;

1.17
date	2006.08.03.09.35.59;	author marius;	state Exp;
branches;
next	1.16;

1.16
date	2006.05.13.04.14.58;	author edwin;	state Exp;
branches;
next	1.15;

1.15
date	2005.12.20.14.26.11;	author marius;	state Exp;
branches;
next	1.14;

1.14
date	2005.09.28.15.41.25;	author marius;	state Exp;
branches;
next	1.13;

1.13
date	2005.08.30.18.24.26;	author marius;	state Exp;
branches;
next	1.12;

1.12
date	2005.07.10.15.04.00;	author marius;	state Exp;
branches;
next	1.11;

1.11
date	2004.12.11.21.28.36;	author marius;	state Exp;
branches;
next	1.10;

1.10
date	2004.10.20.18.22.23;	author marius;	state Exp;
branches;
next	1.9;

1.9
date	2004.04.20.13.49.28;	author netchild;	state Exp;
branches;
next	1.8;

1.8
date	2004.04.12.12.53.50;	author netchild;	state Exp;
branches;
next	1.7;

1.7
date	2004.03.08.08.03.50;	author netchild;	state Exp;
branches;
next	1.6;

1.6
date	2004.03.05.15.08.29;	author netchild;	state Exp;
branches;
next	1.5;

1.5
date	2004.02.20.16.48.54;	author netchild;	state Exp;
branches;
next	1.4;

1.4
date	2003.12.10.17.57.57;	author netchild;	state Exp;
branches;
next	1.3;

1.3
date	2003.11.17.10.15.43;	author netchild;	state Exp;
branches;
next	1.2;

1.2
date	2003.10.14.16.04.47;	author netchild;	state Exp;
branches;
next	1.1;

1.1
date	2003.09.24.13.47.38;	author netchild;	state Exp;
branches;
next	;


desc
@@


1.18
log
@Remove expired ports.
@
text
@# New ports collection makefile for:	antivir-milter
# Date created:				21 September 2003
# Whom:					marius@@alchemy.franken.de
#
# $FreeBSD: ports/security/antivir-milter/Makefile,v 1.17 2006/08/03 09:35:59 marius Exp $

PORTNAME=	antivir-milter
PORTVERSION=	1.1.2p1
DISTVERSIONPREFIX=	prof-
DISTVERSION=	${PORTVERSION:C/p/-/}
CATEGORIES=	security mail
MASTER_SITES=	http://dl.antivir.de/down/unix/packages/

MAINTAINER=	marius@@FreeBSD.org
COMMENT=	AntiVir Milter mail virusscanner for Sendmail

DEPRECATED=	Free license keys are no longer available since September 2005
EXPIRATION_DATE=	2006-08-31

RESTRICTED=	H+BEDV Datentechnik GmbH forbids any redistribution
NO_PACKAGE=	${RESTRICTED}
NO_CDROM=	${RESTRICTED}

ONLY_FOR_ARCHS=	i386
NO_BUILD=	yes
# When the avmilter binary is stripped its self-check fails.
STRIP=
PKGMESSAGE=	${WRKDIR}/pkg-message

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 400000
IGNORE=		requires FreeBSD 4.0 or higher
.endif

.if (!exists(/usr/lib/libmilter.a)) && (!exists(${LOCALBASE}/lib/libmilter.a))
IGNORE=		requires Sendmail 8.12
.endif

.if ${OSVERSION} >= 503001
BINSRC=		${WRKSRC}/bin/freebsd5
.if ${OSVERSION} > 600004
LIB_DEPENDS=	c.5:${PORTSDIR}/misc/compat5x
.endif
.else
BINSRC=		${WRKSRC}/bin/freebsd
.endif

post-extract:
	@@${CP} ${FILESDIR}/avq.sh ${WRKSRC}/script/avq

post-patch:
.for i in doc/MANUAL doc/RELEASE_NOTES etc/antivir.conf etc/avmilter.conf \
	pgp/README script/avq script/avupdater script/rc.avmilter
	@@${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
	@@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/antivirupdater.sh > \
		${WRKDIR}/antivirupdater.sh
	@@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/avqrm.sh > \
		${WRKDIR}/avqrm.sh

do-install:
	@@${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 ${PREFIX}/AntiVir
	@@${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 ${BINSRC}/antivir \
		${PREFIX}/AntiVir/antivir-dist_avmilter
.if !exists(${PREFIX}/AntiVir/antivir)
	@@${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 ${BINSRC}/antivir \
		${PREFIX}/AntiVir
.endif
.for i in antivir0.vdf antivir1.vdf antivir2.vdf antivir3.vdf
	@@${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${WRKSRC}/vdf/${i} \
		${PREFIX}/AntiVir/${i}-dist_avmilter
.if !exists(${PREFIX}/AntiVir/${i})
	@@${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${WRKSRC}/vdf/${i} \
		${PREFIX}/AntiVir
.endif
.endfor
	@@${INSTALL_SCRIPT} ${WRKSRC}/script/avq ${PREFIX}/bin
	@@${INSTALL} -d ${PREFIX}/etc/avmilter
.for i in avmilter.conf avmilter.ignore avmilter.scan avmilter.warn
	@@${INSTALL_DATA} ${WRKSRC}/etc/${i} ${PREFIX}/etc/avmilter/${i}.sample
.if !exists(${PREFIX}/etc/avmilter/${i})
	@@${INSTALL_DATA} ${WRKSRC}/etc/${i} ${PREFIX}/etc/avmilter
.endif
.endfor
	@@${INSTALL_DATA} ${WRKSRC}/etc/antivir.conf \
		${PREFIX}/etc/antivir.conf.sample
.if !exists(${PREFIX}/etc/antivir.conf)
	@@${INSTALL_DATA} ${WRKSRC}/etc/antivir.conf ${PREFIX}/etc
.endif
	@@${LN} -sf ${PREFIX}/etc/antivir.conf /etc
	@@${INSTALL_PROGRAM} ${BINSRC}/avmilter.bin ${PREFIX}/sbin
	@@${INSTALL_SCRIPT} ${WRKDIR}/antivirupdater.sh \
		${PREFIX}/sbin/antivirupdater
	@@${INSTALL_SCRIPT} ${WRKDIR}/avqrm.sh ${PREFIX}/bin/avqrm
	@@${INSTALL_SCRIPT} ${WRKSRC}/script/avupdater \
		${PREFIX}/etc/rc.d/avupdater.sh-dist_avmilter
	@@${INSTALL_SCRIPT} ${WRKSRC}/script/rc.avmilter \
		${PREFIX}/etc/rc.d/avmilter.sh
	@@${INSTALL} -d -o smmsp -g smmsp -m 700 /var/spool/avmilter
.for i in incoming outgoing rejected
	@@${INSTALL} -d -o smmsp -g smmsp -m 700 /var/spool/avmilter/${i}
.endfor
	@@${INSTALL} -d ${EXAMPLESDIR}
.for i in de en es hu it nl
	@@${INSTALL} -d ${EXAMPLESDIR}/templates/${i}
.for j in patho-administrator patho-recipient patho-sender virus-administrator \
	virus-recipient virus-sender
	@@${INSTALL_DATA} ${WRKSRC}/templates/${i}/${j} \
		${EXAMPLESDIR}/templates/${i}
.endfor
.endfor
.if !defined(NOPORTDOCS)
	@@${INSTALL} -d ${DOCSDIR}
.for i in LICENSE LICENSE.DE
	@@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.for i in CHANGELOG MANUAL RELEASE_NOTES avmilter_de.pdf avmilter_en.pdf
	@@${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor
	@@${INSTALL_DATA} ${WRKSRC}/pgp/README ${DOCSDIR}/README.gpg
	@@${INSTALL_DATA} ${WRKSRC}/pgp/antivir.gpg ${DOCSDIR}
.endif

post-install:
	@@${CAT} ${WRKDIR}/pkg-message

.include <bsd.port.post.mk>
@


1.17
log
@Mark DEPRECATED, as free license keys are no longer available
since September 2005, with an EXPIRATION_DATE of 2006-08-31,
as all free license keys that still might be in use should
have expired by then.
If anyone is actually using this port with a commercial
license key, feel free to adopt this port. Otherwise this
port will be deleted after the above EXPIRATION_DATE.

Approved by:	netchild
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.16
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d17 3
@


1.15
log
@- Update to 1.1.2-1 in order to fix fetching. [1]
  According to the changelog beside a OpenBSD-specific fix the only relevant
  change since 1.1.1-9 was:
  o The log file (syslog too) shows the file name (argv[0]) in its logs.

- No longer override FETCH_CMD so the distfiles survey keeps track of this
  port again. Overriding FETCH_CMD became redundant when the name of the
  distfile was changed to be a versioned one.

Prodded by:	stephen <vk3heg@@iinet.net.au> [1]
Approved by:	netchild
@
text
@a22 1
USE_REINPLACE=	yes
@


1.14
log
@- Update to 1.1.1-9. For a list of changes since 1.1.0-7 please see the
  installed ChangeLog.
- Remove the references to the no longer available free license key for
  private use from pkg-descr and pkg-message.

Approved by:	netchild
@
text
@d8 1
a8 1
PORTVERSION=	1.1.1p9
a23 2
# Auto re-fetch sucks!
FETCH_CMD=	/usr/bin/fetch -A
d51 2
a52 2
.for i in doc/MANUAL etc/antivir.conf etc/avmilter.conf script/avq \
	script/avupdater script/rc.avmilter
d71 5
a75 4
	@@${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${WRKSRC}/vdf/antivir.vdf \
		${PREFIX}/AntiVir/antivir.vdf-dist_avmilter
.if !exists(${PREFIX}/AntiVir/antivir.vdf)
	@@${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${WRKSRC}/vdf/antivir.vdf \
d78 1
d116 1
a116 1
.for i in ChangeLog LICENSE LICENSE.DE
d119 1
a119 1
.for i in MANUAL RELEASE_NOTES avmilter_de.pdf avmilter_en.pdf
d122 2
@


1.13
log
@Now that misc/compat5x exists use the FreeBSD 5 binary on FreeBSD > 600004
rather than the FreeBSD 4 binary.

Prodded by:	ache
Approved by:	netchild
@
text
@d8 1
a8 1
PORTVERSION=	1.1.0p7
a50 4
	@@${MV} ${WRKSRC}/templates/en/patho-admnistrator\
		${WRKSRC}/templates/en/patho-administrator
	@@${MV} ${WRKSRC}/templates/en/virus-admnistrator\
		${WRKSRC}/templates/en/virus-administrator
d53 2
a54 2
.for i in doc/MANUAL etc/antivir.conf etc/avmilter.conf init/rc.avmilter \
	pgp/README script/avq script/avupdater
d93 1
a93 1
	@@${INSTALL_PROGRAM} ${BINSRC}/avmilter ${PREFIX}/sbin
a96 2
	@@${INSTALL_SCRIPT} ${WRKSRC}/init/rc.avmilter \
		${PREFIX}/etc/rc.d/avmilter.sh
d99 2
d119 1
a119 1
.for i in MANUAL avmilter_de.pdf avmilter_en.pdf
a121 2
	@@${INSTALL_DATA} ${WRKSRC}/pgp/README ${DOCSDIR}/README.gpg
	@@${INSTALL_DATA} ${WRKSRC}/pgp/antivir.gpg ${DOCSDIR}
@


1.12
log
@- Update to 1.1.0-7 in order to fix fetching. For a list of changes see
  the installed ChangeLog.
- Silencing the 'cannot access config file "/etc/antivir.conf"' warnings
  by creating a respective symlink.

Notes:
- AntiVir Milter 1.1.0-7 ships with a faulty anti-virus engine which
  may just exit with the following error when trying to start it:
  cannot access config file "/etc/avguard.conf"
  Please update to the latest anti-virus engine by e.g. running the
  antivirupdater script in order to solve this.
- The future of the free licenses for private use and thus of this
  port currently is uncertain:
  <...>
  PersonalEdition Classic UNIX: Advance Notice
  We have decided to orient the version 6.32 which will be released on
  September 6, 2005 much more towards the successful PersonalEdition
  Classic Windows.
  This means that version 6.32 will be released with a graphical user
  interface which will make it much easier to work with the program. It
  will also no longer be necessary to register for the program before
  downloading it. With version 6.32 the PersonalEdition Classic UNIX
  will no longer contain any MailGate/Milter functionality.
  <...>

Approved by:	netchild
@
text
@d40 1
a40 1
.if ${OSVERSION} >= 503001 && ${OSVERSION} <= 600004
d42 3
a46 3
.if ${OSVERSION} >= 500000
LIB_DEPENDS=	c.4:${PORTSDIR}/misc/compat4x
.endif
@


1.11
log
@Update to 1.1.0-3 which amongst several fixes and some minor new features
brings native binaries for FreeBSD/i386 5-STABLE. For a complete list of
changes since 1.1 please see the installed ChangeLog.

Approved by:	netchild
@
text
@d8 3
a10 1
PORTVERSION=	1.1.0p3
d12 1
a12 4
MASTER_SITES=	ftp://ftp.antivir.de/unix/milter/ \
		http://dl.antivir.de/dateien/antivir/release/
DISTVERSION=	${PORTVERSION:C/p.+$//}
DISTVERSIONPREFIX=	prof-
d50 1
d96 1
d123 1
a123 1
.for i in MANUAL avmilter_de.pdf
@


1.10
log
@- Update to 1.1 (final). For changes since 1.1-beta see the ChangeLog
  in the DOCSDIR.
- Rename the start script from antivir-milter.sh to avmilter.sh to be
  consistent with naming of the rest of the installed AntiVir Milter
  files and directories.
- Now that AntiVir Milter supports using a different location from
  /etc for the ignore, scan and warn config files no longer install
  them in the EXAMPLESDIR but in PREFIX/etc/avmilter (i.e. install
  as sample files, copy over when not already existent, etc.).
- Change the location of the AntiVir Milter config file (avmilter.conf)
  but not that of the scan engine (antivir.conf; shared between different
  AntiVir products) from PREFIX/etc to PREFIX/etc/avmilter in order to
  have all AntiVir Milter config files in one place but don't directly
  populate PREFIX/etc with them.

If you had previously changed PREFIX/etc/avmilter.conf you have to
bring over your changes to PREFIX/etc/avmilter/avmilter.conf but note
that some variables have been renamed. If you used ignore, scan and/or
warn files in /etc you can now move them to PREFIX/etc/avmilter.

Approved by:	netchild
@
text
@d8 1
a8 1
PORTVERSION=	1.1
d10 1
a10 1
MASTER_SITES=	ftp://ftp.antivir.de/freebsd/ \
d12 2
a13 2
DISTNAME=	avfbmlt
EXTRACT_SUFX=	.tgz
a28 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
d33 4
d41 4
d48 7
d58 1
a58 1
	pgp/README script/avq
d71 1
a71 1
	@@${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 ${WRKSRC}/bin/antivir \
d74 1
a74 1
	@@${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 ${WRKSRC}/bin/antivir \
d96 1
a96 1
	@@${INSTALL_PROGRAM} ${WRKSRC}/bin/avmilter ${PREFIX}/sbin
d102 2
d122 1
a122 2
	@@${INSTALL_DATA} ${WRKSRC}/doc/MANUAL ${DOCSDIR}
.for i in avmilter_de.pdf avmilter_en.pdf
@


1.9
log
@Use the @@FreeBSD.org address of the maintainer.

Approved by:	marius
@
text
@d8 1
a8 2
PORTVERSION=	1.1.b
PORTREVISION=	2
d10 3
a12 5
#MASTER_SITES=	ftp://ftp.antivir.de/freebsd/ \
#		http://www.antivir.de/dateien/antivir/release/
MASTER_SITES=	http://www.antivir.de/dateien/antivir/beta/freebsd/
#DISTNAME=	avfbmlt
DISTNAME=	avfbmlt_beta
d27 3
a29 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.b/-beta/}
d44 1
a44 1
	script/avq
d58 1
a58 1
		${PREFIX}/AntiVir/antivir-dist_avfbmlt
d64 1
a64 1
		${PREFIX}/AntiVir/antivir.vdf-dist_avfbmlt
d70 5
a74 4
.for i in antivir.conf avmilter.conf
	@@${INSTALL_DATA} ${WRKSRC}/etc/${i} ${PREFIX}/etc/${i}.sample
.if !exists(${PREFIX}/etc/${i})
	@@${INSTALL_DATA} ${WRKSRC}/etc/${i} ${PREFIX}/etc
d77 5
d87 1
a87 1
		${PREFIX}/etc/rc.d/antivir-milter.sh
a92 3
.for i in avmilter.ignore avmilter.scan avmilter.warn
	@@${INSTALL_DATA} ${WRKSRC}/etc/${i} ${EXAMPLESDIR}
.endfor
d110 1
@


1.8
log
@- 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>
@
text
@d18 1
a18 1
MAINTAINER=	marius@@alchemy.franken.de
@


1.7
log
@- Use daemon(8) for launching avmilter in order to detach it from the
  controlling terminal. [1]
- Make the avq script check if it's ran by the avmilter user in addition
  to uid == 0. This enables `avq --remove` to be run via a script and the
  ExternalProgram option in order to automatically delete the rejected
  messages. [2]
- Install a script avqrm which serves this purpose, i.e. executes
  `avq --remove` and can be run via ExternalProgram.
- Make the avq script not print the contents of the queue when option
  '--remove' is given, this greatly improves speed and otherwise it's not
  really suitable to be called on every rejected message. Fix some typos.
- Fix pkg-plist by adding antivirupdater.

Requested by:	ache [1], [2]
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTREVISION=	1
d35 1
a35 1
.if (!exists(/usr/lib/libmilter.a)) && (!exists(${PREFIX}/lib/libmilter.a))
d46 2
a47 1
	@@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i}
@


1.6
log
@HEADS-UP: When updating from a previous version you have to do the following
	  after deinstalling the old port:
	  # rm PREFIX/AntiVir/antivir
	  # rm PREFIX/AntiVir/antivir.vdf
	  # chown root:wheel PREFIX/AntiVir
	  # chown root:smmsp PREFIX/AntiVir/hbedv.key
	  In your SENDMAIL_MC change
	    `S=unix:PREFIX/AntiVir/avmilter.sock, F=T, T=S:10m;R:10m;E:5m'
	  to:
	    `S=unix:/var/spool/avmilter/avmilter.sock, F=T, T=S:10m;R:10m;E:10m'
	  and rebuild sendmail.cf.
	  If /var/spool/avmilter exist you have to:
	  # chown -R smmsp:smmsp /var/spool/avmilter
	  If you are using a customized PREFIX/etc/avmilter.conf the port
	  won't remove it on deinstall and you have to manually change User
	  and Group to smmsp there.
	  Afterwards you can install the new version of this port. You then
	  should run antivirupdater to get a current VDF.

- Change ownership of the socket to user and group smmsp as expected by
  sendmail. This involves running the milter as smmsp:smmsp, changing the
  ownership of rest of the files and moving the socket to /var/spool/avmilter
  but fixes the "local socket unsafe" problem. [1]
- Move the milter into the background when launching, this solves the problem
  with disappearing socket on boot. [2]
- Update to 1.1-beta which fixes the "Bad file descriptor" problem. For
  a full list of chances see ChangeLog in the DOCSDIR. [3]

Suggested by:	ache@@ [1], [3]
Suggested by:	Martin P. Hellwig <mhellwig@@xs4all.nl> [2]
Submitted by:	maintainer
@
text
@d9 1
d52 2
d79 1
@


1.5
log
@- 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
@
text
@d8 1
a8 2
PORTVERSION=	1.0.6
PORTREVISION=	4
d10 5
a14 3
MASTER_SITES=	ftp://ftp.antivir.de/freebsd/ \
		http://www.antivir.de/dateien/antivir/release/
DISTNAME=	avfbmlt
d29 1
a29 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
d43 2
a44 1
.for i in etc/antivir.conf etc/avmilter.conf init/rc.avmilter script/avq
d53 2
a54 2
	@@${INSTALL} -d -o daemon -g daemon -m 755 ${PREFIX}/AntiVir
	@@${INSTALL} -o daemon -g daemon -m 755 ${WRKSRC}/bin/antivir \
d57 1
a57 1
	@@${INSTALL} -o daemon -g daemon -m 755 ${WRKSRC}/bin/antivir \
d60 1
a60 1
	@@${INSTALL} -o daemon -g daemon -m 644 ${WRKSRC}/vdf/antivir.vdf \
d63 1
a63 1
	@@${INSTALL} -o daemon -g daemon -m 644 ${WRKSRC}/vdf/antivir.vdf \
d78 1
a78 1
	@@${INSTALL} -d -o daemon -g daemon -m 700 /var/spool/avmilter
d80 5
a84 1
	@@${INSTALL} -d -o daemon -g daemon -m 700 /var/spool/avmilter/${i}
d99 1
@


1.4
log
@- H+BEDV GmbH released a new tarball shipping an updated anti-virus engine
  (6.22.0.1 -> 6.23.0.1), a current virus definition file (6.23.0.1) and
  and updated antivir.conf adding new options for the new features in the
  current AV engine.
  If you are using the auto-update facility you should already have the
  updated AV engine and VDF. The new options available in antivir.conf are
  only relevant if you are using the update daemon mechanism (i.e. you are
  using `antivir --update-daemon` instead of running antivirupdater via
  cron(8)) or you own a true commercial license (i.e. no private license)
  and want to catch "unwanted files" e.g. dialers in addition to worms and
  viruses.
- Be consistent in how PREFIX gets inserted in the avq script compared to
  the other patched files. The old way previously saved a patch which is
  no longer true. No change in the installed script.

Submitted by:	Marius Strobl <marius@@alchemy.franken.de>
@
text
@d9 1
a9 1
PORTREVISION=	3
d11 2
a12 1
MASTER_SITES=	ftp://ftp.antivir.de/freebsd/
d53 1
a53 1
		${PREFIX}/AntiVir/antivir-dist
d59 1
a59 1
		${PREFIX}/AntiVir/antivir.vdf-dist
@


1.3
log
@- Install the virus definition file and the actual virus scanner with the
  write bit turned on as both get updated when using the automated updates
  facility. The auto-update mechanism doesn't seem to have a problem if
  the write bit is disabled but it's not quite correct.
- Mention in pkg-message that that the virus scanner (referenced as
  "anti-virus engine" by H+BEDV) also gets updated when using the automated
  updates facility.
@
text
@d9 1
a9 1
PORTREVISION=	2
d41 1
a41 1
.for i in etc/avmilter.conf init/rc.avmilter
a43 2
	@@${REINPLACE_CMD} -e 's|\/etc\/avmilter.conf|${PREFIX}&|g' \
		${WRKSRC}/script/avq
@


1.2
log
@- H+BEDV GmbH released a new tarball shipping an updated anti-virus engine
  (6.21.0.1 -> 6.22.0.1) and a current virus definition file (6.22.0.0).
  If you are using the auto-update functionality you should already have
  these updated versions.
- Mention the AntiVir Bulletin Board (support) in the DESCR.
- Make the antivirupdater script behave like described in the documentation
  (pass command line arguments to antivir).
- Make the avq script check for uid == 0, the avmilter spool directory can't
  be read without sufficient permissions.

Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTREVISION=	1
d53 1
a53 1
	@@${INSTALL} -o daemon -g daemon -m 555 ${WRKSRC}/bin/antivir \
d56 1
a56 1
	@@${INSTALL} -o daemon -g daemon -m 555 ${WRKSRC}/bin/antivir \
d59 1
a59 1
	@@${INSTALL} -o daemon -g daemon -m 444 ${WRKSRC}/vdf/antivir.vdf \
d62 1
a62 1
	@@${INSTALL} -o daemon -g daemon -m 444 ${WRKSRC}/vdf/antivir.vdf \
@


1.1
log
@Add AntiVir Milter, a mail virusscanner using the Sendmail Mail Filter API.
This is a commercial stand-alone solution written in C not a PERL script +
myriads of dependencies + some AV...
Licenses for private (individual, non-commercial) use, e.g. for protecting
your family's home network, can be applied for free of charge.

Submitted by:	Marius Strobl <marius@@alchemy.franken.de>
@
text
@d9 1
d25 2
@

