summaryrefslogtreecommitdiff
path: root/security/antivir-milter/files/patch-script::avq
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2003-12-10 17:57:57 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2003-12-10 17:57:57 +0000
commit16eda7f1f8209496f29ca988a2d956408f4d1622 (patch)
tree7ccf2d0bf6f7ee85f8020f5a670ea9c8415bc3f3 /security/antivir-milter/files/patch-script::avq
parentUpgrade from 5.5.7-11 to yesterday's 5.5.7-14. Nothing to see here... (diff)
- 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>
Notes
Notes: svn path=/head/; revision=95553
Diffstat (limited to '')
-rw-r--r--security/antivir-milter/files/patch-script::avq17
1 files changed, 13 insertions, 4 deletions
diff --git a/security/antivir-milter/files/patch-script::avq b/security/antivir-milter/files/patch-script::avq
index dd9fb97281c3..a2f97faa1c3e 100644
--- a/security/antivir-milter/files/patch-script::avq
+++ b/security/antivir-milter/files/patch-script::avq
@@ -1,16 +1,25 @@
--- script/avq.orig Sat Oct 11 13:26:02 2003
+++ script/avq Sat Oct 11 13:31:54 2003
-@@ -49,6 +49,13 @@
+@@ -38,7 +38,7 @@
+ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ #******************************************************************************
+
+-configuration=/etc/avmilter.conf
++configuration=%%PREFIX%%/etc/avmilter.conf
+ queue="`egrep -i '^[Ss][Pp][Oo][Oo][Ll][Dd][Ii][Rr]' ${configuration} | awk '{print $2;}'`"
+ queue_set=0
+ pname="`basename $0`"
+@@ -48,6 +48,13 @@
+ data=
systeme="`uname`"
date_param="-d"
-
++
+# Make sure the user running this program is root.
+procowner=${procowner:-`/usr/bin/id -u`}
+if [ "$procowner" != "0" ]; then
+ echo "${pname}: you must be the super-user (uid 0) to use this utility."
+ exit 2
+fi
-+
+
usage() {
echo "${pname} usage:"
- echo " ${pname} [--queue=DIR] "