1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00

Fix fetch arguments

This commit is contained in:
Martin Matuska 2014-01-29 16:35:47 +00:00
parent ad933aa10f
commit 66a757ec56
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341760
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= foreman-proxy
DISTVERSION= 1.4.0-RC2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= GH

View File

@ -5,7 +5,7 @@
FileUtils.mkdir_p destination.parent
- cmd = "wget --timeout=10 --tries=3 --no-check-certificate -nv -c #{src} -O \"#{destination}\""
+ cmd = "/usr/bin/fetch --timeout=10 -a --no-verify-hostname --no-verify-peer -a -m -o \"#{destination}\" #{src}"
+ cmd = "/usr/bin/fetch --timeout=10 --no-verify-hostname --no-verify-peer -a -m -q -o \"#{destination}\" #{src}"
Proxy::Util::CommandTask.new(cmd)
end
end