aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-05-15 22:00:59 +0800
committerkrion <krion@FreeBSD.org>2004-05-15 22:00:59 +0800
commit3ad5b7fc36dc4babcde2d75dde3ce8e0f48e34dd (patch)
tree108b2f0460aa9dd6b88c517a910723f2a4b3e471 /security
parent20d8650f59a334b4e92188e7fe3358a71b00f2dc (diff)
downloadfreebsd-ports-gnome-3ad5b7fc36dc4babcde2d75dde3ce8e0f48e34dd.tar.gz
freebsd-ports-gnome-3ad5b7fc36dc4babcde2d75dde3ce8e0f48e34dd.tar.zst
freebsd-ports-gnome-3ad5b7fc36dc4babcde2d75dde3ce8e0f48e34dd.zip
Add rkhunter 1.0.8,
Rootkit Hunter is scanning tool to ensure you for about 99.9% you're clean of nasty tools. This tool scans for rootkits, backdoors and local exploits by running tests like: - MD5/SHA1 hash compare - Look for default files used by rootkits - Wrong file permissions for binaries - Look for suspected strings in LKM and KLD modules - Look for hidden files - Optional scan within plaintext and binary files PR: ports/66660 Submitted by: Radim Kolar <hsn at netmag dot cz>
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/rkhunter/Makefile49
-rw-r--r--security/rkhunter/distinfo2
-rw-r--r--security/rkhunter/pkg-descr14
4 files changed, 66 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index d382db2b8646..aa737255d4e2 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -354,6 +354,7 @@
SUBDIR += rats
SUBDIR += rc5pipe
SUBDIR += rid
+ SUBDIR += rkhunter
SUBDIR += rng_82802
SUBDIR += ruby-acl
SUBDIR += ruby-aes
diff --git a/security/rkhunter/Makefile b/security/rkhunter/Makefile
new file mode 100644
index 000000000000..34d9f045ea18
--- /dev/null
+++ b/security/rkhunter/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: rkhunter
+# Date created: 15 May 2004
+# Whom: Radim Kolar
+#
+# $FreeBSD$
+#
+
+PORTNAME= rkhunter
+PORTVERSION= 1.0.8
+CATEGORIES= security
+MASTER_SITES= http://downloads.rootkit.nl/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Rootkit detection tool
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_PERL5= yes
+NO_BUILD= yes
+USE_REINPLACE= yes
+
+PLIST_DIRS= rkhunter/scripts rkhunter/db rkhunter/docs rkhunter/tmp rkhunter
+PLIST_FILES= rkhunter/scripts/check_modules.pl \
+ rkhunter/scripts/check_port.pl \
+ rkhunter/scripts/filehashmd5.pl \
+ rkhunter/scripts/filehashsha1.pl \
+ bin/rkhunter \
+ etc/rkhunter.conf \
+ rkhunter/scripts/showfiles.pl \
+ rkhunter/db/backdoorports.dat \
+ rkhunter/db/mirrors.dat \
+ rkhunter/db/os.dat \
+ rkhunter/db/defaulthashes.dat \
+ rkhunter/db/md5blacklist.dat \
+ rkhunter/docs/CHANGELOG \
+ rkhunter/docs/README \
+ rkhunter/docs/WISHLIST
+
+MAN8= rkhunter.8
+MANCOMPRESSED= no
+
+pre-install:
+ ${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/installer.sh
+do-install:
+ cd ${WRKSRC} && ./installer.sh
+ ${INSTALL_MAN} ${WRKSRC}/files/development/rkhunter.8 ${MAN8PREFIX}/man/man8
+
+.include <bsd.port.mk>
diff --git a/security/rkhunter/distinfo b/security/rkhunter/distinfo
new file mode 100644
index 000000000000..b70a9ebafa27
--- /dev/null
+++ b/security/rkhunter/distinfo
@@ -0,0 +1,2 @@
+MD5 (rkhunter-1.0.8.tar.gz) = bc1006d36e5b2674985c9396b5c46c95
+SIZE (rkhunter-1.0.8.tar.gz) = 77582
diff --git a/security/rkhunter/pkg-descr b/security/rkhunter/pkg-descr
new file mode 100644
index 000000000000..cf3dac6179fa
--- /dev/null
+++ b/security/rkhunter/pkg-descr
@@ -0,0 +1,14 @@
+Rootkit Hunter is scanning tool to ensure you for about 99.9% you're
+clean of nasty tools.
+
+This tool scans for rootkits, backdoors and local exploits by running
+tests like:
+
+- MD5/SHA1 hash compare
+- Look for default files used by rootkits
+- Wrong file permissions for binaries
+- Look for suspected strings in LKM and KLD modules
+- Look for hidden files
+- Optional scan within plaintext and binary files
+
+WWW: http://www.rootkit.nl/