1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

bsd.sites.mk: cleanup MOZILLA mirrors

- Switch to CDN by default as mirrors are no longer kept up to date
- Drop obsolete pointer to http://www.mozilla.org/mirrors.html
- Drop redundant BUGZILLA and MOZILLA_EXTEND
- Shorten MASTER_SITES in gecko@ ports
- Move MOZILLA_ADDONS to bsd.sites.mk
- Move one of MOZILLA mirrors with old addons under MOZILLA_ADDONS
- Addons CDN redirects to https://, so don't mislead with http://

https://blog.mozilla.org/it/2012/08/03/dear-mozilla-mirrors-thank-you/

Differential Revision:	https://reviews.freebsd.org/D2550
Tested by:	distilator
Reviewed by:	mat (partial)
Approved by:	bz-ports (ohauer), portmgr blanket (office@ et al.)
Approved by:	portmgr (bapt, earlier version)
MFH:		2015Q2
This commit is contained in:
Jan Beich 2015-06-09 14:24:41 +00:00
parent f88023b9e6
commit 6828ea7d03
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388939
30 changed files with 33 additions and 60 deletions

View File

@ -873,43 +873,18 @@ MASTER_SITE_MOZDEV+= \
http://ftp.osuosl.org/pub/mozdev/%SUBDIR%/
.endif
# releases.mozilla.org mirror sites
#
# For the full list, see the following:
#
# http://www.mozilla.org/mirrors.html
#
.if !defined(IGNORE_MASTER_SITE_MOZILLA)
MASTER_SITE_MOZILLA+= \
https://ftp.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
http://mirror3.mirrors.tds.net/pub/mozilla.org/%SUBDIR%/ \
http://mozilla.isc.org/pub/mozilla.org/%SUBDIR%/ \
http://releases.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
http://kyoto-mz-dl.sinet.ad.jp/pub/mozilla.org/%SUBDIR%/ \
http://jp-nii01.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
http://jp-nii02.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
http://mirror.internode.on.net/pub/mozilla/%SUBDIR%/ \
http://ftp.acc.umu.se/pub/mozilla.org/%SUBDIR%/ \
http://mozilla.c3sl.ufpr.br/releases/%SUBDIR%/ \
http://www.gtlib.gatech.edu/pub/mozilla.org/%SUBDIR%/ \
ftp://ftp.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
ftp://ftp.fh-wolfenbuettel.de/pub/www/mozilla/%SUBDIR%/ \
ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.mozilla.org/pub/%SUBDIR%/ \
http://ftp.twaren.net/Unix/Mozilla/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_BUGZILLA)
MASTER_SITE_BUGZILLA+= \
https://ftp.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
http://ftp.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
ftp://ftp.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
http://mirror.internode.on.net/pub/mozilla/%SUBDIR%/
ftp://ftp.mozilla.org/pub/mozilla.org/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_MOZILLA_EXTENDED)
MASTER_SITE_MOZILLA_EXTENDED+= \
http://releases.mozilla.org/pub/mozilla.org/%SUBDIR%/ \
${MASTER_SITE_MOZILLA}
.if !defined(IGNORE_MASTER_SITE_MOZILLA_ADDONS)
MASTER_SITE_MOZILLA_ADDONS+= \
https://addons.cdn.mozilla.net/user-media/%SUBDIR%/ \
http://kyoto-mz-dl.sinet.ad.jp/pub/mozilla.org/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_MPLAYERHQ)

View File

@ -5,7 +5,7 @@ PORTVERSION= 0.1.9
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/opus/ \
MOZILLA_EXTENDED/opus
MOZILLA/opus
MAINTAINER= naddy@FreeBSD.org
COMMENT= Encode, inspect, and decode Opus files

View File

@ -5,7 +5,7 @@ PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/opus/ \
MOZILLA_EXTENDED/opus
MOZILLA/opus
MAINTAINER= naddy@FreeBSD.org
COMMENT= IETF audio codec

View File

