1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

net/foreman-proxy: update 3.0.1 -> 3.1.2

Changes:	https://github.com/theforeman/smart-proxy/compare/3.0.1...3.1.2
PR:		263431
This commit is contained in:
Jason Unovitch 2022-03-05 02:44:40 +00:00 committed by Neel Chauhan
parent 310a61d69a
commit ff4d0ccb61
3 changed files with 15 additions and 15 deletions

View File

@ -1,7 +1,7 @@
# Created by: Martin Matuska <mm@FreeBSD.org>
PORTNAME= foreman-proxy
PORTVERSION= 3.0.1
PORTVERSION= 3.1.2
CATEGORIES= net
MASTER_SITES= https://downloads.theforeman.org/foreman-proxy/
@ -20,7 +20,7 @@ RUN_DEPENDS= rubygem-bundler_ext>=0.4:sysutils/rubygem-bundler_ext \
rubygem-rsec>=0.4.3:devel/rubygem-rsec \
rubygem-sd_notify>=0.1.1:devel/rubygem-sd_notify \
rubygem-sinatra>=2.0:www/rubygem-sinatra \
wget:ftp/wget
curl:ftp/curl
USES= shebangfix tar:bzip2

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1643073442
SHA256 (foreman-proxy-3.0.1.tar.bz2) = 9941ed09638d8e6baeef23f4ec99200a95743ea02bb639c8f5d715f3dfcc8d2d
SIZE (foreman-proxy-3.0.1.tar.bz2) = 199109
TIMESTAMP = 1646448265
SHA256 (foreman-proxy-3.1.2.tar.bz2) = 14a21af2e735e266f5e22ec64e4597bf4821b53fb7a2393a5146587f1400a1eb
SIZE (foreman-proxy-3.1.2.tar.bz2) = 199897

View File

@ -1,11 +1,11 @@
--- lib/proxy/http_download.rb.orig 2021-10-26 14:48:17.000000000 +0200
+++ lib/proxy/http_download.rb 2021-11-24 12:24:12.924526000 +0100
@@ -9,7 +9,7 @@
--- lib/proxy/http_download.rb.orig 2022-02-16 01:16:26 UTC
+++ lib/proxy/http_download.rb
@@ -10,7 +10,7 @@ module Proxy
logger.warn('Deprecated: HttpDownload read_timeout is deprecated and will be removed in 4.0') if read_timeout
logger.warn('Deprecated: HttpDownload dns_timeout is deprecated and will be removed in 4.0') if dns_timeout
connect_timeout ||= DEFAULT_CONNECT_TIMEOUT
- args = [which('curl')]
+ args = ["%%LOCALBASE%%/bin/curl"]
def initialize(src, dst, read_timeout = nil, connect_timeout = nil, dns_timeout = nil, verify_server_cert = false)
@dst = dst
- wget = which("wget")
+ wget = "%%LOCALBASE%%/bin/wget"
read_timeout ||= DEFAULT_READ_TIMEOUT
dns_timeout ||= DEFAULT_CONNECT_TIMEOUT
connect_timeout ||= DEFAULT_DNS_TIMEOUT
# no cert verification if set
args << "--insecure" unless verify_server_cert