Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Dec 2011 20:26:16 GMT
From:      Valery Komaorv <komarov@valerka.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163131: [MAINTAINER UPDATE] devel/thrift
Message-ID:  <201112082026.pB8KQGPq061636@red.freebsd.org>
Resent-Message-ID: <201112082030.pB8KU94l056598@freefall.freebsd.org>

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

>Number:         163131
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] devel/thrift
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 08 20:30:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Valery Komaorv
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
>Description:
Update to version 0.8.0
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN ./thrift.orig/Makefile ./thrift/Makefile
--- ./thrift.orig/Makefile	2011-12-08 21:45:17.000000000 +0400
+++ ./thrift/Makefile	2011-12-08 23:25:54.000000000 +0400
@@ -2,17 +2,16 @@
 # Date created:	   27 September 2007
 # Whom:		   Sergey Skvortsov <skv@protey.ru>
 #
-# $FreeBSD: ports/devel/thrift/Makefile,v 1.25 2011/12/08 11:02:04 scheidell Exp $
+# $FreeBSD: ports/devel/thrift/Makefile,v 1.22 2011/08/11 22:37:13 skv Exp $
 #
 
 PORTNAME=	thrift
-PORTVERSION=	0.7.0
-PORTEPOCH=	1
+PORTVERSION=	0.8.0
 CATEGORIES=	devel
 MASTER_SITES=	APACHE
 MASTER_SITE_SUBDIR=	/thrift/${PORTVERSION}
 
-MAINTAINER=	skv@FreeBSD.org
+MAINTAINER=	komarov@valerka.net
 COMMENT=	Framework for scalable cross-language services development
 
 LICENSE=	ASL
@@ -55,6 +54,8 @@
 		--without-python \
 		--without-ruby
 
+.include <bsd.port.pre.mk>
+
 .if !defined(WITHOUT_GLIB)
     CONFIGURE_ARGS+=	--with-c_glib
     LIB_DEPENDS+=	glib-2.0:${PORTSDIR}/devel/glib20
@@ -65,8 +66,6 @@
     PLIST_SUB+=	WITH_GLIB="@comment "
 .endif
 
-.include <bsd.port.pre.mk>
-
 .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
 BROKEN=		Does not compile on ia64, powerpc, or sparc64
 .endif
@@ -76,9 +75,6 @@
 
 pre-configure:
 	@${REINPLACE_CMD} '/config.h/d' ${WRKSRC}/lib/cpp/Makefile.am
-	${CHMOD} 774 ${WRKSRC}/configure
-	${CHMOD} 774 ${WRKSRC}/install-sh
-	${CHMOD} 774 ${WRKSRC}/lib/php/src/ext/thrift_protocol/build/shtool
 
 post-install:
 	@${LN} -sf ${PREFIX}/lib/libthrift.so.0 ${PREFIX}/lib/libthrift.so
diff -ruN ./thrift.orig/distinfo ./thrift/distinfo
--- ./thrift.orig/distinfo	2011-12-08 21:45:17.000000000 +0400
+++ ./thrift/distinfo	2011-12-08 20:51:24.000000000 +0400
@@ -1,2 +1,2 @@
-SHA256 (thrift-0.7.0.tar.gz) = ca830156f6f1f94e77823eb5db6ff8f532ed5ccb9e913df83d0c3d6c4ddb9009
-SIZE (thrift-0.7.0.tar.gz) = 2248326
+SHA256 (thrift-0.8.0.tar.gz) = 5e280097d88400f5e2db75595a04e1981538e48869cd6915bb9c4831605f0793
+SIZE (thrift-0.8.0.tar.gz) = 2336261
diff -ruN ./thrift.orig/files/patch-lib__c_glib__src__transport__thrift_framed_transport.h ./thrift/files/patch-lib__c_glib__src__transport__thrift_framed_transport.h
--- ./thrift.orig/files/patch-lib__c_glib__src__transport__thrift_framed_transport.h	2011-08-29 20:00:03.000000000 +0400
+++ ./thrift/files/patch-lib__c_glib__src__transport__thrift_framed_transport.h	2011-12-08 23:53:30.000000000 +0400
@@ -1,5 +1,5 @@
---- ./lib/c_glib/src/transport/thrift_framed_transport.h.orig	2011-08-11 17:18:58.000000000 +0400
-+++ ./lib/c_glib/src/transport/thrift_framed_transport.h	2011-08-26 12:00:03.000000000 +0400
+--- ./lib/c_glib/src/transport/thrift_framed_transport.h.orig	2011-11-26 23:00:36.000000000 +0400
++++ ./lib/c_glib/src/transport/thrift_framed_transport.h	2011-12-08 23:52:32.000000000 +0400
 @@ -22,6 +22,7 @@
  
  #include <glib.h>
diff -ruN ./thrift.orig/files/patch-lib__c_glib__src__transport__thrift_socket.h ./thrift/files/patch-lib__c_glib__src__transport__thrift_socket.h
--- ./thrift.orig/files/patch-lib__c_glib__src__transport__thrift_socket.h	2011-08-29 20:00:03.000000000 +0400
+++ ./thrift/files/patch-lib__c_glib__src__transport__thrift_socket.h	2011-12-08 23:53:30.000000000 +0400
@@ -1,5 +1,5 @@
---- ./lib/c_glib/src/transport/thrift_socket.h.orig	2011-08-11 17:18:58.000000000 +0400
-+++ ./lib/c_glib/src/transport/thrift_socket.h	2011-08-26 11:58:33.000000000 +0400
+--- ./lib/c_glib/src/transport/thrift_socket.h.orig	2011-11-26 23:00:36.000000000 +0400
++++ ./lib/c_glib/src/transport/thrift_socket.h	2011-12-08 23:52:32.000000000 +0400
 @@ -21,6 +21,8 @@
  #define _THRIFT_SOCKET_H
  
