git: 519e762a6f42 - main - devel/thrift: update to 0.16.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Nov 2022 15:41:55 UTC
The branch main has been updated by mfechner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=519e762a6f42268d5aacc56c84636f1ad7a17496
commit 519e762a6f42268d5aacc56c84636f1ad7a17496
Author: Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2022-10-20 14:21:01 +0000
Commit: Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2022-11-07 15:41:44 +0000
devel/thrift: update to 0.16.0
Changelog:
https://github.com/apache/thrift/blob/master/CHANGES.md#0160
This update to required for gitlab-ce 15.4.
PR: 267228
Approved by: komarov@valerka.net (maintainer timeout)
Differential Revision: https://reviews.freebsd.org/D37068
---
devel/rubygem-thrift/distinfo | 6 +++---
devel/thrift-c_glib/pkg-plist | 6 ++++++
.../patch-lib_cpp_src_thrift_transport_SocketCommon.cpp | 12 ++++++------
devel/thrift-cpp/pkg-plist | 1 +
devel/thrift/bsd.thrift.mk | 3 ++-
devel/thrift/distinfo | 6 +++---
6 files changed, 21 insertions(+), 13 deletions(-)
diff --git a/devel/rubygem-thrift/distinfo b/devel/rubygem-thrift/distinfo
index 64a5d4ab25d6..1cc94f7cd25e 100644
--- a/devel/rubygem-thrift/distinfo
+++ b/devel/rubygem-thrift/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1614981436
-SHA256 (rubygem/thrift-0.14.0.gem) = b648fdec62324fcc6b1c420248c63bc2d6b819303d6122b228294fc2284798ec
-SIZE (rubygem/thrift-0.14.0.gem) = 75776
+TIMESTAMP = 1665845770
+SHA256 (rubygem/thrift-0.16.0.gem) = d023286ea89e30444c9f1c28dd76107f87d8aaf85fe1742da1d8cd3b5417dcce
+SIZE (rubygem/thrift-0.16.0.gem) = 75776
diff --git a/devel/thrift-c_glib/pkg-plist b/devel/thrift-c_glib/pkg-plist
index 160706a926dc..c9ef9f2c9220 100644
--- a/devel/thrift-c_glib/pkg-plist
+++ b/devel/thrift-c_glib/pkg-plist
@@ -31,9 +31,15 @@ include/thrift/c_glib/transport/thrift_socket.h
include/thrift/c_glib/transport/thrift_ssl_socket.h
include/thrift/c_glib/transport/thrift_transport.h
include/thrift/c_glib/transport/thrift_transport_factory.h
+include/thrift/c_glib/transport/thrift_zlib_transport.h
+include/thrift/c_glib/transport/thrift_zlib_transport_factory.h
lib/libthrift_c_glib.so
lib/libthrift_c_glib.so.%%PORTVERSION%%
+lib/libthrift_c_glib_zlib.so
+lib/libthrift_c_glib_zlib.so.%%PORTVERSION%%
lib/cmake/thrift/ThriftConfig.cmake
lib/cmake/thrift/ThriftConfigVersion.cmake
lib/cmake/thrift/thrift_c_glibTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/thrift/thrift_c_glibTargets.cmake
+lib/cmake/thrift/thrift_c_glib_zlibTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/thrift/thrift_c_glib_zlibTargets.cmake
diff --git a/devel/thrift-cpp/files/patch-lib_cpp_src_thrift_transport_SocketCommon.cpp b/devel/thrift-cpp/files/patch-lib_cpp_src_thrift_transport_SocketCommon.cpp
index 143758d0a644..61863fdc2fa9 100644
--- a/devel/thrift-cpp/files/patch-lib_cpp_src_thrift_transport_SocketCommon.cpp
+++ b/devel/thrift-cpp/files/patch-lib_cpp_src_thrift_transport_SocketCommon.cpp
@@ -1,14 +1,14 @@
---- lib/cpp/src/thrift/transport/SocketCommon.cpp.orig 2021-03-05 23:09:13 UTC
+--- lib/cpp/src/thrift/transport/SocketCommon.cpp.orig 2022-01-20 19:36:56 UTC
+++ lib/cpp/src/thrift/transport/SocketCommon.cpp
-@@ -24,6 +24,11 @@
+@@ -26,6 +26,11 @@
- #ifndef _WIN32
+ #include <cstring>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
- #include <thrift/thrift-config.h>
-
- #ifdef HAVE_UNISTD_H
+ namespace apache {
+ namespace thrift {
+ namespace transport {
diff --git a/devel/thrift-cpp/pkg-plist b/devel/thrift-cpp/pkg-plist
index c6aa7553fa6c..d50af49a4d15 100644
--- a/devel/thrift-cpp/pkg-plist
+++ b/devel/thrift-cpp/pkg-plist
@@ -4,6 +4,7 @@ include/thrift/TBase.h
include/thrift/TConfiguration.h
include/thrift/TDispatchProcessor.h
include/thrift/TLogging.h
+include/thrift/TNonCopyable.h
include/thrift/TOutput.h
include/thrift/TProcessor.h
include/thrift/TToString.h
diff --git a/devel/thrift/bsd.thrift.mk b/devel/thrift/bsd.thrift.mk
index 230d6705b29e..048e2fd3bd14 100644
--- a/devel/thrift/bsd.thrift.mk
+++ b/devel/thrift/bsd.thrift.mk
@@ -2,8 +2,9 @@
# in your makefile, set:
# PORTVERSION= ${THRIFT_PORTVERSION}
# see $PORTSDIR/devel/thrift for examples
-THRIFT_PORTVERSION= 0.14.0
+THRIFT_PORTVERSION= 0.16.0
+MASTER_SITE_APACHE+= https://archive.apache.org/dist/%SUBDIR%/
CONFIGURE_ARGS+= \
--without-tests
diff --git a/devel/thrift/distinfo b/devel/thrift/distinfo
index 9435b07f15e3..baeb74e7e674 100644
--- a/devel/thrift/distinfo
+++ b/devel/thrift/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1614981388
-SHA256 (thrift-0.14.0.tar.gz) = 8dcb64f63126522e1a3fd65bf6e5839bc3d3f1e13eb514ce0c2057c9b898ff71
-SIZE (thrift-0.14.0.tar.gz) = 4180456
+TIMESTAMP = 1666107014
+SHA256 (thrift-0.16.0.tar.gz) = f460b5c1ca30d8918ff95ea3eb6291b3951cf518553566088f3f2be8981f6209
+SIZE (thrift-0.16.0.tar.gz) = 4085114