From nobody@FreeBSD.org  Thu Nov 10 23:11:21 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 07CA91065673
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Nov 2011 23:11:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id EC3758FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Nov 2011 23:11:20 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pAANBK66079989
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Nov 2011 23:11:20 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pAANBKR7079988;
	Thu, 10 Nov 2011 23:11:20 GMT
	(envelope-from nobody)
Message-Id: <201111102311.pAANBKR7079988@red.freebsd.org>
Date: Thu, 10 Nov 2011 23:11:20 GMT
From: Barbara <barbara.xxx1975@libero.it>
To: freebsd-gnats-submit@FreeBSD.org
Subject: www/xpi-live_http_headers: make it working with firefox & seamonkey in ports
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: kamikaze@bsdforen.de

>Number:         162449
>Category:       ports
>Synopsis:       www/xpi-live_http_headers: make it working with firefox & seamonkey in ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 10 23:20:08 UTC 2011
>Closed-Date:    Fri Nov 25 18:20:36 UTC 2011
>Last-Modified:  Fri Nov 25 18:30:11 UTC 2011
>Originator:     Barbara
>Release:        RELENG_8
>Organization:
>Environment:
FreeBSD satanasso.local.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Oct  8 13:50:17 CEST 2011     root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO  i386

>Description:
Make it working with the current version of firefox & seamonkey fixing maxVersion in install.rdf
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2011-08-01 20:03:02.000000000 +0200
+++ Makefile	2011-11-10 23:57:05.000000000 +0100
@@ -8,7 +8,7 @@
 PORTNAME=	live_http_headers
 PORTVERSION=	0.17
 DISTVERSIONSUFFIX=	-fx+sm
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www
 PKGNAMEPREFIX=	xpi-
 
@@ -40,6 +40,11 @@
 
 post-patch:
 	@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} \{} \;
+	@${REINPLACE_CMD} -e 's|6\.\*|8.*|;s|2\.1\.\*|2.*|' \
+		${WRKSRC}/install.rdf
+
+pre-install:
+	@${RM} -f ${WRKSRC}/install.rdf.bak
 
 .include "../xpi-adblock/Makefile.xpi"
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Nov 10 23:20:18 UTC 2011 
Responsible-Changed-Why:  
miwi@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162449 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Nov 10 23:20:22 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162449 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: kamikaze@bsdforen.de
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/162449: www/xpi-live_http_headers: make it working with firefox & seamonkey in ports
Date: Thu, 10 Nov 2011 23:20:20 UT

 Maintainer of www/xpi-live_http_headers,
 
 Please note that PR ports/162449 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/162449
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Dominic Fandrey <kamikaze@bsdforen.de>
To: bug-followup@FreeBSD.org, barbara.xxx1975@libero.it
Cc:  
Subject: Re: ports/162449: www/xpi-live_http_headers: make it working with
 firefox &amp; seamonkey in ports
Date: Fri, 11 Nov 2011 04:07:32 +0100

 It works fine as is with Firefox 8.0 on my system:
 FreeBSD mobileKamikaze.norad 8.2-STABLE FreeBSD 8.2-STABLE #0: Mon Aug 29 19:15:43 CEST 2011     root@mobileKamikaze.norad:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6510b-8  amd64
 
 It was my understanding that Mozilla changed the default to assume
 that an addon is compatible unless explicitly marked incompatible
 to account for the rapid/rabid release cycle.
 
 Are you certain the patch is required?
 
 Regards
 
 -- 
 A: Because it fouls the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on usenet and in e-mail? 

From: Barbara <barbara.xxx1975@libero.it>
To: <bug-followup@FreeBSD.org>
Cc: <kamikaze@bsdforen.de>
Subject: Re: ports/162449: www/xpi-live_http_headers: make it working with
 firefox & seamonkey in ports
Date: Fri, 11 Nov 2011 08:51:49 +0100 (CET)

 I tried uninstalling my patched version and reinstalling the one in ports 
 again and that's what I see:
 http://oi40.tinypic.com/142yjh2.jpg
 http://oi40.tinypic.com/29fqlid.jpg
 
 Strangely enough, I noticed that the check is not that strict on windows or 
 linux systems, but that's from quite long time.
 As you can see on Seamonkey 2.4.1 even the DOM Inspector (which is part of 
 Seamonkey coming from the same source!) is disabled because there's 2.4a1 in 
 install.rdf!
 Are you sure that you have the original install.rdf as in the xpi file?
 Do you know where the check is done? If not directly on the browser code, 
 maybe I have some stale stuff somewhere(?).
 

