Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 2004 01:39:10 -0500 (CDT)
From:      Mark Linimon <linimon@lonesome.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        voisine@yahoo.com
Subject:   ports/67701: [patch] fix slave port detection and distfiles in localized linux-mozillafirebird ports
Message-ID:  <200406080639.i586dAa4019671@lonesome.lonesome.com>
Resent-Message-ID: <200406080650.i586oM7j064772@freefall.freebsd.org>

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

>Number:         67701
>Category:       ports
>Synopsis:       [patch] fix slave port detection and distfiles in localized linux-mozillafirebird ports
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 08 06:50:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mark Linimon
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
Lonesome Dove Computing Services
>Environment:
System: FreeBSD lonesome.lonesome.com 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #3: Thu Jan 22 20:41:05 CST 2004 root@lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386
>Description:
	Currently, it is not possible for automated tools (such as
	portsmon and FreshPorts) to determine whether or not certain
	ports are slave ports, which is needed to accurately update
	their web pages.  This patch, which otherwise has no effect on
	the installation of any of these ports, allows that detection.

	Because I had to run the installs for each port, I also had
	to fix some stale md5/size information.  Note that the maintainer
	should verify that these are The Right Thing.  For the one
	port (japanese/linux-mozillafirebird-gtk1) that was marked
	broken for only that reason, I also removed the BROKEN line.

	Further note: for the two ports that are marked BROKEN for
	other reasons (dependency chain problem), I did not investigate
	the problem, but instead made sure I could get as far along
	in the install as possible (i.e. make checksum, make describe,
	make -V DESCR, and make -V MD5_FILE return correct results),
	to convince me that my own change was benign.
>How-To-Repeat:
	Update some metainfo (e.g. PORTREVISION) for the masterport
	and watch portsmon and FreshPorts still report the old
	metainfo for the slave ports.
>Fix:

Index: chinese/linux-mozillafirebird-zh_CN/Makefile
===================================================================
RCS file: /home/FreeBSD/pcvs/ports/chinese/linux-mozillafirebird-zh_CN/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- chinese/linux-mozillafirebird-zh_CN/Makefile	19 Nov 2003 07:22:25 -0000	1.1
+++ chinese/linux-mozillafirebird-zh_CN/Makefile	8 Jun 2004 06:05:17 -0000
@@ -11,4 +11,5 @@
 DISTNAME=		MozillaFirebird-${PORTVERSION}-i686-pc-linux-gnu-zhCN
 COMMENT=		Firebird browser in Simplified Chinese for Linux/i386
 
-.include "../../www/linux-mozillafirebird/Makefile"
+MASTERDIR=		${.CURDIR}/../../www/linux-mozillafirebird
+.include "${MASTERDIR}/Makefile"
Index: chinese/linux-mozillafirebird-zh_TW/Makefile
===================================================================
RCS file: /home/FreeBSD/pcvs/ports/chinese/linux-mozillafirebird-zh_TW/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- chinese/linux-mozillafirebird-zh_TW/Makefile	19 Nov 2003 07:11:54 -0000	1.1
+++ chinese/linux-mozillafirebird-zh_TW/Makefile	8 Jun 2004 06:05:19 -0000
@@ -11,4 +11,5 @@
 DISTNAME=		MozillaFirebird-${PORTVERSION}-i686-pc-linux-gnu-zhTW
 COMMENT=		Firebird browser in Traditional Chinese for Linux/i386
 
-.include "../../www/linux-mozillafirebird/Makefile"
+MASTERDIR=		${.CURDIR}/../../www/linux-mozillafirebird
+.include "${MASTERDIR}/Makefile"
Index: german/linux-mozillafirebird/Makefile
===================================================================
RCS file: /home/FreeBSD/pcvs/ports/german/linux-mozillafirebird/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- german/linux-mozillafirebird/Makefile	19 Nov 2003 10:51:49 -0000	1.1
+++ german/linux-mozillafirebird/Makefile	8 Jun 2004 06:05:21 -0000
@@ -11,4 +11,5 @@
 DISTNAME=		MozillaFirebird-${PORTVERSION}-i686-pc-linux-gnu-deDE
 COMMENT=		Firebird Web browser:  German Linux/i386 version
 
-.include "../../www/linux-mozillafirebird/Makefile"
+MASTERDIR=		${.CURDIR}/../../www/linux-mozillafirebird
+.include "${MASTERDIR}/Makefile"
Index: japanese/linux-mozillafirebird-gtk1/Makefile
===================================================================
RCS file: /home/FreeBSD/pcvs/ports/japanese/linux-mozillafirebird-gtk1/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- japanese/linux-mozillafirebird-gtk1/Makefile	16 Feb 2004 23:26:57 -0000	1.2
+++ japanese/linux-mozillafirebird-gtk1/Makefile	8 Jun 2004 06:24:23 -0000
@@ -12,6 +12,5 @@
 DISTNAME=		MozillaFirebird-${PORTVERSION}-i686-pc-linux-gnu-jaJP
 COMMENT=		Firebird Web browser:  Japanese, Linux, GTK 1.X version
 
