From nobody@FreeBSD.org  Fri Oct  2 11:19:35 2009
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 ED70A106568B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  2 Oct 2009 11:19:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id DDE528FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  2 Oct 2009 11:19:35 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n92BJZKo052029
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 2 Oct 2009 11:19:35 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n92BJZmv052028;
	Fri, 2 Oct 2009 11:19:35 GMT
	(envelope-from nobody)
Message-Id: <200910021119.n92BJZmv052028@www.freebsd.org>
Date: Fri, 2 Oct 2009 11:19:35 GMT
From: Wen Heping <wen@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [REPOCOPY] misc/tmux -> sysutils/tmux
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: wenheping@gmail.com

>Number:         139309
>Category:       ports
>Synopsis:       [REPOCOPY] misc/tmux -> sysutils/tmux
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wen
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 02 11:20:03 UTC 2009
>Closed-Date:    Thu Oct 15 00:47:38 UTC 2009
>Last-Modified:  Thu Oct 15 00:47:38 UTC 2009
>Originator:     Wen Heping
>Release:        FreeBSD 8.0-Current
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Mar 22 22:12:06 CST 2009     root@fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
1 update to 1.0 from 0.9
2 mark BROKEN on FreeBSD-6
3 move it to sysutils category from misc category
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2009-10-02 19:00:45.000000000 +0800
+++ Makefile	2009-10-02 19:13:21.000000000 +0800
@@ -6,8 +6,8 @@
 #
 
 PORTNAME=	tmux
-DISTVERSION=	0.9
-CATEGORIES=	misc
+DISTVERSION=	1.0
+CATEGORIES=	sysutils
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	wenheping@gmail.com
@@ -17,6 +17,12 @@
 
 MAN1=		tmux.1
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+BROKEN=		Does not build
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/tmux ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/tmux.1 ${MANPREFIX}/man/man1
@@ -36,4 +42,4 @@
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- distinfo.orig	2009-10-02 19:01:02.000000000 +0800
+++ distinfo	2009-10-02 19:00:17.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (tmux-0.9.tar.gz) = 2d1df646a6977bb7d9b20e53770d5593
-SHA256 (tmux-0.9.tar.gz) = c862133ccf7610cc806211b6c6ac39b74afb2385916c664972336e71fa95ee91
-SIZE (tmux-0.9.tar.gz) = 179064
+MD5 (tmux-1.0.tar.gz) = 716b12d9ea052f57d917bf2869d419df
+SHA256 (tmux-1.0.tar.gz) = f260fef8293b3eec795b21d3b561049b758c482dc6a04dba09fdce10ef8d3a6b
+SIZE (tmux-1.0.tar.gz) = 215329


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wen 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Oct 2 11:20:13 UTC 2009 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139309 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Oct 2 11:20:18 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139309 
Responsible-Changed-From-To: wen->portmgr  
Responsible-Changed-By: wen 
Responsible-Changed-When: Fri Oct 2 11:27:27 UTC 2009 
Responsible-Changed-Why:  


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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: wenheping@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/139309: [REPOCOPY] misc/tmux -> sysutils/tmux
Date: Fri, 2 Oct 2009 11:20:16 UT

 Maintainer of misc/tmux,
 
 Please note that PR ports/139309 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/139309
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->open 
State-Changed-By: miwi 
State-Changed-When: Fri Oct 2 11:52:24 UTC 2009 
State-Changed-Why:  
submitter is maintainer. 

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

From: Anonymous <swell.k@gmail.com>
To: Wen Heping <wen@FreeBSD.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/139309: [REPOCOPY] misc/tmux -> sysutils/tmux
Date: Fri, 02 Oct 2009 18:32:48 +0400

 Wen Heping <wen@FreeBSD.org> writes:
 
 > +.if ${OSVERSION} < 700000
 > +BROKEN=		Does not build
 > +.endif
 > +
 
 Perhaps, better to integrate fix from tmux CVS under OSVERSION check?
 
 .if ${OSVERSION} < 700102
 EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-configure
 .endif
 
 %%% files/extra-patch-configure
 Date: Thu, 24 Sep 2009 07:15:22 +0000
 Subject: [PATCH] Earlier versions of FreeBSD are missing RB_PREV.
 
 ---
  configure |    1 -
  1 files changed, 0 insertions(+), 1 deletions(-)
 
 --- configure
 +++ configure
 @@ -203,7 +203,6 @@ EOF
  #define HAVE_STRLCPY
  #define HAVE_STRTONUM
  #define HAVE_STRSEP
 -#define HAVE_TREE_H
  #define HAVE_U_INT
  EOF
  	cat <<EOF >>$CONFIG_MK
 %%% files/extra-patch-configure
 
 BTW, I think you can use PORTVERSION instead of DISTVERSION.

