Hi,

tryton upstream added a cdn in front of their downloads.tryton.org host
to reduce the load for serving static files.

The following diff makes all tryton ports uses downloads-cdn.t.o first,
and next fallback to downloads.t.o.

I assume changing MASTER_SITES doesn't require to bump REVISION.

I checked that the tarballs are the same (make fetch doesn't complain
about change in hashes).

Comments or OK ?
-- 
Sebastien Marie


Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/productivity/tryton/Makefile.inc,v
retrieving revision 1.27
diff -u -p -r1.27 Makefile.inc
--- Makefile.inc        2 Jul 2019 10:21:26 -0000       1.27
+++ Makefile.inc        24 Jul 2019 06:38:18 -0000
@@ -10,7 +10,8 @@ MAINTAINER ?=         Sebastien Marie <semarie@
 # GPLv3
 PERMIT_PACKAGE ?=      Yes
 
-MASTER_SITES =         
https://downloads.tryton.org/${VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/
+MASTER_SITES =         
https://downloads-cdn.tryton.org/${VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ \
+                       
https://downloads.tryton.org/${VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/
 DIST_SUBDIR =          tryton
 
 VERSION ?=             ${MODPY_EGG_VERSION}

Reply via email to