mcafee-autoupdate proxy fix
Giulio Cervera
giulio.cervera at EDSPA.IT
Mon May 16 17:06:47 IST 2005
[ The following text is in the "ISO-8859-15" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
--
*Giulio Cervera*
EDS PA SpA
Via Atanasio Soldati 80
00155 Roma (Italy)
tel: +39 06 22739 270
fax: +39 06 22739 233
e-mail: giulio.cervera at edspa.it <mailto:giulio.cervera at edspa.it>
mcafee-autoupdate does not work correctly with proxy, there is small bug
in command line parser.
I have also added --cache=off to wget for download a fresh copy of
update.ini and not a cached copy
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
[ Part 2: "Attached Text" ]
--- mcafee-autoupdate.old 2005-05-16 16:20:39.000000000 +0200
+++ mcafee-autoupdate 2005-05-16 17:38:32.000000000 +0200
@@ -58,7 +58,7 @@
;;
/*) PREFIX=$arg
;;
- http:) ftp_proxy=$arg
+ http:*) ftp_proxy=$arg
http_proxy=$arg
export ftp_proxy
export http_proxy
@@ -181,7 +181,7 @@
# work out latest dat version
try=$RETRIES
while :
-do getver "wget --tries=$try --waitretry=$INTERVAL --passive-ftp $FTPDIR/update.ini" update.ini "DATVersion="
+do getver "wget --cache=off --tries=$try --waitretry=$INTERVAL --passive-ftp $FTPDIR/update.ini" update.ini "DATVersion="
VERSION=$VER
case $VERSION in
UNKNOWN)
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list