pkgsrc-WIP-changes archive

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

Import thrift-0.9.3 as wip/thrift.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Mar 5 19:46:45 2016 +0100
Changeset:	4df556ea4f0221e51b5a73e66177b885788a5905

Added Files:
	thrift/DESCR
	thrift/Makefile
	thrift/PLIST
	thrift/distinfo
	thrift/patches/patch-aclocal_ax__dmd.m4
	thrift/patches/patch-configure.ac

Log Message:
Import thrift-0.9.3 as wip/thrift.

The Apache Thrift software framework, for scalable cross-language services
development, combines a software stack with a code generation engine to build
services that work efficiently and seamlessly between C++, Java, Python, PHP,
Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml
and Delphi and other languages.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4df556ea4f0221e51b5a73e66177b885788a5905

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 thrift/DESCR                            |  5 +++++
 thrift/Makefile                         | 33 +++++++++++++++++++++++++++++++++
 thrift/PLIST                            |  7 +++++++
 thrift/distinfo                         |  8 ++++++++
 thrift/patches/patch-aclocal_ax__dmd.m4 | 15 +++++++++++++++
 thrift/patches/patch-configure.ac       | 15 +++++++++++++++
 6 files changed, 83 insertions(+)

diffs:
diff --git a/thrift/DESCR b/thrift/DESCR
new file mode 100644
index 0000000..1b3d661
--- /dev/null
+++ b/thrift/DESCR
@@ -0,0 +1,5 @@
+The Apache Thrift software framework, for scalable cross-language services
+development, combines a software stack with a code generation engine to build
+services that work efficiently and seamlessly between C++, Java, Python, PHP,
+Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml
+and Delphi and other languages.
diff --git a/thrift/Makefile b/thrift/Makefile
new file mode 100644
index 0000000..abc4e30
--- /dev/null
+++ b/thrift/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+DISTNAME=	thrift-0.9.3
+CATEGORIES=	devel
+MASTER_SITES=	https://archive.apache.org/dist/thrift/${PKGVERSION_NOREV}/
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://thrift.apache.org/
+COMMENT=	Framework for cross-language services development
+LICENSE=	apache-2.0
+
+USE_TOOLS+=	pkg-config automake autoconf aclocal lex yacc gmake autoscan autoheader
+USE_LIBTOOL=	yes
+USE_LANGUAGES=	c c++
+
+PKGCONFIG_OVERRIDE+=	lib/c_glib/thrift_c_glib.pc.in
+PKGCONFIG_OVERRIDE+=	lib/cpp/thrift-nb.pc.in
+PKGCONFIG_OVERRIDE+=	lib/cpp/thrift-qt.pc.in
+PKGCONFIG_OVERRIDE+=	lib/cpp/thrift-z.pc.in
+PKGCONFIG_OVERRIDE+=	lib/cpp/thrift.pc.in
+
+GNU_CONFIGURE=	yes
+
+pre-configure:
+	${RUN} cd ${WRKSRC} && \
+		autoscan && \
+		libtoolize --copy --automake && \
+		aclocal -I ./aclocal && \
+		autoheader && \
+		autoconf && \
+		automake --copy --add-missing --foreign
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/thrift/PLIST b/thrift/PLIST
new file mode 100644
index 0000000..86fa234
--- /dev/null
+++ b/thrift/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+bin/thrift
+include/src/socket.h
+lib/libluabitwise.la
+lib/libluabpack.la
+lib/liblualongnumber.la
+lib/libluasocket.la
diff --git a/thrift/distinfo b/thrift/distinfo
new file mode 100644
index 0000000..a3f9b8a
--- /dev/null
+++ b/thrift/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (thrift-0.9.3.tar.gz) = f1421a0d1e0e107aa549fa83177b965e4d61199d
+RMD160 (thrift-0.9.3.tar.gz) = 238dfe898808bf2a1c509a565f6678858237d94c
+SHA512 (thrift-0.9.3.tar.gz) = 743131b276155c2d178404e190bdebcc12cedf42956f3d83177ebb4e4b85768b111a999dcf054594e92c120431323769a9641fc2ff2efade983191afd0786c2c
+Size (thrift-0.9.3.tar.gz) = 2161165 bytes
+SHA1 (patch-aclocal_ax__dmd.m4) = f9e0c8d11ae4bf2052adfccc93b0601daf9724e4
+SHA1 (patch-configure.ac) = 6ec3cf58be687868c42e043c675726332b99124c
diff --git a/thrift/patches/patch-aclocal_ax__dmd.m4 b/thrift/patches/patch-aclocal_ax__dmd.m4
new file mode 100644
index 0000000..52b30b0
--- /dev/null
+++ b/thrift/patches/patch-aclocal_ax__dmd.m4
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix portability.
+
+--- aclocal/ax_dmd.m4.orig	2015-10-01 17:16:28.000000000 +0000
++++ aclocal/ax_dmd.m4
+@@ -67,7 +67,7 @@ AC_DEFUN([AX_DMD],
+ 
+           # Test whether OPTLINK is used by trying if DMD accepts -L/? without
+           # erroring out.
+-          if test "$success" == "yes" ; then
++          if test "$success" = "yes" ; then
+             AC_MSG_CHECKING(whether DMD uses OPTLINK)
+             echo "Running \”$DMD -L/? configtest_ax_dmd.d\"" >&AS_MESSAGE_LOG_FD
+             if $DMD -L/? configtest_ax_dmd.d >&AS_MESSAGE_LOG_FD 2>&1 ; then
diff --git a/thrift/patches/patch-configure.ac b/thrift/patches/patch-configure.ac
new file mode 100644
index 0000000..2a48b93
--- /dev/null
+++ b/thrift/patches/patch-configure.ac
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix portability.
+
+--- configure.ac.orig	2015-10-01 17:16:28.000000000 +0000
++++ configure.ac
+@@ -199,7 +199,7 @@ AM_CONDITIONAL(WITH_C_GLIB, [test "$have
+ AX_THRIFT_LIB(csharp, [C#], yes)
+ if test "$with_csharp" = "yes";  then
+   PKG_CHECK_MODULES(MONO, mono >= 2.11.0, mono_2_11=yes, mono_2_11=no)
+-  if test "$mono_2_11" == "yes"; then
++  if test "$mono_2_11" = "yes"; then
+     AC_PATH_PROG([MCS], [mcs])
+     if test "x$MCS" != "x"; then
+       mono_mcs="yes"


Home | Main Index | Thread Index | Old Index