Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2014 18:17:41 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369990 - in head/devel: . protobuf25 protobuf25/files
Message-ID:  <201410041817.s94IHfuM094622@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon
Date: Sat Oct  4 18:17:41 2014
New Revision: 369990
URL: https://svnweb.freebsd.org/changeset/ports/369990
QAT: https://qat.redports.org/buildarchive/r369990/

Log:
  Resurrect protobuf port as of rev. 369705 (last version before update to
  2.6.0).  devel/hadoop2 needs that specific version.

Added:
  head/devel/protobuf25/
  head/devel/protobuf25/Makefile   (contents, props changed)
  head/devel/protobuf25/distinfo   (contents, props changed)
  head/devel/protobuf25/files/
  head/devel/protobuf25/files/patch-src__google__protobuf__testing__zcgunzip.cc   (contents, props changed)
  head/devel/protobuf25/files/patch-src__google__protobuf__testing__zcgzip.cc   (contents, props changed)
  head/devel/protobuf25/pkg-descr   (contents, props changed)
  head/devel/protobuf25/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Oct  4 18:05:48 2014	(r369989)
+++ head/devel/Makefile	Sat Oct  4 18:17:41 2014	(r369990)
@@ -3493,6 +3493,7 @@
     SUBDIR += projectcenter
     SUBDIR += protobuf
     SUBDIR += protobuf-c
+    SUBDIR += protobuf25
     SUBDIR += psptoolchain
     SUBDIR += psptoolchain-binutils
     SUBDIR += psptoolchain-gcc-stage1

Added: head/devel/protobuf25/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/protobuf25/Makefile	Sat Oct  4 18:17:41 2014	(r369990)
@@ -0,0 +1,30 @@
+# Created by: vanilla
+# $FreeBSD$
+
+# devel/hadoop2 needs version 2.5.0
+PORTNAME=	protobuf
+PORTVERSION=	2.5.0
+PORTREVISION=	4
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+
+MAINTAINER=	demon@FreeBSD.org
+COMMENT=	Data interchange format library
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING.txt
+
+GNU_CONFIGURE=	yes
+USE_LDCONFIG=	yes
+USES=		gmake pathfix pkgconfig tar:bzip2 libtool
+ONLY_FOR_ARCHS=	i386 amd64
+INSTALL_TARGET=	install-strip
+
+# clang will generate code that just doesn't work with clementine-player
+# if this isn't compiled as though it were C99.
+CFLAGS+=	-std=c99 -DGOOGLE_PROTOBUF_NO_RTTI
+
+tests: build
+	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
+
+.include <bsd.port.mk>

Added: head/devel/protobuf25/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/protobuf25/distinfo	Sat Oct  4 18:17:41 2014	(r369990)
@@ -0,0 +1,2 @@
+SHA256 (protobuf-2.5.0.tar.bz2) = 13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677
+SIZE (protobuf-2.5.0.tar.bz2) = 1866763

Added: head/devel/protobuf25/files/patch-src__google__protobuf__testing__zcgunzip.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/protobuf25/files/patch-src__google__protobuf__testing__zcgunzip.cc	Sat Oct  4 18:17:41 2014	(r369990)
@@ -0,0 +1,10 @@
+--- src/google/protobuf/testing/zcgunzip.cc.orig	2014-09-30 23:01:39.718744075 +0800
++++ src/google/protobuf/testing/zcgunzip.cc	2014-09-30 23:02:05.753740335 +0800
+@@ -44,6 +44,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <fcntl.h>
++#include <unistd.h> // for STDOUT_FILENO
+ 
+ #include <google/protobuf/io/gzip_stream.h>
+ #include <google/protobuf/io/zero_copy_stream_impl.h>

Added: head/devel/protobuf25/files/patch-src__google__protobuf__testing__zcgzip.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/protobuf25/files/patch-src__google__protobuf__testing__zcgzip.cc	Sat Oct  4 18:17:41 2014	(r369990)
@@ -0,0 +1,10 @@
+--- src/google/protobuf/testing/zcgzip.cc.orig	2014-09-30 22:46:34.571804492 +0800
++++ src/google/protobuf/testing/zcgzip.cc	2014-09-30 22:46:50.657816315 +0800
+@@ -43,6 +43,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <fcntl.h>
++#include <unistd.h> // for STDOUT_FILENO
+ 
+ #include <google/protobuf/io/gzip_stream.h>
+ #include <google/protobuf/io/zero_copy_stream_impl.h>