@ -5,7 +5,7 @@ PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/opus/ \
MOZILLA_EXTENDED/opus
MOZILLA/opus
MAINTAINER= liangtai.s16@gmail.com
COMMENT= Opus playback library

View File

@ -4,7 +4,7 @@ PORTNAME= bugzilla
PORTVERSION= 4.4.9
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= BUGZILLA/webtools BUGZILLA/webtools/archived
MASTER_SITES= MOZILLA/webtools MOZILLA/webtools/archived
MAINTAINER= bz-ports@FreeBSD.org
COMMENT= Bug-tracking system developed by Mozilla Project

View File

@ -5,7 +5,7 @@ PORTNAME= spidermonkey17
DISTVERSION= 1.7.0
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= MOZILLA_EXTENDED/js
MASTER_SITES= MOZILLA/js
DISTNAME= js-${DISTVERSION}
MAINTAINER= citric@cubicone.tmetic.com

View File

@ -5,7 +5,7 @@ PORTNAME= thunderbird
DISTVERSION= 31.7.0
CATEGORIES= mail news net-im ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/linux-i686/en-US \
https://ftp.mozilla.org/pub/mozilla.org/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/linux-i686/en-US/
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/linux-i686/en-US
MAINTAINER= gecko@FreeBSD.org
COMMENT= Mozilla Thunderbird is standalone mail and news that stands above

View File

@ -5,7 +5,7 @@ PORTNAME= thunderbird-i18n
PORTVERSION= 31.7.0
CATEGORIES= mail news net-im
MASTER_SITES= MOZILLA/${PORTNAME:S|-i18n||}/releases/${DISTVERSION}/linux-i686/xpi \
https://ftp.mozilla.org/pub/mozilla.org/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build1/linux-i686/xpi/
MOZILLA/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build1/linux-i686/xpi
PKGNAMEPREFIX=
DISTFILES= ${THUNDERBIRD_I18N_:S/$/.xpi/}
DIST_SUBDIR= xpi/${DISTNAME}

View File

@ -5,7 +5,7 @@ PORTNAME= thunderbird
DISTVERSION= 31.7.0
CATEGORIES= mail news net-im ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
https://ftp.mozilla.org/pub/mozilla.org/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source/
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source
DISTFILES= ${PORTNAME}-${DISTVERSION}.source${EXTRACT_SUFX}
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}.source${EXTRACT_SUFX}

View File

@ -4,7 +4,7 @@ PORTNAME= hunspell
PORTVERSION= 1.0.2
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= MOZILLA_EXTENDED/addons/13375
MASTER_SITES= MOZILLA_ADDONS/addons/13375
PKGNAMEPREFIX= so-
DISTNAME= qaamuuska_af_soomaaliga-${PORTVERSION}-tb+fx
EXTRACT_SUFX= .xpi

View File

@ -4,7 +4,7 @@ PORTNAME= hunspell
PORTVERSION= 0.18
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= MOZILLA_EXTENDED/addons/10894
MASTER_SITES= MOZILLA_ADDONS/addons/10894
PKGNAMEPREFIX= sr-
DISTNAME= serbian_dictionary-${PORTVERSION}-fx+tb+sm
EXTRACT_SUFX= .xpi

View File

@ -4,7 +4,7 @@ PORTNAME= hunspell
PORTVERSION= 20110323
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= MOZILLA_EXTENDED/addons/46614
MASTER_SITES= MOZILLA_ADDONS/addons/46614
PKGNAMEPREFIX= ss-
DISTNAME= swati_spell_checker-${PORTVERSION}-tb+sm+fx+fn
EXTRACT_SUFX= .xpi

View File

@ -3,7 +3,7 @@
PORTNAME= hunspell
PORTVERSION= 0.1.6
CATEGORIES= textproc
MASTER_SITES= MOZILLA_EXTENDED/addons/204314
MASTER_SITES= MOZILLA_ADDONS/addons/204314
PKGNAMEPREFIX= tk-
DISTNAME= turkmen_spell_checker_dictionary-${PORTVERSION}-tb+fx+sm
EXTRACT_SUFX= .xpi

View File

