From hsn@sendmail.cz  Sun Jun 27 21:26:27 2010
Return-Path: <hsn@sendmail.cz>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EBE311065686;
	Sun, 27 Jun 2010 21:26:26 +0000 (UTC)
	(envelope-from hsn@sendmail.cz)
Received: from slush.phatservers.com (slush.phatservers.com [64.6.104.18])
	by mx1.freebsd.org (Postfix) with ESMTP id D591E8FC37;
	Sun, 27 Jun 2010 21:26:26 +0000 (UTC)
Received: from fbsd8.localdomain (205.83.broadband7.iol.cz [88.102.83.205])
	(authenticated bits=128)
	by slush.phatservers.com (8.14.3/8.14.3) with ESMTP id o5RL51lA011228;
	Sun, 27 Jun 2010 14:05:03 -0700 (PDT)
	(envelope-from hsn@sendmail.cz)
Received: from fbsd8.localdomain (localhost [127.0.0.1])
	by fbsd8.localdomain (8.14.4/8.14.4) with ESMTP id o5RL4sIG005403;
	Sun, 27 Jun 2010 23:04:54 +0200 (CEST)
	(envelope-from hsn@fbsd8.localdomain)
Received: (from hsn@localhost)
	by fbsd8.localdomain (8.14.4/8.14.4/Submit) id o5RL4sZx005402;
	Sun, 27 Jun 2010 23:04:54 +0200 (CEST)
	(envelope-from hsn)
Message-Id: <201006272104.o5RL4sZx005402@fbsd8.localdomain>
Date: Sun, 27 Jun 2010 23:04:54 +0200 (CEST)
From: User & <hsn@freebsd7>
To: FreeBSD-gnats-submit@freebsd.org
Cc: mezz@freebsd.org, hsn@sendmail.cz
Subject: [PATCH] net-p2p/transmission-cli: update to 2.00
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         148193
>Category:       ports
>Synopsis:       [PATCH] net-p2p/transmission-cli: update to 2.00
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mezz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 27 21:30:01 UTC 2010
>Closed-Date:    Mon Jun 28 01:40:18 UTC 2010
>Last-Modified:  Mon Jun 28 01:40:18 UTC 2010
>Originator:     User &
>Release:        FreeBSD 8.1-RC2 i386
>Organization:
>Environment:
System: FreeBSD fbsd8.localdomain 8.1-RC2 FreeBSD 8.1-RC2 #2: Sun Jun 27 10:27:52 CEST 2010
>Description:
- Update to 2.00

Port maintainer (mezz@FreeBSD.org) is cc'd.

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

--- transmission-cli-2.00.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net-p2p/transmission-cli/Makefile /home/hsn/ports/transmission-cli/Makefile
--- /usr/ports/net-p2p/transmission-cli/Makefile	2010-05-09 06:39:53.000000000 +0200
+++ /home/hsn/ports/transmission-cli/Makefile	2010-06-26 09:00:33.877108148 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	transmission
-PORTVERSION=	1.93
+PORTVERSION=	2.00
 PORTREVISION?=	0
 CATEGORIES?=	net-p2p
 MASTER_SITES=	http://download.m0k.org/${PORTNAME}/files/
@@ -20,14 +20,15 @@
 LIB_DEPENDS?=	${GEN_LIB_DEPENDS}
 
 # General dependencies
-GEN_LIB_DEPENDS=curl.6:${PORTSDIR}/ftp/curl
+GEN_LIB_DEPENDS=curl.6:${PORTSDIR}/ftp/curl \
+		event-1.4.3:${PORTSDIR}/devel/libevent
 GEN_RUN_DEPENDS=${LOCALBASE}/share/transmission/web/index.html:${PORTSDIR}/www/transmission-web
 
 USE_GMAKE=	yes
 USE_GNOME?=	pkgconfig
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=--with-ssl=${OPENSSLBASE} \
+CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE} \
 		--with-zlib=/usr \
 		--disable-libappindicator \
 		--disable-gconf2 \
@@ -48,9 +49,11 @@
 DOCS=		AUTHORS COPYING NEWS README
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
 
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}"
+
 general-patch:
-	@${REINPLACE_CMD} -e 's|SUBDIRS = . sample.*|SUBDIRS = .|g' \
-		${WRKSRC}/third-party/libevent/Makefile.in
 	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
 		's|noinst_PROGRAMS = |noinst_PROGRAMS = #|g'
 .if ${SLAVEPORT}!="gtk2"
@@ -58,11 +61,8 @@
 		${WRKSRC}/libtransmission/utils.h
 .endif
 	@${REINPLACE_CMD} -e \
-		's|_pthread_flags=".*"|_pthread_flags="${PTHREAD_LIBS}"|g ; \
-		s|libevent_source=system|libevent_source=bundled|g' \
+		's|_pthread_flags=".*"|_pthread_flags="${PTHREAD_LIBS}"|g' \
 			${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|-lrt||g' \
-		${WRKSRC}/third-party/libevent/configure
 	@${REINPLACE_CMD} -e 's|doc \\| \\|g' \
 		${WRKSRC}/Makefile.in
 
diff -ruN --exclude=CVS /usr/ports/net-p2p/transmission-cli/distinfo /home/hsn/ports/transmission-cli/distinfo
--- /usr/ports/net-p2p/transmission-cli/distinfo	2010-05-09 06:39:53.000000000 +0200
+++ /home/hsn/ports/transmission-cli/distinfo	2010-06-26 00:33:57.813242458 +0200
@@ -1,3 +1,3 @@
-MD5 (transmission-1.93.tar.bz2) = f68358d03e46bec5704bbaa894990152
-SHA256 (transmission-1.93.tar.bz2) = e9b7b1fb9aad2808ee27b163dba8647f738c23513201864fa9944010b8d71670
-SIZE (transmission-1.93.tar.bz2) = 4381746
+MD5 (transmission-2.00.tar.bz2) = 9b7c729d71d6c400ffec48a969e95525
+SHA256 (transmission-2.00.tar.bz2) = 370abe5058f378382826511a8611e20a98f81a726e07ce74e4040e9b9fb5f0e7
+SIZE (transmission-2.00.tar.bz2) = 4259539
--- transmission-cli-2.00.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mezz 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jun 27 21:30:12 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148193 
State-Changed-From-To: open->closed 
State-Changed-By: mezz 
State-Changed-When: Mon Jun 28 01:39:02 UTC 2010 
State-Changed-Why:  
Why did you file another same exactly PR? Closing this PR for the same reason 
as here: ports/148160 

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