ports/159370: [PATCH] devel/thrift: update to 0.6.1

Gasol Wu gasol.wu at gmail.com
Tue Aug 2 03:10:13 UTC 2011


>Number:         159370
>Category:       ports
>Synopsis:       [PATCH] devel/thrift: update to 0.6.1
>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:   Tue Aug 02 03:10:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Gasol Wu
>Release:        FreeBSD 7.4-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD aqua 7.4-RELEASE FreeBSD 7.4-RELEASE #0: Fri Feb 18 01:55:22 UTC 2011
>Description:
- Update to 0.6.1

Removed file(s):
- pkg-plist

Port maintainer (skv at FreeBSD.org) is cc'd.

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

--- thrift-0.6.1,1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/thrift/Makefile /.amd_mnt/10.1.1.100/vol/users/pixuser/gasol/ports/devel/thrift/Makefile
--- /usr/ports/devel/thrift/Makefile	2010-12-11 07:05:04.000000000 +0800
+++ /.amd_mnt/10.1.1.100/vol/users/pixuser/gasol/ports/devel/thrift/Makefile	2011-08-02 01:21:11.762486000 +0800
@@ -6,12 +6,11 @@
 #
 
 PORTNAME=	thrift
-PORTVERSION=	0.4.0
+PORTVERSION=	0.6.1
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	APACHE
-MASTER_SITE_SUBDIR=	incubator/thrift/${PORTVERSION}-incubating
-DISTNAME=	thrift-${PORTVERSION}
+MASTER_SITE_SUBDIR=	/thrift/${PORTVERSION}
 
 MAINTAINER=	skv at FreeBSD.org
 COMMENT=	Framework for scalable cross-language services development
@@ -19,8 +18,8 @@
 LIB_DEPENDS=	boost_iostreams:${PORTSDIR}/devel/boost-libs \
 		event-1.4:${PORTSDIR}/devel/libevent
 
-USE_AUTOTOOLS=	autoconf:env autoheader:env aclocal:env \
-		automake:env libtool:env
+USE_AUTOTOOLS=	autoconf:env autoheader:env aclocal:env automake:env libtool:env
+
 USE_GNOME=	pkgconfig
 USE_GCC=	4.2+
 GNU_CONFIGURE=	yes
@@ -45,8 +44,12 @@
 		--without-java \
 		--without-perl \
 		--without-php \
-		--without-py \
-		--without-ruby
+		--without-php_extension \
+		--without-python \
+		--without-ruby \
+		--without-haskell
+
+PLIST_FILES=	bin/thrift
 
 .include <bsd.port.pre.mk>
 
@@ -54,22 +57,13 @@
 BROKEN=		Does not compile on sparc64
 .endif
 
-post-patch:
-	@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' ${WRKSRC}/lib/cpp/Makefile.am
-
-pre-configure:
-	@(cd ${WRKSRC} && ./bootstrap.sh)
-
 post-install:
-	@${LN} -sf ${PREFIX}/lib/libthrift.so.0 ${PREFIX}/lib/libthrift.so
-	@${LN} -sf ${PREFIX}/lib/libthriftnb.so.0 ${PREFIX}/lib/libthriftnb.so
-	@${LN} -sf ${PREFIX}/lib/libthriftz.so.0 ${PREFIX}/lib/libthriftz.so
 	@${ECHO_MSG}
 	@${ECHO_MSG} "For use with C++, the same compiler as used to build this port must be used"
 	@${ECHO_MSG} "to compile and link your generated IDL bindings."
 	@${ECHO_MSG}
 	@${ECHO_MSG} "Note: The Thrift white paper may be downloaded from:"
-	@${ECHO_MSG} "http://incubator.apache.org/thrift/static/thrift-20070401.pdf"
+	@${ECHO_MSG} "http://thrift.apache.org/static/thrift-20070401.pdf"
 	@${ECHO_MSG}
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/devel/thrift/distinfo /.amd_mnt/10.1.1.100/vol/users/pixuser/gasol/ports/devel/thrift/distinfo
--- /usr/ports/devel/thrift/distinfo	2011-07-03 22:59:16.000000000 +0800
+++ /.amd_mnt/10.1.1.100/vol/users/pixuser/gasol/ports/devel/thrift/distinfo	2011-08-01 17:18:12.844880000 +0800
@@ -1,2 +1,2 @@
-SHA256 (thrift-0.4.0.tar.gz) = 7cb8825a8888686ed6a9e229c9e9fcd9878a4af623785e1b22cdcc01a578d248
-SIZE (thrift-0.4.0.tar.gz) = 1206710
+SHA256 (thrift-0.6.1.tar.gz) = 1bed1ea17bf31c861fa8dd6e0182360eb8234383f32d0e4a36b70047b2e6b313
+SIZE (thrift-0.6.1.tar.gz) = 2034583
diff -ruN --exclude=CVS /usr/ports/devel/thrift/pkg-descr /.amd_mnt/10.1.1.100/vol/users/pixuser/gasol/ports/devel/thrift/pkg-descr
--- /usr/ports/devel/thrift/pkg-descr	2009-06-24 06:20:17.000000000 +0800
+++ /.amd_mnt/10.1.1.100/vol/users/pixuser/gasol/ports/devel/thrift/pkg-descr	2011-08-02 01:19:42.151416000 +0800
@@ -9,4 +9,4 @@
 Thrift is specifically designed to support non-atomic version changes
 across client and server code.
 
