Date: Wed, 23 Mar 2005 03:38:18 +0100 (CET) From: vaidab <vaidab@phenix.rootshell.be> To: FreeBSD-gnats-submit@FreeBSD.org Cc: vaidab@safe-mail.net Subject: ports/79149: [maintainer update] security/rkhunter Message-ID: <Pine.LNX.4.62.0503230330420.26915@phenix.rootshell.be> Resent-Message-ID: <200503230240.j2N2e2Gx037700@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 79149 >Category: ports >Synopsis: [maintainer update] security/rkhunter >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Mar 23 02:40:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Vaida Bogdan >Release: FreeBSD 5.3-RELEASE-p5 i386 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: diff -ruN rkhunter.old/Makefile rkhunter/Makefile --- rkhunter.old/Makefile Wed Mar 23 03:17:59 2005 +++ rkhunter/Makefile Wed Mar 23 03:18:25 2005 @@ -6,7 +6,7 @@ # PORTNAME= rkhunter -PORTVERSION= 1.1.9 +PORTVERSION= 1.2.3 CATEGORIES= security MASTER_SITES= http://downloads.rootkit.nl/ diff -ruN rkhunter.old/distinfo rkhunter/distinfo --- rkhunter.old/distinfo Wed Mar 23 03:17:59 2005 +++ rkhunter/distinfo Wed Mar 23 03:18:40 2005 @@ -1,2 +1,2 @@ -MD5 (rkhunter-1.1.9.tar.gz) = 2e24806cb1267124fba6132009e30f1b -SIZE (rkhunter-1.1.9.tar.gz) = 115254 +MD5 (rkhunter-1.2.3.tar.gz) = 404ae3f5cde3ede8e3be1ee1f04f52d5 +SIZE (rkhunter-1.2.3.tar.gz) = 169545 diff -ruN rkhunter.old/files/patch-installer.sh rkhunter/files/patch-installer.sh --- rkhunter.old/files/patch-installer.sh Wed Mar 23 03:17:59 2005 +++ rkhunter/files/patch-installer.sh Wed Mar 23 04:18:46 2005 @@ -1,6 +1,6 @@ ---- installer.sh.orig Fri Aug 20 15:11:04 2004 -+++ installer.sh Sun Aug 29 23:56:46 2004 -@@ -120,15 +120,12 @@ +--- installer.sh.old Wed Mar 23 03:35:06 2005 ++++ installer.sh Wed Mar 23 04:18:44 2005 +@@ -119,9 +119,6 @@ overwrite:programs_good.dat:/db/programs_good.dat:Database%%Program%%versions overwrite:defaulthashes.dat:/db/defaulthashes.dat:Database%%Default%%file%%hashes overwrite:md5blacklist.dat:/db/md5blacklist.dat:Database%%MD5%%blacklisted%%files @@ -10,26 +10,17 @@ " # Prefix: INSTALLDIR - INSTALLFILES2=" --nooverwrite:rkhunter.conf:/usr/local/etc/rkhunter.conf:RK%%Hunter%%configuration%%file --overwrite:rkhunter:/usr/local/bin/rkhunter:RK%%Hunter%%binary -+overwrite:rkhunter.conf:/etc/rkhunter.conf.sample:RK%%Hunter%%configuration%%file -+overwrite:rkhunter:/bin/rkhunter:RK%%Hunter%%binary - " - - # Create directories (only if they do not exist) -@@ -137,10 +134,7 @@ +@@ -136,9 +133,7 @@ ${INSTALLDIR}/etc ${INSTALLDIR}/bin ${INSTALLDIR}/lib/rkhunter/db -${INSTALLDIR}/lib/rkhunter/docs ${INSTALLDIR}/lib/rkhunter/scripts -${INSTALLDIR}/lib/rkhunter/tmp --/usr/local/etc + /usr/local/etc + /usr/local/bin " - - CHECKDIR="/usr/local" -@@ -347,9 +341,6 @@ +@@ -397,9 +392,6 @@ ################################################################################# @@ -39,36 +30,27 @@ echo "${INSTALLER_NAME} ${INSTALLER_VERSION} (${INSTALLER_COPYRIGHT})" echo $ECHOOPT "---------------" echo "Starting installation/update" -@@ -469,7 +460,7 @@ - echo "Skipped (no overwrite)" - else - #error redirection in .rkhunter it's just for a clear display if user run not as root -- cp -f ${INSTALLPREFIX}${CURFILE} ${NEWFILE} 2> ~/.rkhunter.log -+ cp -f ${INSTALLPREFIX}${CURFILE} "${INSTALLDIR}/${NEWFILE}" 2> ~/.rkhunter.log - if [ $? -eq 0 ] - then - echo $E "OK" -@@ -483,11 +474,11 @@ +@@ -532,11 +524,11 @@ done # Installation dir to configuration file -INSTALLDIRCHECK=`cat /usr/local/etc/rkhunter.conf | grep "INSTALLDIR="` -+INSTALLDIRCHECK=`cat $INSTALLDIR/etc/rkhunter.conf.sample | grep "INSTALLDIR="` ++INSTALLDIRCHECK=`cat ${INSTALLDIR}/etc/rkhunter.conf | grep "INSTALLDIR="` if [ "${INSTALLDIRCHECK}" = "" ] then - echo "" >> /usr/local/etc/rkhunter.conf - echo "INSTALLDIR=${INSTALLDIR}" >> /usr/local/etc/rkhunter.conf -+ echo "" >> $INSTALLDIR/etc/rkhunter.conf.sample -+ echo "INSTALLDIR=${INSTALLDIR}" >> $INSTALLDIR/etc/rkhunter.conf.sample ++ echo "" >> ${INSTALLDIR}/etc/rkhunter.conf ++ echo "INSTALLDIR=${INSTALLDIR}" >> ${INSTALLDIR}/etc/rkhunter.conf echo "Configuration updated with installation path (${INSTALLDIR})" else echo "Configuration already updated." -@@ -497,7 +488,7 @@ +@@ -546,7 +538,7 @@ then echo "" echo $E "$t17" - echo "$t18 (/usr/local/bin/rkhunter)" -+ echo "$t18 ($INSTALLDIR/bin/rkhunter)" ++ echo "$t18 (${INSTALLDIR}/rkhunter)" else echo "" echo $E "$t19" diff -ruN rkhunter.old/files/patch-rkhunter.conf rkhunter/files/patch-rkhunter.conf --- rkhunter.old/files/patch-rkhunter.conf Wed Mar 23 03:17:59 2005 +++ rkhunter/files/patch-rkhunter.conf Wed Mar 23 03:42:22 2005 @@ -1,18 +1,11 @@ ---- files/rkhunter.conf Fri Aug 20 15:02:59 2004 -+++ files/rkhunter.conf Sun Aug 29 23:22:13 2004 -@@ -14,7 +14,7 @@ - - # Use a custom temporary directory (you can override it with the - # --tmpdir parameter) --#TMPDIR=/tmp -+TMPDIR=/tmp +--- files/rkhunter.conf.old Wed Mar 23 03:34:19 2005 ++++ files/rkhunter.conf Wed Mar 23 03:41:50 2005 +@@ -18,7 +18,7 @@ + # Note: don't use /tmp as your temporary directory, because some + # important files will be written to this directory. Be sure + # you have setup your permissions very tight. +-#TMPDIR=/usr/local/rkhunter/lib/rkhunter/tmp ++TMPDIR=/root # Use a custom database directory (you can override it with the # --dbdir parameter) -@@ -25,4 +25,4 @@ - #MD5WHITELIST=/bin/ps:9bd8bf260adc81d3a43a086fce6b430a - #MD5WHITELIST=/bin/ps:404583a6b166c2f7ac1287445a9de6b3 - --# The End -\ No newline at end of file -+# The End diff -ruN rkhunter.old/pkg-plist rkhunter/pkg-plist --- rkhunter.old/pkg-plist Wed Mar 23 03:17:59 2005 +++ rkhunter/pkg-plist Wed Mar 23 04:26:12 2005 @@ -1,4 +1,4 @@ -etc/rkhunter.conf.sample +etc/rkhunter.conf bin/rkhunter lib/rkhunter/db/backdoorports.dat lib/rkhunter/db/mirrors.dat >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.62.0503230330420.26915>