[Lunar-commits] CVS: moonbase/security/logwatch POST_INSTALL, NONE, 1.1 BUILD, 1.1, 1.2 DETAILS, 1.1, 1.2

Auke Kok sofar at lunar-linux.org
Wed Sep 22 15:06:25 UTC 2004


Update of /var/cvs/lunar/moonbase/security/logwatch
In directory espresso.lunar-linux.org:/tmp/cvs-serv30711

Modified Files:
	BUILD DETAILS 
Added Files:
	POST_INSTALL 
Log Message:
Adding a few patches to make stuff work better:
* df requires -P otherwise output is truncated
* mail log locations, auth/authlog
* installation perms


--- NEW FILE: POST_INSTALL ---
message "${MESSAGE_COLOR}run /etc/log.d/scripts/logwatch.pl to create a log summary.${DEFAULT_COLOR}"

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/security/logwatch/BUILD,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BUILD	13 Sep 2004 12:32:25 -0000	1.1
+++ BUILD	22 Sep 2004 15:06:23 -0000	1.2
@@ -1,10 +1,14 @@
 (
 
+  patch_it $SOURCE2 1 &&
   prepare_install &&
-  mkdir -p /etc/log.d/ &&
-  mkdir -p /usr/share/man/man8 &&
+  mkdir -p /etc/log.d /usr/share/man/man8 &&
   cp -av conf lib scripts /etc/log.d/ &&
+  chmod 755 lib/* scripts/logwatch.pl scripts/*/* &&
   install logwatch.8 /usr/share/man/man8/ &&
+  if [ ! -e /etc/log.d/logwatch.conf ] ; then
+    install conf/logwatch.conf -m644 /etc/log.d/
+  fi &&
   mv conf conf-nodocinstall
 
 ) > $C_FIFO 2>&1

Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/security/logwatch/DETAILS,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- DETAILS	13 Sep 2004 12:32:25 -0000	1.1
+++ DETAILS	22 Sep 2004 15:06:23 -0000	1.2
@@ -1,12 +1,15 @@
           MODULE=logwatch
          VERSION=5.2.2
           SOURCE=$MODULE-$VERSION.tar.gz
+	 SOURCE2=$MODULE-$VERSION-misc.patch
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
       SOURCE_URL=ftp://ftp.kaybee.org/pub/linux/
+     SOURCE2_URL=$PATCH_URL/
         WEB_SITE=http://www.logwatch.org/
       SOURCE_VFY=sha1:0599f5605edad60cb0f8bc585843b90c1ac8c131
+     SOURCE2_VFY=sha1:ac89048dcfd03f43d4be29154b9f15a16cd210c4
          ENTERED=20040913
-         UPDATED=20040913
+         UPDATED=20040922
            SHORT="Monitor log files realtime"
 cat << EOF
 Logwatch is a customizable log analysis system. Logwatch parses



More information about the Lunar-commits mailing list