head	1.8;
access;
symbols
	RELEASE_6_1_0:1.7
	RELEASE_5_5_0:1.7
	RELEASE_6_0_0:1.6
	RELEASE_5_4_0:1.5
	RELEASE_4_11_0:1.5
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3;
locks; strict;
comment	@# @;


1.8
date	2006.09.02.21.52.20;	author kris;	state dead;
branches;
next	1.7;

1.7
date	2005.09.28.15.41.25;	author marius;	state Exp;
branches;
next	1.6;

1.6
date	2005.07.10.15.04.00;	author marius;	state Exp;
branches;
next	1.5;

1.5
date	2004.12.11.21.28.36;	author marius;	state Exp;
branches;
next	1.4;

1.4
date	2004.03.05.15.08.29;	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.8
log
@Remove expired ports.
@
text
@===========================================================================

In order to configure Sendmail for this port add the following lines to
your SENDMAIL_MC:

INPUT_MAIL_FILTER(
	`antivir-milter',
	`S=unix:/var/spool/avmilter/avmilter.sock, F=T, T=S:10m;R:10m;E:10m'
)dnl

Don't forget to rebuild sendmail.cf and to restart Sendmail afterwards.

For automated updates of the anti-virus engine and the virus definition
file either add the following line to your /etc/crontab to run them via
cron(8):
25 0 * * * root %%PREFIX%%/sbin/antivirupdater -q
or execute the following command to enabled the AntiVir Updater daemon:
cp %%PREFIX%%/etc/rc.d/avupdater.sh-dist_avmilter \
%%PREFIX%%/etc/rc.d/avupdater.sh

For full functionality of AntiVir Milter you need to obtain a license
key from H+BEDV Datentechnik GmbH. To install it, execute the following
commands:
cp hbedv.key %%PREFIX%%/AntiVir/
chown root:smmsp %%PREFIX%%/AntiVir/hbedv.key
chmod 440 %%PREFIX%%/AntiVir/hbedv.key

===========================================================================
@


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


1.6
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
@a27 11
A license key for private (individual, non-commercial) use can be applied
for free of charge at:
http://free-av.de/unixreg_form_de.htm (German)
http://free-av.com/unixreg_form_en.htm (English)

Note:	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.

@


1.5
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
@d30 8
a37 2
http://www.antivir.de/order/privreg/linux.htm (German)
http://www.hbedv.com/private/ (English)
@


1.4
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
@d14 2
a15 1
file add the following line to your /etc/crontab:
d17 3
@


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
@d8 1
a8 1
	`S=unix:%%PREFIX%%/AntiVir/avmilter.sock, F=T, T=S:10m;R:10m;E:5m'
d21 1
a21 1
chown daemon:daemon %%PREFIX%%/AntiVir/hbedv.key
@


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
@d13 2
a14 2
For automated updates of the virus definition file add the following
line to your /etc/crontab:
@


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
@d15 1
a15 1
25 0 * * * root %%PREFIX%%/sbin/antivirupdater >/dev/null
@