Added: head/devel/protobuf25/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/protobuf25/pkg-descr	Sat Oct  4 18:17:41 2014	(r369990)
@@ -0,0 +1,5 @@
+Protocol Buffers are a way of encoding structured data in an efficient yet
+extensible format. Google uses Protocol Buffers for almost all of its
+internal RPC protocols and file formats.
+
+WWW: http://code.google.com/p/protobuf/

Added: head/devel/protobuf25/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/protobuf25/pkg-plist	Sat Oct  4 18:17:41 2014	(r369990)
@@ -0,0 +1,65 @@
+bin/protoc
+include/google/protobuf/compiler/code_generator.h
+include/google/protobuf/compiler/command_line_interface.h
+include/google/protobuf/compiler/cpp/cpp_generator.h
+include/google/protobuf/compiler/importer.h
+include/google/protobuf/compiler/java/java_generator.h
+include/google/protobuf/compiler/parser.h
+include/google/protobuf/compiler/plugin.h
+include/google/protobuf/compiler/plugin.pb.h
+include/google/protobuf/compiler/plugin.proto
+include/google/protobuf/compiler/python/python_generator.h
+include/google/protobuf/descriptor.h
+include/google/protobuf/descriptor.pb.h
+include/google/protobuf/descriptor.proto
+include/google/protobuf/descriptor_database.h
+include/google/protobuf/dynamic_message.h
+include/google/protobuf/extension_set.h
+include/google/protobuf/generated_enum_reflection.h
+include/google/protobuf/generated_message_reflection.h
+include/google/protobuf/generated_message_util.h
+include/google/protobuf/io/coded_stream.h
+include/google/protobuf/io/gzip_stream.h
+include/google/protobuf/io/printer.h
+include/google/protobuf/io/tokenizer.h
+include/google/protobuf/io/zero_copy_stream.h
+include/google/protobuf/io/zero_copy_stream_impl.h
+include/google/protobuf/io/zero_copy_stream_impl_lite.h
+include/google/protobuf/message.h
+include/google/protobuf/message_lite.h
+include/google/protobuf/reflection_ops.h
+include/google/protobuf/repeated_field.h
+include/google/protobuf/service.h
+include/google/protobuf/stubs/atomicops.h
+include/google/protobuf/stubs/atomicops_internals_arm_gcc.h
+include/google/protobuf/stubs/atomicops_internals_arm_qnx.h
+include/google/protobuf/stubs/atomicops_internals_atomicword_compat.h
+include/google/protobuf/stubs/atomicops_internals_macosx.h
+include/google/protobuf/stubs/atomicops_internals_mips_gcc.h
+include/google/protobuf/stubs/atomicops_internals_pnacl.h
+include/google/protobuf/stubs/atomicops_internals_x86_gcc.h
+include/google/protobuf/stubs/atomicops_internals_x86_msvc.h
+include/google/protobuf/stubs/common.h
+include/google/protobuf/stubs/once.h
+include/google/protobuf/stubs/platform_macros.h
+include/google/protobuf/stubs/template_util.h
+include/google/protobuf/stubs/type_traits.h
+include/google/protobuf/text_format.h
+include/google/protobuf/unknown_field_set.h
+include/google/protobuf/wire_format.h
+include/google/protobuf/wire_format_lite.h
+include/google/protobuf/wire_format_lite_inl.h
+lib/libprotobuf-lite.a
+lib/libprotobuf-lite.so
+lib/libprotobuf-lite.so.8
+lib/libprotobuf-lite.so.8.0.0
+lib/libprotobuf.a
+lib/libprotobuf.so
+lib/libprotobuf.so.8
+lib/libprotobuf.so.8.0.0
+lib/libprotoc.a
+lib/libprotoc.so
+lib/libprotoc.so.8
+lib/libprotoc.so.8.0.0
+libdata/pkgconfig/protobuf-lite.pc
+libdata/pkgconfig/protobuf.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410041817.s94IHfuM094622>