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


1.6
date	2006.09.02.21.52.20;	author kris;	state dead;
branches;
next	1.5;

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

1.4
date	2005.07.10.15.04.00;	author marius;	state Exp;
branches;
next	1.3;

1.3
date	2004.12.11.21.28.36;	author marius;	state Exp;
branches;
next	1.2;

1.2
date	2004.10.20.18.22.23;	author marius;	state Exp;
branches;
next	1.1;

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


desc
@@


1.6
log
@Remove expired ports.
@
text
@--- doc/MANUAL.orig	Wed Jan 28 11:48:04 2004
+++ doc/MANUAL	Mon Mar  1 01:08:06 2004
@@@@ -40,37 +40,38 @@@@
 
 To start, stop, restart AntiVir Milter:
 
-	# /usr/sbin/rcavmilter [start|stop|status|restart]
+	# %%PREFIX%%/etc/rc.d/avmilter.sh [start|stop|status|restart]
 
 When executed successfully, a message from AntiVir Milter with
 the scan engine version and VDF version is present in the log file
-/var/log/mail, /var/log/maillog or /var/log/mail.log
+/var/log/maillog
 
 
 2. Copying the license file 
 ---------------------------
 
-Copy the license file *.key to the folder /usr/lib/AntiVir and 
-set the access rights of user and group to default root:antivir :
+Copy the license file *.key to the folder %%PREFIX%%/AntiVir and 
+set the access rights of user and group to default root:smmsp:
 
-	# cp hbedv.key /usr/lib/AntiVir/
-	# chown root:antivir /usr/lib/AntiVir/hbedv.key
+	# cp hbedv.key %%PREFIX%%/AntiVir/
+	# chown root:smmsp %%PREFIX%%/AntiVir/hbedv.key
+	# chmod 440 %%PREFIX%%/AntiVir/hbedv.key
 
 
 3. Configuring AntiVir Milter
 -----------------------------
 
-AntiVir Milter provides the configuration file /etc/avmilter.conf:
-The following directives are available:
+AntiVir Milter provides the following directives in the configuration file
+%%PREFIX%%/etc/avmilter/avmilter.conf:
 
-# User				uucp
-# Group				antivir
+# User				smmsp
+# Group				smmsp
 # Postmaster			postmaster
 # MyHostName			localhost
 # SpoolDir			/var/spool/avmilter
-# AntiVirDir			/usr/lib/AntiVir
+# AntiVirDir			%%PREFIX%%/AntiVir
 # TemporaryDir			/var/tmp
-# ForwardTo			/usr/lib/sendmail -oem -oi
+# ForwardTo			/usr/sbin/sendmail -oem -oi
 # MaxNestingLevel		same as ArchiveMaxRecursion
 # MaxAttachments		100
 # BlockSuspiciousMime		NO
@@@@ -78,7 +79,7 @@@@
 # ExposeRecipientAlerts		NO
 # ExposeSenderAlerts		NO
 # ExposePostmasterAlerts	YES
-# AlertsUser			AntiVir
+# AlertsUser			MAILER-DAEMON
 # RejectAlertMail		NO
 # QuarantineAlert		YES
 # ScanInArchive			YES
@@@@ -118,13 +119,13 @@@@
 -------------------------------
 
 Add the following line for a daily update at e.g. 0:25 a.m.:
-25 0 * * * root /usr/lib/AntiVir/antivir --update -q
+25 0 * * * root %%PREFIX%%/sbin/antivirupdater -q
 
 When using a proxy server, enter name server name and connection
 in the file antivir.conf.
 
-The file /etc/antivir.conf contains settable parameters effecting
-the automatic protection updates. The following directives 
+The file %%PREFIX%%/etc/antivir.conf contains settable parameters
+effecting the automatic protection updates. The following directives
 are provided:
 
 # EmailTo            	root@@localhost
@@@@ -138,7 +139,7 @@@@
 # HTTPProxyPassword  	password
 # SyslogFacility     	user
 # SyslogPriority     	notice
-# GnuPGBinary
+# GnuPGBinary		%%LOCALBASE%%/bin/gpg
 # GnuPGOptions
 # DetectDialer
 # DetectJoke
@@@@ -158,7 +159,7 @@@@
 you have the possibility to define your own text in alert and
 pathological notification mails.
 
-The directory /usr/lib/AntiVir/templates contains the 
+The directory %%PREFIX%%/AntiVir/templates contains the 
 following files:
 
 	patho-administrator
@@@@ -216,14 +217,15 @@@@
 will be printed to syslog:
 (avmilter[1234]: Mail from foo@@bar.tld to john@@doe.tld will be scanned!)
 
-The tables are: /etc/avmilter.scan and /etc/avmilter.ignore.
+The tables are: %%PREFIX%%/etc/avmilter/avmilter.scan and
+%%PREFIX%%/etc/avmilter/avmilter.ignore.
 Example files are included in this package.
 Each table consists of an address that contains regular expressions
 and one and/or two flags:
 
 Examples:
 ----------------------
-/etc/avmilter.scan:
+avmilter.scan:
 The i is an option for the regexp and it means ignore case.
 
 #The following matches exactly the *recipient* address "foo@@bar.tld"