From: Dominic Fandrey <kamikaze@bsdforen.de>
To: bug-followup@FreeBSD.org, barbara.xxx1975@libero.it
Cc:  
Subject: Re: ports/162449: www/xpi-live_http_headers: make it working with
 firefox &amp; seamonkey in ports
Date: Sat, 19 Nov 2011 17:46:58 +0100

 This is a multi-part message in MIME format.
 --------------060408050202030608050107
 Content-Type: text/plain; charset=ascii; format=flowed
 Content-Transfer-Encoding: 7bit
 
 I consent to the application of the attached patch.
 
 Regards
 
 -- 
 A: Because it fouls the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on usenet and in e-mail?
 
 --------------060408050202030608050107
 Content-Type: text/plain;
  name="patch-ports-www-xpi-live_http_headers.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patch-ports-www-xpi-live_http_headers.txt"
 
 diff -Nur ports/www/xpi-live_http_headers.orig/Makefile ports/www/xpi-live_http_headers/Makefile
 --- ports/www/xpi-live_http_headers.orig/Makefile	2011-11-19 17:30:40.000000000 +0100
 +++ ports/www/xpi-live_http_headers/Makefile	2011-11-19 17:40:57.000000000 +0100
 @@ -8,7 +8,7 @@
  PORTNAME=	live_http_headers
  PORTVERSION=	0.17
  DISTVERSIONSUFFIX=	-fx+sm
 -PORTREVISION=	2
 +PORTREVISION=	3
  CATEGORIES=	www
  PKGNAMEPREFIX=	xpi-
  
 diff -Nur ports/www/xpi-live_http_headers.orig/files/patch-install.rdf ports/www/xpi-live_http_headers/files/patch-install.rdf
 --- ports/www/xpi-live_http_headers.orig/files/patch-install.rdf	2011-11-19 17:30:40.000000000 +0100
 +++ ports/www/xpi-live_http_headers/files/patch-install.rdf	2011-11-19 17:39:16.000000000 +0100
 @@ -1,11 +1,29 @@
 ---- install.rdf.orig	2011-07-04 11:13:28.000000000 +0200
 -+++ install.rdf	2011-07-04 11:14:04.000000000 +0200
 +--- install.rdf.orig	2011-11-19 17:36:32.000000000 +0100
 ++++ install.rdf	2011-11-19 17:37:32.000000000 +0100
  @@ -16,7 +16,7 @@
         <Description>
           <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
           <em:minVersion>0.8</em:minVersion>
  -        <em:maxVersion>4.0.*</em:maxVersion>
 -+        <em:maxVersion>6.*</em:maxVersion>
 ++        <em:maxVersion>99.*</em:maxVersion>
         </Description>
       </em:targetApplication>
       <!-- Flock -->
 +@@ -24,7 +24,7 @@
 +       <Description>
 +         <em:id>{a463f10c-3994-11da-9945-000d60ca027b}</em:id>
 +         <em:minVersion>0.5.9</em:minVersion>
 +-        <em:maxVersion>0.7.*</em:maxVersion>
 ++        <em:maxVersion>99.*</em:maxVersion>
 +       </Description>
 +     </em:targetApplication>
 +     <!-- Seamonkey -->
 +@@ -32,7 +32,7 @@
 +       <Description>
 +         <em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
 +         <em:minVersion>1.0</em:minVersion>
 +-        <em:maxVersion>2.1.*</em:maxVersion>
 ++        <em:maxVersion>99.*</em:maxVersion>
 +       </Description>
 +     </em:targetApplication>
 +     
 
 --------------060408050202030608050107--
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Nov 25 18:20:34 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162449 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/162449: commit references a PR
Date: Fri, 25 Nov 2011 18:20:36 +0000 (UTC)

 miwi        2011-11-25 18:20:26 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/xpi-live_http_headers Makefile 
     www/xpi-live_http_headers/files patch-install.rdf 
   Log:
   - Make it work for firefox 8 and above
   - Bump PORTREVISION
   
   PR:             162449
   Submitted by:   Barbara <barbara.xxx1975@libero.it>
   Approved by:    mainainer
   Feature safe:   yes
   
   Revision  Changes    Path
   1.7       +1 -1      ports/www/xpi-live_http_headers/Makefile
   1.2       +21 -3     ports/www/xpi-live_http_headers/files/patch-install.rdf
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
