chkrootkit: Update to 0.58b

pkgsrc changes:
---------------
  * Update to latest release.
  * Update MASTER_SITES.

upstream changes:
-----------------
10/13/2016 - Version 0.51 Mumblehard backdoor/botnet detection
  Linux.Xor.DDoS Malware
  Malicious TinyDNS detection
  Backdoors.Linux.Mokes.a detection
  Minor bug fixes

13/03/2017 - Version 0.52 Linux.Proxy.10 detection
  strings.c & chkutmp.c bug fixes

01/25/2019 - Version 0.53 Rocke Monero Miner detection
  Added ss support
  ifconfig.c bug fixes
  Minor bug fixes

12/24/2020 - Version 0.54 PWNLNX4 and 6 Rootkits detection
  BTRFS bug fix
  Fedora bug fix
  Bug fix release

06/10/2021 - Version 0.55 Umbreon Linux Rootkit detection
  Kinsing.A Backdoor
  RotaJakito Backdoor
  Minor bug fixes

12/22/2022 - Version 0.56 Kovid rootkit
  Syslogk rootkit
  Minor bug fixes

01/13/2023 - Version 0.57 bug fix release

06/29/2023 - Version 0.58
  New option to avoid scanning network filesystems (-T)
  Linux BPFDoor Malware
  Minor buf fixes
This commit is contained in:
triaxx 2023-10-17 19:24:04 +00:00
parent dff5650dd3
commit a3d0eb8a6f
5 changed files with 25 additions and 29 deletions

View File

@ -1,10 +1,8 @@
# $NetBSD: Makefile,v 1.26 2023/10/16 20:55:52 triaxx Exp $
#
# $NetBSD: Makefile,v 1.27 2023/10/17 19:24:04 triaxx Exp $
DISTNAME= chkrootkit-0.50
PKGREVISION= 2
DISTNAME= chkrootkit-0.58b
CATEGORIES= security
MASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/
MASTER_SITES= ftp://ftp.chkrootkit.org/pub/seg/pac/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.chkrootkit.org/

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.16 2023/10/16 20:55:52 triaxx Exp $
$NetBSD: distinfo,v 1.17 2023/10/17 19:24:04 triaxx Exp $
BLAKE2s (chkrootkit-0.50.tar.gz) = 01c0819ecea8e2e8b8513048e548fe231342b622ae7165a9ce3be578cab0cab3
SHA512 (chkrootkit-0.50.tar.gz) = 9f26fd34e85b58b13dedc5f38a889ae258bb2c0f1ff40e99c149e23f93890e956f94204b1bb2241584454e99168c53b583f52777083454237f3ba343424dba1c
Size (chkrootkit-0.50.tar.gz) = 38616 bytes
SHA1 (patch-aa) = 7c33ce6296d280d8c970c0846cc36033179a0832
BLAKE2s (chkrootkit-0.58b.tar.gz) = 9e5c3a51dda559e4389e66a0b3021e2a1411b30f8793c7cc6763a6c8cb53bb19
SHA512 (chkrootkit-0.58b.tar.gz) = 50829446aa5a320ef3aa678c7bbc03ba2ebc14dca3b4c1f312fb46d3d8206345628d2e94b99cfea33e0d3971afbc025dbd387fb32c4e1135a7466c20eb3afab2
Size (chkrootkit-0.58b.tar.gz) = 42957 bytes
SHA1 (patch-aa) = 8cf763a4ca5c5c3cb762a6aaa9577fa71a02acf5
SHA1 (patch-ab) = 189f68673366c55112f83c44f9c8769211301ea6
SHA1 (patch-ac) = 724fe1ed2134fd5af70eef84cbe120cbf3573f6e
SHA1 (patch-ad) = b27a601493e150ce20078f70ba003e9aa4934f66
SHA1 (patch-ac) = 16728c2b70e149411249621fc3f460c57aeba97f
SHA1 (patch-ad) = b3ef8be84ae54c3a9f5531bff9e6b729fbb0ab87

View File

@ -1,19 +1,17 @@
$NetBSD: patch-aa,v 1.5 2023/10/16 20:55:52 triaxx Exp $
$NetBSD: patch-aa,v 1.6 2023/10/17 19:24:04 triaxx Exp $
Disable system independent variables.
Remove environment variables which define non-portable programs, macros or options.
--- Makefile.orig 2014-05-06 18:56:43.000000000 +0900
+++ Makefile 2014-12-08 22:30:07.000000000 +0900
@@ -3,9 +3,9 @@
--- Makefile.orig 2023-02-23 15:58:45.000000000 +0000
+++ Makefile
@@ -3,10 +3,6 @@
# (C) 1997-2007 Nelson Murilo, Pangeia Informatica, AMS Foundation and others.
#
-CC = cc
-CFLAGS = -DHAVE_LASTLOG_H
-CC ?= cc
-CFLAGS += -DHAVE_LASTLOG_H
-STATIC = -static
+#CC = cc
+#CFLAGS = -DHAVE_LASTLOG_H
+#STATIC = -static
-
###
### Solaris 2.x
###

View File

@ -1,4 +1,4 @@
$NetBSD: patch-ac,v 1.5 2023/10/16 20:55:52 triaxx Exp $
$NetBSD: patch-ac,v 1.6 2023/10/17 19:24:04 triaxx Exp $
limits.h is ISO C, unconditionally include it. Keep conditional for
sys/syslimits.h though.
@ -6,7 +6,7 @@ sys/syslimits.h though.
--- chkdirs.c.orig 2006-01-19 23:40:21.000000000 +0000
+++ chkdirs.c
@@ -27,9 +27,8 @@
@@ -28,9 +28,8 @@
*/

View File

@ -1,11 +1,11 @@
$NetBSD: patch-ad,v 1.4 2023/10/16 20:55:52 triaxx Exp $
$NetBSD: patch-ad,v 1.5 2023/10/17 19:24:04 triaxx Exp $
- Add NetBSD to the list of OS's
- Handle a false positive for NetBSD's netstat
--- chkrootkit.orig 2009-07-30 14:10:54.000000000 +0000
+++ chkrootkit
@@ -512,7 +512,7 @@ ${ROOTDIR}/usr/include/syslogs.h ${ROOTD
@@ -528,7 +528,7 @@ ${ROOTDIR}/usr/include/syslogs.h ${ROOTD
### OpenBSD rootkit v1
@ -14,7 +14,7 @@ $NetBSD: patch-ad,v 1.4 2023/10/16 20:55:52 triaxx Exp $
then
expertmode_output "${find} ${ROOTDIR}usr/lib/security"
fi
@@ -937,7 +937,7 @@ ${find} ${ROOTDIR}usr/sbin -name in.slog
@@ -1010,7 +1010,7 @@ ${find} ${ROOTDIR}usr/sbin -name in.slog
fi
### OpenBSD rootkit v1
@ -23,7 +23,7 @@ $NetBSD: patch-ad,v 1.4 2023/10/16 20:55:52 triaxx Exp $
files=""
if [ "${QUIET}" != "t" ];then printn "Searching for OBSD rk v1... "; fi
files=`${find} ${ROOTDIR}usr/lib/security 2>/dev/null`
@@ -1599,7 +1599,13 @@
@@ -1876,7 +1876,13 @@
chk_netstat () {
STATUS=${NOT_INFECTED}