diff -Nru /tmp/20HeeUTR2p/logcheck-1.2.61/debian/changelog /tmp/SD1uVDofVR/logcheck-1.2.61ubuntu0.1/debian/changelog --- /tmp/20HeeUTR2p/logcheck-1.2.61/debian/changelog 2007-09-07 15:03:20.000000000 +0200 +++ /tmp/SD1uVDofVR/logcheck-1.2.61ubuntu0.1/debian/changelog 2007-10-19 18:15:17.000000000 +0200 @@ -1,3 +1,14 @@ +logcheck (1.2.61ubuntu0.1) gutsy-proposed; urgency=low + + * Picked bugfixes from 1.6.62: + - make dependency on logtail versioned (>= 1.2.59; closes: #443134). + - apply patch by Marc Haber to fix logtail2 when there are no archived logs + found (LP: #149641) + * Modify Maintainer value to match the DebianMaintainerField + specification. + + -- dAniel hAhler Fri, 19 Oct 2007 18:14:40 +0200 + logcheck (1.2.61) unstable; urgency=low * Provide $TMP and allow the administrator to specify an alternate location diff -Nru /tmp/20HeeUTR2p/logcheck-1.2.61/debian/control /tmp/SD1uVDofVR/logcheck-1.2.61ubuntu0.1/debian/control --- /tmp/20HeeUTR2p/logcheck-1.2.61/debian/control 2007-08-23 14:16:11.000000000 +0200 +++ /tmp/SD1uVDofVR/logcheck-1.2.61ubuntu0.1/debian/control 2007-10-19 18:13:51.000000000 +0200 @@ -1,7 +1,8 @@ Source: logcheck Section: admin Priority: optional -Maintainer: Debian logcheck Team +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Debian logcheck Team Uploaders: Todd Troxell , Gerfried Fuchs , Eric Evans , martin f. krafft , Marc Haber Standards-Version: 3.7.2 Build-Depends: debhelper (>= 4.1.13) @@ -11,7 +12,7 @@ Package: logcheck Architecture: all -Depends: adduser, exim4 | mail-transport-agent, cron (>=3.0pl1-68), sysklogd | system-log-daemon | syslog-ng, mailx, logtail, lockfile-progs, ${misc:Depends} +Depends: adduser, exim4 | mail-transport-agent, cron (>=3.0pl1-68), sysklogd | system-log-daemon | syslog-ng, mailx, logtail (>= 1.2.59), lockfile-progs, ${misc:Depends} Recommends: logcheck-database (>= ${source:Version}) Suggests: syslog-summary Description: mails anomalies in the system logfiles to the administrator diff -Nru /tmp/20HeeUTR2p/logcheck-1.2.61/src/detectrotate/10-savelog.dtr /tmp/SD1uVDofVR/logcheck-1.2.61ubuntu0.1/src/detectrotate/10-savelog.dtr --- /tmp/20HeeUTR2p/logcheck-1.2.61/src/detectrotate/10-savelog.dtr 2007-08-23 13:44:27.000000000 +0200 +++ /tmp/SD1uVDofVR/logcheck-1.2.61ubuntu0.1/src/detectrotate/10-savelog.dtr 2007-09-22 14:47:30.000000000 +0200 @@ -3,7 +3,7 @@ sub { my ($filename) = @_; my $rotated_filename=""; - if (-e "$filename.0" && (mtime("$filename.0") > mtime("$filename.1.gz")) ) { + if (-e "$filename.0" && -e "$filename.1.gz" && (mtime("$filename.0") > mtime("$filename.1.gz")) ) { # assume the log is rotated by savelog(8) # syslog-ng leaves old files here $rotated_filename="$filename.0"; diff -Nru /tmp/20HeeUTR2p/logcheck-1.2.61/src/logtail2 /tmp/SD1uVDofVR/logcheck-1.2.61ubuntu0.1/src/logtail2 --- /tmp/20HeeUTR2p/logcheck-1.2.61/src/logtail2 2007-08-23 13:44:27.000000000 +0200 +++ /tmp/SD1uVDofVR/logcheck-1.2.61ubuntu0.1/src/logtail2 2007-09-22 14:47:30.000000000 +0200 @@ -122,7 +122,7 @@ #} else { # print "no rotated file found\n"; #} - if ($rotated_filename && inode($rotated_filename) == $inode) { + if ($rotated_filename && -e "$rotated_filename" && inode($rotated_filename) == $inode) { return $rotated_filename; } else { return "";