ports/154606: [PATCH] devel/thrift: update to 0.6.0
Jui-Nan Lin
jnlin at csie.nctu.edu.tw
Wed Feb 9 09:00:22 UTC 2011
>Number: 154606
>Category: ports
>Synopsis: [PATCH] devel/thrift: update to 0.6.0
>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: Wed Feb 09 09:00:21 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Jui-Nan Lin
>Release: FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD Florence.tamama.org 8.1-RELEASE FreeBSD 8.1-RELEASE #11: Tue Aug 24 22:33:35 CST 2010
>Description:
- Update to 0.6.0
This patch only installs thrift executive file.
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.0,1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/thrift/Makefile /home/users/jnlin/ports/thrift/Makefile
--- /usr/ports/devel/thrift/Makefile 2010-12-11 07:05:04.000000000 +0800
+++ /home/users/jnlin/ports/thrift/Makefile 2011-02-09 16:29:12.948653340 +0800
@@ -6,11 +6,11 @@
#
PORTNAME= thrift
-PORTVERSION= 0.4.0
+PORTVERSION= 0.6.0
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= incubator/thrift/${PORTVERSION}-incubating
+MASTER_SITE_SUBDIR= /thrift/${PORTVERSION}
DISTNAME= thrift-${PORTVERSION}
MAINTAINER= skv at FreeBSD.org
@@ -19,8 +19,6 @@
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_GNOME= pkgconfig
USE_GCC= 4.2+
GNU_CONFIGURE= yes
@@ -28,6 +26,8 @@
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
+PLIST_FILES= bin/thrift
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CONFIGURE_ARGS= --with-boost=${LOCALBASE} --with-libevent=${LOCALBASE} \
--enable-shared --enable-static --with-zlib
@@ -45,7 +45,7 @@
--without-java \
--without-perl \
--without-php \
- --without-py \
+ --without-python \
--without-ruby
.include <bsd.port.pre.mk>
@@ -57,13 +57,7 @@
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."
diff -ruN --exclude=CVS /usr/ports/devel/thrift/distinfo /home/users/jnlin/ports/thrift/distinfo
--- /usr/ports/devel/thrift/distinfo 2010-12-11 07:05:04.000000000 +0800
+++ /home/users/jnlin/ports/thrift/distinfo 2011-02-09 15:44:33.278384825 +0800
@@ -1,3 +1,2 @@
-MD5 (thrift-0.4.0.tar.gz) = bb8466e5b884e9edef862a64f57abe38
-SHA256 (thrift-0.4.0.tar.gz) = 7cb8825a8888686ed6a9e229c9e9fcd9878a4af623785e1b22cdcc01a578d248
-SIZE (thrift-0.4.0.tar.gz) = 1206710
+SHA256 (thrift-0.6.0.tar.gz) = c1a282de4d24c772cdf62ab110cf24937fd3c42d807e9cfd49d77c1488c0b7c5
+SIZE (thrift-0.6.0.tar.gz) = 6291833
diff -ruN --exclude=CVS /usr/ports/devel/thrift/pkg-plist /home/users/jnlin/ports/thrift/pkg-plist
--- /usr/ports/devel/thrift/pkg-plist 2010-12-11 07:05:04.000000000 +0800
+++ /home/users/jnlin/ports/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.0,1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list