pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/thrift
Module Name: pkgsrc
Committed By: taca
Date: Sun Mar 21 12:41:11 UTC 2021
Modified Files:
pkgsrc/devel/thrift: Makefile.version distinfo
pkgsrc/devel/thrift/patches: patch-configure
Added Files:
pkgsrc/devel/thrift/patches:
patch-lib_cpp_src_thrift_transport_SocketCommon.cpp
patch-lib_cpp_src_thrift_transport_TSocketUtils.h
Log Message:
devel/thrift: update to 0.14.0
0.14.0 (2021-03-08)
Deprecated Languages
* THRIFT-5229 - Deprecate ActionScript 3 support
Removed Languages
* THRIFT-4980 - Remove deprecated C# and netcore bindings from the code base
* THRIFT-4981 - Remove deprecated netcore bindings from the code base
* THRIFT-4982 - Remove deprecated C# bindings from the code base
Breaking Changes
* THRIFT-4981 - Remove deprecated netcore bindings from the code base
* THRIFT-4982 - Remove deprecated csharp bindings from the code base
* THRIFT-4990 - Upgrade to .NET Core 3.1 (LTS)
* THRIFT-5006 - Implement DEFAULT_MAX_LENGTH at TFramedTransport
* THRIFT-5069 - In Go library TDeserializer.Transport is now typed
*TMemoryBuffer instead of TTransport
* THRIFT-5072 - Haskell generator fails to distinguish between multiple enum
types with conflicting enum identifiers
* THRIFT-5116 - Upgrade NodeJS to 10.x
* THRIFT-5138 - Swift generator does not escape keywords properly
* THRIFT-5164 - In Go library TProcessor interface now includes ProcessorMap
and AddToProcessorMap functions.
* THRIFT-5186 - cpp: use all getaddrinfo() results when retrying failed
bind() in T{Nonblocking,}ServerSocket
* THRIFT-5233 - go: Now all Read*, Write* and Skip functions in TProtocol
accept context arg
* THRIFT-5152 - go: TSocket and TSSLSocket now have separated connect
timeout and socket timeout
* c++: dropped support for Windows XP
* THRIFT-5326 - go: TException interface now has a new function: TExceptionType
* THRIFT-4914 - go: TClient.Call now returns ResponseMeta in addition to error
Known Open Issues (Blocker or Critical)
* THRIFT-3877 - C++: library don't work with HTTP (csharp server, cpp
client; need cross test enhancement)
* THRIFT-5098 - Deprecated: "The high level Network interface is no longer
supported. Please use Network.Socket." and other Haskell issues
* THRIFT-5245 - NPE when the value of map's key is null
* THRIFT-4687 - Add thrift 0.12.0 to pypi and/or enable more maintainers
Build Process
* THRIFT-4976 - Docker build: Test failure for StalenessCheckTest on MacOS
* THRIFT-5087 - test/test.py fails with "AssertionError: Python 3.3 or later
is required for proper operation."
* THRIFT-5097 - Incorrect THRIFT_VERSION in ThriftConfig.cmake
* THRIFT-5109 - Misc CMake improvements
* THRIFT-5147 - Add uninstall function
* THRIFT-5218 - Automated Github release artifacts do not match checksums
provided
* THRIFT-5249 - travis-ci : Failed to run FastbinaryTest.py
Compiler (General)
* THRIFT-4173 - Go: thrift compiler generates wrong code for list of aliased
type
* THRIFT-4938 - Issues with version.h treatment
* THRIFT-4973 - Add deprecation messages for csharp and netcore
* THRIFT-4980 - Remove deprecated C# and netcore bindings from the code base
* THRIFT-4982 - Remove deprecated C# bindings from the code baseï…‚
* THRIFT-5153 - Deprecate byte
* THRIFT-5225 - Use nullptr instead of NULL
* THRIFT-5302 - Add recursive function name uniqueness check
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/thrift/Makefile.version
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/thrift/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/thrift/patches/patch-configure
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/thrift/patches/patch-lib_cpp_src_thrift_transport_SocketCommon.cpp \
pkgsrc/devel/thrift/patches/patch-lib_cpp_src_thrift_transport_TSocketUtils.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/thrift/Makefile.version
diff -u pkgsrc/devel/thrift/Makefile.version:1.3 pkgsrc/devel/thrift/Makefile.version:1.4
--- pkgsrc/devel/thrift/Makefile.version:1.3 Sat Jan 18 23:30:43 2020
+++ pkgsrc/devel/thrift/Makefile.version Sun Mar 21 12:41:11 2021
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile.version,v 1.3 2020/01/18 23:30:43 rillig Exp $
+# $NetBSD: Makefile.version,v 1.4 2021/03/21 12:41:11 taca Exp $
# used by devel/go-thrift/Makefile
# used by devel/p5-thrift/Makefile
# used by devel/py-thrift/Makefile
# used by devel/ruby-thrift/Makefile
# used by devel/thrift/Makefile.common
-DISTNAME= thrift-0.13.0
+DISTNAME= thrift-0.14.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_APACHE:=thrift/${PKGVERSION_NOREV}/}
Index: pkgsrc/devel/thrift/distinfo
diff -u pkgsrc/devel/thrift/distinfo:1.2 pkgsrc/devel/thrift/distinfo:1.3
--- pkgsrc/devel/thrift/distinfo:1.2 Sun Nov 10 18:05:33 2019
+++ pkgsrc/devel/thrift/distinfo Sun Mar 21 12:41:11 2021
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.2 2019/11/10 18:05:33 adam Exp $
+$NetBSD: distinfo,v 1.3 2021/03/21 12:41:11 taca Exp $
-SHA1 (thrift-0.13.0.tar.gz) = 0cbb06d047a8212c6ac1240492bc569609fecd33
-RMD160 (thrift-0.13.0.tar.gz) = 04cd735494a9d8558c2d22d1b99315ca859749c8
-SHA512 (thrift-0.13.0.tar.gz) = 5f7426d1e429ead20dd366f63a6d619071eccc17dc0395738307eef507b703733d029147fb596c4d392d31dc822777ea2a0be709f1f677b1221c9335cfcb09b7
-Size (thrift-0.13.0.tar.gz) = 4154357 bytes
-SHA1 (patch-configure) = 5955531cc1e5139b4957a5f94853c9358a3c87fd
+SHA1 (thrift-0.14.0.tar.gz) = ced3c99bede66e27daff7bd097adc329ff3682b9
+RMD160 (thrift-0.14.0.tar.gz) = a532ed4d425a308be0e780ad3ba717ee3c4e4186
+SHA512 (thrift-0.14.0.tar.gz) = 4bf1c9f8f7eeb75c5d70f14657d530a574002846266668c56c1153c6820e6ba199bb462893505cb8cfb7a4cc481b11a4fe84d0d26a3279424c5948f45fa8ce3f
+Size (thrift-0.14.0.tar.gz) = 4180456 bytes
+SHA1 (patch-configure) = 9c7c9747ea3845f8e7db7f923c313c96b96d3e9e
SHA1 (patch-lib_cpp_src_thrift_server_TNonblockingServer.cpp) = 1f648fc9ad2c3e3664e1baf64c1132a061dd249f
+SHA1 (patch-lib_cpp_src_thrift_transport_SocketCommon.cpp) = 48269cf7d6ce3df23ebffa3270462a8dd27e6762
+SHA1 (patch-lib_cpp_src_thrift_transport_TSocketUtils.h) = 56b03b612c7b638769f3137de09f254df9ea83c6
Index: pkgsrc/devel/thrift/patches/patch-configure
diff -u pkgsrc/devel/thrift/patches/patch-configure:1.1 pkgsrc/devel/thrift/patches/patch-configure:1.2
--- pkgsrc/devel/thrift/patches/patch-configure:1.1 Wed Sep 18 11:27:53 2019
+++ pkgsrc/devel/thrift/patches/patch-configure Sun Mar 21 12:41:11 2021
@@ -1,11 +1,11 @@
-$NetBSD: patch-configure,v 1.1 2019/09/18 11:27:53 adam Exp $
+$NetBSD: patch-configure,v 1.2 2021/03/21 12:41:11 taca Exp $
Fix broken BOOST_LIB_DIR detection.
Fix unportable test(1) operator.
---- configure.orig 2019-01-04 22:24:16.000000000 +0000
+--- configure.orig 2021-02-04 23:08:12.000000000 +0000
+++ configure
-@@ -18129,7 +18129,7 @@ fi
+@@ -18182,7 +18182,7 @@ fi
if test "x$succeeded" = "xyes" ; then
@@ -14,16 +14,7 @@ Fix unportable test(1) operator.
BOOST_CHRONO_LDADD=$(echo "$BOOST_LIB_DIR/libboost_chrono.a")
-@@ -19497,7 +19497,7 @@ else
- $as_echo "yes" >&6; }
- mono_2_11=yes
- fi
-- if test "$mono_2_11" == "yes"; then
-+ if test "$mono_2_11" = "yes"; then
- # Extract the first word of "mcs", so it can be a program name with args.
- set dummy mcs; ac_word=$2
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-@@ -23324,7 +23324,7 @@ $as_echo "yes" >&6; }
+@@ -23057,7 +23057,7 @@ $as_echo "yes" >&6; }
# Test whether OPTLINK is used by trying if DMD accepts -L/? without
# erroring out.
Added files:
Index: pkgsrc/devel/thrift/patches/patch-lib_cpp_src_thrift_transport_SocketCommon.cpp
diff -u /dev/null pkgsrc/devel/thrift/patches/patch-lib_cpp_src_thrift_transport_SocketCommon.cpp:1.1
--- /dev/null Sun Mar 21 12:41:11 2021
+++ pkgsrc/devel/thrift/patches/patch-lib_cpp_src_thrift_transport_SocketCommon.cpp Sun Mar 21 12:41:11 2021
@@ -0,0 +1,17 @@
+$NetBSD: patch-lib_cpp_src_thrift_transport_SocketCommon.cpp,v 1.1 2021/03/21 12:41:11 taca Exp $
+
+Need string.h for memcpy().
+
+--- lib/cpp/src/thrift/transport/SocketCommon.cpp.orig 2021-02-04 23:07:31.000000000 +0000
++++ lib/cpp/src/thrift/transport/SocketCommon.cpp
+@@ -34,6 +34,10 @@
+ #include <sys/un.h>
+ #endif
+
++#ifdef HAVE_STRING_H
++#include <string.h>
++#endif
++
+ #include <string>
+
+ #include <thrift/transport/PlatformSocket.h>
Index: pkgsrc/devel/thrift/patches/patch-lib_cpp_src_thrift_transport_TSocketUtils.h
diff -u /dev/null pkgsrc/devel/thrift/patches/patch-lib_cpp_src_thrift_transport_TSocketUtils.h:1.1
--- /dev/null Sun Mar 21 12:41:11 2021
+++ pkgsrc/devel/thrift/patches/patch-lib_cpp_src_thrift_transport_TSocketUtils.h Sun Mar 21 12:41:11 2021
@@ -0,0 +1,17 @@
+$NetBSD: patch-lib_cpp_src_thrift_transport_TSocketUtils.h,v 1.1 2021/03/21 12:41:11 taca Exp $
+
+* Hack for no AI_V4MAPPED platform.
+
+--- lib/cpp/src/thrift/transport/TSocketUtils.h.orig 2021-02-04 23:07:31.000000000 +0000
++++ lib/cpp/src/thrift/transport/TSocketUtils.h
+@@ -33,6 +33,10 @@
+ #include <netdb.h>
+ #endif
+
++#ifndef AI_V4MAPPED
++#define AI_V4MAPPED 0
++#endif
++
+ #include <thrift/transport/PlatformSocket.h>
+
+ namespace apache {
Home |
Main Index |
Thread Index |
Old Index