wok rev 25733

Up chkrootkit (0.58b), miniupnpd (2.3.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 22 13:23:32 2024 +0000 (4 months ago)
parents 274c0ec61c53
children 495b15413560
files chkrootkit/receipt chkrootkit/stuff/chkrootkit.u miniupnpd/receipt openbox-imlib2/receipt openbox/receipt
line diff
     1.1 --- a/chkrootkit/receipt	Wed Aug 21 17:39:11 2024 +0000
     1.2 +++ b/chkrootkit/receipt	Thu Aug 22 13:23:32 2024 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="chkrootkit"
     1.7 -VERSION="0.55"
     1.8 +VERSION="0.58b"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Locally checks for signs of a rootkit."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -20,9 +20,7 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	[ -f done.chkrootkit.u ] || patch -p1 < $stuff/chkrootkit.u
    1.17 -	touch done.chkrootkit.u
    1.18 -	sed -i 's/.*egrep} -c "\${GENERAL.*/&\n    ls -l ${CMD} | grep -q busybox ||/' chkrootkit
    1.19 +	patch -p1 < $stuff/chkrootkit.u
    1.20  	make sense
    1.21  }
    1.22  
     2.1 --- a/chkrootkit/stuff/chkrootkit.u	Wed Aug 21 17:39:11 2024 +0000
     2.2 +++ b/chkrootkit/stuff/chkrootkit.u	Thu Aug 22 13:23:32 2024 +0000
     2.3 @@ -1,6 +1,6 @@
     2.4 ---- chkrootkit-0.55/chkrootkit
     2.5 -+++ chkrootkit-0.55/chkrootkit
     2.6 -@@ -645,8 +645,13 @@
     2.7 +--- chkrootkit-0.58b/chkrootkit
     2.8 ++++ chkrootkit-0.58b/chkrootkit
     2.9 +@@ -664,8 +664,13 @@
    2.10         if [ ! -z "${SHELL}" -a ! -z "${HOME}" ]; then
    2.11         expertmode_output "${find} ${ROOTDIR}${HOME} ${findargs} -name .*history \
    2.12    -size 0"
    2.13 @@ -15,7 +15,7 @@
    2.14         fi
    2.15   
    2.16         return 5
    2.17 -@@ -1040,7 +1045,9 @@
    2.18 +@@ -1059,7 +1064,9 @@
    2.19      ### Suckit
    2.20      if [ -f ${ROOTDIR}sbin/init ]; then
    2.21         if [ "${QUIET}" != "t" ];then printn "Searching for Suckit rootkit... "; fi
    2.22 @@ -26,7 +26,7 @@
    2.23   	      cat ${ROOTDIR}/proc/1/maps | ${egrep} "init." ) >/dev/null 2>&1
    2.24           then
    2.25           echo "Warning: ${ROOTDIR}sbin/init INFECTED"
    2.26 -@@ -1387,7 +1394,12 @@
    2.27 +@@ -1456,7 +1463,12 @@
    2.28         files=`${find} ${ROOTDIR}${HOME} ${findargs} -name '.*history' -size 0`
    2.29         [ ! -z "${files}" ] && \
    2.30           echo "Warning: \`${files}' file size is zero"
    2.31 @@ -40,7 +40,15 @@
    2.32         [ ! -z "${files1}" ] && \
    2.33           echo "Warning: \`${files1}' is linked to another file"
    2.34      fi
    2.35 -@@ -1803,6 +1815,9 @@
    2.36 +@@ -1640,6 +1652,7 @@
    2.37 +     GENERAL="^root$"
    2.38 +     TROJED_L_L="vejeta|^xlogin|^@\(#\)klogin\.c|lets_log|sukasuka|/usr/lib/.ark?|SucKIT|cocola"
    2.39 +     ret=`${strings} -a ${CMD} | ${egrep} -c "${GENERAL}"`
    2.40 ++    ls -l ${CMD} | grep -q busybox ||
    2.41 +     if [ ${ret} -gt 0 ]; then
    2.42 +         case ${ret} in
    2.43 +         1) [ "${SYSTEM}" = "OpenBSD" -a `echo $V | ${awk} '{ if ($1 < 2.7 ||
    2.44 +@@ -1877,6 +1890,9 @@
    2.45   chk_netstat () {
    2.46       STATUS=${NOT_INFECTED}
    2.47   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/miniupnpd/receipt	Wed Aug 21 17:39:11 2024 +0000
     3.2 +++ b/miniupnpd/receipt	Thu Aug 22 13:23:32 2024 +0000
     3.3 @@ -1,16 +1,15 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="miniupnpd"
     3.7 -VERSION="2.1"
     3.8 +VERSION="2.3.7"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications server."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12  LICENSE="BSD"
    3.13 -WEB_SITE="http://miniupnp.free.fr/"
    3.14 +WEB_SITE="https://miniupnp.tuxfamily.org/"
    3.15  
    3.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.17 -#WGET_URL="$WEB_SITE/files/$TARBALL"
    3.18 -WGET_URL="http://miniupnp.free.fr/files/miniupnpd-2.1.20200510.tar.gz"
    3.19 +WGET_URL="$WEB_SITE/files/$TARBALL"
    3.20  TAGS="upnp"
    3.21  
    3.22  DEPENDS="iptables libssl"
    3.23 @@ -20,25 +19,20 @@
    3.24  current_version()
    3.25  {
    3.26  	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    3.27 -	sed "/latest/d;/$PACKAGE-[0-9]*\.[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    3.28 +	sed '/miniupnpd-/!d;s|.*pnpd-||;s|.tar.*||;q'
    3.29  }
    3.30  
    3.31  # Rules to configure and make the package.
    3.32  compile_rules()
    3.33  {
    3.34  	export	LDFLAGS="$LDFLAGS -lrt"
    3.35 -
    3.36 -	sed -i 's|uname -m|echo i486|' \
    3.37 -		Makefile* \
    3.38 -		netfilter*/Makefile
    3.39  	mkdir -p $DESTDIR/usr/share/man/man8
    3.40  	sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' \
    3.41  		netfilter/iptables_init.sh
    3.42 -	make -f Makefile.linux config.h
    3.43  	KERNEL_VERSION=$(grep -s ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)
    3.44 -	sed -i "s,OS_VERSION.*,OS_VERSION \"Linux/$KERNEL_VERSION\"," \
    3.45 -		config.h
    3.46 -	make CFLAGS="-DIPTABLES_143" -f Makefile.linux &&
    3.47 +	sed -i "s|uname -r|echo $KERNEL_VERSION|;s|uname -m|echo i686|" configure
    3.48 +	./configure --firewall=iptables --host-os-version=$KERNEL_VERSION --host-machine=i686
    3.49 +	make -f Makefile.linux &&
    3.50  	make -f Makefile.linux DESTDIR=$DESTDIR install
    3.51  }
    3.52  
     4.1 --- a/openbox-imlib2/receipt	Wed Aug 21 17:39:11 2024 +0000
     4.2 +++ b/openbox-imlib2/receipt	Thu Aug 22 13:23:32 2024 +0000
     4.3 @@ -9,7 +9,7 @@
     4.4  LICENSE="GPL2"
     4.5  TARBALL="$SOURCE-$VERSION.tar.gz"
     4.6  WEB_SITE="https://github.com/danakj/openbox"
     4.7 -WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
     4.8 +WGET_URL="https://openbox.org/dist/openbox/$TARBALL"
     4.9  TAGS="window-manager"
    4.10  PROVIDE="openbox"
    4.11  
     5.1 --- a/openbox/receipt	Wed Aug 21 17:39:11 2024 +0000
     5.2 +++ b/openbox/receipt	Thu Aug 22 13:23:32 2024 +0000
     5.3 @@ -8,7 +8,7 @@
     5.4  LICENSE="GPL2"
     5.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.6  WEB_SITE="https://github.com/danakj/openbox"
     5.7 -WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
     5.8 +WGET_URL="https://openbox.org/dist/openbox/$TARBALL"
     5.9  TAGS="window-manager"
    5.10  HOST_ARCH="i486 arm"
    5.11