1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Update foreman-proxy to 1.4.0

This commit is contained in:
Martin Matuska 2014-02-08 11:40:34 +00:00
parent daf73d263d
commit 7d7d631b92
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343322
3 changed files with 12 additions and 10 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= foreman-proxy
DISTVERSION= 1.4.0-RC2
PORTREVISION= 1
PORTVERSION= 1.4.0
CATEGORIES= net
MASTER_SITES= GH
@ -22,7 +21,7 @@ PUPPET_DESC= Depend on Puppet
USE_GITHUB= yes
GH_ACCOUNT= theforeman
GH_PROJECT= smart-proxy
GH_COMMIT= 255c9bf
GH_COMMIT= ae165b9
USE_RUBY= yes
USE_RAKE= yes
USE_RC_SUBR= foreman-proxy

View File

@ -1,2 +1,2 @@
SHA256 (foreman-proxy-1.4.0-RC2.tar.gz) = bbe0f3be114b8fb406e79fdd845690ad69d83915ccd1513fbc3deb71b894343a
SIZE (foreman-proxy-1.4.0-RC2.tar.gz) = 84992
SHA256 (foreman-proxy-1.4.0.tar.gz) = 082a6800eaafa38647b5b849be1c96602ec8cd1f1d3c00aa46db6d1f917481df
SIZE (foreman-proxy-1.4.0.tar.gz) = 85030

View File

@ -1,11 +1,14 @@
--- lib/proxy/tftp.rb.orig 2014-01-29 00:26:35.629061321 +0100
+++ lib/proxy/tftp.rb 2014-01-29 00:28:05.669054835 +0100
@@ -104,7 +104,7 @@
--- lib/proxy/tftp.rb.orig 2014-01-29 11:01:36.000000000 +0100
+++ lib/proxy/tftp.rb 2014-02-08 12:38:15.087475784 +0100
@@ -105,8 +105,9 @@
# as the dst might contain another sub directory
FileUtils.mkdir_p destination.parent
- cmd = "wget --timeout=10 --tries=3 --no-check-certificate -nv -c #{src} -O \"#{destination}\""
- wget = which("wget")
- cmd = "#{wget} --timeout=10 --tries=3 --no-check-certificate -nv -c #{src} -O \"#{destination}\""
+ # wget = which("wget")
+ # cmd = "#{wget} --timeout=10 --tries=3 --no-check-certificate -nv -c #{src} -O \"#{destination}\""
+ cmd = "/usr/bin/fetch --timeout=10 --no-verify-hostname --no-verify-peer -a -m -q -o \"#{destination}\" #{src}"
Proxy::Util::CommandTask.new(cmd)
CommandTask.new(cmd)
end
end