aboutsummaryrefslogtreecommitdiff
path: root/security/rkhunter
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-29 11:51:34 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-29 11:51:34 +0000
commit3f17eb7872bc046077e68b1f5b09c41ee0883823 (patch)
tree94fc966cccbfa21566a16e65bbc4b4d34c680af3 /security/rkhunter
parent039cb0d10fef9f0ba4b42e8158ee4c977e37ab4c (diff)
downloadports-3f17eb7872bc046077e68b1f5b09c41ee0883823.tar.gz
ports-3f17eb7872bc046077e68b1f5b09c41ee0883823.zip
Notes
Diffstat (limited to 'security/rkhunter')
-rw-r--r--security/rkhunter/Makefile2
-rw-r--r--security/rkhunter/distinfo6
-rw-r--r--security/rkhunter/files/patch-rkhunter.conf53
3 files changed, 55 insertions, 6 deletions
diff --git a/security/rkhunter/Makefile b/security/rkhunter/Makefile
index 807da1cdd9fa..98ce52f29673 100644
--- a/security/rkhunter/Makefile
+++ b/security/rkhunter/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= rkhunter
-PORTVERSION= 1.3.0
+PORTVERSION= 1.3.2
CATEGORIES= security
MASTER_SITES= SF
diff --git a/security/rkhunter/distinfo b/security/rkhunter/distinfo
index eef718fc5f2e..3a77ad42344d 100644
--- a/security/rkhunter/distinfo
+++ b/security/rkhunter/distinfo
@@ -1,3 +1,3 @@
-MD5 (rkhunter-1.3.0.tar.gz) = 89a4628c6378fdf3331d5a43b975d967
-SHA256 (rkhunter-1.3.0.tar.gz) = a46610fc761e61f4f85750693f6e17aafa3a47e24e8cef76401f67d25e94d186
-SIZE (rkhunter-1.3.0.tar.gz) = 252011
+MD5 (rkhunter-1.3.2.tar.gz) = a00ff64d7076d6ff47ef0c9f0b6202f2
+SHA256 (rkhunter-1.3.2.tar.gz) = 2a325acedc094bc5ae9d5a3326af760bb376d5a1122c433d22477968eec1eebd
+SIZE (rkhunter-1.3.2.tar.gz) = 269563
diff --git a/security/rkhunter/files/patch-rkhunter.conf b/security/rkhunter/files/patch-rkhunter.conf
index 2afb7f60e127..387371b28c94 100644
--- a/security/rkhunter/files/patch-rkhunter.conf
+++ b/security/rkhunter/files/patch-rkhunter.conf
@@ -1,5 +1,5 @@
---- files/rkhunter.conf.orig Wed Oct 17 11:21:03 2007
-+++ files/rkhunter.conf Wed Oct 17 11:21:19 2007
+--- files/rkhunter.conf.orig 2008-03-14 10:19:30.000000000 +0100
++++ files/rkhunter.conf 2008-03-14 10:21:43.000000000 +0100
@@ -76,6 +76,7 @@
# sure that the directory permissions are tight.
#
@@ -8,3 +8,52 @@
#
# Specify the database directory to use.
+@@ -154,7 +155,8 @@
+ # file, then a value here of 'yes' or 'unset' will not cause a warning.
+ # This option has a default value of 'no'.
+ #
+-ALLOW_SSH_ROOT_USER=no
++#ALLOW_SSH_ROOT_USER=no
++ALLOW_SSH_ROOT_USER=unset
+
+ #
+ # Set this option to '1' to allow the use of the SSH-1 protocol, but note
+@@ -165,7 +167,8 @@
+ # configuration file, then a value of '2' may be set here in order to
+ # suppress a warning message. This option has a default value of '0'.
+ #
+-ALLOW_SSH_PROT_V1=0
++#ALLOW_SSH_PROT_V1=0
++ALLOW_SSH_PROT_V1=2
+
+ #
+ # This setting tells rkhunter the directory containing the SSH configuration
+@@ -278,12 +281,20 @@
+ #SCRIPTWHITELIST=/sbin/ifup
+ #SCRIPTWHITELIST=/sbin/ifdown
+ #SCRIPTWHITELIST=/usr/bin/groups
++SCRIPTWHITELIST=/usr/bin/whatis
++SCRIPTWHITELIST=/usr/sbin/adduser
++SCRIPTWHITELIST=/usr/local/bin/GET
++SCRIPTWHITELIST=/usr/local/sbin/pkgdb
+
+ #
+ # Allow the specified commands to have the immutable attribute set.
+ # One command per line (use multiple IMMUTWHITELIST lines).
+ #
+ #IMMUTWHITELIST=/sbin/ifup
++IMMUTWHITELIST=/usr/bin/login
++IMMUTWHITELIST=/usr/bin/passwd
++IMMUTWHITELIST=/usr/bin/su
++IMMUTWHITELIST=/sbin/init
+
+ #
+ # Allow the specified hidden directories.
+@@ -434,6 +445,7 @@
+ # Note: For *BSD systems you may need to enable this for the 'toor' account.
+ #
+ #UID0_ACCOUNTS="toor rooty"
++UID0_ACCOUNTS="toor"
+
+ #
+ # Allow the following accounts to have no password. This option is a