Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2014 00:12:08 +0000 (UTC)
From:      Barbara Guida <bar@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374228 - head/www/xpi-adblock
Message-ID:  <201412080012.sB80C8r8019219@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412080012.sB80C8r8019219>