@ -4,7 +4,7 @@ PORTNAME= hunspell
PORTVERSION= 20110323
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= MOZILLA_EXTENDED/addons/46617
MASTER_SITES= MOZILLA_ADDONS/addons/46617
PKGNAMEPREFIX= tn-
DISTNAME= tswana_spell_checker-${PORTVERSION}-tb+sm+fx+fn
EXTRACT_SUFX= .xpi

View File

@ -4,7 +4,7 @@ PORTNAME= hunspell
PORTVERSION= 20110323
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= MOZILLA_EXTENDED/addons/46611
MASTER_SITES= MOZILLA_ADDONS/addons/46611
PKGNAMEPREFIX= ts-
DISTNAME= tsonga_spell_checker-${PORTVERSION}-tb+sm+fx+fn
EXTRACT_SUFX= .xpi

View File

@ -4,7 +4,7 @@ PORTNAME= hunspell
PORTVERSION= 20110323
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= MOZILLA_EXTENDED/addons/46601
MASTER_SITES= MOZILLA_ADDONS/addons/46601
PKGNAMEPREFIX= ve-
DISTNAME= venda_spell_checker-${PORTVERSION}-tb+fn+fx+sm
EXTRACT_SUFX= .xpi

View File

@ -4,7 +4,7 @@ PORTNAME= hunspell
PORTVERSION= 20110323
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= MOZILLA_EXTENDED/addons/46599
MASTER_SITES= MOZILLA_ADDONS/addons/46599
PKGNAMEPREFIX= xh-
DISTNAME= xhosa_spell_checker-${PORTVERSION}-tb+fn+fx+sm
EXTRACT_SUFX= .xpi

View File

@ -3,7 +3,7 @@
PORTNAME= hunspell
PORTVERSION= 0.0.3
CATEGORIES= textproc
MASTER_SITES= MOZILLA_EXTENDED/addons/222538
MASTER_SITES= MOZILLA_ADDONS/addons/222538
PKGNAMEPREFIX= yi-
DISTNAME= yiddish_spell_checker_yivo-${PORTVERSION}-sm+fn+fx+tb
EXTRACT_SUFX= .xpi

View File

@ -4,7 +4,7 @@ PORTNAME= hunspell
PORTVERSION= 20110323
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= MOZILLA_EXTENDED/addons/46490
MASTER_SITES= MOZILLA_ADDONS/addons/46490
PKGNAMEPREFIX= zu-
DISTNAME= zulu_spell_checker-${PORTVERSION}-tb+fn+fx+sm
EXTRACT_SUFX= .xpi

View File

@ -5,7 +5,7 @@ PORTNAME= firefox
PORTVERSION= 31.7.0
CATEGORIES= www
MASTER_SITES= MOZILLA/${PORTNAME:S|-i18n||}/releases/${DISTVERSION}esr/linux-i686/xpi \
https://ftp.mozilla.org/pub/mozilla.org/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}esr-candidates/build2/linux-i686/xpi/
MOZILLA/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}esr-candidates/build2/linux-i686/xpi
PKGNAMEPREFIX=
PKGNAMESUFFIX= -esr-i18n
DISTFILES= ${FIREFOX_I18N_:S/$/.xpi/}

View File

@ -7,7 +7,7 @@ DISTVERSIONSUFFIX=esr.source
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \
https://ftp.mozilla.org/pub/mozilla.org/${PORTNAME}/candidates/${DISTVERSION}esr-candidates/build2/source/
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}esr-candidates/build2/source
PKGNAMESUFFIX= -esr
MAINTAINER= gecko@FreeBSD.org

View File

@ -5,7 +5,7 @@ PORTNAME= firefox-i18n
PORTVERSION= 38.0.5
CATEGORIES= www
MASTER_SITES= MOZILLA/${PORTNAME:S|-i18n||}/releases/${DISTVERSION}/linux-i686/xpi \
https://ftp.mozilla.org/pub/mozilla.org/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build4/linux-i686/xpi/
MOZILLA/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build4/linux-i686/xpi
PKGNAMEPREFIX=
DISTFILES= ${FIREFOX_I18N_:S/$/.xpi/}
DIST_SUBDIR= xpi/${DISTNAME}

