Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2010 23:04:54 +0200 (CEST)
From:      User & <hsn@freebsd7>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        hsn@sendmail.cz, mezz@FreeBSD.org
Subject:   ports/148193: [PATCH] net-p2p/transmission-cli: update to 2.00
Message-ID:  <201006272104.o5RL4sZx005402@fbsd8.localdomain>
Resent-Message-ID: <201006272130.o5RLU18j048217@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         148193
>Category:       ports
>Synopsis:       [PATCH] net-p2p/transmission-cli: update to 2.00
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 27 21:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006272104.o5RL4sZx005402>