Hello community, here is the log from the commit of package chkrootkit checked in at Tue May 23 01:03:05 CEST 2006. -------- --- chkrootkit/chkrootkit.changes 2006-01-25 21:34:57.000000000 +0100 +++ chkrootkit/chkrootkit.changes 2006-05-22 20:39:48.000000000 +0200 @@ -1,0 +2,5 @@ +Mon May 22 20:39:42 CEST 2006 - schwab@suse.de + +- Don't strip binaries. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chkrootkit.spec ++++++ --- /var/tmp/diff_new_pack.8rCU7G/_old 2006-05-23 01:02:54.000000000 +0200 +++ /var/tmp/diff_new_pack.8rCU7G/_new 2006-05-23 01:02:54.000000000 +0200 @@ -5,7 +5,7 @@ # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://bugs.opensuse.org +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -17,7 +17,7 @@ Autoreqprov: on Summary: Used to Check for Symptoms of Installed Root Kits Version: 0.46a -Release: 1 +Release: 12 Source0: ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit-0.46a.tar.gz Patch0: chkrootkit-0.45.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -46,8 +46,6 @@ make OPTFLAGS="$RPM_OPT_FLAGS -Os" %install -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] \ - && rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/sbin/ install -c -m 755 chklastlog chkwtmp ifpromisc chkproc chkdirs chkrootkit strings-static chkutmp $RPM_BUILD_ROOT/sbin/ @@ -61,6 +59,8 @@ /sbin/* %changelog -n chkrootkit +* Mon May 22 2006 - schwab@suse.de +- Don't strip binaries. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 20 2006 - meissner@suse.de ++++++ chkrootkit-0.45.diff ++++++ --- /var/tmp/diff_new_pack.8rCU7G/_old 2006-05-23 01:02:54.000000000 +0200 +++ /var/tmp/diff_new_pack.8rCU7G/_new 2006-05-23 01:02:54.000000000 +0200 @@ -1,5 +1,5 @@ ---- Makefile.xx 2004-09-13 11:56:01.946689494 +0200 -+++ Makefile 2004-09-13 11:56:24.389368583 +0200 +--- Makefile ++++ Makefile @@ -4,7 +4,8 @@ # @@ -10,39 +10,51 @@ STATIC = -static ### -@@ -47,24 +47,24 @@ - @strip $@ +@@ -41,36 +42,28 @@ + + chklastlog: chklastlog.c + ${CC} ${CFLAGS} -o $@ chklastlog.c +- @strip $@ + + chkwtmp: chkwtmp.c + ${CC} ${CFLAGS} -o $@ chkwtmp.c +- @strip $@ + + ifpromisc: ifpromisc.c + ${CC} ${CFLAGS} ${LDFLAGS} -D_FILE_OFFSET_BITS=64 -o $@ ifpromisc.c +- @strip $@ chkproc: chkproc.c - ${CC} ${LDFLAGS} -o $@ chkproc.c +- @strip $@ + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ chkproc.c - @strip $@ chkdirs: chkdirs.c - ${CC} ${LDFLAGS} -o $@ chkdirs.c +- @strip $@ + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ chkdirs.c - @strip $@ check_wtmpx: check_wtmpx.c - ${CC} ${LDFLAGS} -o $@ check_wtmpx.c +- @strip $@ + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ check_wtmpx.c - @strip $@ chkutmp: chkutmp.c - ${CC} ${LDFLAGS} -o $@ chkutmp.c +- @strip $@ + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ chkutmp.c - @strip $@ strings-static: strings.c - ${CC} ${STATIC} ${LDFLAGS} -o $@ strings.c +- @strip $@ + ${CC} ${STATIC} ${CFLAGS} ${LDFLAGS} -o $@ strings.c - @strip $@ clean: ---- chkproc.c.xx 2005-06-30 11:32:32.000000000 +0200 -+++ chkproc.c 2005-06-30 11:32:40.000000000 +0200 -@@ -39,6 +39,7 @@ + rm -f ${OBJS} core chklastlog chkwtmp ifpromisc chkproc chkdirs check_wtmpx strings-static chkutmp +--- chkproc.c ++++ chkproc.c +@@ -46,6 +46,7 @@ int main (){ return 0; } #else #include <stdio.h> @@ -50,19 +62,9 @@ #include <errno.h> #include <sys/types.h> #include <dirent.h> ---- strings.c.xx 2005-06-30 11:33:00.000000000 +0200 -+++ strings.c 2005-06-30 11:33:06.000000000 +0200 -@@ -11,6 +11,7 @@ - - #include <stdio.h> - #include <strings.h> -+#include <string.h> - #include <sys/types.h> - #include <sys/stat.h> - #include <ctype.h> ---- chkrootkit 2005/08/29 09:48:40 1.1 -+++ chkrootkit 2005/08/29 09:51:58 -@@ -149,23 +149,23 @@ +--- chkrootkit ++++ chkrootkit +@@ -158,23 +158,23 @@ fi if [ "${EXPERT}" = "t" ]; then @@ -93,7 +95,7 @@ then if [ "${QUIET}" != "t" ]; then echo "chkutmp: nothing deleted"; fi fi -@@ -173,8 +173,8 @@ +@@ -182,8 +182,8 @@ } z2 () { @@ -104,7 +106,7 @@ return ${NOT_TESTED} fi -@@ -187,32 +187,32 @@ +@@ -196,32 +196,32 @@ fi if [ "${EXPERT}" = "t" ]; then @@ -145,7 +147,7 @@ then if [ "${QUIET}" != "t" ]; then \ echo "check_wtmpx: nothing deleted in /var/adm/wtmpx"; fi -@@ -223,12 +223,12 @@ +@@ -232,12 +232,12 @@ WTMP=`loc wtmp wtmp "${ROOTDIR}var/log ${ROOTDIR}var/adm"` if [ "${EXPERT}" = "t" ]; then @@ -160,7 +162,7 @@ then if [ "${QUIET}" != "t" ]; then echo "chkwtmp: nothing deleted"; fi fi -@@ -267,8 +267,8 @@ +@@ -276,8 +276,8 @@ prog="" if [ \( "${SYSTEM}" = "Linux" -o \( "${SYSTEM}" = "FreeBSD" -a \ `echo ${V} | ${awk} '{ if ($1 > 4.3) print 1; else print 0 }'` -eq 1 \) \) -a "${ROOTDIR}" = "/" ]; then @@ -171,16 +173,16 @@ if [ "$prog" != "" ]; then # echo "not tested: can't exec $prog" return ${NOT_TESTED} -@@ -280,7 +280,7 @@ - PV=`$ps -V 2>/dev/null| $cut -d " " -f 3 |$awk -F . '{ print $1 "." $2 $3 }' | ${awk} '{ if ($0 > 3.19) print 2; else print 1 }'` - [ "$PV" = "" ] && PV=1 +@@ -289,7 +289,7 @@ + PV=`$ps -V 2>/dev/null| $cut -d " " -f 3 |$awk -F . '{ print $1 "." $2 $3 }' | ${awk} '{ if ($0 > 3.19) print 3; else if ($0 < 2.11) print 1; else print 2 }'` + [ "$PV" = "" ] && PV=2 [ "${SYSTEM}" = "SunOS" ] && PV=0 - expertmode_output "./chkproc -v -v -p $PV" + expertmode_output "/sbin/chkproc -v -v -p $PV" return 5 fi -@@ -306,7 +306,7 @@ +@@ -315,7 +315,7 @@ if [ "${DEBUG}" = "t" ]; then ${echo} "*** PV=$PV ***" fi @@ -189,7 +191,7 @@ then if [ "${QUIET}" != "t" ]; then echo "chkproc: nothing detected"; fi else -@@ -1582,18 +1582,18 @@ +@@ -1609,18 +1609,18 @@ if [ "${SYSTEM}" = "Linux" ] then @@ -212,7 +214,7 @@ then STATUS=${INFECTED} fi -@@ -2469,7 +2469,7 @@ +@@ -2496,7 +2496,7 @@ xxx=`loc $file $file $chkrkpth` eval $file=$xxx case "$xxx" in @@ -221,3 +223,13 @@ if [ ! -x "${xxx}" ] then +--- strings.c ++++ strings.c +@@ -11,6 +11,7 @@ + + #include <stdio.h> + #include <strings.h> ++#include <string.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <ctype.h> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de