summaryrefslogtreecommitdiff
path: root/chkrootkit
diff options
context:
space:
mode:
authorJohannes Winkelmann <jw@smts.ch>2006-02-23 15:26:10 +0000
committerJohannes Winkelmann <jw@smts.ch>2006-02-23 15:26:10 +0000
commitbdea7e6c6a535e57a07d376a3139d0788efaaa41 (patch)
tree1a7334c99fa39b1ad1a7a35c113b18cb0d92413c /chkrootkit
downloadopt-bdea7e6c6a535e57a07d376a3139d0788efaaa41.tar.gz
opt-bdea7e6c6a535e57a07d376a3139d0788efaaa41.tar.xz
create branch for 2.2
Diffstat (limited to 'chkrootkit')
-rw-r--r--chkrootkit/.footprint12
-rw-r--r--chkrootkit/.md5sum2
-rw-r--r--chkrootkit/Pkgfile18
-rw-r--r--chkrootkit/chkrootkit9
4 files changed, 41 insertions, 0 deletions
diff --git a/chkrootkit/.footprint b/chkrootkit/.footprint
new file mode 100644
index 000000000..c66ae22ab
--- /dev/null
+++ b/chkrootkit/.footprint
@@ -0,0 +1,12 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/check_wtmpx
+-rwxr-xr-x root/root usr/sbin/chkdirs
+-rwxr-xr-x root/root usr/sbin/chklastlog
+-rwxr-xr-x root/root usr/sbin/chkproc
+-rwxr-xr-x root/root usr/sbin/chkrootkit
+-rwxr-xr-x root/root usr/sbin/chkrootkit.scr
+-rwxr-xr-x root/root usr/sbin/chkutmp
+-rwxr-xr-x root/root usr/sbin/chkwtmp
+-rwxr-xr-x root/root usr/sbin/ifpromisc
+-rwxr-xr-x root/root usr/sbin/strings-static
diff --git a/chkrootkit/.md5sum b/chkrootkit/.md5sum
new file mode 100644
index 000000000..bfb0b15cc
--- /dev/null
+++ b/chkrootkit/.md5sum
@@ -0,0 +1,2 @@
+22ba1ca91b3c379254f4f97014db7b0f chkrootkit
+b73fb9e365d2edcd031d65b16e965a18 chkrootkit-0.46a.tar.gz
diff --git a/chkrootkit/Pkgfile b/chkrootkit/Pkgfile
new file mode 100644
index 000000000..efbea761b
--- /dev/null
+++ b/chkrootkit/Pkgfile
@@ -0,0 +1,18 @@
+# Description: A shell script that checks system binaries for rootkit modification.
+# URL: http://www.chkrootkit.org/
+# Maintainer: Daniel Walpole, daniel at walpole dot id dot au
+
+name=chkrootkit
+version=0.46a
+release=1
+source=(ftp://ftp.pangeia.com.br/pub/seg/pac/$name-$version.tar.gz \
+ chkrootkit)
+
+build() {
+ cd $name-$version
+ make sense
+ mkdir -p $PKG/usr/sbin
+ mv -f chkrootkit chkrootkit.scr
+ install -m 0755 {check_wtmpx,chkdirs,chklastlog,chkproc,chkrootkit.scr,chkutmp,chkwtmp,ifpromisc,strings-static} $PKG/usr/sbin
+ install -m 0755 $SRC/chkrootkit $PKG/usr/sbin
+}
diff --git a/chkrootkit/chkrootkit b/chkrootkit/chkrootkit
new file mode 100644
index 000000000..7ec943b23
--- /dev/null
+++ b/chkrootkit/chkrootkit
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# /usr/sbin/chkrootkit: chkrootkit execution script
+#
+
+cd /usr/sbin
+exec ./chkrootkit.scr "$@"
+
+# End of file

Generated by cgit