-BROKEN=			"Checksum mismatch"
-
-.include "../../www/linux-mozillafirebird/Makefile"
+MASTERDIR=		${.CURDIR}/../../www/linux-mozillafirebird
+.include "${MASTERDIR}/Makefile"
Index: japanese/linux-mozillafirebird-gtk1/distinfo
===================================================================
RCS file: /home/FreeBSD/pcvs/ports/japanese/linux-mozillafirebird-gtk1/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- japanese/linux-mozillafirebird-gtk1/distinfo	31 Mar 2004 03:08:45 -0000	1.2
+++ japanese/linux-mozillafirebird-gtk1/distinfo	8 Jun 2004 05:36:19 -0000
@@ -1,3 +1,3 @@
 $FreeBSD: ports/japanese/linux-mozillafirebird-gtk1/distinfo,v 1.2 2004/03/31 03:08:45 trevor Exp $
-MD5 (MozillaFirebird-0.7-i686-pc-linux-gnu-jaJP.tar.gz) = abdc7f26ad0109a7b95a8108a91fb285
-SIZE (MozillaFirebird-0.7-i686-pc-linux-gnu-jaJP.tar.gz) = 9712579
+MD5 (MozillaFirebird-0.7-i686-pc-linux-gnu-jaJP.tar.gz) = 0a35fd7b64c5bd2837e626663b3a71f2
+SIZE (MozillaFirebird-0.7-i686-pc-linux-gnu-jaJP.tar.gz) = 9711723
Index: japanese/linux-mozillafirebird-gtk2/Makefile
===================================================================
RCS file: /home/FreeBSD/pcvs/ports/japanese/linux-mozillafirebird-gtk2/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- japanese/linux-mozillafirebird-gtk2/Makefile	17 Feb 2004 08:39:48 -0000	1.3
+++ japanese/linux-mozillafirebird-gtk2/Makefile	8 Jun 2004 06:14:14 -0000
@@ -25,4 +25,5 @@
 
 BROKEN=		"Inconsistent dependencies (linux_base 7.x and 8.x)"
 
-.include "../../www/linux-mozillafirebird/Makefile"
+MASTERDIR=	${.CURDIR}/../../www/linux-mozillafirebird
+.include "${MASTERDIR}/Makefile"
Index: japanese/linux-mozillafirebird-gtk2/distinfo
===================================================================
RCS file: /home/FreeBSD/pcvs/ports/japanese/linux-mozillafirebird-gtk2/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- japanese/linux-mozillafirebird-gtk2/distinfo	31 Mar 2004 03:08:45 -0000	1.2
+++ japanese/linux-mozillafirebird-gtk2/distinfo	8 Jun 2004 05:41:47 -0000
@@ -1,2 +1,2 @@
-MD5 (MozillaFirebird-0.7-i686-linux-gtk2+xft-jaJP.tar.gz) = dfbe3bd5b2bc6c289054c672be61de2d
-SIZE (MozillaFirebird-0.7-i686-linux-gtk2+xft-jaJP.tar.gz) = 9238809
+MD5 (MozillaFirebird-0.7-i686-linux-gtk2+xft-jaJP.tar.gz) = 874f778888b2209a4245502f30aac884
+SIZE (MozillaFirebird-0.7-i686-linux-gtk2+xft-jaJP.tar.gz) = 9239863
Index: russian/linux-mozillafirebird/Makefile
===================================================================
RCS file: /home/FreeBSD/pcvs/ports/russian/linux-mozillafirebird/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- russian/linux-mozillafirebird/Makefile	17 Feb 2004 08:38:55 -0000	1.3
+++ russian/linux-mozillafirebird/Makefile	8 Jun 2004 06:18:19 -0000
@@ -26,4 +26,5 @@
 
 USE_BZIP2=	yes
 
-.include "../../www/linux-mozillafirebird/Makefile"
+MASTERDIR=	${.CURDIR}/../../www/linux-mozillafirebird
+.include "${MASTERDIR}/Makefile"
Index: www/linux-mozillafirebird/Makefile
===================================================================
RCS file: /home/FreeBSD/pcvs/ports/www/linux-mozillafirebird/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- www/linux-mozillafirebird/Makefile	22 Jan 2004 12:18:41 -0000	1.9
+++ www/linux-mozillafirebird/Makefile	7 Jun 2004 01:11:18 -0000
@@ -23,6 +23,8 @@
 NO_FILTER_SHLIBS=yes
 ONLY_FOR_ARCHS=	i386
 FIREBIRD_NAME=	${PKGNAMEPREFIX}${PORTNAME}
+DESCR=		${.CURDIR}/pkg-descr
+MD5_FILE=	${.CURDIR}/distinfo
 PKGMESSAGE=	${WRKDIR}/pkg-message
 PLIST=		${WRKDIR}/pkg-plist
 USE_LINUX=	yes
Index: www/linux-mozillafirebird-el/Makefile
===================================================================
RCS file: /home/FreeBSD/pcvs/ports/www/linux-mozillafirebird-el/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- www/linux-mozillafirebird-el/Makefile	19 Nov 2003 11:07:48 -0000	1.1
+++ www/linux-mozillafirebird-el/Makefile	8 Jun 2004 06:05:31 -0000
@@ -11,4 +11,5 @@
 DISTNAME=		MozillaFirebird-${PORTVERSION}-i686-pc-linux-gnu-elGR
 COMMENT=		Firebird Web browser:  Greek Linux/i386 version
 
-.include "../linux-mozillafirebird/Makefile"
+MASTERDIR=		${.CURDIR}/../../www/linux-mozillafirebird
+.include "${MASTERDIR}/Makefile"
>Release-Note:
>Audit-Trail:
>Unformatted:



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