~ubuntu-branches/ubuntu/lucid/mailscanner/lucid

« back to all changes in this revision

Viewing changes to lib/etrust-autoupdate

  • Committer: Bazaar Package Importer
  • Author(s): Simon Walter
  • Date: 2009-01-20 22:23:36 UTC
  • mfrom: (1.1.9 upstream) (2.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090120222336-3u0p4b7ps0ht3mgr
Tags: 4.74.16-1
* New upstream release (Closes: #506353)
  Fixes symlink vulnerability CVE-2008-5312, CVE-2008-5313, CVE-2008-5140
* Added new description to install MailScanner with sendmail and queue aging
  README.sendmail.2 thanks to Jim Barber
* Fixed patch for exim installation (Closes: #512338)

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
$PackageDir = shift || "/opt/CA/eTrustITM";
11
11
 
12
 
$LockFile = "/tmp/eTrustBusy.lock";
 
12
$LockFile = shift || "/var/spool/MailScanner/incoming/Locks/etrustBusy.lock";
13
13
 
14
14
$LOCK_SH = 1;
15
15
$LOCK_EX = 2;
134
134
 
135
135
sub UnlockAV {
136
136
        print LOCK "Unlocked after updating eTrust definitions by $$\n";
137
 
        unlink $LockFile;
138
137
        flock(LOCK, $LOCK_UN);
139
138
        close LOCK;
140
139
}