[arch-commits] Commit in thrift/repos (8 files)
Anatol Pomozov
anatolik at archlinux.org
Fri Jan 6 00:15:48 UTC 2017
Date: Friday, January 6, 2017 @ 00:15:48
Author: anatolik
Revision: 204942
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
thrift/repos/community-testing-i686/
thrift/repos/community-testing-i686/PKGBUILD
(from rev 204941, thrift/trunk/PKGBUILD)
thrift/repos/community-testing-i686/THRIFT-3576.patch
(from rev 204941, thrift/trunk/THRIFT-3576.patch)
thrift/repos/community-testing-i686/sslv23.patch
(from rev 204941, thrift/trunk/sslv23.patch)
thrift/repos/community-testing-x86_64/
thrift/repos/community-testing-x86_64/PKGBUILD
(from rev 204941, thrift/trunk/PKGBUILD)
thrift/repos/community-testing-x86_64/THRIFT-3576.patch
(from rev 204941, thrift/trunk/THRIFT-3576.patch)
thrift/repos/community-testing-x86_64/sslv23.patch
(from rev 204941, thrift/trunk/sslv23.patch)
--------------------------------------------+
community-testing-i686/PKGBUILD | 68 +++++++++++++++++++++++++++
community-testing-i686/THRIFT-3576.patch | 23 +++++++++
community-testing-i686/sslv23.patch | 13 +++++
community-testing-x86_64/PKGBUILD | 68 +++++++++++++++++++++++++++
community-testing-x86_64/THRIFT-3576.patch | 23 +++++++++
community-testing-x86_64/sslv23.patch | 13 +++++
6 files changed, 208 insertions(+)
Copied: thrift/repos/community-testing-i686/PKGBUILD (from rev 204941, thrift/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-01-06 00:15:48 UTC (rev 204942)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Anatol Pomozov
+# Contributor: Byron Clark <byron at theclarkfamily.name>
+
+# This package contains only thrift compiler and C/C++ libraries
+# for all the language binding one should use corresponding language-specific package manager:
+# CPAN for perl, gem for ruby, pip for python etc... Or better to create arch packages that install
+# the binding from the language specific managers python2-thrift, perl-thrift, ruby-thrift, ...
+
+pkgname=thrift
+pkgver=0.10.0
+pkgrel=1
+pkgdesc='Scalable cross-language services framework for IPC/RPC'
+arch=(i686 x86_64)
+url='http://thrift.apache.org/'
+license=(APACHE)
+depends=(gcc-libs openssl)
+makedepends=(qt4 qt5-base boost libevent emacs-nox)
+optdepends=(
+ 'qt4: TQTcpServer (Qt4) support'
+ 'qt5-base: TQTcpServer (Qt5) support'
+)
+source=(thrift-$pkgver.zip::https://github.com/apache/thrift/archive/$pkgver.zip)
+sha1sums=('461cad8da7e73dab11c036760ce76c39b65cd59a')
+
+build() {
+ cd thrift-$pkgver
+
+ ./bootstrap.sh
+ ./configure --prefix=/usr \
+ --with-cpp \
+ --with-c_glib \
+ --with-qt4 \
+ --with-qt5 \
+ --with-libevent \
+ --with-csharp \
+ --without-haskell \
+ --without-php \
+ --without-ruby \
+ --without-python \
+ --without-erlang \
+ --without-perl \
+ --without-java \
+ --without-c_sharp \
+ --without-d \
+ --without-php \
+ --without-go \
+ --without-lua \
+ --without-nodejs
+
+ make
+
+ emacs -Q --batch -f batch-byte-compile contrib/thrift.el
+}
+
+check() {
+ cd thrift-$pkgver
+# make check
+}
+
+package() {
+ cd thrift-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -m0644 -D contrib/thrift.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/thrift.vim
+ install -m0644 -D contrib/thrift.el "$pkgdir"/usr/share/emacs/site-lisp/thrift.el
+ install -m0644 -D contrib/thrift.elc "$pkgdir"/usr/share/emacs/site-lisp/thrift.elc
+}
Copied: thrift/repos/community-testing-i686/THRIFT-3576.patch (from rev 204941, thrift/trunk/THRIFT-3576.patch)
===================================================================
--- community-testing-i686/THRIFT-3576.patch (rev 0)
+++ community-testing-i686/THRIFT-3576.patch 2017-01-06 00:15:48 UTC (rev 204942)
@@ -0,0 +1,23 @@
+From c261c69d4e64455b912524b6df603be0f169d29c Mon Sep 17 00:00:00 2001
+From: Nobuaki Sukegawa <nsuke at apache.org>
+Date: Sat, 23 Jan 2016 22:45:20 +0900
+Subject: [PATCH] THRIFT-3576 Boost test --log_format arg does not accept
+ lowercase
+
+---
+ lib/cpp/test/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/cpp/test/Makefile.am b/lib/cpp/test/Makefile.am
+index 1895afc..61865de 100755
+--- a/lib/cpp/test/Makefile.am
++++ b/lib/cpp/test/Makefile.am
+@@ -101,7 +101,7 @@ endif
+ TESTS_ENVIRONMENT= \
+ BOOST_TEST_LOG_SINK=tests.xml \
+ BOOST_TEST_LOG_LEVEL=test_suite \
+- BOOST_TEST_LOG_FORMAT=xml
++ BOOST_TEST_LOG_FORMAT=XML
+
+ TESTS = \
+ $(check_PROGRAMS)
Copied: thrift/repos/community-testing-i686/sslv23.patch (from rev 204941, thrift/trunk/sslv23.patch)
===================================================================
--- community-testing-i686/sslv23.patch (rev 0)
+++ community-testing-i686/sslv23.patch 2017-01-06 00:15:48 UTC (rev 204942)
@@ -0,0 +1,13 @@
+diff --git a/thrift-0.9.3/lib/cpp/src/thrift/transport/TSSLSocket.cpp b/thrift-0.9.3/lib/cpp/src/thrift/transport/TSSLSocket.cpp
+index 98c5326..cb8ef6e 100644
+--- a/thrift-0.9.3/lib/cpp/src/thrift/transport/TSSLSocket.cpp
++++ b/thrift-0.9.3/lib/cpp/src/thrift/transport/TSSLSocket.cpp
+@@ -140,7 +140,7 @@ SSLContext::SSLContext(const SSLProtocol& protocol) {
+ if (protocol == SSLTLS) {
+ ctx_ = SSL_CTX_new(SSLv23_method());
+ } else if (protocol == SSLv3) {
+- ctx_ = SSL_CTX_new(SSLv3_method());
++ ctx_ = SSL_CTX_new(SSLv23_method());
+ } else if (protocol == TLSv1_0) {
+ ctx_ = SSL_CTX_new(TLSv1_method());
+ } else if (protocol == TLSv1_1) {
Copied: thrift/repos/community-testing-x86_64/PKGBUILD (from rev 204941, thrift/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-01-06 00:15:48 UTC (rev 204942)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Anatol Pomozov
+# Contributor: Byron Clark <byron at theclarkfamily.name>
+
+# This package contains only thrift compiler and C/C++ libraries
+# for all the language binding one should use corresponding language-specific package manager:
+# CPAN for perl, gem for ruby, pip for python etc... Or better to create arch packages that install
+# the binding from the language specific managers python2-thrift, perl-thrift, ruby-thrift, ...
+
+pkgname=thrift
+pkgver=0.10.0
+pkgrel=1
+pkgdesc='Scalable cross-language services framework for IPC/RPC'
+arch=(i686 x86_64)
+url='http://thrift.apache.org/'
+license=(APACHE)
+depends=(gcc-libs openssl)
+makedepends=(qt4 qt5-base boost libevent emacs-nox)
+optdepends=(
+ 'qt4: TQTcpServer (Qt4) support'
+ 'qt5-base: TQTcpServer (Qt5) support'
+)
+source=(thrift-$pkgver.zip::https://github.com/apache/thrift/archive/$pkgver.zip)
+sha1sums=('461cad8da7e73dab11c036760ce76c39b65cd59a')
+
+build() {
+ cd thrift-$pkgver
+
+ ./bootstrap.sh
+ ./configure --prefix=/usr \
+ --with-cpp \
+ --with-c_glib \
+ --with-qt4 \
+ --with-qt5 \
+ --with-libevent \
+ --with-csharp \
+ --without-haskell \
+ --without-php \
+ --without-ruby \
+ --without-python \
+ --without-erlang \
+ --without-perl \
+ --without-java \
+ --without-c_sharp \
+ --without-d \
+ --without-php \
+ --without-go \
+ --without-lua \
+ --without-nodejs
+
+ make
+
+ emacs -Q --batch -f batch-byte-compile contrib/thrift.el
+}
+
+check() {
+ cd thrift-$pkgver
+# make check
+}
+
+package() {
+ cd thrift-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -m0644 -D contrib/thrift.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/thrift.vim
+ install -m0644 -D contrib/thrift.el "$pkgdir"/usr/share/emacs/site-lisp/thrift.el
+ install -m0644 -D contrib/thrift.elc "$pkgdir"/usr/share/emacs/site-lisp/thrift.elc
+}
Copied: thrift/repos/community-testing-x86_64/THRIFT-3576.patch (from rev 204941, thrift/trunk/THRIFT-3576.patch)
===================================================================
--- community-testing-x86_64/THRIFT-3576.patch (rev 0)
+++ community-testing-x86_64/THRIFT-3576.patch 2017-01-06 00:15:48 UTC (rev 204942)
@@ -0,0 +1,23 @@
+From c261c69d4e64455b912524b6df603be0f169d29c Mon Sep 17 00:00:00 2001
+From: Nobuaki Sukegawa <nsuke at apache.org>
+Date: Sat, 23 Jan 2016 22:45:20 +0900
+Subject: [PATCH] THRIFT-3576 Boost test --log_format arg does not accept
+ lowercase
+
+---
+ lib/cpp/test/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/cpp/test/Makefile.am b/lib/cpp/test/Makefile.am
+index 1895afc..61865de 100755
+--- a/lib/cpp/test/Makefile.am
++++ b/lib/cpp/test/Makefile.am
+@@ -101,7 +101,7 @@ endif
+ TESTS_ENVIRONMENT= \
+ BOOST_TEST_LOG_SINK=tests.xml \
+ BOOST_TEST_LOG_LEVEL=test_suite \
+- BOOST_TEST_LOG_FORMAT=xml
++ BOOST_TEST_LOG_FORMAT=XML
+
+ TESTS = \
+ $(check_PROGRAMS)
Copied: thrift/repos/community-testing-x86_64/sslv23.patch (from rev 204941, thrift/trunk/sslv23.patch)
===================================================================
--- community-testing-x86_64/sslv23.patch (rev 0)
+++ community-testing-x86_64/sslv23.patch 2017-01-06 00:15:48 UTC (rev 204942)
@@ -0,0 +1,13 @@
+diff --git a/thrift-0.9.3/lib/cpp/src/thrift/transport/TSSLSocket.cpp b/thrift-0.9.3/lib/cpp/src/thrift/transport/TSSLSocket.cpp
+index 98c5326..cb8ef6e 100644
+--- a/thrift-0.9.3/lib/cpp/src/thrift/transport/TSSLSocket.cpp
++++ b/thrift-0.9.3/lib/cpp/src/thrift/transport/TSSLSocket.cpp
+@@ -140,7 +140,7 @@ SSLContext::SSLContext(const SSLProtocol& protocol) {
+ if (protocol == SSLTLS) {
+ ctx_ = SSL_CTX_new(SSLv23_method());
+ } else if (protocol == SSLv3) {
+- ctx_ = SSL_CTX_new(SSLv3_method());
++ ctx_ = SSL_CTX_new(SSLv23_method());
+ } else if (protocol == TLSv1_0) {
+ ctx_ = SSL_CTX_new(TLSv1_method());
+ } else if (protocol == TLSv1_1) {
More information about the arch-commits
mailing list