mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
3431e28b73
* Remove wget as a dependency * Added NO_ARCH * Fixed portlint items PR: 219825 Submitted by: Helge Oldach <freebsd@oldach.net> Reviewed by: matthew (mentor) Approved by: Lukasz Wasikowski <lukasz@wasikowski.net> (maintainer), matthew (mentor) Differential Revision: https://reviews.freebsd.org/D11168
22 lines
835 B
Plaintext
22 lines
835 B
Plaintext
--- 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=""
|