From tota@rtfm.jp  Thu Sep 22 12:43:30 2011
Return-Path: <tota@rtfm.jp>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D79A1106564A;
	Thu, 22 Sep 2011 12:43:30 +0000 (UTC)
	(envelope-from tota@rtfm.jp)
Received: from rtfm.jp (rtfm.jp [49.212.40.125])
	by mx1.freebsd.org (Postfix) with ESMTP id 7D0D28FC08;
	Thu, 22 Sep 2011 12:43:29 +0000 (UTC)
Received: from rtfm.jp (localhost [127.0.0.1])
	by rtfm.jp (8.14.4/8.14.4) with ESMTP id p8MBpapP088856;
	Thu, 22 Sep 2011 20:51:37 +0900 (JST)
	(envelope-from tota@rtfm.jp)
Received: (from tota@localhost)
	by rtfm.jp (8.14.4/8.14.4/Submit) id p8MBpZJG088855;
	Thu, 22 Sep 2011 20:51:35 +0900 (JST)
	(envelope-from tota)
Message-Id: <201109221151.p8MBpZJG088855@rtfm.jp>
Date: Thu, 22 Sep 2011 20:51:35 +0900 (JST)
From: TAKATSU Tomonari <tota@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ychsiao@ychsiao.org, miwi@freebsd.org, takefu@airport.fm
Subject: [PATCH] www/wordpress: conflicts with german/wordpress
X-Send-Pr-Version: 3.113
X-GNATS-Notify: ychsiao@ychsiao.org

>Number:         160907
>Category:       ports
>Synopsis:       [PATCH] www/wordpress: conflicts with german/wordpress
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tota
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 22 12:50:06 UTC 2011
>Closed-Date:    Sun Oct 16 05:25:36 UTC 2011
>Last-Modified:  Sun Oct 16 05:30:11 UTC 2011
>Originator:     TAKATSU Tomonari
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
none (private)
>Environment:
System: FreeBSD photon.local.lan 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011
>Description:
www/wordpress conflicts with german/wordpress.

Port maintainer (ychsiao@ychsiao.org) is cc'd.

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

cd /usr/ports/www/wordpress
make install clean

cd /usr/ports/german/wordpress
make install clean

cd /usr/ports/www/wordpress
make deinstall

===>  Deinstalling for www/wordpress
===>   Deinstalling wordpress-3.2.1,1
pkg_delete: '/usr/local/www/wordpress/wp-admin/images/logo-login.png' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/www/wordpress/wp-admin/images/wordpress-logo.png' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/www/wordpress/wp-admin/includes/upgrade.php' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/www/wordpress/wp-admin/setup-config.php' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/www/wordpress/wp-config-sample.php' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/www/wordpress/wp-includes/functions.php' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/www/wordpress/wp-includes/load.php' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/www/wordpress/wp-includes/ms-load.php' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/www/wordpress/wp-includes/ms-settings.php' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/www/wordpress/wp-includes/version.php' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/www/wordpress/wp-includes/wp-db.php' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/www/wordpress/wp-load.php' fails original MD5 checksum - deleted anyway.
pkg_delete: unable to completely remove directory '/usr/local/www/wordpress/wp-content/themes/twentyeleven/languages'
pkg_delete: unable to completely remove directory '/usr/local/www/wordpress/wp-content/themes/twentyeleven'
pkg_delete: unable to completely remove directory '/usr/local/www/wordpress/wp-content/themes/twentyten/languages'
pkg_delete: unable to completely remove directory '/usr/local/www/wordpress/wp-content/themes/twentyten'
pkg_delete: unable to completely remove directory '/usr/local/www/wordpress/wp-content/themes'
pkg_delete: unable to completely remove directory '/usr/local/www/wordpress/wp-content'
pkg_delete: unable to completely remove directory '/usr/local/www/wordpress'
pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?)

>Fix:
There are two patches.
1) define WWWDIR to avoid conflict(wordpress_WWWDIR.patch).
2) set CONFLICTS(wordpress_CONFLICTS.patch).
We can select 1) or 2).

--- wordpress_WWWDIR.patch begins here ---
Index: german/wordpress/Makefile
===================================================================
RCS file: /home/ncvs/ports/german/wordpress/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- german/wordpress/Makefile	26 Aug 2011 06:48:53 -0000	1.42
+++ german/wordpress/Makefile	22 Sep 2011 11:25:22 -0000
@@ -28,6 +28,8 @@
 PLIST=		${WRKDIR}/pkg-plist
 PORTDOCS=	license.txt readme.html
 
+WWWDIR=		${PREFIX}/www/${UNIQUENAME}
+
 pre-everything::
 	@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
 	@${ECHO_CMD} ""
Index: www/wordpress/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/wordpress/Makefile,v
retrieving revision 1.72
diff -u -r1.72 Makefile
--- www/wordpress/Makefile	13 Jul 2011 05:55:17 -0000	1.72
+++ www/wordpress/Makefile	22 Sep 2011 11:25:11 -0000
@@ -22,6 +22,8 @@
 PLIST=		${WRKDIR}/pkg-plist
 PORTDOCS=	license.txt readme.html
 
+WWWDIR=		${PREFIX}/www/${UNIQUENAME}
+
 pre-everything::
 	@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
 	@${ECHO_CMD} ""
--- wordpress_WWWDIR.patch ends here ---


--- wordpress_CONFLICTS.patch begins here ---
Index: german/wordpress/Makefile
===================================================================
RCS file: /home/ncvs/ports/german/wordpress/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- german/wordpress/Makefile	26 Aug 2011 06:48:53 -0000	1.42
+++ german/wordpress/Makefile	22 Sep 2011 11:36:58 -0000
@@ -19,6 +19,8 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/license.txt
 
