pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/thrift devel/thrift: update to 0.14.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2bf3757e85dc
branches:  trunk
changeset: 449124:2bf3757e85dc
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Mar 21 12:41:11 2021 +0000

description:
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

diffstat:

 devel/thrift/Makefile.version                                            |   4 +-
 devel/thrift/distinfo                                                    |  14 ++++---
 devel/thrift/patches/patch-configure                                     |  17 ++-------
 devel/thrift/patches/patch-lib_cpp_src_thrift_transport_SocketCommon.cpp |  17 ++++++++++
 devel/thrift/patches/patch-lib_cpp_src_thrift_transport_TSocketUtils.h   |  17 ++++++++++
 5 files changed, 48 insertions(+), 21 deletions(-)

diffs (115 lines):

diff -r 2c0247ad0cc8 -r 2bf3757e85dc devel/thrift/Makefile.version
--- a/devel/thrift/Makefile.version     Sun Mar 21 12:39:52 2021 +0000
+++ b/devel/thrift/Makefile.version     Sun Mar 21 12:41:11 2021 +0000
@@ -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}/}
 
diff -r 2c0247ad0cc8 -r 2bf3757e85dc devel/thrift/distinfo
--- a/devel/thrift/distinfo     Sun Mar 21 12:39:52 2021 +0000
+++ b/devel/thrift/distinfo     Sun Mar 21 12:41:11 2021 +0000
@@ -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
diff -r 2c0247ad0cc8 -r 2bf3757e85dc devel/thrift/patches/patch-configure
--- a/devel/thrift/patches/patch-configure      Sun Mar 21 12:39:52 2021 +0000
+++ b/devel/thrift/patches/patch-configure      Sun Mar 21 12:41:11 2021 +0000
@@ -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 @@
  
      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.
diff -r 2c0247ad0cc8 -r 2bf3757e85dc devel/thrift/patches/patch-lib_cpp_src_thrift_transport_SocketCommon.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/thrift/patches/patch-lib_cpp_src_thrift_transport_SocketCommon.cpp  Sun Mar 21 12:41:11 2021 +0000
@@ -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>
diff -r 2c0247ad0cc8 -r 2bf3757e85dc devel/thrift/patches/patch-lib_cpp_src_thrift_transport_TSocketUtils.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/thrift/patches/patch-lib_cpp_src_thrift_transport_TSocketUtils.h    Sun Mar 21 12:41:11 2021 +0000
@@ -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