@@@@ -328,8 +330,8 @@@@
 no notice mail will be sent to the recipient(s) and the sender!
 This behaviour cannot be changed.
 
-In the /etc/avmilter.warn file one can specify who receives a
-mail in case of an alert.
+In the %%PREFIX%%/etc/avmilter/avmilter.warn file one can specify
+who receives a mail in case of an alert.
 The definition there is used instead of the definition in the
 avmilter.conf (Expose*Alerts).
 
@@@@ -464,7 +466,7 @@@@
 mail. If set to a full path with filename, the text in that file will be
 added to the mail.
 
-AddStatusInBody /usr/lib/AntiVir/templates/my_banner
+AddStatusInBody %%PREFIX%%/AntiVir/templates/my_banner
 or
 AddStatusInBody yes
 
@


1.5
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.4
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
@d3 1
a3 1
@@@@ -39,37 +39,38 @@@@
d54 1
a54 1
@@@@ -77,7 +78,7 @@@@
d63 1
a63 1
@@@@ -115,13 +116,13 @@@@
d80 1
a80 1
@@@@ -135,7 +136,7 @@@@
d89 1
a89 1
@@@@ -155,7 +156,7 @@@@
d98 1
a98 1
@@@@ -213,14 +214,15 @@@@
d116 1
a116 1
@@@@ -325,8 +327,8 @@@@
d127 9
@


1.3
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
@d3 1
a3 1
@@@@ -24,37 +24,38 @@@@
d20 1
a20 1
-set the access rights of user and group to default uucp:
d22 1
a22 1
+set the access rights of user root and group to smmsp:
d25 1
a25 1
-	# chown uucp:antivir /usr/lib/AntiVir/avmgate.key
d54 1
a54 1
@@@@ -62,7 +63,7 @@@@
d63 1
a63 1
@@@@ -93,13 +94,13 @@@@
d80 1
a80 1
@@@@ -113,7 +114,7 @@@@
d89 1
a89 1
@@@@ -133,7 +134,7 @@@@
d98 1
a98 1
@@@@ -190,14 +191,15 @@@@
d116 3
a118 3
@@@@ -298,8 +300,8 @@@@
 11. Notice Mail Restrictions
 ------------------------
@


1.2
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
@d25 1
a25 1
-	# chown uucp:uucp /usr/lib/AntiVir/avmgate.key
d40 1
a40 1
-# Group				uucp
@


1.1
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
@d3 1
a3 1
@@@@ -3,39 +3,39 @@@@
d8 1
a8 1
+	# %%PREFIX%%/etc/rc.d/antivir-milter.sh [start|stop|status|restart]
d19 1
a19 2
 If you have a license file for commercial or privat user,
-copy the license file *.key to the folder /usr/lib/AntiVir and 
d21 3
a23 1
-
a25 3
+copy the license file *.key to the folder %%PREFIX%%/AntiVir and 
+set the access rights of user root and group smmsp:
 
d30 1
d35 29
a63 37
+AntiVir Milter provides the configuration file %%PREFIX%%/etc/avmilter.conf:
 The following directives are available:
 
-# User                            uucp
-# Group                           uucp
+# User                            smmsp
+# Group                           smmsp
 # Postmaster                      postmaster
 # MyHostName                      localhost
 # SpoolDir                        /var/spool/avmilter
-# AntiVirDir                      /usr/lib/AntiVir
+# AntiVirDir                      %%PREFIX%%/AntiVir
 # TemporaryDir                    /var/tmp
 # MinFreeBlocks                   100
-# ForwardTo                       /usr/lib/sendmail -oem -oi
+# ForwardTo                       /usr/sbin/sendmail -oem -oi
 # MaxNestingLevel                 20
 # MaxAttachments                  100
 # BlockSuspiciousMime             NO
@@@@ -43,7 +43,7 @@@@
 # VirusAlertToRcpt                NO
 # VirusAlertToSender              NO
 # VirusAlertToPostmaster          YES
-# VirusAlertsUser                 AntiVir
+# VirusAlertsUser                 MAILER-DAEMON
 # RejectVirusMail                 NO
 # ScanInArchive                   YES
 # ArchiveMaxSize		  0
@@@@ -64,21 +64,21 @@@@
 # LogFile			  NO
 # MaxRecipientsPerMessage	  100
 
-For a detailed description see /etc/avmilter.conf.
+For a detailed description see %%PREFIX%%/etc/avmilter.conf.
 
 
 4. Configuring automatic update
d74 1
a74 2
-the automatic virus protection updates. The following directives 
-are provided:
d76 2
a77 2
+effecting the automatic virus protection updates. The following
+directives are provided:
d79 5
a83 6
 # EmailTo            root@@localhost
 # LogTo              /var/log/antivir.log
@@@@ -88,10 +88,10 @@@@
 # HTTPProxyPassword  password
 # SyslogFacility     user
 # SyslogPriority     notice
d85 1
a85 1
+# GnuPGBinary        %%PREFIX%%/bin/gpg
d87 4
a90 8
 
-For a detailled description see /etc/avmilter.conf.
+For a detailled description see %%PREFIX%%/etc/avmilter.conf.
 
 
 5. Notification Templates
@@@@ -101,7 +101,7 @@@@
 have the possibility to define your own text in virus and
d98 29
@

