ports/153994: [MAINTAINER] www/xpi-jslib: unbreak download and plist

Lapo Luchini lapo at lapo.it
Fri Jan 14 19:30:11 UTC 2011


>Number:         153994
>Category:       ports
>Synopsis:       [MAINTAINER] www/xpi-jslib: unbreak download and plist
>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:   Fri Jan 14 19:30:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Lapo Luchini
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD lapo.andxor.it 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010
>Description:
The official website changed to version 0.1.366 (which I don't have time to properly test right now), so I'm moving the previous 0.1.365 it to a website of mine so that it can be downloaded in the foreseeable future and with a better (versioned) naming.
(still a sigle point of failure, but one that I can do something about directly)

Also removed the signature which was breaking the plist (I tought I opened a more generic PR to always remove signatures from XPIs, but I probably forgot and it's faster to fix it here right now).

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- xpi-jslib-0.1.365.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/xpi-jslib/Makefile /usr/home/lapo/ports/xpi-jslib/Makefile
--- /usr/ports/www/xpi-jslib/Makefile	2010-10-10 20:50:02.000000000 +0200
+++ /usr/home/lapo/ports/xpi-jslib/Makefile	2011-01-14 19:51:13.000000000 +0100
@@ -8,20 +8,21 @@
 PORTNAME=	jslib
 PORTVERSION=	0.1.365
 CATEGORIES=	www
-MASTER_SITES=	http://downloads.mozdev.org/jslib/xpi/signed/
-DISTNAME=	jslib_current_lite_signed
-DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
+MASTER_SITES=	http://lapo.it/freebsd/
+DISTNAME=	jslib_${PORTVERSION}_lite_signed
 
 MAINTAINER=	lapo at lapo.it
 COMMENT=	Library of common useful routines for XPI developers
 
 LICENSE=	MPL
 
-FETCH_ARGS=	"-pRr" # without "-A" as MASTER_SITE uses redirect to send to different mirrors
-
 XPI_ID=		{DF8E5247-8E0A-4de6-B393-0735A39DFD80}
 XPI_FILES=	application.ini chrome/jslib.jar chrome/jsliblive/contents.rdf chrome/jsliblive/jsliblive.xul chrome.manifest components/jslib-dom.js components/jslib-service.js components/jslib.xpt defaults/preferences/prefs.js install.js install.rdf
 XPI_DIRS=	chrome/jsliblive chrome components defaults/preferences defaults
 
+# we don't (currently) care about the signature
+post-extract:
+	@${RM} -rf ${WRKSRC}/META-INF
+
 .include "${.CURDIR}/../xpi-adblock/Makefile.xpi"
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/www/xpi-jslib/distinfo /usr/home/lapo/ports/xpi-jslib/distinfo
--- /usr/ports/www/xpi-jslib/distinfo	2010-10-10 20:50:02.000000000 +0200
+++ /usr/home/lapo/ports/xpi-jslib/distinfo	2011-01-14 19:49:04.000000000 +0100
@@ -1,3 +1,2 @@
-MD5 (jslib-0.1.365/jslib_current_lite_signed.xpi) = 7e3b922d282f6d68f5a827aed2aae40b
-SHA256 (jslib-0.1.365/jslib_current_lite_signed.xpi) = a760e431e156854ba4990297d4bf8daff0d335f60f645979abba7b8e10e3f519
-SIZE (jslib-0.1.365/jslib_current_lite_signed.xpi) = 112885
+SHA256 (xpi/jslib_0.1.365_lite_signed.xpi) = a760e431e156854ba4990297d4bf8daff0d335f60f645979abba7b8e10e3f519
+SIZE (xpi/jslib_0.1.365_lite_signed.xpi) = 112885
--- xpi-jslib-0.1.365.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list