Page MenuHomeFreeBSD

D11168.id29518.diff
No OneTemporary

D11168.id29518.diff

Index: security/rkhunter/Makefile
===================================================================
--- security/rkhunter/Makefile
+++ security/rkhunter/Makefile
@@ -3,7 +3,7 @@
PORTNAME= rkhunter
PORTVERSION= 1.4.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= SF
@@ -15,8 +15,7 @@
OPTIONS_DEFINE= LSOF NMAP DOCS
OPTIONS_DEFAULT=LSOF
-RUN_DEPENDS+= p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \
- ${LOCALBASE}/bin/wget:ftp/wget
+RUN_DEPENDS+= p5-Digest-SHA1>=0:security/p5-Digest-SHA1
USES= perl5 shebangfix
SHEBANG_FILES= files/check_modules.pl files/filehashsha.pl \
Index: security/rkhunter/files/patch-files_rkhunter
===================================================================
--- /dev/null
+++ security/rkhunter/files/patch-files_rkhunter
@@ -0,0 +1,21 @@
+--- files/rkhunter.orig 2014-03-12 20:54:55 UTC
++++ files/rkhunter
+@@ -7275,6 +7275,9 @@ download_file() {
+ rm -f "${OUTPUT_FILE}" >/dev/null 2>&1
+
+ case "${RKHWEBCMD_BASE}" in
++ fetch)
++ CMD="${RKHWEBCMD} ${RKHWEBCMD_OPTS} -q -o \"${OUTPUT_FILE}\" ${MIRROR}${URL} 2>/dev/null"
++ ;;
+ wget)
+ CMD="${RKHWEBCMD} ${RKHWEBCMD_OPTS} -q -O \"${OUTPUT_FILE}\" ${MIRROR}${URL} 2>/dev/null"
+ ;;
+@@ -18557,7 +18560,7 @@ REQCMDS="awk cat chmod chown cp cut date egrep grep he
+ # List of commands used to download files from the web. This list is
+ # used by the '--update' and '--versioncheck' options. Preferred commands
+ # are listed first. This can be overridden by the config file.
+-WEBCMDLIST="wget curl elinks links lynx bget GET"
++WEBCMDLIST="fetch wget curl elinks links lynx bget GET"
+
+ RKHWEBCMD=""
+ RKHWEBCMD_OPTS=""

File Metadata

Mime Type
text/plain
Expires
Mon, Aug 31, 4:05 PM (15 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37701526
Default Alt Text
D11168.id29518.diff (1 KB)

Event Timeline