SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

35
devel/protobuf/Makefile Normal file
View file

@ -0,0 +1,35 @@
COMMENT = c++ protocol buffers
CPPMAJOR = 3
PROTOBUF_VERSION = 21.12
V = ${CPPMAJOR}.${PROTOBUF_VERSION}
TAG = v${PROTOBUF_VERSION:S/rc-/rc/}
DISTNAME = protobuf-cpp-${V}
PKGNAME = protobuf-${V:S/-//g}
REVISION = 0
WRKDIST = ${WRKDIR}/protobuf-${V}
SHARED_LIBS += protobuf-lite 19.0 # 32.12
SHARED_LIBS += protobuf 21.0 # 32.12
SHARED_LIBS += protoc 23.0 # 32.12
CATEGORIES = devel
HOMEPAGE = https://github.com/protocolbuffers/protobuf/
# New BSD
PERMIT_PACKAGE = Yes
WANTLIB += c m pthread ${COMPILER_LIBCXX} z
MASTER_SITES = https://github.com/protocolbuffers/protobuf/releases/download/${TAG}/
COMPILER = base-clang ports-gcc
MODULES = devel/cmake
CONFIGURE_ARGS += -Dprotobuf_BUILD_SHARED_LIBS=ON
CONFIGURE_ARGS += -Dprotobuf_BUILD_TESTS=OFF
.include <bsd.port.mk>

2
devel/protobuf/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (protobuf-cpp-3.21.12.tar.gz) = TqubUkqlkTxv/7ILKoq/Xvf5WoC8BwHzptu0xgf3NGA=
SIZE (protobuf-cpp-3.21.12.tar.gz) = 4842303

View file

@ -0,0 +1,12 @@
Index: src/google/protobuf/port_def.inc
--- src/google/protobuf/port_def.inc.orig
+++ src/google/protobuf/port_def.inc
@@ -254,7 +254,7 @@
#ifdef PROTOBUF_TAILCALL
#error PROTOBUF_TAILCALL was previously defined
#endif
-#if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \
+#if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && !defined(__mips64__) && \
!defined(_ARCH_PPC) && !defined(__wasm__) && \
!(defined(_MSC_VER) && defined(_M_IX86)) && \
!(defined(__NDK_MAJOR__) && __NDK_MAJOR <= 24)

7
devel/protobuf/pkg/DESCR Normal file
View file

@ -0,0 +1,7 @@
Protocol buffers are a flexible, efficient, automated mechanism for
serializing structured data - think XML, but smaller, faster, and
simpler. You define how you want your data to be structured once, then
you can use special generated source code to easily write and read your
structured data to and from a variety of data streams and using a
variety of languages. You can even update your data structure without
breaking deployed programs that are compiled against the "old" format.

158
devel/protobuf/pkg/PLIST Normal file
View file

@ -0,0 +1,158 @@
bin/protoc
@bin bin/protoc-3.21.12.0
include/google/
include/google/protobuf/
include/google/protobuf/any.h
include/google/protobuf/any.pb.h
include/google/protobuf/any.proto
include/google/protobuf/api.pb.h
include/google/protobuf/api.proto
include/google/protobuf/arena.h
include/google/protobuf/arena_impl.h
include/google/protobuf/arenastring.h
include/google/protobuf/arenaz_sampler.h
include/google/protobuf/compiler/
include/google/protobuf/compiler/code_generator.h
include/google/protobuf/compiler/command_line_interface.h
include/google/protobuf/compiler/cpp/
include/google/protobuf/compiler/cpp/cpp_generator.h
include/google/protobuf/compiler/cpp/file.h
include/google/protobuf/compiler/cpp/generator.h
include/google/protobuf/compiler/cpp/helpers.h
include/google/protobuf/compiler/cpp/names.h
include/google/protobuf/compiler/csharp/
include/google/protobuf/compiler/csharp/csharp_doc_comment.h
include/google/protobuf/compiler/csharp/csharp_generator.h
include/google/protobuf/compiler/csharp/csharp_names.h
include/google/protobuf/compiler/csharp/csharp_options.h
include/google/protobuf/compiler/importer.h
include/google/protobuf/compiler/java/
include/google/protobuf/compiler/java/generator.h
include/google/protobuf/compiler/java/java_generator.h
include/google/protobuf/compiler/java/kotlin_generator.h
include/google/protobuf/compiler/java/names.h
include/google/protobuf/compiler/objectivec/
include/google/protobuf/compiler/objectivec/objectivec_generator.h
include/google/protobuf/compiler/objectivec/objectivec_helpers.h
include/google/protobuf/compiler/parser.h
include/google/protobuf/compiler/php/
include/google/protobuf/compiler/php/php_generator.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/
include/google/protobuf/compiler/python/generator.h
include/google/protobuf/compiler/python/pyi_generator.h
include/google/protobuf/compiler/python/python_generator.h
include/google/protobuf/compiler/ruby/
include/google/protobuf/compiler/ruby/ruby_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/duration.pb.h
include/google/protobuf/duration.proto
include/google/protobuf/dynamic_message.h
include/google/protobuf/empty.pb.h
include/google/protobuf/empty.proto
include/google/protobuf/endian.h
include/google/protobuf/explicitly_constructed.h
include/google/protobuf/extension_set.h
include/google/protobuf/extension_set_inl.h
include/google/protobuf/field_access_listener.h
include/google/protobuf/field_mask.pb.h
include/google/protobuf/field_mask.proto
include/google/protobuf/generated_enum_reflection.h
include/google/protobuf/generated_enum_util.h
include/google/protobuf/generated_message_bases.h
include/google/protobuf/generated_message_reflection.h
include/google/protobuf/generated_message_tctable_decl.h
include/google/protobuf/generated_message_tctable_impl.h
include/google/protobuf/generated_message_util.h
include/google/protobuf/has_bits.h
include/google/protobuf/implicit_weak_message.h
include/google/protobuf/inlined_string_field.h
include/google/protobuf/io/
include/google/protobuf/io/coded_stream.h
include/google/protobuf/io/gzip_stream.h
include/google/protobuf/io/io_win32.h
include/google/protobuf/io/printer.h
include/google/protobuf/io/strtod.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/map.h
include/google/protobuf/map_entry.h
include/google/protobuf/map_entry_lite.h
include/google/protobuf/map_field.h
include/google/protobuf/map_field_inl.h
include/google/protobuf/map_field_lite.h
include/google/protobuf/map_type_handler.h
include/google/protobuf/message.h
include/google/protobuf/message_lite.h
include/google/protobuf/metadata.h
include/google/protobuf/metadata_lite.h
include/google/protobuf/parse_context.h
include/google/protobuf/port.h
include/google/protobuf/port_def.inc
include/google/protobuf/port_undef.inc
include/google/protobuf/reflection.h
include/google/protobuf/reflection_ops.h
include/google/protobuf/repeated_field.h
include/google/protobuf/repeated_ptr_field.h
include/google/protobuf/service.h
include/google/protobuf/source_context.pb.h
include/google/protobuf/source_context.proto
include/google/protobuf/struct.pb.h
include/google/protobuf/struct.proto
include/google/protobuf/stubs/
include/google/protobuf/stubs/bytestream.h
include/google/protobuf/stubs/callback.h
include/google/protobuf/stubs/casts.h
include/google/protobuf/stubs/common.h
include/google/protobuf/stubs/hash.h
include/google/protobuf/stubs/logging.h
include/google/protobuf/stubs/macros.h
include/google/protobuf/stubs/map_util.h
include/google/protobuf/stubs/mutex.h
include/google/protobuf/stubs/once.h
include/google/protobuf/stubs/platform_macros.h
include/google/protobuf/stubs/port.h
include/google/protobuf/stubs/status.h
include/google/protobuf/stubs/stl_util.h
include/google/protobuf/stubs/stringpiece.h
include/google/protobuf/stubs/strutil.h
include/google/protobuf/stubs/template_util.h
include/google/protobuf/text_format.h
include/google/protobuf/timestamp.pb.h
include/google/protobuf/timestamp.proto
include/google/protobuf/type.pb.h
include/google/protobuf/type.proto
include/google/protobuf/unknown_field_set.h
include/google/protobuf/util/
include/google/protobuf/util/delimited_message_util.h
include/google/protobuf/util/field_comparator.h
include/google/protobuf/util/field_mask_util.h
include/google/protobuf/util/json_util.h
include/google/protobuf/util/message_differencer.h
include/google/protobuf/util/time_util.h
include/google/protobuf/util/type_resolver.h
include/google/protobuf/util/type_resolver_util.h
include/google/protobuf/wire_format.h
include/google/protobuf/wire_format_lite.h
include/google/protobuf/wrappers.pb.h
include/google/protobuf/wrappers.proto
lib/cmake/
lib/cmake/protobuf/
lib/cmake/protobuf/protobuf-config-version.cmake
lib/cmake/protobuf/protobuf-config.cmake
lib/cmake/protobuf/protobuf-module.cmake
lib/cmake/protobuf/protobuf-options.cmake
lib/cmake/protobuf/protobuf-targets${MODCMAKE_BUILD_SUFFIX}
lib/cmake/protobuf/protobuf-targets.cmake
@lib lib/libprotobuf-lite.so.${LIBprotobuf-lite_VERSION}
@lib lib/libprotobuf.so.${LIBprotobuf_VERSION}
@lib lib/libprotoc.so.${LIBprotoc_VERSION}
lib/pkgconfig/protobuf-lite.pc
lib/pkgconfig/protobuf.pc