View | Details | Raw Unified | Return to bug 219825 | Differences between
and this patch

Collapse All | Expand All

(-)/mnt/usr/ports/security/rkhunter/files/patch-files-rkhunter (+21 lines)
Line 1 Link Here
1
--- files/rkhunter.orig	2014-03-12 21:54:55.000000000 +0100
2
+++ files/rkhunter	2017-06-06 13:46:43.292559000 +0200
3
@@ -7275,6 +7275,9 @@
4
 		rm -f "${OUTPUT_FILE}" >/dev/null 2>&1
5
 
6
 		case "${RKHWEBCMD_BASE}" in
7
+		fetch)
8
+			CMD="${RKHWEBCMD} ${RKHWEBCMD_OPTS} -q -o \"${OUTPUT_FILE}\" ${MIRROR}${URL} 2>/dev/null"
9
+			;;
10
 		wget)
11
 			CMD="${RKHWEBCMD} ${RKHWEBCMD_OPTS} -q -O \"${OUTPUT_FILE}\" ${MIRROR}${URL} 2>/dev/null"
12
 			;;
13
@@ -18557,7 +18560,7 @@
14
 # List of commands used to download files from the web. This list is 
15
 # used by the '--update' and '--versioncheck' options. Preferred commands
16
 # are listed first. This can be overridden by the config file.
17
-WEBCMDLIST="wget curl elinks links lynx bget GET"
18
+WEBCMDLIST="fetch wget curl elinks links lynx bget GET"
19
 
20
 RKHWEBCMD=""
21
 RKHWEBCMD_OPTS=""
(-)/mnt/usr/ports/security/rkhunter/Makefile (-3 / +1 lines)
Lines 18-19 Link Here
18
RUN_DEPENDS+=	p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \
18
RUN_DEPENDS+=	p5-Digest-SHA1>=0:security/p5-Digest-SHA1
19
		${LOCALBASE}/bin/wget:ftp/wget
20
--

Return to bug 219825