+CONFLICTS=	wordpress-[3].*
+
 USE_ZIP=	yes
 NO_BUILD=	yes
 USE_PHP=	gd mysql pcre tokenizer xml zip
Index: www/wordpress/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/wordpress/Makefile,v
retrieving revision 1.72
diff -u -r1.72 Makefile
--- www/wordpress/Makefile	13 Jul 2011 05:55:17 -0000	1.72
+++ www/wordpress/Makefile	22 Sep 2011 11:35:23 -0000
@@ -14,6 +14,8 @@
 MAINTAINER=	ychsiao@ychsiao.org
 COMMENT=	A state-of-the-art semantic personal publishing platform
 
+CONFLICTS=	de-wordpress-de-[3].*
+
 NO_BUILD=	yes
 USE_PHP=	gd mysql pcre tokenizer xml zip
 WANT_PHP_WEB=	yes
--- wordpress_CONFLICTS.patch ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->tota 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Sep 22 12:50:17 UTC 2011 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

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

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: ychsiao@ychsiao.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/160907: [PATCH] www/wordpress: conflicts with german/wordpress
Date: Thu, 22 Sep 2011 12:50:20 UT

 Maintainer of www/wordpress,
 
 Please note that PR ports/160907 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/160907
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: TAKATSU Tomonari <tota@FreeBSD.org>
To: bug-followup@FreeBSD.org, miwi@freebsd.org
Cc: ychsiao@ychsiao.org, takefu@airport.fm
Subject: Re: ports/160907: [PATCH] www/wordpress: conflicts with german/wordpress
Date: Sat, 1 Oct 2011 22:13:03 +0900

 Hi miwi@,
 
 How do you think about this PR ports/160907 conflict issue?
 I ask you because miwi@ is the maintainer of german/wordpress and
 I have not got a response from ychsiao@chsiao.org who is the maintainer of
 www/wordpress yet.
 
 Thanks in advance,
 
 -- 
 TAKATSU Tomonari

From: Yuan-Chung Hsiao <ychsiao@ychsiao.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/160907: [PATCH] www/wordpress: conflicts with german/wordpress
Date: Tue, 4 Oct 2011 17:41:11 +0800

 Hi,
 I suggest that use set CONFLICTS
 
 BR,
 ychsiao
 
 * Edwin Groothuis <edwin@FreeBSD.org> [110922 20:50]:
 > Maintainer of www/wordpress,
 >
 > Please note that PR ports/160907 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/160907
 >
 > --
 > Edwin Groothuis via the GNATS Auto Assign Tool
 > edwin@FreeBSD.org

From: TAKATSU Tomonari <tota@FreeBSD.org>
To: bug-followup@freebsd.org, ychsiao@ychsiao.org, miwi@freebsd.org
Cc: takefu@airport.fm
Subject: Re: ports/160907: [PATCH] www/wordpress: conflicts with german/wordpress
Date: Wed, 5 Oct 2011 05:56:26 +0900

 On Sat, Oct 1, 2011 at 10:13 PM, TAKATSU Tomonari <tota@freebsd.org> wrote:
 > Hi miwi@,
 >
 > How do you think about this PR ports/160907 conflict issue?
 > I ask you because miwi@ is the maintainer of german/wordpress and
 > I have not got a response from ychsiao@chsiao.org who is the maintainer of
 > www/wordpress yet.
 >
 > Thanks in advance,
 
 On Tue, Oct 4, 2011 at 6:50 PM, Yuan-Chung Hsiao <ychsiao@ychsiao.org> wrote:
 > The following reply was made to PR ports/160907; it has been noted by GNATS.
 >
 > From: Yuan-Chung Hsiao <ychsiao@ychsiao.org>
 > To: bug-followup@FreeBSD.org
 > Cc:
 > Subject: Re: ports/160907: [PATCH] www/wordpress: conflicts with german/wordpress
 > Date: Tue, 4 Oct 2011 17:41:11 +0800
 >
 >  Hi,
 >  I suggest that use set CONFLICTS
 >
 >  BR,
 >  ychsiao
 
 Hi,
 
 Yuan-Chung Hsiao
 Thanks for your reply.
 
 miwi@
 If you approve it, I will commit wordpress_CONFLICTS.patch to set
 CONFLICTS between
 www/wordpress and german/wordpress.
 
 Thanks in advance,
 
 
 -- 
 TAKATSU Tomonari
State-Changed-From-To: feedback->closed 
State-Changed-By: tota 
State-Changed-When: Sun Oct 16 05:25:10 UTC 2011 
State-Changed-Why:  
Committed. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/160907: commit references a PR
Date: Sun, 16 Oct 2011 05:21:14 +0000 (UTC)

 tota        2011-10-16 05:21:00 UTC
 
   FreeBSD ports repository
 
   Modified files:
     german/wordpress     Makefile 
     www/wordpress        Makefile 
   Log:
   - Register CONFLICTS_INSTALL between www/wordpress and german/wordpress [1]
   - Add CONFLICTS_INSTALL with upcoming japanese/wordpress [2]
   
   PR:             ports/160907 [1], ports/160172 [2]
   Submitted by:   tota (myself) [1]
   Approved by:    Yuan-Chung Hsiao (maintainer), miwi@ (timeout > 2 weeks) [1]
   
   Revision  Changes    Path
   1.43      +2 -0      ports/german/wordpress/Makefile
   1.73      +2 -0      ports/www/wordpress/Makefile
 _______________________________________________
 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:
