On Sat, 11 Mar 2017 12:18:51 +0000 (UTC) jbe...@freebsd.org (Jan Beich) wrote:
> Tijl Coosemans <t...@freebsd.org> writes:
>> On Sat, 11 Mar 2017 10:53:01 +0100 (CET) Gerald Pfeifer <ger...@pfeifer.com> 
>> wrote:
>>> As some of you may have seen, I have done a bit of work on
>>> bsd.sites.mk recently.
>>> 
>>> One question I ran into:  If a site offers both HTTPS and HTTP, 
>>> which of the two do we prefer?  (Or do we want to list both?)  
>>
>> https first for people that run 'make makesum'.  
> 
> It was made MITM-friendly sometime ago.
> 
> https://svnweb.freebsd.org/changeset/ports/324051

Ugh, can portmgr approve the attached patch?
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk	(revision 435950)
+++ Mk/bsd.port.mk	(working copy)
@@ -2007,7 +2007,9 @@ BUILD_FAIL_MESSAGE+=	Try to set MAKE_JOB
 
 .include "${PORTSDIR}/Mk/bsd.ccache.mk"
 
+.if !make(makesum)
 FETCH_ENV?=		SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1
+.endif
 FETCH_BINARY?=	/usr/bin/fetch
 FETCH_ARGS?=	-Fpr
 FETCH_REGET?=	1
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to