-WWW: http://incubator.apache.org/thrift/
+WWW: http://thrift.apache.org
diff -ruN --exclude=CVS /usr/ports/devel/thrift/pkg-plist /.amd_mnt/10.1.1.100/vol/users/pixuser/gasol/ports/devel/thrift/pkg-plist
--- /usr/ports/devel/thrift/pkg-plist	2010-12-11 07:05:04.000000000 +0800
+++ /.amd_mnt/10.1.1.100/vol/users/pixuser/gasol/ports/devel/thrift/pkg-plist	1970-01-01 08:00:00.000000000 +0800
@@ -1,71 +0,0 @@
- at comment $FreeBSD: ports/devel/thrift/pkg-plist,v 1.4 2010/12/10 23:05:04 pgollucci Exp $
-bin/thrift
-include/thrift/TApplicationException.h
-include/thrift/TLogging.h
-include/thrift/TProcessor.h
-include/thrift/TReflectionLocal.h
-include/thrift/Thrift.h
-include/thrift/concurrency/Exception.h
-include/thrift/concurrency/FunctionRunner.h
-include/thrift/concurrency/Monitor.h
-include/thrift/concurrency/Mutex.h
-include/thrift/concurrency/PosixThreadFactory.h
-include/thrift/concurrency/Thread.h
-include/thrift/concurrency/ThreadManager.h
-include/thrift/concurrency/TimerManager.h
-include/thrift/concurrency/Util.h
-include/thrift/config.h
-include/thrift/processor/PeekProcessor.h
-include/thrift/processor/StatsProcessor.h
-include/thrift/protocol/TBase64Utils.h
-include/thrift/protocol/TBinaryProtocol.h
-include/thrift/protocol/TCompactProtocol.h
-include/thrift/protocol/TDebugProtocol.h
-include/thrift/protocol/TDenseProtocol.h
-include/thrift/protocol/TJSONProtocol.h
-include/thrift/protocol/TOneWayProtocol.h
-include/thrift/protocol/TProtocol.h
-include/thrift/protocol/TProtocolException.h
-include/thrift/protocol/TProtocolTap.h
-include/thrift/server/TNonblockingServer.h
-include/thrift/server/TServer.h
-include/thrift/server/TSimpleServer.h
-include/thrift/server/TThreadPoolServer.h
-include/thrift/server/TThreadedServer.h
-include/thrift/transport/TBufferTransports.h
-include/thrift/transport/TFDTransport.h
-include/thrift/transport/TFileTransport.h
-include/thrift/transport/THttpClient.h
-include/thrift/transport/THttpServer.h
-include/thrift/transport/THttpTransport.h
-include/thrift/transport/TServerSocket.h
-include/thrift/transport/TServerTransport.h
-include/thrift/transport/TShortReadTransport.h
-include/thrift/transport/TSimpleFileTransport.h
-include/thrift/transport/TSocket.h
-include/thrift/transport/TSocketPool.h
-include/thrift/transport/TTransport.h
-include/thrift/transport/TTransportException.h
-include/thrift/transport/TTransportUtils.h
-include/thrift/transport/TZlibTransport.h
-lib/libthrift.a
-lib/libthrift.la
-lib/libthrift.so
-lib/libthrift.so.0
-lib/libthriftnb.a
-lib/libthriftnb.la
-lib/libthriftnb.so
-lib/libthriftnb.so.0
-lib/libthriftz.a
-lib/libthriftz.la
-lib/libthriftz.so
-lib/libthriftz.so.0
-libdata/pkgconfig/thrift-nb.pc
-libdata/pkgconfig/thrift-z.pc
-libdata/pkgconfig/thrift.pc
- at dirrm include/thrift/transport
- at dirrm include/thrift/server
- at dirrm include/thrift/protocol
- at dirrm include/thrift/processor
- at dirrm include/thrift/concurrency
- at dirrm include/thrift
--- thrift-0.6.1,1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list