Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2011 01:46:00 GMT
From:      Barbara <barbara.xxx1975@libero.it>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163554: www/xpi-showip: make it working with new firefox version
Message-ID:  <201112230146.pBN1k0VA002589@red.freebsd.org>
Resent-Message-ID: <201112230150.pBN1oAgq045184@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163554
>Category:       ports
>Synopsis:       www/xpi-showip: make it working with new firefox version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 23 01:50:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Barbara
>Release:        RELENG_8
>Organization:
>Environment:
FreeBSD satanasso.local.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Dec 17 20:05:39 CET 2011     root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO  i386

>Description:
Make www/xpi-showip working with new firefox version from ports
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2011-11-24 16:00:59.000000000 +0100
+++ Makefile	2011-12-23 02:41:09.000000000 +0100
@@ -7,6 +7,7 @@
 
 PORTNAME=	showip
 PORTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -29,11 +30,9 @@
 
 XPI_DIRS=	chrome
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|5\.\*|8.*|' ${WRKSRC}/install.rdf
+.include "${.CURDIR}/../xpi-adblock/Makefile.xpi"
 
-pre-install:
-	@${RM} -f ${WRKSRC}/install.rdf.bak
+post-patch:
+	@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} \{} \;
 
-.include "${.CURDIR}/../xpi-adblock/Makefile.xpi"
 .include <bsd.port.mk>
--- files/patch-install.rdf.orig	1970-01-01 01:00:00.000000000 +0100
+++ files/patch-install.rdf	2011-12-23 02:08:54.000000000 +0100
@@ -0,0 +1,11 @@
+--- install.rdf.orig	2011-06-05 22:25:40.000000000 +0200
++++ install.rdf	2011-12-23 02:08:47.000000000 +0100
+@@ -55,7 +55,7 @@
+ <Description>
+ 	<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
+ 	<em:minVersion>3.0</em:minVersion>
+-	<em:maxVersion>5.*</em:maxVersion>
++	<em:maxVersion>99.*</em:maxVersion>
+ </Description>
+ </em:targetApplication> 
+ 


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



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