From itetcu@people.tecnik93.com  Fri Apr 14 02:10:53 2006
Return-Path: <itetcu@people.tecnik93.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B3D0116A402
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Apr 2006 02:10:53 +0000 (UTC)
	(envelope-from itetcu@people.tecnik93.com)
Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4FB6E43D48
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Apr 2006 02:10:53 +0000 (GMT)
	(envelope-from itetcu@people.tecnik93.com)
Received: from it.buh.tecnik93.com (localhost [127.0.0.1])
	by it.buh.tecnik93.com (Postfix) with ESMTP id EC77317610
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Apr 2006 05:10:51 +0300 (EEST)
Message-Id: <1144980651.68501@it.buh.tecnik93.com>
Date: Fri, 14 Apr 2006 05:10:51 +0300
From: "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: [PATCH] www/adblock: replace dead MASTER_SITE with 2 other
X-Send-Pr-Version: gtk-send-pr 0.4.7 
X-GNATS-Notify:

>Number:         95717
>Category:       ports
>Synopsis:       [PATCH] www/adblock: replace dead MASTER_SITE with 2 other
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    thierry
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 14 02:20:14 GMT 2006
>Closed-Date:    Fri Apr 14 21:51:58 GMT 2006
>Last-Modified:  Fri Apr 14 21:51:58 GMT 2006
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.1-PRERELEASE #2: Fri Mar 31 13:08:13 EEST 2006
    root@it.buh.tecnik93.com:/usr/obj/usr/src/sys/IT6_U_P



>Description:


Reported by:		fenner's distfiles survey


>How-To-Repeat:





>Fix:


--- adblock.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/adblock/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	28 Aug 2005 13:04:53 -0000	1.1
+++ Makefile	14 Apr 2006 02:08:07 -0000
@@ -10,7 +10,8 @@
 PORTREVISION?=	0
 CATEGORIES=	www
 MASTER_SITES=	http://www.devlib.org/mozdev/adblock/	\
-		http://downloads.mozdev.org/adblock/	\
+		http://ftp.scarlet.be/pub/mozdev/adblock/ \
+		http://www.initworld.com/mozdev/adblock/ \
 		http://ftp.ntua.gr/pub/www/mozdev/adblock/	\
 		http://ftp.iasi.roedu.net/mirrors/mozdev.org/adblock/
 DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
--- adblock.diff ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->thierry 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Apr 14 02:24:10 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95717 
State-Changed-From-To: open->closed 
State-Changed-By: thierry 
State-Changed-When: Fri Apr 14 21:46:03 UTC 2006 
State-Changed-Why:  

Thanks for the notification! 

Actually I did not commit the submitted patch, but mirror the distfile 
to my local distdir, because the version on the official mirror is a 
newer version (nigthly 0.5.2.040), but mozilla aborts with this version. 

For the record, a possible upgrade could be: 

--- adblock-0.5.2.040.diff begins here --- 
diff -urN www/adblock.orig/Makefile www/adblock/Makefile 
--- www/adblock.orig/Makefile	Sun Aug 28 15:04:53 2005 
+++ www/adblock/Makefile	Fri Apr 14 23:04:56 2006 
@@ -6,13 +6,15 @@ 
# 

PORTNAME?=	adblock 
-DISTVERSION=	0.5-dev 
+PORTVERSION=	0.5.2.040 
PORTREVISION?=	0 
CATEGORIES=	www 
MASTER_SITES=	http://www.devlib.org/mozdev/adblock/	 
-		http://downloads.mozdev.org/adblock/	 
+		http://ftp.scarlet.be/pub/mozdev/adblock/  
+		http://www.initworld.com/mozdev/adblock/  
http://ftp.ntua.gr/pub/www/mozdev/adblock/	 
http://ftp.iasi.roedu.net/mirrors/mozdev.org/adblock/ 
+DISTNAME=	${PORTNAME}-${PORTVERSION:R:R}-dev 
DIST_SUBDIR=	${PORTNAME}-${PORTVERSION} 

MAINTAINER=	thierry@FreeBSD.org 
@@ -21,7 +23,8 @@ 
USE_X_PREFIX=	yes 

PLIST_FILES=	%%MOZDIR%%/chrome/adblock.jar	 
-		%%MOZDIR%%/chrome/overlayinfo/mozapps/content/overlays.rdf 
+		%%MOZDIR%%/chrome/overlayinfo/mozapps/content/overlays.rdf	 
+		%%MOZDIR%%/components/nsAdblock.js 

SLAVEDIRS=	www/adblock-firefox 

@@ -29,6 +32,7 @@ 
.include "${PORTSDIR}/www/mozex/Makefile.xpi" 

do-install: 
-	@${INSTALL_DATA} ${WRKDIR}/chrome/adblock.jar ${MOZDIR}/chrome 
+	${INSTALL_DATA} ${WRKDIR}/chrome/adblock.jar ${MOZDIR}/chrome 
+	${INSTALL_DATA} ${WRKDIR}/components/nsAdblock.js ${MOZDIR}/components 

.include <bsd.port.post.mk> 
diff -urN www/adblock.orig/distinfo www/adblock/distinfo 
--- www/adblock.orig/distinfo	Tue Jan 31 20:52:35 2006 
+++ www/adblock/distinfo	Fri Apr 14 22:53:02 2006 
@@ -1,3 +1,3 @@ 
-MD5 (adblock-0.5.d/adblock-0.5-dev.xpi) = bf938b034e2439e3e137cb892906afb8 
-SHA256 (adblock-0.5.d/adblock-0.5-dev.xpi) = 097e55e8579bea31c7821ebefb74a9ef56068b6b0b437f3580c3a18d38fc5563 
-SIZE (adblock-0.5.d/adblock-0.5-dev.xpi) = 72084 
+MD5 (adblock-0.5.2.040/adblock-0.5-dev.xpi) = 5c044fb922a12c79880aa1795cb711fa 
+SHA256 (adblock-0.5.2.040/adblock-0.5-dev.xpi) = 47bdd9d1172834d2688dec21ce28f62706e3ee41cd966e612f1d636438278edf 
+SIZE (adblock-0.5.2.040/adblock-0.5-dev.xpi) = 68148 
--- adblock-0.5.2.040.diff ends here --- 

Regards, 
--  
Th. Thomas. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95717 
>Unformatted:
