rpms/chkrootkit/devel chkrootkit-0.47-chklastlog.patch, NONE, 1.1 chkrootkit.spec, 1.21, 1.22

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Sun Feb 11 21:15:02 UTC 2007


Author: mschwendt

Update of /cvs/extras/rpms/chkrootkit/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27986

Modified Files:
	chkrootkit.spec 
Added Files:
	chkrootkit-0.47-chklastlog.patch 
Log Message:
* Sun Feb 11 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.47-6
- Make chklastlog default to /var/log/lastlog and /var/log/wtmp,
  which can be set with options -l and -f, too, however.


chkrootkit-0.47-chklastlog.patch:

--- NEW FILE chkrootkit-0.47-chklastlog.patch ---
diff -Nur chkrootkit-0.47-orig/chklastlog.c chkrootkit-0.47/chklastlog.c
--- chkrootkit-0.47-orig/chklastlog.c	2006-02-11 18:02:48.000000000 +0100
+++ chkrootkit-0.47/chklastlog.c	2007-02-11 22:10:25.000000000 +0100
@@ -62,10 +62,10 @@
 #define LASTLOG_FILENAME "/var/log/lastlog"
 #endif
 #ifndef WTMP_FILENAME
-#define WTMP_FILENAME "/var/adm/wtmp"
+#define WTMP_FILENAME "/var/log/wtmp"
 #endif
 #ifndef LASTLOG_FILENAME
-#define LASTLOG_FILENAME "/var/adm/lastlog"
+#define LASTLOG_FILENAME "/var/log/lastlog"
 #endif
 
 #define TRUE 1L


Index: chkrootkit.spec
===================================================================
RCS file: /cvs/extras/rpms/chkrootkit/devel/chkrootkit.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- chkrootkit.spec	31 Jan 2007 18:33:57 -0000	1.21
+++ chkrootkit.spec	11 Feb 2007 21:14:30 -0000	1.22
@@ -1,6 +1,6 @@
 Name:           chkrootkit
 Version:        0.47
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Tool to locally check for signs of a rootkit
 Group:          Applications/System
 License:        BSD-like
@@ -17,6 +17,7 @@
 Patch3:         chkrootkit-0.45-includes.patch
 Patch4:         chkrootkit-0.47-warnings.patch
 Patch5:         chkrootkit-0.47-no-openbsd.patch
+Patch6:         chkrootkit-0.47-chklastlog.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
@@ -45,6 +46,7 @@
 %patch3 -p1 -b .includes
 %patch4 -p1 -b .warnings
 %patch5 -p1 -b .no-openbsd
+%patch6 -p1 -b .chklastlog
 sed -i -e 's!\s\+ at strip.*!!g' Makefile
 
 
@@ -113,6 +115,10 @@
 
 
 %changelog
+* Sun Feb 11 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.47-6
+- Make chklastlog default to /var/log/lastlog and /var/log/wtmp,
+  which can be set with options -l and -f, too, however.
+
 * Wed Jan 31 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.47-5
 - Upstream wants to disable the OBSD rk v1 check on Linux with
   next release.




More information about the scm-commits mailing list