[Logcheck-commits] CVS logcheck/debian

CVS User ttroxell logcheck-devel@lists.alioth.debian.org
Fri, 07 Jan 2005 18:39:12 -0700


Update of /cvsroot/logcheck/logcheck/debian
In directory haydn:/tmp/cvs-serv30936/debian

Modified Files:
	changelog logcheck.NEWS logcheck.postinst 
Log Message:
Add setgid change note to logcheck.NEWS
Fix minor punctuation in changelog
move cron touch to places where necessary only



--- /cvsroot/logcheck/logcheck/debian/changelog	2005/01/06 13:17:47	1.320
+++ /cvsroot/logcheck/logcheck/debian/changelog	2005/01/08 01:39:11	1.321
@@ -4,7 +4,7 @@
   * Enhance rules at level workstation for removable devices. 
     (closes: #284505, #284825)
   * Fix dnsmasq rule regarding DHCPINFORM. (closes: #286532)
-  * Add rbldnsd fules at level server from Rafael Jesus Alcantara Perez
+  * Add rbldnsd rules at level server from Rafael Jesus Alcantara Perez
     <rafa@dedaloingenieros.com>. (closes: #285602)
   * Add jabberd rules from Peter Palfrader <weasel@debian.org>.
   * Add rule for weekly nmbd logrotate. (closes: #286329)
@@ -12,7 +12,7 @@
     on level workstation. (closes: #286747)
   * Fix dovecot rules: dots in usernames + other breakage. (closes: #286306)
   * Fix gconfd rules for latest default english logging style.
-  * Logtail need to Depend on versioned perl not logcheck. (closes: #288580)
+  * Logtail need to depend on versioned perl not logcheck. (closes: #288580)
   * Add rules for dictd, francine, kernel from alfie.
   todd:
   * Set rule directories setgid to simplify administration. (closes: #286230)
--- /cvsroot/logcheck/logcheck/debian/logcheck.NEWS	2004/11/27 13:04:59	1.1
+++ /cvsroot/logcheck/logcheck/debian/logcheck.NEWS	2005/01/08 01:39:11	1.2
@@ -1,3 +1,10 @@
+logcheck (1.2.33) unstable; urgency=low
+
+  * Logcheck's rulefile directory permissions have been changed in this
+    release from 0740 to 4740. 
+
+ -- Todd Troxell <ttroxell@debian.org>  Fri, 07 Jan 2005 20:23:00 +0500
+
 logcheck (1.2.19-2) unstable; urgency=low
 
   * As of version 1.2.19, logcheck no longer runs as root.  
--- /cvsroot/logcheck/logcheck/debian/logcheck.postinst	2005/01/06 12:50:41	1.29
+++ /cvsroot/logcheck/logcheck/debian/logcheck.postinst	2005/01/08 01:39:11	1.30
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $Id: logcheck.postinst,v 1.29 2005/01/06 12:50:41 maks-guest Exp $
+# $Id: logcheck.postinst,v 1.30 2005/01/08 01:39:11 ttroxell Exp $
 
 set -e
 
@@ -29,16 +29,21 @@
     configure)
 	# Add logcheck user
 	# check for logcheck user or bad version without home
+	# touch cron job on updating accounts to fix #284788
 	if ! getent passwd logcheck > /dev/null; then
 	  adduser --quiet --system --no-create-home --group \
 	      --home /var/lib/logcheck logcheck || true
+	  touch /etc/cron.d/logcheck || true
     	elif dpkg --compare-versions "$2" eq 1.2.19; then
 	   usermod -d /var/lib/logcheck logcheck > /dev/null 2>&1 || true
+	   touch /etc/cron.d/logcheck || true
 	fi
 	# check for logcheck in adm group
 	if ! getent group adm | grep logcheck > /dev/null; then
 	  adduser --quiet logcheck adm || true
+	  touch /etc/cron.d/logcheck || true
 	fi  
+
 	# Remove old directory
 	if dpkg --compare-versions "$2" lt "1.1.1-13.2"; then
 	    if [ -d /var/cache/logcheck ]; then
@@ -70,10 +75,6 @@
           chown logcheck /var/lock/logcheck > /dev/null 2>&1 || true
 	fi
 
-	# fix for #284788
-	# update timestamp on cron
-	touch /etc/cron.d/logcheck || true
-
 	;;
     
     abort-upgrade|abort-remove|abort-deconfigure)