wok-next rev 18138

Up chkrootkit (0.50), rkhunter (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 15 09:16:13 2015 +0200 (2015-06-15)
parents 6261073d1225
children f3e78a86c67b
files chkrootkit/receipt chkrootkit/stuff/chkrootkit.u rkhunter/receipt
line diff
     1.1 --- a/chkrootkit/receipt	Sun Jun 14 11:57:25 2015 +0100
     1.2 +++ b/chkrootkit/receipt	Mon Jun 15 09:16:13 2015 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="chkrootkit"
     1.7 -VERSION="0.49"
     1.8 +VERSION="0.50"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Locally checks for signs of a rootkit."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -13,7 +13,6 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	cd $src
    1.17  	[ -f done.chkrootkit.u ] || patch -p1 < $stuff/chkrootkit.u
    1.18  	touch done.chkrootkit.u
    1.19  	make sense
    1.20 @@ -31,4 +30,3 @@
    1.21  		esac
    1.22  	done
    1.23  }
    1.24 -
     2.1 --- a/chkrootkit/stuff/chkrootkit.u	Sun Jun 14 11:57:25 2015 +0100
     2.2 +++ b/chkrootkit/stuff/chkrootkit.u	Mon Jun 15 09:16:13 2015 +0200
     2.3 @@ -1,6 +1,6 @@
     2.4  --- chkrootkit-0.48/chkrootkit
     2.5  +++ chkrootkit-0.48/chkrootkit
     2.6 -@@ -562,8 +562,13 @@
     2.7 +@@ -591,8 +591,13 @@
     2.8         if [ ! -z "${SHELL}" -a ! -z "${HOME}" ]; then
     2.9         expertmode_output "${find} ${ROOTDIR}${HOME} ${findargs} -name .*history \
    2.10    -size 0"
    2.11 @@ -15,18 +15,18 @@
    2.12         fi
    2.13   
    2.14         return 5
    2.15 -@@ -957,7 +962,9 @@
    2.16 +@@ -991,7 +996,9 @@
    2.17      ### Suckit
    2.18      if [ -f ${ROOTDIR}sbin/init ]; then
    2.19         if [ "${QUIET}" != "t" ];then printn "Searching for Suckit rootkit... "; fi
    2.20 --      if [ ${SYSTEM} != "HP-UX" ] && ( ${strings} ${ROOTDIR}sbin/init | ${egrep} HOME  || \
    2.21 +-      if [ ${SYSTEM} != "HP-UX" ] && ( ${strings} ${ROOTDIR}sbin/init | ${egrep} 'HOME='   || \
    2.22  +      if [ ${SYSTEM} != "HP-UX" ] && \
    2.23  +      		((! ls -l ${ROOTDIR}sbin/init  | ${egrep} -q "bin/busybox$" && \
    2.24 -+      		${strings} ${ROOTDIR}sbin/init | ${egrep} HOME) || \
    2.25 ++      		${strings} ${ROOTDIR}sbin/init | ${egrep} 'HOME=' ) || \
    2.26   	      cat ${ROOTDIR}/proc/1/maps | ${egrep} "init." ) >/dev/null 2>&1
    2.27           then
    2.28           echo "Warning: ${ROOTDIR}sbin/init INFECTED"
    2.29 -@@ -1127,7 +1134,12 @@
    2.30 +@@ -1190,7 +1195,12 @@
    2.31         files=`${find} ${ROOTDIR}${HOME} ${findargs} -name '.*history' -size 0`
    2.32         [ ! -z "${files}" ] && \
    2.33           echo "Warning: \`${files}' file size is zero"
    2.34 @@ -40,7 +40,7 @@
    2.35         [ ! -z "${files1}" ] && \
    2.36           echo "Warning: \`${files}' is linked to another file"
    2.37      fi
    2.38 -@@ -1537,6 +1549,9 @@
    2.39 +@@ -1600,6 +1610,9 @@
    2.40   chk_netstat () {
    2.41       STATUS=${NOT_INFECTED}
    2.42   NETSTAT_I_L="/dev/hdl0/dev/xdta|/dev/ttyoa|/dev/pty[pqrsx]|/dev/cui|/dev/hdn0|/dev/cui221|/dev/dszy|/dev/ddth3|/dev/caca|^/prof|/dev/tux|grep|addr\.h|__bzero"
     3.1 --- a/rkhunter/receipt	Sun Jun 14 11:57:25 2015 +0100
     3.2 +++ b/rkhunter/receipt	Mon Jun 15 09:16:13 2015 +0200
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="rkhunter"
     3.7 -VERSION="1.4.0"
     3.8 +VERSION="1.4.2"
     3.9  CATEGORY="security"
    3.10  SHORT_DESC="Rootkit scanner."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12 @@ -25,4 +25,3 @@
    3.13  {
    3.14  	cp -a $install/* $fs
    3.15  }
    3.16 -