View File

@ -7,7 +7,7 @@ DISTVERSIONSUFFIX=.source
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
https://ftp.mozilla.org/pub/mozilla.org/${PORTNAME}/candidates/${DISTVERSION}-candidates/build4/source/
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build4/source
MAINTAINER= gecko@FreeBSD.org
COMMENT= Web browser based on the browser portion of Mozilla

View File

@ -5,7 +5,7 @@ PORTNAME= libxul
DISTVERSION= 31.7.0
CATEGORIES?= www devel
MASTER_SITES= MOZILLA/firefox/releases/${DISTVERSION}esr/source \
https://ftp.mozilla.org/pub/mozilla.org/firefox/candidates/${DISTVERSION}esr-candidates/build2/source/
MOZILLA/firefox/candidates/${DISTVERSION}esr-candidates/build2/source
DISTNAME= firefox-${DISTVERSION}esr.source
MAINTAINER?= gecko@FreeBSD.org

View File

@ -6,7 +6,7 @@ DISTVERSION= 38.0.5
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/linux-i686/en-US \
https://ftp.mozilla.org/pub/mozilla.org/${PORTNAME}/candidates/${DISTVERSION}-candidates/build4/linux-i686/en-US/
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build4/linux-i686/en-US
MAINTAINER= gecko@FreeBSD.org
COMMENT= Web browser based on the browser portion of Mozilla

View File

@ -5,7 +5,7 @@ PORTNAME= seamonkey
DISTVERSION= 2.33.1
CATEGORIES= www mail news editors irc ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/linux-i686/en-US \
https://ftp.mozilla.org/pub/mozilla.org/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/linux-i686/en-US/
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/linux-i686/en-US
MAINTAINER= gecko@FreeBSD.org
COMMENT= The open source, standards compliant web browser

View File

@ -5,7 +5,7 @@ PORTNAME= seamonkey-i18n
PORTVERSION= 2.33.1
CATEGORIES= www mail news editors irc
MASTER_SITES= MOZILLA/${PORTNAME:S|-i18n||}/releases/${DISTVERSION}/langpack \
https://ftp.mozilla.org/pub/mozilla.org/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build1/langpack/
MOZILLA/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build1/langpack
PKGNAMEPREFIX=
DISTFILES= ${SEAMONKEY_I18N_:S/$/.langpack.xpi/:S/^/seamonkey-${PORTVERSION}./}
DIST_SUBDIR= xpi/${DISTNAME}

View File

@ -6,7 +6,7 @@ DISTVERSION= 2.33.1
PORTREVISION= 3
CATEGORIES?= www mail news editors irc ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
https://ftp.mozilla.org/pub/mozilla.org/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source/
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source
DISTFILES= ${PORTNAME}-${DISTVERSION}.source${EXTRACT_SUFX}
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}.source${EXTRACT_SUFX}

View File

@ -59,8 +59,6 @@
# xpi ports do not depend on their master applications. You can install an
# extension before the app and run relink when the app is present.
MASTER_SITE_MOZILLA_ADDONS= http://addons.cdn.mozilla.net/user-media/%SUBDIR%/
.ifndef MASTER_SITES
.ifdef XPI_NUM
MASTER_SITES?= MOZILLA_ADDONS/addons/${XPI_NUM}

View File

@ -5,13 +5,13 @@ PORTNAME= downthemall
PORTVERSION= 2.0.17
DISTVERSIONSUFFIX= -fx+sm
CATEGORIES= www
MASTER_SITES= MOZILLA_EXTENDED/addons/201
MAINTAINER= gecko@FreeBSD.org
COMMENT= Lets you download all the links in a webpage and much more
XPI_DISTNAME= downthemall
XPI_NUM= 201
XPI_ID= {DDC359D1-844A-42a7-9AA1-88A850A938A8}
.include "${.CURDIR}/../xpi-adblock/Makefile.xpi"