Bug 76699 - Update security/rkhunter to 1.1.9
Summary: Update security/rkhunter to 1.1.9
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-26 08:10 UTC by Vaida Bogdan
Modified: 2005-01-29 00:03 UTC (History)
0 users

See Also:


Attachments
file.diff (1020 bytes, patch)
2005-01-26 08:10 UTC, Vaida Bogdan
no flags Details | Diff
file.diff (175 bytes, patch)
2005-01-26 08:10 UTC, Vaida Bogdan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vaida Bogdan 2005-01-26 08:10:20 UTC
Rootkit Hunter is scanning tool to ensure you for about 99.9% you're
clean of nasty tools.

Fix: PORTNAME=      rkhunter
-PORTVERSION=   1.1.8
+PORTVERSION=   1.1.9
 CATEGORIES=    security
 MASTER_SITES=  http://downloads.rootkit.nl/

-MAINTAINER=    bugghy@SAFe-mail.net
+MAINTAINER=    vaidab@safe-mail.net
 COMMENT=       Rootkit detection tool

-RUN_DEPENDS=   ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:
${PORTSDIR}/security/p5-Digest-SHA1
+RUN_DEPENDS=   ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:
${PORTSDIR}/security/p5-Digest-SHA1 \
+               wget:${PORTSDIR}/ftp/wget
+

 WRKSRC=                ${WRKDIR}/${PORTNAME}
 USE_PERL5=     yes
CHECKDIR="/usr/local"
-@@ -347,9 +341,6 @@
+@@ -372,9 +366,6 @@

#################################################################################


@@ -39,7 +39,7 @@
  echo "${INSTALLER_NAME} ${INSTALLER_VERSION} (${INSTALLER_COPYRIGHT})"
  echo $ECHOOPT "---------------"
  echo "Starting installation/update"
-@@ -469,7 +460,7 @@
+@@ -494,7 +485,7 @@
        echo "Skipped (no overwrite)"
      else
        #error redirection in .rkhunter it's just for a clear display if
user run not as root
@@ -48,22 +48,22 @@
        if [ $? -eq 0 ]
          then
          echo $E "OK"
-@@ -483,11 +474,11 @@
+@@ -508,11 +499,11 @@
  done

  # Installation dir to configuration file
 -INSTALLDIRCHECK=`cat /usr/local/etc/rkhunter.conf | grep
"INSTALLDIR="`
-+INSTALLDIRCHECK=`cat $INSTALLDIR/etc/rkhunter.conf | grep
"INSTALLDIR="`
++INSTALLDIRCHECK=`cat $INSTALLDIR/etc/rkhunter.conf.sample | grep
"INSTALLDIR="`
  if [ "${INSTALLDIRCHECK}" = "" ]
    then
 -    echo "" >> /usr/local/etc/rkhunter.conf
 -    echo "INSTALLDIR=${INSTALLDIR}" >> /usr/local/etc/rkhunter.conf
-+    echo "" >> $INSTALLDIR/etc/rkhunter.conf
++    echo "" >> $INSTALLDIR/etc/rkhunter.conf.sample
 +    echo "INSTALLDIR=${INSTALLDIR}" >>
$INSTALLDIR/etc/rkhunter.conf.sample
      echo "Configuration updated with installation path
(${INSTALLDIR})"
    else
      echo "Configuration already updated."
-@@ -497,7 +488,7 @@
+@@ -522,7 +513,7 @@
  then
        echo ""
        echo $E "$t17"


WWW: http://www.rootkit.nl/
 
-- bugghy
-bugghy@SAFe-mail.net
+- Vaida Bogdan
+vaidab@safe-mail.net--O1SqlX7Go6rLtNjyEhZAoqy9Gnray1O3dEQsbLKhxQqftNXX
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -ruN rkhunter.old/Makefile rkhunter/Makefile
--- rkhunter.old/Makefile       Mon Nov 29 14:21:24 2004
+++ rkhunter/Makefile   Tue Jan 25 12:43:00 2005
@@ -6,14 +6,16 @@
 #
Comment 1 Pav Lucistnik freebsd_committer 2005-01-29 00:02:58 UTC
State Changed
From-To: open->closed

Committed, thanks! 

Note that your patch was mangled by line wrapping - 
please make sure next time your mailer don't wrap lines on patches.