svn commit: r374228 - head/www/xpi-adblock
Barbara Guida
bar at FreeBSD.org
Mon Dec 8 00:12:08 UTC 2014
Author: bar
Date: Mon Dec 8 00:12:07 2014
New Revision: 374228
URL: https://svnweb.freebsd.org/changeset/ports/374228
QAT: https://qat.redports.org/buildarchive/r374228/
Log:
As it seems that MASTER_SITE_MOZILLA isn't hosting addons anymore, a new
variable MASTER_SITE_MOZILLA_ADDONS has been defined and set to
http://addons.cdn.mozilla.net/user-media/%SUBDIR%/
which unfortunately not browsable and AFAIK not mirrored.
I tried to keep the changes to the minimum and successfully (except for
adblock) tested the fetch target for XPIs not defining their own MASTER_SITE.
Modified:
head/www/xpi-adblock/Makefile.xpi
Modified: head/www/xpi-adblock/Makefile.xpi
==============================================================================
--- head/www/xpi-adblock/Makefile.xpi Sun Dec 7 21:26:50 2014 (r374227)
+++ head/www/xpi-adblock/Makefile.xpi Mon Dec 8 00:12:07 2014 (r374228)
@@ -2,7 +2,7 @@
# $FreeBSD$
# XPI_ID - Extension id, might be in {12345-...} or dev at org format
-# XPI_NUM - Extension number, as in addons.mozilla.org URL
+# XPI_NUM - Extension number, as in addons.cdn.mozilla.net URL
# XPI_FILES - List of files in xpi archive. This is used to produce
# PLIST_FILES. XPI_FILES can be generated by xpi-gen, but be
# sure to put chrome.manifest in ${FILESDIR} before that if you
@@ -13,7 +13,7 @@
# - These should all be set manually for port to be functional. See
# ${PORTSDIR}/Mk/bsd.port.mk for details.
# MASTER_SITES - This should be set if port is unavailable at the default site.
-# Default: ${MASTER_SITE_MOZILLA}
+# Default (defined below): ${MASTER_SITE_MOZILLA_ADDONS}
# MASTER_SITE_SUBDIR
# - Default: extensions/${PORTNAME}
# LATEST_LINK - Default: ${PKGBASE:S/_//g}
@@ -58,8 +58,10 @@
# 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
-MASTER_SITES?= MOZILLA_EXTENDED
+MASTER_SITES?= MOZILLA_ADDONS
.ifdef XPI_NUM
MASTER_SITE_SUBDIR?= addons/${XPI_NUM}
.endif
More information about the svn-ports-head
mailing list