From nobody@FreeBSD.org  Sat Apr 27 10:05:49 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id EF73E825
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 27 Apr 2013 10:05:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id E20351578
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 27 Apr 2013 10:05:49 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r3RA5mb4075147
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 27 Apr 2013 10:05:48 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r3RA5mOB075146;
	Sat, 27 Apr 2013 10:05:48 GMT
	(envelope-from nobody)
Message-Id: <201304271005.r3RA5mOB075146@red.freebsd.org>
Date: Sat, 27 Apr 2013 10:05:48 GMT
From: Gabor HALASZ <halasz.g@freemail.hu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /usr/ports/www/trac-mercurial broken
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         178196
>Category:       ports
>Synopsis:       /usr/ports/www/trac-mercurial broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 27 10:10:00 UTC 2013
>Closed-Date:    Sun Feb 09 21:56:19 UTC 2014
>Last-Modified:  Sun Feb  9 22:00:00 UTC 2014
>Originator:     Gabor HALASZ
>Release:        9.1 Stable
>Organization:
>Environment:
FreeBSD server.hamito.eu 9.1-STABLE FreeBSD 9.1-STABLE #9 r246307: Mon Feb  4 02:48:10 CET 2013     root@server.hamito.eu:/usr/obj/usr/src/sys/CUSTOM  amd64
>Description:
The TracMercurial plugin v0.12 is outdated and not works with mercurial-2.3.1 and above (http://trac.edgewall.org/ticket/10851).


>How-To-Repeat:
Install the plugin from ports. 
>Fix:
Upgrade the package, the 1.0 branch of the plugin (installed from source) works well on my environment with the mercurial-2.5.1. 

>Release-Note:
>Audit-Trail:

From: moto kawasaki <moto@kawasaki3.org>
To: bug-followup@FreeBSD.org
Cc: halasz.g@freemail.hu
Subject: Re: ports/178196: /usr/ports/www/trac-mercurial broken
Date: Tue, 25 Jun 2013 18:36:05 +0900 (JST)

 Dear Madams and Sirs,
 
 I also hit ports/178196 problem, and made a dirty quick hack.
 Please find patches below.
 I hope this might help someone.
 
 Note:
 You may need to fetch by hand (i.e. using hg command from command
 line, rename directory, and tar it, put the tar ball into
 distfiles/trac/, blah blah)
 Also, you may need to fix SHA256 and SIZE entries in distinfo.
 
 Thank you very much.
 
 
 Sincerely
 
 
 
 -- 
 moto kawasaki <moto@kawasaki3.org>
 
 ============================================================
 
 # diff -u www/trac-mercurial/Makefile.orig www/trac-mercurial/Makefile      
 --- www/trac-mercurial/Makefile.orig	2013-03-01 02:06:36.000000000 +0900
 +++ www/trac-mercurial/Makefile	2013-06-25 18:29:03.000000000 +0900
 @@ -1,7 +1,7 @@
  # $FreeBSD: www/trac-mercurial/Makefile 313115 2013-02-28 17:06:36Z brooks $
  
  PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;:L}
 -PORTVERSION=	0.12.0.1
 +PORTVERSION=	1.0
  PORTREVISION=	1
  CATEGORIES=	www devel python
  MASTER_SITES=	LOCAL/pgollucci
 @@ -18,13 +18,13 @@
  USE_PYTHON=	-2.7
  USE_PYDISTUTILS=	easy_install
  PYDISTUTILS_PKGNAME=	TracMercurial
 -PYDISTUTILS_PKGVERSION=	0.12.0.23dev
 +PYDISTUTILS_PKGVERSION=	1.0.0.3dev
  PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
  
  .if defined(BOOTSTRAP)
  do-fetch:
  	${MKDIR} ${WRKDIR}
 -	svn export http://svn.edgewall.org/repos/trac/plugins/0.12/mercurial-plugin ${WRKSRC}
 +	hg clone http://hg.edgewall.org/trac/mercurial-plugin#1.0 ${WRKSRC}
  	${MKDIR} ${_DISTDIR}
  	cd ${WRKDIR} && \
  	    tar cfvz ${_DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
 # diff -u www/trac-mercurial/distinfo.orig www/trac-mercurial/distinfo
 --- www/trac-mercurial/distinfo.orig	2012-07-14 23:29:18.000000000 +0900
 +++ www/trac-mercurial/distinfo	2013-06-25 18:29:08.000000000 +0900
 @@ -1,2 +1,2 @@
 -SHA256 (trac/mercurialplugin-0.12.0.1.tar.gz) = 56d1663196b34d5664e45eeed2b3530b7ce4728ba284aa9af4b11d07d6e652d0
 -SIZE (trac/mercurialplugin-0.12.0.1.tar.gz) = 20990
 +SHA256 (trac/mercurialplugin-1.0.tar.gz) = 4b18f13b4c7bb87f497760f6a8b7cfc9f75ea4cca187779c18d6541b8b65fa6f
 +SIZE (trac/mercurialplugin-1.0.tar.gz) = 79481
 # 
Responsible-Changed-From-To: freebsd-ports-bugs->rm 
Responsible-Changed-By: rm 
Responsible-Changed-When: Sun Feb 9 09:20:10 UTC 2014 
Responsible-Changed-Why:  
I will take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178196 
State-Changed-From-To: open->closed 
State-Changed-By: rm 
State-Changed-When: Sun Feb 9 21:56:18 UTC 2014 
State-Changed-Why:  
Committed, thank you! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/178196: commit references a PR
Date: Sun,  9 Feb 2014 21:56:05 +0000 (UTC)

 Author: rm
 Date: Sun Feb  9 21:55:52 2014
 New Revision: 343546
 URL: http://svnweb.freebsd.org/changeset/ports/343546
 QAT: https://qat.redports.org/buildarchive/r343546/
 
 Log:
   - update to 1.0.0.3 to fix support for mercurial >= 2.3.1 [1]
   - add LICENSE (GPLv2)
   - do not use easy_install and convert to auto-generated packing list
   
   PR:		178196
   Reported by:    Gabor HALASZ <halasz.g@freemail.hu> [1]
   Submitted by:	moto kawasaki <moto@kawasaki3.org> (based on)
 
 Modified:
   head/www/trac-mercurial/Makefile
   head/www/trac-mercurial/distinfo
 
 Modified: head/www/trac-mercurial/Makefile
 ==============================================================================
 --- head/www/trac-mercurial/Makefile	Sun Feb  9 21:55:51 2014	(r343545)
 +++ head/www/trac-mercurial/Makefile	Sun Feb  9 21:55:52 2014	(r343546)
 @@ -1,10 +1,9 @@
  # $FreeBSD$
  
 -PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;:L}
 -PORTVERSION=	0.12.0.1
 -PORTREVISION=	1
 +PORTNAME=	mercurial
 +PORTVERSION=	1.0.0.3
  CATEGORIES=	www devel python
 -MASTER_SITES=	LOCAL/pgollucci
 +MASTER_SITES=	LOCAL/rm
  PKGNAMEPREFIX=	trac-
  DISTNAME=	${PORTNAME}plugin-${PORTVERSION}
  DIST_SUBDIR=	trac
 @@ -12,22 +11,13 @@ DIST_SUBDIR=	trac
  MAINTAINER=	ports@FreeBSD.org
  COMMENT=	Plugin to use Mercurial instead of Subversion in Trac
  
 -RUN_DEPENDS+=	hg:${PORTSDIR}/devel/mercurial \
 +LICENSE=	GPLv2
 +
 +RUN_DEPENDS=	hg:${PORTSDIR}/devel/mercurial \
  		tracd:${PORTSDIR}/www/trac
  
 -USE_PYTHON=	2
 -USE_PYDISTUTILS=	easy_install
 -PYDISTUTILS_PKGNAME=	TracMercurial
 -PYDISTUTILS_PKGVERSION=	0.12.0.23dev
 -PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 -
 -.if defined(BOOTSTRAP)
 -do-fetch:
 -	${MKDIR} ${WRKDIR}
 -	svn export http://svn.edgewall.org/repos/trac/plugins/0.12/mercurial-plugin ${WRKSRC}
 -	${MKDIR} ${_DISTDIR}
 -	cd ${WRKDIR} && \
 -	    tar cfvz ${_DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
 -.endif
 +USE_PYTHON=		2
 +USE_PYDISTUTILS=	yes
 +PYDISTUTILS_AUTOPLIST=	yes
  
  .include <bsd.port.mk>
 
 Modified: head/www/trac-mercurial/distinfo
 ==============================================================================
 --- head/www/trac-mercurial/distinfo	Sun Feb  9 21:55:51 2014	(r343545)
 +++ head/www/trac-mercurial/distinfo	Sun Feb  9 21:55:52 2014	(r343546)
 @@ -1,2 +1,2 @@
 -SHA256 (trac/mercurialplugin-0.12.0.1.tar.gz) = 56d1663196b34d5664e45eeed2b3530b7ce4728ba284aa9af4b11d07d6e652d0
 -SIZE (trac/mercurialplugin-0.12.0.1.tar.gz) = 20990
 +SHA256 (trac/mercurialplugin-1.0.0.3.tar.gz) = 733f0e30c5b3e9521f72b755f471b8b8f9ae27f5643ab7ffb01d6ca4bcda2bc9
 +SIZE (trac/mercurialplugin-1.0.0.3.tar.gz) = 26597
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
