rpms/chkrootkit/FC-3 chkrootkit.spec,1.7,1.8

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Fri Aug 19 13:54:57 UTC 2005


Author: mschwendt

Update of /cvs/extras/rpms/chkrootkit/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17183/FC-3

Modified Files:
	chkrootkit.spec 
Log Message:
sync with devel erratum


Index: chkrootkit.spec
===================================================================
RCS file: /cvs/extras/rpms/chkrootkit/FC-3/chkrootkit.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- chkrootkit.spec	24 Feb 2005 15:13:53 -0000	1.7
+++ chkrootkit.spec	19 Aug 2005 13:54:55 -0000	1.8
@@ -1,9 +1,7 @@
 Name:           chkrootkit
 Version:        0.45
-Release:        1
-Epoch:          0
-Summary:        A tool to locally check for signs of a rootkit
-
+Release:        4%{?dist}
+Summary:        Tool to locally check for signs of a rootkit
 Group:          Applications/System
 License:        BSD-like
 URL:            http://www.chkrootkit.org
@@ -15,6 +13,7 @@
 Source5:        chkrootkit.pam
 Patch1:         chkrootkit-0.44-getCMD.patch
 Patch2:         chkrootkit-0.44-inetd.patch
+Patch3:         chkrootkit-0.45-includes.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
@@ -32,7 +31,7 @@
  * chkwtmp: checks for wtmp deletions.
  * chkproc: checks for signs of LKM trojans.
  * chkdirs: checks for signs of LKM trojans.
- * strings: quick and dirty strings replacement. 
+ * strings: quick and dirty strings replacement.
  * chkutmp: checks for utmp deletions.
 
 
@@ -40,10 +39,12 @@
 %setup -q -n %{name}-%{version}
 %patch1 -p1 -b .getCMD
 %patch2 -p1 -b .inetd
+%patch3 -p1 -b .includes
+sed -i -e 's!\s\+ at strip.*!!g' Makefile
 
 
 %build
-make sense
+make sense CC="%{__cc} $RPM_OPT_FLAGS"
 
 
 %install
@@ -53,7 +54,7 @@
 cat << EOF > .tmp.chkrootkit.sbin
 #! /bin/sh
 cd %{_libdir}/%{name}-%{version}
-./chkrootkit
+./chkrootkit "\$@"
 EOF
 install -p -D -m0755 .tmp.chkrootkit.sbin ${RPM_BUILD_ROOT}%{_sbindir}/chkrootkit
 
@@ -105,6 +106,16 @@
 
 
 %changelog
+* Fri Aug 19 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.45-4
+- Pass on command-line arguments to main program (#166321).
+
+* Mon May  9 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.45-3
+- Create debuginfo package, remove stripping from Makefile in %%prep,
+  build with optflags.
+
+* Thu Mar 17 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.45-2
+- Make GCC4 shut up by including more C headers in chkproc.c/chkwtmp.c
+
 * Thu Feb 24 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.45-1
 - Update to 0.45, trim description.
 




More information about the fedora-extras-commits mailing list