From mm@neo.vx.sk  Tue Jul 12 01:09:12 2011
Return-Path: <mm@neo.vx.sk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0EB591065672
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Jul 2011 01:09:07 +0000 (UTC)
	(envelope-from mm@neo.vx.sk)
Received: from neo.vx.sk (neo.vx.sk [188.40.111.84])
	by mx1.freebsd.org (Postfix) with ESMTP id 952338FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Jul 2011 01:09:06 +0000 (UTC)
Received: from neo.vx.sk (localhost [127.0.0.1])
	by neo.vx.sk (Postfix) with ESMTP id 67EC1BD54;
	Tue, 12 Jul 2011 03:09:07 +0200 (CEST)
Received: (from mm@localhost)
	by neo.vx.sk (8.14.4/8.14.4/Submit) id p6BAfFK2069885;
	Mon, 11 Jul 2011 12:41:15 +0200 (CEST)
	(envelope-from mm)
Message-Id: <201107111041.p6BAfFK2069885@neo.vx.sk>
Date: Mon, 11 Jul 2011 12:41:15 +0200 (CEST)
From: Martin Matuska <mm@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gerrit.beine@gmx.de
Subject: [PATCH] devel/pear-PHPUnit: change to new PEAR channel infrastructure
X-Send-Pr-Version: 3.113
X-GNATS-Notify: gerrit.beine@gmx.de

>Number:         158821
>Category:       ports
>Synopsis:       [PATCH] devel/pear-PHPUnit: change to new PEAR channel infrastructure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 12 01:10:11 UTC 2011
>Closed-Date:    Tue Jul 12 05:17:23 UTC 2011
>Last-Modified:  Tue Jul 12 05:17:23 UTC 2011
>Originator:     Martin Matuska
>Release:        FreeBSD 8.2-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD neo.vx.sk 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #1 r223692M: Thu Jun 30 14:50:37 CEST
>Description:
Change to new PEAR channel infrastructure

Removed file(s):
- files/pear-deinstall.in
- files/pear-install.in

Port maintainer (gerrit.beine@gmx.de) is cc'd.

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

--- pear-PHPUnit-1.3.3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/pear-PHPUnit/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile	31 May 2009 20:31:01 -0000	1.14
+++ Makefile	11 Jul 2011 10:40:45 -0000
@@ -9,29 +9,20 @@
 PORTVERSION=	1.3.3
 CATEGORIES=	devel www pear
 MASTER_SITES=	http://pear.phpunit.de/get/
+PKGNAMEPREFIX=	pear-
 
 MAINTAINER=	gerrit.beine@gmx.de
 COMMENT=	PEAR regression testing framework for unit tests
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS=	${BUILD_DEPENDS}
+BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
+		${PEARDIR}/.channels/pear.phpunit.de.reg:${PORTSDIR}/devel/pear-channel-phpunit
+RUN_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
+		${PEARDIR}/.channels/pear.phpunit.de.reg:${PORTSDIR}/devel/pear-channel-phpunit
 
-MANUAL_PACKAGE_BUILD=	attempts to contact pear.phpunit.de during install phase
+CONFLICTS=	pear-PHPUnit-[23]*
 
-CHANNEL=	pear.phpunit.de
-SUB_FILES=	pear-deinstall pear-install
-SUB_LIST+=	CHANNEL=${CHANNEL}
-PKGINSTALL=	${WRKDIR}/pear-install
-PKGDEINSTALL=	${WRKDIR}/pear-deinstall
-
-NO_LATEST_LINK=	yes
-
-FILES=		PHPUnit.php PHPUnit/GUI/Gtk.php PHPUnit/GUI/HTML.php \
-		PHPUnit/GUI/HTML.tpl PHPUnit/GUI/SetupDecorator.php \
-		PHPUnit/Assert.php PHPUnit/RepeatedTest.php PHPUnit/Skeleton.php \
-		PHPUnit/TestCase.php PHPUnit/TestDecorator.php \
-		PHPUnit/TestFailure.php PHPUnit/TestListener.php \
-		PHPUnit/TestResult.php PHPUnit/TestSuite.php
+PEAR_CHANNEL=	phpunit
+PEAR_AUTOINSTALL=	yes
 
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/devel/pear/bsd.pear.mk"
Index: files/pear-deinstall.in
===================================================================
RCS file: files/pear-deinstall.in
diff -N files/pear-deinstall.in
--- files/pear-deinstall.in	13 Jan 2009 00:10:33 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,27 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: ports/devel/pear-PHPUnit/files/pear-deinstall.in,v 1.1 2009/01/13 00:10:33 miwi Exp $
-#
-# Remove package declaration from PEAR's registry and optionally delete
-# a non-standard channel.
-
-if [ x$2 != xDEINSTALL -a x$2 != xPOST-DEINSTALL ]; then
-    exit
-fi
-PKG_NAME=${1%%-[0-9._]*}
-PACKAGE=$(echo $PKG_NAME | sed 's/pear-//')
-
-PEAR=${PKG_PREFIX}/bin/pear
-CHANNEL=%%CHANNEL%%
-
-if [ "$2" = "DEINSTALL" ]; then
-	if [ "x${CHANNEL}" != "x" ]; then
-		${PEAR} uninstall -r -n ${CHANNEL}/${PACKAGE} || true
-	else
-		${PEAR} uninstall -r -n ${PACKAGE} || true
-	fi
-else
-	if [ "x${CHANNEL}" != "x" ]; then
-		${PEAR} channel-delete ${CHANNEL}
-	fi
-fi
Index: files/pear-install.in
===================================================================
RCS file: files/pear-install.in
diff -N files/pear-install.in
--- files/pear-install.in	13 Jan 2009 00:10:33 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,19 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: ports/devel/pear-PHPUnit/files/pear-install.in,v 1.1 2009/01/13 00:10:33 miwi Exp $
-#
-# Register the package $1 in the port registry and optionally add a
-# non-standard channel.
-
-PREFIX=${PKG_PREFIX:=%%PREFIX%%}
-PEAR=${PREFIX}/bin/pear
-PKGREGDIR=${PREFIX}/share/pear/packages/$1
-CHANNEL=%%CHANNEL%%
-
-[ "x$1" = "x" ] && exit 1
-if [ "x$2" = "xPOST-INSTALL" ]; then
-	if [ "x${CHANNEL}" != "x" ]; then
-		${PEAR} channel-add http://${CHANNEL}/channel.xml
-	fi
-	${PEAR} install -r -n -f ${PKGREGDIR}/package.xml
-fi
--- pear-PHPUnit-1.3.3.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jul 12 01:10:35 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=158821 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Jul 12 01:10:39 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: gerrit.beine@gmx.de
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/158821: [PATCH] devel/pear-PHPUnit: change to new PEAR channel infrastructure
Date: Tue, 12 Jul 2011 01:10:37 UT

 Maintainer of devel/pear-PHPUnit,
 
 Please note that PR ports/158821 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/158821
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->feedback 
State-Changed-By: linimon 
State-Changed-When: Tue Jul 12 04:58:05 UTC 2011 
State-Changed-Why:  
Back to pool at assignee request for the moment. 


Responsible-Changed-From-To: miwi->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Jul 12 04:58:05 UTC 2011 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=158821 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Jul 12 05:16:51 UTC 2011 
State-Changed-Why:  
Duplicate of ports/158799. 

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