ports/135139: Update Port: www/xpi-foxyproxy to v2.9
Ashish SHUKLA
wahjava at gmail.com
Mon Jun 1 05:00:06 UTC 2009
>Number: 135139
>Category: ports
>Synopsis: Update Port: www/xpi-foxyproxy to v2.9
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 01 05:00:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Ashish SHUKLA
>Release: FreeBSD 7.2-RELEASE amd64
>Organization:
N/A
>Environment:
System: FreeBSD chateau.d.lf 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Updates www/xpi-foxyproxy port to v2.9.
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/www/xpi-foxyproxy/Makefile xpi-foxyproxy/Makefile
--- /usr/ports/www/xpi-foxyproxy/Makefile 2009-03-19 18:03:04.000000000 +0000
+++ xpi-foxyproxy/Makefile 2009-06-01 09:42:53.000000000 +0000
@@ -6,8 +6,8 @@
#
PORTNAME= foxyproxy
-PORTVERSION= 2.8.14
-DISTVERSIONSUFFIX= -fx
+PORTVERSION= 2.9
+DISTVERSIONSUFFIX= -fx+sm+tb
CATEGORIES= www
MAINTAINER= wahjava at gmail.com
@@ -18,10 +18,10 @@
XPI_ID= foxyproxy at eric.h.jung
post-extract:
- ${FIND} ${WRKSRC} -type f -name *.js |${XARGS} ${SED} -i '' -e 's/[[:space:]]*$$//g'
+ ${FIND} ${WRKSRC} -type f -name '*.js' |${XARGS} ${SED} -i '' -e 's/[[:space:]]*$$//g'
pre-install:
- ${FIND} ${WRKSRC} -type f -name *.orig |${XARGS} ${RM} -f
+ ${FIND} ${WRKSRC} -type f -name '*.orig' |${XARGS} ${RM} -f
.include "${.CURDIR}/../xpi-adblock/Makefile.xpi"
.include <bsd.port.mk>
diff -urN /usr/ports/www/xpi-foxyproxy/distinfo xpi-foxyproxy/distinfo
--- /usr/ports/www/xpi-foxyproxy/distinfo 2009-03-19 18:03:04.000000000 +0000
+++ xpi-foxyproxy/distinfo 2009-05-08 12:24:15.000000000 +0000
@@ -1,3 +1,3 @@
-MD5 (xpi/foxyproxy-2.8.14-fx.xpi) = 716fa378e6a8c2174df4f898ade6ea8f
-SHA256 (xpi/foxyproxy-2.8.14-fx.xpi) = 8a6dff5e36c20a4171739f693b9129bedc116f5d1b87d8b09a69b398b4b7b1c9
-SIZE (xpi/foxyproxy-2.8.14-fx.xpi) = 546658
+MD5 (xpi/foxyproxy-2.9-fx+sm+tb.xpi) = ea71be9f4ab3ee3e81c21160c5fb146f
+SHA256 (xpi/foxyproxy-2.9-fx+sm+tb.xpi) = 1921ae4aafffc000d067930156a3a243a4e0f143b44fc60f121185bf5b113bea
+SIZE (xpi/foxyproxy-2.9-fx+sm+tb.xpi) = 567733
diff -urN /usr/ports/www/xpi-foxyproxy/files/patch-components_foxyproxy.js xpi-foxyproxy/files/patch-components_foxyproxy.js
--- /usr/ports/www/xpi-foxyproxy/files/patch-components_foxyproxy.js 2009-03-19 18:03:04.000000000 +0000
+++ xpi-foxyproxy/files/patch-components_foxyproxy.js 2009-06-01 09:09:25.000000000 +0000
@@ -1,9 +1,9 @@
-$FreeBSD: ports/www/xpi-foxyproxy/files/patch-components_foxyproxy.js,v 1.1 2009/03/19 18:03:04 miwi Exp $
+$FreeBSD$
--- components/foxyproxy.js.orig
+++ components/foxyproxy.js
-@@ -430,15 +430,12 @@
+@@ -424,15 +424,13 @@
},
getDefaultPath : function() {
@@ -13,21 +13,14 @@
- f.append("foxyproxy.xml");
+ var file = CC["@mozilla.org/file/local;1"].createInstance(CI.nsILocalFile);
+ var dir = CC["@mozilla.org/file/directory_service;1"].getService(CI.nsIProperties).get("ProfD", CI.nsILocalFile);
- //dump("settings file: " + f.path + "\n");
-- return f;
-- //file.initWithPath(dir.path);
-- //file.appendRelativePath("foxyproxy.xml");
-- //return file;
+ // dump("settings file: " + f.path + "\n");
+ return f;
+- // file.initWithPath(dir.path);
+- // file.appendRelativePath("foxyproxy.xml");
+- // return file;
+ file.initWithPath(dir.path);
+ file.appendRelativePath("foxyproxy.xml");
+ return file;
},
// Convert |o| from:
-@@ -1471,4 +1468,4 @@
- _xpComObjects: {},
- _catObserverName: null,
- _catContractId: null
--};
-\ No newline at end of file
-+};
diff -urN /usr/ports/www/xpi-foxyproxy/pkg-plist xpi-foxyproxy/pkg-plist
--- /usr/ports/www/xpi-foxyproxy/pkg-plist 2009-03-19 18:03:04.000000000 +0000
+++ xpi-foxyproxy/pkg-plist 2009-06-01 09:37:11.000000000 +0000
@@ -6,6 +6,8 @@
%%XPI_XPIDIR%%/chrome/content/alertOverlay.xul
%%XPI_XPIDIR%%/chrome/content/blockedpagepattern.js
%%XPI_XPIDIR%%/chrome/content/blockedpagepattern.xul
+%%XPI_XPIDIR%%/chrome/content/chooseproxy.js
+%%XPI_XPIDIR%%/chrome/content/chooseproxy.xul
%%XPI_XPIDIR%%/chrome/content/firefoxOptionsOverlay.xul
%%XPI_XPIDIR%%/chrome/content/firefoxOverlay.xul
%%XPI_XPIDIR%%/chrome/content/foxyproxy.css
@@ -30,10 +32,14 @@
%%XPI_XPIDIR%%/chrome/content/overlay.js
%%XPI_XPIDIR%%/chrome/content/pattern.js
%%XPI_XPIDIR%%/chrome/content/pattern.xul
+%%XPI_XPIDIR%%/chrome/content/selection.js
%%XPI_XPIDIR%%/chrome/content/strings.xml
%%XPI_XPIDIR%%/chrome/content/superadd.js
%%XPI_XPIDIR%%/chrome/content/superadd.xul
+%%XPI_XPIDIR%%/chrome/content/tbirdOverlay.xul
%%XPI_XPIDIR%%/chrome/content/torwizhelp.xhtml
+%%XPI_XPIDIR%%/chrome/content/triquestion.js
+%%XPI_XPIDIR%%/chrome/content/triquestion.xul
%%XPI_XPIDIR%%/chrome/icons/default/foxyproxyaboutdlg2.ico
%%XPI_XPIDIR%%/chrome/icons/default/foxyproxyaddproxydlg2.ico
%%XPI_XPIDIR%%/chrome/icons/default/foxyproxyoptions2.ico
@@ -135,10 +141,6 @@
%%XPI_XPIDIR%%/chrome/locale/sr-RS/foxyproxy.dtd
%%XPI_XPIDIR%%/chrome/locale/sr-RS/foxyproxy.properties
%%XPI_XPIDIR%%/chrome/locale/sr-RS/torwizhelp.dtd
-%%XPI_XPIDIR%%/chrome/locale/sr-YU/amo.properties
-%%XPI_XPIDIR%%/chrome/locale/sr-YU/foxyproxy.dtd
-%%XPI_XPIDIR%%/chrome/locale/sr-YU/foxyproxy.properties
-%%XPI_XPIDIR%%/chrome/locale/sr-YU/torwizhelp.dtd
%%XPI_XPIDIR%%/chrome/locale/sv-SE/amo.properties
%%XPI_XPIDIR%%/chrome/locale/sv-SE/foxyproxy.dtd
%%XPI_XPIDIR%%/chrome/locale/sv-SE/foxyproxy.properties
@@ -202,7 +204,6 @@
@dirrm %%XPI_XPIDIR%%/chrome/locale/ru-RU
@dirrm %%XPI_XPIDIR%%/chrome/locale/sk
@dirrm %%XPI_XPIDIR%%/chrome/locale/sr-RS
- at dirrm %%XPI_XPIDIR%%/chrome/locale/sr-YU
@dirrm %%XPI_XPIDIR%%/chrome/locale/sv-SE
@dirrm %%XPI_XPIDIR%%/chrome/locale/th-TH
@dirrm %%XPI_XPIDIR%%/chrome/locale/tr-TR
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list