From: JIa-Shiun Li <jiashiun@gmail.com>
To: bug-followup@FreeBSD.org, wen@FreeBSD.org
Cc:  
Subject: Re: ports/139309: [REPOCOPY] misc/tmux -&gt; sysutils/tmux
Date: Wed, 07 Oct 2009 01:26:37 +0800

 This is a multi-part message in MIME format.
 --------------000709030706040307000801
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 
 Modified as suggested and tested ok on 9-current. Anyone interested in 
 testing for 6- and possibly closing ports/139044?
 
 Jia-Shiun.
 
 
 --------------000709030706040307000801
 Content-Type: text/plain;
  name="tmux-1.0.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="tmux-1.0.patch"
 
 diff -Nur tmux-0.9/Makefile tmux-1.0/Makefile
 --- tmux-0.9/Makefile	2009-10-07 00:54:43.000000000 +0800
 +++ tmux-1.0/Makefile	2009-10-07 01:09:46.000000000 +0800
 @@ -6,8 +6,8 @@
  #
  
  PORTNAME=	tmux
 -DISTVERSION=	0.9
 -CATEGORIES=	misc
 +PORTVERSION=	1.0
 +CATEGORIES=	sysutils
  MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
  
  MAINTAINER=	wenheping@gmail.com
 @@ -17,6 +17,12 @@
  
  MAN1=		tmux.1
  
 +.include <bsd.port.pre.mk>
 +
 +.if ${OSVERSION} < 700102
 +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-configure
 +.endif
 +
  do-install:
  	${INSTALL_PROGRAM} ${WRKSRC}/tmux ${PREFIX}/bin
  	${INSTALL_MAN} ${WRKSRC}/tmux.1 ${MANPREFIX}/man/man1
 @@ -36,4 +42,4 @@
  .endfor
  .endif
  
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>
 diff -Nur tmux-0.9/distinfo tmux-1.0/distinfo
 --- tmux-0.9/distinfo	2009-10-07 00:54:43.000000000 +0800
 +++ tmux-1.0/distinfo	2009-10-07 00:55:55.000000000 +0800
 @@ -1,3 +1,3 @@
 -MD5 (tmux-0.9.tar.gz) = 2d1df646a6977bb7d9b20e53770d5593
 -SHA256 (tmux-0.9.tar.gz) = c862133ccf7610cc806211b6c6ac39b74afb2385916c664972336e71fa95ee91
 -SIZE (tmux-0.9.tar.gz) = 179064
 +MD5 (tmux-1.0.tar.gz) = 716b12d9ea052f57d917bf2869d419df
 +SHA256 (tmux-1.0.tar.gz) = f260fef8293b3eec795b21d3b561049b758c482dc6a04dba09fdce10ef8d3a6b
 +SIZE (tmux-1.0.tar.gz) = 215329
 diff -Nur tmux-0.9/files/extra-patch-configure tmux-1.0/files/extra-patch-configure
 --- tmux-0.9/files/extra-patch-configure	1970-01-01 08:00:00.000000000 +0800
 +++ tmux-1.0/files/extra-patch-configure	2009-10-07 01:06:22.000000000 +0800
 @@ -0,0 +1,17 @@
 +Date: Thu, 24 Sep 2009 07:15:22 +0000
 +Subject: [PATCH] Earlier versions of FreeBSD are missing RB_PREV.
 +
 +---
 +configure | 1 -
 +1 files changed, 0 insertions(+), 1 deletions(-)
 +
 +--- configure
 ++++ configure
 +@@ -203,7 +203,6 @@ EOF
 + #define HAVE_STRLCPY
 + #define HAVE_STRTONUM
 + #define HAVE_STRSEP
 +-#define HAVE_TREE_H
 + #define HAVE_U_INT
 + EOF
 + cat <<EOF >>$CONFIG_MK
 
 --------------000709030706040307000801--
State-Changed-From-To: open->repocopy 
State-Changed-By: miwi 
State-Changed-When: Wed Oct 7 11:06:09 UTC 2009 
State-Changed-Why:  
fix state 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139309 
State-Changed-From-To: repocopy->open 
State-Changed-By: marcus 
State-Changed-When: Sun Oct 11 19:24:07 UTC 2009 
State-Changed-Why:  
Repocopy complete. 


Responsible-Changed-From-To: portmgr->miwi 
Responsible-Changed-By: marcus 
Responsible-Changed-When: Sun Oct 11 19:24:07 UTC 2009 
Responsible-Changed-Why:  
Repocopy complete. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139309 
Responsible-Changed-From-To: miwi->wen 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun Oct 11 22:41:58 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139309 
State-Changed-From-To: open->closed 
State-Changed-By: wen 
State-Changed-When: Thu Oct 15 00:47:37 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

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