diff -ruN ./thrift.orig/files/patch-lib__cpp__Makefile.am ./thrift/files/patch-lib__cpp__Makefile.am
--- ./thrift.orig/files/patch-lib__cpp__Makefile.am	1970-01-01 03:00:00.000000000 +0300
+++ ./thrift/files/patch-lib__cpp__Makefile.am	2011-12-08 23:53:30.000000000 +0400
@@ -0,0 +1,27 @@
+--- ./lib/cpp/Makefile.am.orig	2011-11-26 23:00:42.000000000 +0400
++++ ./lib/cpp/Makefile.am	2011-12-08 23:52:32.000000000 +0400
+@@ -23,11 +23,11 @@
+ SUBDIRS += test
+ endif
+ 
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir=${prefix}/libdata/pkgconfig
+ 
+ lib_LTLIBRARIES = libthrift.la
+ pkgconfig_DATA = thrift.pc
+-libthrift_la_LDFLAGS = -release $(VERSION) $(BOOST_LDFLAGS)
++libthrift_la_LDFLAGS = -version-info 0 $(BOOST_LDFLAGS)
+ 
+ ## We only build the extra libraries if we have the dependencies,
+ ## but we install all of the headers unconditionally.
+@@ -99,8 +99,8 @@
+ libthriftz_la_CPPFLAGS  = $(AM_CPPFLAGS) $(ZLIB_CPPFLAGS)
+ libthriftnb_la_CXXFLAGS = $(AM_CXXFLAGS)
+ libthriftz_la_CXXFLAGS  = $(AM_CXXFLAGS)
+-libthriftnb_la_LDFLAGS  = -release $(VERSION) $(BOOST_LDFLAGS)
+-libthriftz_la_LDFLAGS   = -release $(VERSION) $(BOOST_LDFLAGS)
++libthriftnb_la_LDFLAGS  = -version-info 0 $(BOOST_LDFLAGS)
++libthriftz_la_LDFLAGS   = -version-info 0 $(BOOST_LDFLAGS)
+ 
+ include_thriftdir = $(includedir)/thrift
+ include_thrift_HEADERS = \
diff -ruN ./thrift.orig/files/patch-lib__cpp__src__protocol__TBinaryProtocol.tcc ./thrift/files/patch-lib__cpp__src__protocol__TBinaryProtocol.tcc
--- ./thrift.orig/files/patch-lib__cpp__src__protocol__TBinaryProtocol.tcc	1970-01-01 03:00:00.000000000 +0300
+++ ./thrift/files/patch-lib__cpp__src__protocol__TBinaryProtocol.tcc	2011-12-08 23:53:30.000000000 +0400
@@ -0,0 +1,11 @@
+--- ./lib/cpp/src/protocol/TBinaryProtocol.tcc.orig	2011-11-26 23:00:40.000000000 +0400
++++ ./lib/cpp/src/protocol/TBinaryProtocol.tcc	2011-12-08 23:53:23.000000000 +0400
+@@ -23,7 +23,7 @@
+ #include "TBinaryProtocol.h"
+ 
+ #include <limits>
+-
++#include <netinet/in.h>
+ 
+ namespace apache { namespace thrift { namespace protocol {
+ 
diff -ruN ./thrift.orig/files/patch-lib__cpp__src__server__TNonblockingServer.h ./thrift/files/patch-lib__cpp__src__server__TNonblockingServer.h
--- ./thrift.orig/files/patch-lib__cpp__src__server__TNonblockingServer.h	2011-08-29 20:00:04.000000000 +0400
+++ ./thrift/files/patch-lib__cpp__src__server__TNonblockingServer.h	2011-12-08 23:53:30.000000000 +0400
@@ -1,7 +1,7 @@
---- ./lib/cpp/src/server/TNonblockingServer.h.orig	2011-08-11 17:18:59.000000000 +0400
-+++ ./lib/cpp/src/server/TNonblockingServer.h	2011-08-26 11:47:01.000000000 +0400
-@@ -33,6 +33,9 @@
- #include <unistd.h>
+--- ./lib/cpp/src/server/TNonblockingServer.h.orig	2011-11-26 23:00:40.000000000 +0400
++++ ./lib/cpp/src/server/TNonblockingServer.h	2011-12-08 23:52:32.000000000 +0400
+@@ -35,6 +35,9 @@
+ #endif
  #include <event.h>
  
 +#include <sys/types.h>
diff -ruN ./thrift.orig/pkg-plist ./thrift/pkg-plist
--- ./thrift.orig/pkg-plist	2011-12-08 21:45:17.000000000 +0400
+++ ./thrift/pkg-plist	2011-12-08 23:09:17.000000000 +0400
@@ -10,10 +10,12 @@
 include/thrift/async/TAsyncProtocolProcessor.h
 include/thrift/async/TEvhttpClientChannel.h
 include/thrift/async/TEvhttpServer.h
+include/thrift/concurrency/BoostThreadFactory.h
 include/thrift/concurrency/Exception.h
 include/thrift/concurrency/FunctionRunner.h
 include/thrift/concurrency/Monitor.h
 include/thrift/concurrency/Mutex.h
+include/thrift/concurrency/PlatformThreadFactory.h
 include/thrift/concurrency/PosixThreadFactory.h
 include/thrift/concurrency/Thread.h
 include/thrift/concurrency/ThreadManager.h


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



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