packages: logcheck/logcheck.spec, logcheck/logcheck-command_correct.patch -...
zbyniu
zbyniu at pld-linux.org
Tue Dec 13 23:11:32 CET 2011
Author: zbyniu Date: Tue Dec 13 22:11:32 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 1.3.14
---- Files affected:
packages/logcheck:
logcheck.spec (1.44 -> 1.45) , logcheck-command_correct.patch (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/logcheck/logcheck.spec
diff -u packages/logcheck/logcheck.spec:1.44 packages/logcheck/logcheck.spec:1.45
--- packages/logcheck/logcheck.spec:1.44 Fri Jun 4 08:29:08 2010
+++ packages/logcheck/logcheck.spec Tue Dec 13 23:11:27 2011
@@ -2,12 +2,12 @@
Summary: Mails anomalies in the system logfiles to the administrator
Summary(pl.UTF-8): Wysyłanie anomalii w logach systemowych pocztą do administratora
Name: logcheck
-Version: 1.3.1
+Version: 1.3.14
Release: 1
License: GPL
Group: Applications/System
Source0: http://ftp.debian.org/debian/pool/main/l/logcheck/%{name}_%{version}.tar.gz
-# Source0-md5: 1b000602ef86eebc30a60340484d79d7
+# Source0-md5: cbd32dbdcb877f267636205f33ede790
Patch0: %{name}-pld.patch
Patch1: %{name}-command_correct.patch
Source1: %{name}.cron
@@ -105,7 +105,7 @@
przeczytane.
%prep
-%setup -q -n %{name}
+%setup -q
%patch0 -p1
%patch1 -p1
@@ -157,6 +157,7 @@
%attr(640,root,logcheck) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/header.txt
%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
%attr(755,root,root) %{_sbindir}/logcheck
+%attr(755,root,root) %{_bindir}/logcheck-test
%dir %attr(770,root,logcheck) /var/lib/logcheck
%dir %attr(770,root,logcheck) /var/lock/logcheck
@@ -180,6 +181,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.45 2011/12/13 22:11:27 zbyniu
+- up to 1.3.14
+
Revision 1.44 2010/06/04 06:29:08 glen
- adapter
================================================================
Index: packages/logcheck/logcheck-command_correct.patch
diff -u packages/logcheck/logcheck-command_correct.patch:1.4 packages/logcheck/logcheck-command_correct.patch:1.5
--- packages/logcheck/logcheck-command_correct.patch:1.4 Sun Sep 16 17:45:09 2007
+++ packages/logcheck/logcheck-command_correct.patch Tue Dec 13 23:11:27 2011
@@ -12,31 +12,31 @@
@@ -205,10 +205,10 @@
if [ -d $dir ]; then
- if [ ! -d $cleaned ]; then
-- mkdir $cleaned \
-+ install -d $cleaned \
+ if [ ! -d "$cleaned" ]; then
+- mkdir "$cleaned" \
++ install -d "$cleaned" \
|| error "Could not make dir $cleaned for cleaned rulefiles."
fi
-- for rulefile in $(run-parts --list $dir); do
-+ for rulefile in $(run-parts -u $dir); do
- rulefile=$(basename $rulefile)
- if [ -f ${dir}/${rulefile} ]; then
+- for rulefile in $(run-parts --list "$dir"); do
++ for rulefile in $(run-parts -u "$dir"); do
+ rulefile="$(basename "$rulefile")"
+ if [ -f "${dir}/${rulefile}" ]; then
debug "cleanrules: ${dir}/${rulefile}"
@@ -623,7 +623,7 @@
debug "Trying to get lockfile: $LOCKFILE.lock"
- if [ ! -d $LOCKDIR ]; then
-- mkdir -m 0755 $LOCKDIR
-+ install -d -m 0755 $LOCKDIR
+ if [ ! -d "$LOCKDIR" ]; then
+- mkdir -m 0755 "$LOCKDIR"
++ install -d -m 0755 "$LOCKDIR"
fi
- lockfile-create --retry 1 $LOCKFILE > /dev/null 2>&1
+ lockfile-create --retry 1 "$LOCKFILE" > /dev/null 2>&1
@@ -661,7 +661,7 @@
# Get the list of log files from config file
# Handle log rotation correctly, idea taken from Wiktor Niesiobedzki.
--mkdir $TMPDIR/logoutput \
-+install -d $TMPDIR/logoutput \
+-mkdir "$TMPDIR/logoutput" \
++install -d "$TMPDIR/logoutput" \
|| error "Could not mkdir for log files"
if [ ! $LOGFILE ] && [ -r $LOGFILES_LIST ]; then
for file in $(egrep --text -v "(^#|^[[:space:]]*$)" $LOGFILES_LIST); do
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/logcheck/logcheck.spec?r1=1.44&r2=1.45&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/logcheck/logcheck-command_correct.patch?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list