diff --git a/devel/opentelemetry-cpp/Makefile b/devel/opentelemetry-cpp/Makefile index 71d4da3666b0..a97d1d937bdd 100644 --- a/devel/opentelemetry-cpp/Makefile +++ b/devel/opentelemetry-cpp/Makefile @@ -1,33 +1,33 @@ PORTNAME= opentelemetry-cpp -PORTVERSION= 1.13.0 +PORTVERSION= 1.14.0 DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= osa@FreeBSD.org COMMENT= OpenTelemetry C++ client WWW= https://github.com/open-telemetry/opentelemetry-cpp LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= open-telemetry GH_PROJECT= ${PORTNAME} USES= cmake compiler:c++14-lang cpe CPE_VENDOR= cncf CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON \ -DCMAKE_POSITION_INDEPENDENT_CODE=ON CMAKE_OFF= BUILD_TESTING BUILD_EXAMPLES LIB_DEPENDS= libgtest.so:devel/googletest \ libcurl.so:ftp/curl USE_LDCONFIG= yes GNU_CONFIGURE= yes PLIST_SUB= SHLIBVER=${PORTVERSION} .include diff --git a/devel/opentelemetry-cpp/distinfo b/devel/opentelemetry-cpp/distinfo index b6e224853187..12c8c8b7a2e0 100644 --- a/devel/opentelemetry-cpp/distinfo +++ b/devel/opentelemetry-cpp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1701969721 -SHA256 (open-telemetry-opentelemetry-cpp-v1.13.0_GH0.tar.gz) = 7735cc56507149686e6019e06f588317099d4522480be5f38a2a09ec69af1706 -SIZE (open-telemetry-opentelemetry-cpp-v1.13.0_GH0.tar.gz) = 803376 +TIMESTAMP = 1708279437 +SHA256 (open-telemetry-opentelemetry-cpp-v1.14.0_GH0.tar.gz) = 9a67561b8f4dba8cf8bb323b404069cbcc2f59974e1330b1ba192c5c8d68c28e +SIZE (open-telemetry-opentelemetry-cpp-v1.14.0_GH0.tar.gz) = 818214 diff --git a/devel/opentelemetry-cpp/pkg-plist b/devel/opentelemetry-cpp/pkg-plist index 758b8e4e36b7..f9ca02361ff0 100644 --- a/devel/opentelemetry-cpp/pkg-plist +++ b/devel/opentelemetry-cpp/pkg-plist @@ -1,278 +1,279 @@ include/opentelemetry/baggage/baggage.h include/opentelemetry/baggage/baggage_context.h include/opentelemetry/baggage/propagation/baggage_propagator.h include/opentelemetry/common/attribute_value.h include/opentelemetry/common/key_value_iterable.h include/opentelemetry/common/key_value_iterable_view.h include/opentelemetry/common/kv_properties.h include/opentelemetry/common/macros.h include/opentelemetry/common/spin_lock_mutex.h include/opentelemetry/common/string_util.h include/opentelemetry/common/timestamp.h include/opentelemetry/config.h include/opentelemetry/context/context.h include/opentelemetry/context/context_value.h include/opentelemetry/context/propagation/composite_propagator.h include/opentelemetry/context/propagation/global_propagator.h include/opentelemetry/context/propagation/noop_propagator.h include/opentelemetry/context/propagation/text_map_propagator.h include/opentelemetry/context/runtime_context.h include/opentelemetry/detail/preprocessor.h include/opentelemetry/exporters/memory/in_memory_data.h include/opentelemetry/exporters/memory/in_memory_span_data.h include/opentelemetry/exporters/memory/in_memory_span_exporter.h include/opentelemetry/exporters/memory/in_memory_span_exporter_factory.h include/opentelemetry/exporters/ostream/common_utils.h include/opentelemetry/exporters/ostream/log_record_exporter.h include/opentelemetry/exporters/ostream/log_record_exporter_factory.h include/opentelemetry/exporters/ostream/metric_exporter.h include/opentelemetry/exporters/ostream/metric_exporter_factory.h include/opentelemetry/exporters/ostream/span_exporter.h include/opentelemetry/exporters/ostream/span_exporter_factory.h include/opentelemetry/ext/http/client/curl/http_client_curl.h include/opentelemetry/ext/http/client/curl/http_operation_curl.h include/opentelemetry/ext/http/client/http_client.h include/opentelemetry/ext/http/client/http_client_factory.h include/opentelemetry/ext/http/common/url_parser.h include/opentelemetry/ext/http/server/file_http_server.h include/opentelemetry/ext/http/server/http_server.h include/opentelemetry/ext/http/server/socket_tools.h include/opentelemetry/logs/event_id.h include/opentelemetry/logs/event_logger.h include/opentelemetry/logs/event_logger_provider.h include/opentelemetry/logs/log_record.h include/opentelemetry/logs/logger.h include/opentelemetry/logs/logger_provider.h include/opentelemetry/logs/logger_type_traits.h include/opentelemetry/logs/noop.h include/opentelemetry/logs/provider.h include/opentelemetry/logs/severity.h include/opentelemetry/metrics/async_instruments.h include/opentelemetry/metrics/meter.h include/opentelemetry/metrics/meter_provider.h include/opentelemetry/metrics/noop.h include/opentelemetry/metrics/observer_result.h include/opentelemetry/metrics/provider.h include/opentelemetry/metrics/sync_instruments.h include/opentelemetry/nostd/detail/all.h include/opentelemetry/nostd/detail/decay.h include/opentelemetry/nostd/detail/dependent_type.h include/opentelemetry/nostd/detail/functional.h include/opentelemetry/nostd/detail/invoke.h include/opentelemetry/nostd/detail/trait.h include/opentelemetry/nostd/detail/type_pack_element.h include/opentelemetry/nostd/detail/valueless.h include/opentelemetry/nostd/detail/variant_alternative.h include/opentelemetry/nostd/detail/variant_fwd.h include/opentelemetry/nostd/detail/variant_size.h include/opentelemetry/nostd/detail/void.h include/opentelemetry/nostd/function_ref.h include/opentelemetry/nostd/internal/absl/base/attributes.h include/opentelemetry/nostd/internal/absl/base/config.h include/opentelemetry/nostd/internal/absl/base/internal/identity.h include/opentelemetry/nostd/internal/absl/base/internal/inline_variable.h include/opentelemetry/nostd/internal/absl/base/internal/invoke.h include/opentelemetry/nostd/internal/absl/base/macros.h include/opentelemetry/nostd/internal/absl/base/optimization.h include/opentelemetry/nostd/internal/absl/base/options.h include/opentelemetry/nostd/internal/absl/base/policy_checks.h include/opentelemetry/nostd/internal/absl/base/port.h include/opentelemetry/nostd/internal/absl/meta/type_traits.h include/opentelemetry/nostd/internal/absl/types/bad_variant_access.h include/opentelemetry/nostd/internal/absl/types/internal/variant.h include/opentelemetry/nostd/internal/absl/types/variant.h include/opentelemetry/nostd/internal/absl/utility/utility.h include/opentelemetry/nostd/shared_ptr.h include/opentelemetry/nostd/span.h include/opentelemetry/nostd/string_view.h include/opentelemetry/nostd/type_traits.h include/opentelemetry/nostd/unique_ptr.h include/opentelemetry/nostd/utility.h include/opentelemetry/nostd/variant.h include/opentelemetry/plugin/detail/dynamic_library_handle.h include/opentelemetry/plugin/detail/dynamic_load_unix.h include/opentelemetry/plugin/detail/dynamic_load_windows.h include/opentelemetry/plugin/detail/loader_info.h include/opentelemetry/plugin/detail/tracer_handle.h include/opentelemetry/plugin/detail/utility.h include/opentelemetry/plugin/dynamic_load.h include/opentelemetry/plugin/factory.h include/opentelemetry/plugin/hook.h include/opentelemetry/plugin/tracer.h include/opentelemetry/sdk/common/atomic_shared_ptr.h include/opentelemetry/sdk/common/atomic_unique_ptr.h include/opentelemetry/sdk/common/attribute_utils.h include/opentelemetry/sdk/common/attributemap_hash.h include/opentelemetry/sdk/common/base64.h include/opentelemetry/sdk/common/circular_buffer.h include/opentelemetry/sdk/common/circular_buffer_range.h include/opentelemetry/sdk/common/empty_attributes.h include/opentelemetry/sdk/common/env_variables.h include/opentelemetry/sdk/common/exporter_utils.h include/opentelemetry/sdk/common/global_log_handler.h include/opentelemetry/sdk/instrumentationlibrary/instrumentation_library.h include/opentelemetry/sdk/instrumentationscope/instrumentation_scope.h include/opentelemetry/sdk/logs/batch_log_record_processor.h include/opentelemetry/sdk/logs/batch_log_record_processor_factory.h include/opentelemetry/sdk/logs/batch_log_record_processor_options.h include/opentelemetry/sdk/logs/event_logger.h include/opentelemetry/sdk/logs/event_logger_provider.h include/opentelemetry/sdk/logs/event_logger_provider_factory.h include/opentelemetry/sdk/logs/exporter.h include/opentelemetry/sdk/logs/logger.h include/opentelemetry/sdk/logs/logger_context.h include/opentelemetry/sdk/logs/logger_context_factory.h include/opentelemetry/sdk/logs/logger_provider.h include/opentelemetry/sdk/logs/logger_provider_factory.h include/opentelemetry/sdk/logs/multi_log_record_processor.h include/opentelemetry/sdk/logs/multi_log_record_processor_factory.h include/opentelemetry/sdk/logs/multi_recordable.h include/opentelemetry/sdk/logs/processor.h include/opentelemetry/sdk/logs/read_write_log_record.h include/opentelemetry/sdk/logs/readable_log_record.h include/opentelemetry/sdk/logs/recordable.h include/opentelemetry/sdk/logs/simple_log_record_processor.h include/opentelemetry/sdk/logs/simple_log_record_processor_factory.h include/opentelemetry/sdk/metrics/aggregation/aggregation.h include/opentelemetry/sdk/metrics/aggregation/aggregation_config.h include/opentelemetry/sdk/metrics/aggregation/base2_exponential_histogram_indexer.h include/opentelemetry/sdk/metrics/aggregation/default_aggregation.h include/opentelemetry/sdk/metrics/aggregation/drop_aggregation.h include/opentelemetry/sdk/metrics/aggregation/histogram_aggregation.h include/opentelemetry/sdk/metrics/aggregation/lastvalue_aggregation.h include/opentelemetry/sdk/metrics/aggregation/sum_aggregation.h include/opentelemetry/sdk/metrics/async_instruments.h include/opentelemetry/sdk/metrics/data/circular_buffer.h include/opentelemetry/sdk/metrics/data/exemplar_data.h include/opentelemetry/sdk/metrics/data/metric_data.h include/opentelemetry/sdk/metrics/data/point_data.h include/opentelemetry/sdk/metrics/exemplar/always_sample_filter.h include/opentelemetry/sdk/metrics/exemplar/filter.h include/opentelemetry/sdk/metrics/exemplar/filtered_exemplar_reservoir.h include/opentelemetry/sdk/metrics/exemplar/fixed_size_exemplar_reservoir.h include/opentelemetry/sdk/metrics/exemplar/histogram_exemplar_reservoir.h include/opentelemetry/sdk/metrics/exemplar/never_sample_filter.h include/opentelemetry/sdk/metrics/exemplar/no_exemplar_reservoir.h include/opentelemetry/sdk/metrics/exemplar/reservoir.h include/opentelemetry/sdk/metrics/exemplar/reservoir_cell.h include/opentelemetry/sdk/metrics/exemplar/reservoir_cell_selector.h include/opentelemetry/sdk/metrics/exemplar/with_trace_sample_filter.h include/opentelemetry/sdk/metrics/export/metric_producer.h include/opentelemetry/sdk/metrics/export/periodic_exporting_metric_reader.h include/opentelemetry/sdk/metrics/export/periodic_exporting_metric_reader_factory.h include/opentelemetry/sdk/metrics/export/periodic_exporting_metric_reader_options.h include/opentelemetry/sdk/metrics/instrument_metadata_validator.h include/opentelemetry/sdk/metrics/instruments.h include/opentelemetry/sdk/metrics/meter.h include/opentelemetry/sdk/metrics/meter_context.h include/opentelemetry/sdk/metrics/meter_context_factory.h include/opentelemetry/sdk/metrics/meter_provider.h include/opentelemetry/sdk/metrics/meter_provider_factory.h include/opentelemetry/sdk/metrics/metric_reader.h include/opentelemetry/sdk/metrics/observer_result.h include/opentelemetry/sdk/metrics/push_metric_exporter.h include/opentelemetry/sdk/metrics/state/async_metric_storage.h include/opentelemetry/sdk/metrics/state/attributes_hashmap.h +include/opentelemetry/sdk/metrics/state/filtered_ordered_attribute_map.h include/opentelemetry/sdk/metrics/state/metric_collector.h include/opentelemetry/sdk/metrics/state/metric_storage.h include/opentelemetry/sdk/metrics/state/multi_metric_storage.h include/opentelemetry/sdk/metrics/state/observable_registry.h include/opentelemetry/sdk/metrics/state/sync_metric_storage.h include/opentelemetry/sdk/metrics/state/temporal_metric_storage.h include/opentelemetry/sdk/metrics/sync_instruments.h include/opentelemetry/sdk/metrics/view/attributes_processor.h include/opentelemetry/sdk/metrics/view/instrument_selector.h include/opentelemetry/sdk/metrics/view/instrument_selector_factory.h include/opentelemetry/sdk/metrics/view/meter_selector.h include/opentelemetry/sdk/metrics/view/meter_selector_factory.h include/opentelemetry/sdk/metrics/view/predicate.h include/opentelemetry/sdk/metrics/view/predicate_factory.h include/opentelemetry/sdk/metrics/view/view.h include/opentelemetry/sdk/metrics/view/view_factory.h include/opentelemetry/sdk/metrics/view/view_registry.h include/opentelemetry/sdk/metrics/view/view_registry_factory.h include/opentelemetry/sdk/resource/resource.h include/opentelemetry/sdk/resource/resource_detector.h include/opentelemetry/sdk/resource/semantic_conventions.h include/opentelemetry/sdk/trace/batch_span_processor.h include/opentelemetry/sdk/trace/batch_span_processor_factory.h include/opentelemetry/sdk/trace/batch_span_processor_options.h include/opentelemetry/sdk/trace/exporter.h include/opentelemetry/sdk/trace/id_generator.h include/opentelemetry/sdk/trace/multi_recordable.h include/opentelemetry/sdk/trace/multi_span_processor.h include/opentelemetry/sdk/trace/processor.h include/opentelemetry/sdk/trace/random_id_generator.h include/opentelemetry/sdk/trace/random_id_generator_factory.h include/opentelemetry/sdk/trace/recordable.h include/opentelemetry/sdk/trace/sampler.h include/opentelemetry/sdk/trace/samplers/always_off.h include/opentelemetry/sdk/trace/samplers/always_off_factory.h include/opentelemetry/sdk/trace/samplers/always_on.h include/opentelemetry/sdk/trace/samplers/always_on_factory.h include/opentelemetry/sdk/trace/samplers/parent.h include/opentelemetry/sdk/trace/samplers/parent_factory.h include/opentelemetry/sdk/trace/samplers/trace_id_ratio.h include/opentelemetry/sdk/trace/samplers/trace_id_ratio_factory.h include/opentelemetry/sdk/trace/simple_processor.h include/opentelemetry/sdk/trace/simple_processor_factory.h include/opentelemetry/sdk/trace/span_data.h include/opentelemetry/sdk/trace/tracer.h include/opentelemetry/sdk/trace/tracer_context.h include/opentelemetry/sdk/trace/tracer_context_factory.h include/opentelemetry/sdk/trace/tracer_provider.h include/opentelemetry/sdk/trace/tracer_provider_factory.h include/opentelemetry/sdk/version/version.h include/opentelemetry/sdk_config.h include/opentelemetry/std/shared_ptr.h include/opentelemetry/std/span.h include/opentelemetry/std/string_view.h include/opentelemetry/std/type_traits.h include/opentelemetry/std/unique_ptr.h include/opentelemetry/std/utility.h include/opentelemetry/std/variant.h include/opentelemetry/trace/context.h include/opentelemetry/trace/default_span.h include/opentelemetry/trace/noop.h include/opentelemetry/trace/propagation/b3_propagator.h include/opentelemetry/trace/propagation/detail/hex.h include/opentelemetry/trace/propagation/detail/string.h include/opentelemetry/trace/propagation/http_trace_context.h include/opentelemetry/trace/propagation/jaeger.h include/opentelemetry/trace/provider.h include/opentelemetry/trace/scope.h include/opentelemetry/trace/semantic_conventions.h include/opentelemetry/trace/span.h include/opentelemetry/trace/span_context.h include/opentelemetry/trace/span_context_kv_iterable.h include/opentelemetry/trace/span_context_kv_iterable_view.h include/opentelemetry/trace/span_id.h include/opentelemetry/trace/span_metadata.h include/opentelemetry/trace/span_startoptions.h include/opentelemetry/trace/trace_flags.h include/opentelemetry/trace/trace_id.h include/opentelemetry/trace/trace_state.h include/opentelemetry/trace/tracer.h include/opentelemetry/trace/tracer_provider.h include/opentelemetry/version.h lib/cmake/opentelemetry-cpp/opentelemetry-cpp-config-version.cmake lib/cmake/opentelemetry-cpp/opentelemetry-cpp-config.cmake lib/cmake/opentelemetry-cpp/opentelemetry-cpp-target-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/opentelemetry-cpp/opentelemetry-cpp-target.cmake lib/libopentelemetry_common.so lib/libopentelemetry_exporter_in_memory.so lib/libopentelemetry_exporter_ostream_logs.so lib/libopentelemetry_exporter_ostream_metrics.so lib/libopentelemetry_exporter_ostream_span.so lib/libopentelemetry_logs.so lib/libopentelemetry_metrics.so lib/libopentelemetry_resources.so lib/libopentelemetry_trace.so lib/libopentelemetry_version.so libdata/pkgconfig/opentelemetry_api.pc libdata/pkgconfig/opentelemetry_common.pc libdata/pkgconfig/opentelemetry_logs.pc libdata/pkgconfig/opentelemetry_metrics.pc libdata/pkgconfig/opentelemetry_resources.pc libdata/pkgconfig/opentelemetry_trace.pc libdata/pkgconfig/opentelemetry_version.pc diff --git a/devel/opentelemetry-proto/Makefile b/devel/opentelemetry-proto/Makefile index 14445d812fd5..2afd612e4d33 100644 --- a/devel/opentelemetry-proto/Makefile +++ b/devel/opentelemetry-proto/Makefile @@ -1,27 +1,27 @@ PORTNAME= opentelemetry -PORTVERSION= 1.0.0 +PORTVERSION= 1.1.0 DISTVERSIONPREFIX= v CATEGORIES= devel PKGNAMESUFFIX= -proto MAINTAINER= osa@FreeBSD.org COMMENT= OpenTelemetry protocol (OTLP) specification and Protobuf definitions WWW= https://github.com/open-telemetry/opentelemetry-proto LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= open-telemetry GH_PROJECT= opentelemetry-proto NO_BUILD= yes do-install: ${RM} ${WRKSRC}/opentelemetry/proto/collector/README.md ${RM} ${WRKSRC}/opentelemetry/proto/collector/*/v1/*.yaml ${MKDIR} ${STAGEDIR}${PREFIX}/include/opentelemetry/proto (cd ${WRKSRC}/opentelemetry/proto && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/opentelemetry/proto) .include diff --git a/devel/opentelemetry-proto/distinfo b/devel/opentelemetry-proto/distinfo index 910e7350ef66..bf3a1f3080fa 100644 --- a/devel/opentelemetry-proto/distinfo +++ b/devel/opentelemetry-proto/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1692838691 -SHA256 (open-telemetry-opentelemetry-proto-v1.0.0_GH0.tar.gz) = a13a1a7b76a1f22a0ca2e6c293e176ffef031413ab8ba653a82a1dbc286a3a33 -SIZE (open-telemetry-opentelemetry-proto-v1.0.0_GH0.tar.gz) = 111352 +TIMESTAMP = 1708279721 +SHA256 (open-telemetry-opentelemetry-proto-v1.1.0_GH0.tar.gz) = df491a05f3fcbf86cc5ba5c9de81f6a624d74d4773d7009d573e37d6e2b6af64 +SIZE (open-telemetry-opentelemetry-proto-v1.1.0_GH0.tar.gz) = 116800 diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 7f570318caab..19e3938755c4 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -1,381 +1,382 @@ PORTNAME?= nginx PORTVERSION= 1.25.4 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://nginx.org/download/ \ LOCAL/osa PKGNAMESUFFIX?= -devel DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER?= osa@FreeBSD.org COMMENT?= Robust and small WWW server WWW= https://nginx.com/ LICENSE?= BSD2CLAUSE LICENSE_FILE?= ${WRKSRC}/LICENSE CONFLICTS_INSTALL= nginx PORTSCOUT= limit:^1\.2[4-5]\.[0-9]* USES= cpe CPE_VENDOR= f5 CPE_PRODUCT= nginx USE_GITHUB= nodefault NGINX_VARDIR?= /var NGINX_LOGDIR?= ${NGINX_VARDIR}/log/nginx NGINX_RUNDIR?= ${NGINX_VARDIR}/run NGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx HTTP_PORT?= 80 NGINX_ACCESSLOG?= ${NGINX_LOGDIR}/access.log NGINX_ERRORLOG?= ${NGINX_LOGDIR}/error.log CONFLICTS?= nginx-1.* \ nginx-full-1.* \ nginx-lite-1.* \ nginx-naxsi-1.* USE_RC_SUBR?= nginx SUB_FILES?= pkg-message SUB_LIST+= WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} \ NGINX_RUNDIR=${NGINX_RUNDIR} \ NGINX_TMPDIR=${NGINX_TMPDIR} \ PREFIX=${PREFIX} HAS_CONFIGURE= yes CONFIGURE_ARGS+=--prefix=${ETCDIR} \ --with-cc-opt="-I ${LOCALBASE}/include" \ --conf-path=${ETCDIR}/nginx.conf \ --sbin-path=${PREFIX}/sbin/nginx \ --pid-path=${NGINX_RUNDIR}/nginx.pid \ --error-log-path=${NGINX_ERRORLOG} \ --user=${WWWOWN} --group=${WWWGRP} \ --with-compat \ --with-pcre ALL_TARGET= PLIST_SUB+= NGINX_TMPDIR=${NGINX_TMPDIR} NGINX_LOGDIR=${NGINX_LOGDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} USERS?= ${WWWOWN} GROUPS?=${WWWGRP} NO_OPTIONS_SORT= yes OPTIONS_GROUP= HTTPGRP MAILGRP STREAMGRP # Modules that are part of the base nginx distribution OPTIONS_GROUP_HTTPGRP= GOOGLE_PERFTOOLS HTTP HTTP_ADDITION HTTP_AUTH_REQ \ HTTP_CACHE HTTP_DAV HTTP_DEGRADATION HTTP_FLV HTTP_GUNZIP_FILTER \ HTTP_GZIP_STATIC HTTP_IMAGE_FILTER HTTP_MP4 HTTP_PERL \ HTTP_RANDOM_INDEX HTTP_REALIP HTTP_SECURE_LINK HTTP_SLICE HTTP_SSL \ HTTP_STATUS HTTP_SUB HTTP_XSLT HTTPV2 HTTPV3 HTTPV3_BORING HTTPV3_LSSL \ HTTPV3_QTLS OPTIONS_GROUP_MAILGRP= MAIL MAIL_IMAP MAIL_POP3 MAIL_SMTP MAIL_SSL OPTIONS_GROUP_STREAMGRP= STREAM STREAM_REALIP STREAM_SSL \ STREAM_SSL_PREREAD OPTIONS_DEFINE= DEBUG DEBUGLOG DSO FILE_AIO IPV6 NJS NJS_XML OTEL THREADS WWW OPTIONS_DEFAULT?= DSO FILE_AIO HTTP HTTP_ADDITION HTTP_AUTH_REQ HTTP_CACHE \ HTTP_DAV HTTP_FLV HTTP_GUNZIP_FILTER HTTP_GZIP_STATIC HTTP_MP4 \ HTTP_RANDOM_INDEX HTTP_REALIP HTTP_SECURE_LINK HTTP_SLICE HTTP_SSL \ HTTP_STATUS HTTP_SUB HTTPV2 HTTPV3 MAIL MAIL_SSL STREAM \ STREAM_REALIP STREAM_SSL STREAM_SSL_PREREAD THREADS WWW LIB_DEPENDS+= libpcre2-8.so:devel/pcre2 OPTIONS_RADIO+= GSSAPI OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags GSSAPI_MIT_USES= gssapi:mit OPTIONS_SUB= yes .include "Makefile.options.desc" .for opt in ${OPTIONS_GROUP_MAILGRP:NMAIL} ${opt}_IMPLIES= MAIL .endfor .for opt in ${OPTIONS_GROUP_HTTPGRP:NHTTP} WWW ${opt}_IMPLIES= HTTP .endfor .for opt in ${OPTIONS_GROUP_STREAMGRP:NSTREAM} ${opt}_IMPLIES= STREAM .endfor GSSAPI_HEIMDAL_IMPLIES= HTTP_AUTH_KRB5 GSSAPI_MIT_IMPLIES= HTTP_AUTH_KRB5 # If the target is makesum, make sure that every distfile is fetched. .if ${.TARGETS:Mmakesum} OPTIONS_DEFAULT= ${OPTIONS_DEFINE} ${OPTIONS_GROUP_HTTPGRP} \ ${OPTIONS_GROUP_MAILGRP} ${OPTIONS_GROUP_STREAMGRP} \ ${OPTIONS_GROUP_THIRDPARTYGRP} .endif # Non-module options handling DEBUG_CFLAGS= -g DEBUG_VARS= STRIP=#do not strip if nginx with debug information DEBUGLOG_CONFIGURE_ON= --with-debug DSO_CONFIGURE_ON= --modules-path=${MODULESDIR} DSO_VARS= MODULESDIR=${PREFIX}/libexec/${PORTNAME} FILE_AIO_CONFIGURE_ON= --with-file-aio IPV6_CONFIGURE_OFF= --with-cc-opt="-DNGX_HAVE_INET6=0 -I ${LOCALBASE}/include" THREADS_CONFIGURE_ON= --with-threads # Bundled modules GOOGLE_PERFTOOLS_LIB_DEPENDS= libprofiler.so:devel/google-perftools GOOGLE_PERFTOOLS_CONFIGURE_ON= --with-google_perftools_module HTTP_CONFIGURE_ON= --http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \ --http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \ --http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \ --http-scgi-temp-path=${NGINX_TMPDIR}/scgi_temp \ --http-uwsgi-temp-path=${NGINX_TMPDIR}/uwsgi_temp \ --http-log-path=${NGINX_ACCESSLOG} HTTP_CONFIGURE_OFF= --without-http HTTP_ADDITION_CONFIGURE_ON= --with-http_addition_module HTTP_AUTH_REQ_CONFIGURE_ON= --with-http_auth_request_module HTTP_CACHE_CONFIGURE_OFF= --without-http-cache HTTP_DAV_CONFIGURE_ON= --with-http_dav_module HTTP_DEGRADATION_CONFIGURE_ON= --with-http_degradation_module HTTP_FLV_CONFIGURE_ON= --with-http_flv_module HTTP_GZIP_STATIC_CONFIGURE_ON= --with-http_gzip_static_module HTTP_GUNZIP_FILTER_CONFIGURE_ON=--with-http_gunzip_module HTTP_IMAGE_FILTER_LIB_DEPENDS= libgd.so:graphics/gd HTTP_IMAGE_FILTER_VARS= DSO_BASEMODS+=http_image_filter_module HTTP_MP4_CONFIGURE_ON= --with-http_mp4_module HTTP_PERL_CATEGORIES= perl5 HTTP_PERL_USES= perl5 # Fix build failure on clang >= 12 HTTP_PERL_CFLAGS= -Wno-compound-token-split-by-macro HTTP_PERL_VARS= DSO_BASEMODS+=http_perl_module HTTP_RANDOM_INDEX_CONFIGURE_ON= --with-http_random_index_module HTTP_REALIP_CONFIGURE_ON= --with-http_realip_module HTTP_SECURE_LINK_CONFIGURE_ON= --with-http_secure_link_module HTTP_SLICE_CONFIGURE_ON= --with-http_slice_module HTTP_SSL_CONFIGURE_ON= --with-http_ssl_module HTTP_SSL_USES= ssl HTTP_STATUS_CONFIGURE_ON= --with-http_stub_status_module HTTP_SUB_CONFIGURE_ON= --with-http_sub_module HTTP_XSLT_CONFIGURE_ON= --with-http_xslt_module HTTP_XSLT_LIB_DEPENDS= libxml2.so:textproc/libxml2 \ libxslt.so:textproc/libxslt HTTP_XSLT_VARS= DSO_BASEMODS+=http_xslt_module HTTPV2_IMPLIES= HTTP_SSL HTTPV2_CONFIGURE_ON= --with-http_v2_module HTTPV3_CONFIGURE_ON= --with-http_v3_module HTTPV3_BORING_BUILD_DEPENDS= ${LOCALBASE}/bin/bssl:security/boringssl HTTPV3_BORING_RUN_DEPENDS= ${LOCALBASE}/bin/bssl:security/boringssl HTTPV3_BORING_IMPLIES= HTTPV3 HTTPV3_BORING_PREVENTS= HTTPV3_LSSL HTTPV3_QTLS HTTPV3_LSSL_BUILD_DEPENDS= ${LOCALBASE}/include/tls.h:security/libressl-devel HTTPV3_LSSL_BUILD_DEPENDS= ${LOCALBASE}/include/tls.h:security/libressl-devel HTTPV3_LSSL_IMPLIES= HTTPV3 HTTPV3_LSSL_PREVENTS= HTTPV3_BORING HTTPV3_QTLS HTTPV3_QTLS_BUILD_DEPENDS= ${LOCALBASE}/include/openssl/quic.h:security/openssl-quictls HTTPV3_QTLS_RUN_DEPENDS= ${LOCALBASE}/include/openssl/quic.h:security/openssl-quictls HTTPV3_QTLS_IMPLIES= HTTPV3 HTTPV3_QTLS_PREVENTS= HTTPV3_BORING HTTPV3_LSSL MAIL_VARS= DSO_BASEMODS+=mail MAIL_IMAP_CONFIGURE_OFF= --without-mail_imap_module MAIL_POP3_CONFIGURE_OFF= --without-mail_pop3_module MAIL_SMTP_CONFIGURE_OFF= --without-mail_smtp_module MAIL_SSL_USES= ssl MAIL_SSL_CONFIGURE_ON= --with-mail_ssl_module STREAM_VARS= DSO_BASEMODS+=stream STREAM_REALIP_CONFIGURE_ON= --with-stream_realip_module STREAM_SSL_USES= ssl STREAM_SSL_CONFIGURE_ON= --with-stream_ssl_module STREAM_SSL_PREREAD_CONFIGURE_ON=--with-stream_ssl_preread_module ### External modules .include "Makefile.extmod" .include .if ${PORT_OPTIONS:MDSO} _addbasemod= =dynamic _addextmod= add-dynamic-module .else _addextmod= add-module .endif .for mod in ${DSO_BASEMODS} CONFIGURE_ARGS+= --with-${mod}${_addbasemod} .endfor # Some modules depend on other being there before, for example, devel_kit needs # to be there before a few other. .for mod in ${FIRST_DSO_EXTMODS} CONFIGURE_ARGS+= --${_addextmod}=${WRKSRC_${mod}}${${mod:tu}_SUBDIR} .endfor .for mod in ${DSO_EXTMODS} CONFIGURE_ARGS+= --${_addextmod}=${WRKSRC_${mod}}${${mod:tu}_SUBDIR} .endfor # For non-GitHub hosted modules .for moddir in ${DSO_EXTDIRS} CONFIGURE_ARGS+= --${_addextmod}=${WRKDIR}/${moddir} .endfor .if empty(PORT_OPTIONS:MHTTP) && empty(PORT_OPTIONS:MMAIL) IGNORE= requires at least HTTP or MAIL to \ be defined. Please do 'make config' again .endif .if ${PORT_OPTIONS:MHTTP_AUTH_KRB5} && (empty(PORT_OPTIONS:MGSSAPI_HEIMDAL) && empty(PORT_OPTIONS:MGSSAPI_MIT)) IGNORE= required at least GSSAPI_HEIMDAL or \ GSSAPI_MIT to be defined. Please do \ 'make config' again .endif .if ${PORT_OPTIONS:MPASSENGER} && empty(PORT_OPTIONS:MDEBUG) CONFIGURE_ENV+= OPTIMIZE="yes" CFLAGS+= -DNDEBUG .endif .if ${PORT_OPTIONS:MPASSENGER} CONFIGURE_ENV+= EXTRA_PRE_CXXFLAGS="-std=c++14" .endif .if empty(PORT_OPTIONS:MMODSECURITY3) && empty(PORT_OPTIONS:MPASSENGER) CONFIGURE_ARGS+= --with-ld-opt="-L ${LOCALBASE}/lib" .else CONFIGURE_ARGS+= --with-ld-opt="-L ${LOCALBASE}/lib -lpcre" LIB_DEPENDS+= libpcre.so:devel/pcre .endif .if ${PORT_OPTIONS:MNJS} && empty(PORT_OPTIONS:MNJS_XML) CONFIGURE_ENV+= NJS_LIBXSLT=NO NJS_CONFIGURE_ARGS= --no-libxml2 .endif pre-everything:: @${ECHO_MSG} .if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR} @${ECHO_MSG} "Enable http_ssl module to build upstream_fair with SSL support" .endif .if ${PORT_OPTIONS:MPASSENGER} @${ECHO_MSG} "This port install Passenger module only" .endif @${ECHO_MSG} post-extract-NAXSI-on: @${RMDIR} ${WRKSRC_naxsi}/naxsi_src/libinjection @${LN} -s ${WRKSRC_libinjection} ${WRKSRC_naxsi}/naxsi_src/libinjection pre-patch-HTTPV3-on: @${MV} ${WRKSRC}/README ${WRKSRC}/README.1st post-patch: @${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \ s!%%PREFIX%%!${PREFIX}!; \ s!%%NGINX_ERRORLOG%%!${NGINX_ERRORLOG}!' \ ${WRKSRC}/conf/nginx.conf post-patch-BROTLI-on: @${REINPLACE_CMD} 's!%%PREFIX%%!${LOCALBASE}!g' ${WRKSRC_brotli}/filter/config post-patch-DRIZZLE-on: @${REINPLACE_CMD} 's!%%PREFIX%%!${LOCALBASE}!g' ${WRKSRC_drizzle}/config post-patch-FASTDFS-on: @${REINPLACE_CMD} \ 's!%%PREFIX%%!${PREFIX}!g;s!%%LOCALBASE%%!${LOCALBASE}!g' \ ${WRKSRC_fastdfs}/src/config post-patch-GRIDFS-on: @${REINPLACE_CMD} 's!\/usr!${LOCALBASE}!g' \ ${WRKSRC_gridfs}/nginx-gridfs/config post-patch-HTTP_AUTH_KRB5-on: @${REINPLACE_CMD} 's!%%GSSAPILIBS%%!${GSSAPILIBS}!g; \ s!%%GSSAPIINCDIR%%!${GSSAPIINCDIR}!g; \ s!%%GSSAPILIBDIR%%!${GSSAPILIBDIR}!g' ${WRKSRC_auth_krb5}/config post-patch-HTTP_TARANTOOL-on: @${REINPLACE_CMD} 's!%%PREFIX%%!${LOCALBASE}!g' ${WRKSRC_nginx_tarantool}/config post-patch-ICONV-on: @${REINPLACE_CMD} 's!%%PREFIX%%!${LOCALBASE}!g' ${WRKSRC_iconv}/config post-patch-PASSENGER-on: @${REINPLACE_CMD} \ '168,170s!true!false!' \ ${WRKSRC_PASSENGER}/build/basics.rb @${REINPLACE_CMD} \ 's!-I/usr/include/libev!!; \ s!-lev!!; \ s!-Iext/libev!!; \ s!-I/usr/include/libeio!!; \ s!-leio!!; \ s!-Iext/libeio!!' \ ${WRKSRC_PASSENGER}/build/common_library.rb post-patch-POSTGRES-on: @${REINPLACE_CMD} 's!%%PREFIX%%!${LOCALBASE}!g' ${WRKSRC_postgres}/config post-patch-SFLOW-on: @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_sflow}/ngx_http_sflow_config.h pre-configure-SMALL_LIGHT-on: ( cd ${WRKSRC_small_light} && ./setup ) do-configure-NJS-on: ( cd ${WRKSRC_njs} && ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${NJS_CONFIGURE_ARGS} ) .if !target(do-install) do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}${NGINX_TMPDIR} ${MKDIR} ${STAGEDIR}${NGINX_LOGDIR} ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${STAGEDIR}${PREFIX}/sbin .for i in koi-utf koi-win win-utf ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR} .endfor .for i in fastcgi_params mime.types scgi_params uwsgi_params ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR}/${i}-dist .endfor do-install-HTTP_PERL-on: ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/ # Install dynamic modules do-install-DSO-on: ${MKDIR} ${STAGEDIR}${MODULESDIR} (cd ${WRKSRC}/objs/ && ${FIND} . -name '*.so' -maxdepth 1 -type f \ -exec ${INSTALL_PROGRAM} {} ${STAGEDIR}${MODULESDIR} \;) do-install-LINK-on: ${INSTALL_DATA} ${WRKSRC_link}/src/ngx_link_func_module.h ${STAGEDIR}${PREFIX}/include do-install-NAXSI-on: ${INSTALL_DATA} \ ${WRKDIR}/naxsi-${NAXSI_NGINX_VER}/naxsi_rules/naxsi_core.rules \ ${STAGEDIR}${ETCDIR} .endif .if !target(post-install) post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/vim/vimfiles cd ${WRKSRC}/contrib/vim && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/vim/vimfiles ${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${STAGEDIR}${PREFIX}/share/man/man8 ${CAT} ${WRKSRC}/conf/nginx.conf >> ${STAGEDIR}${ETCDIR}/nginx.conf-dist post-install-WWW-on: ${MKDIR} ${STAGEDIR}${PREFIX}/www/nginx-dist (cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/www/nginx-dist && \ ${TOUCH} ${STAGEDIR}${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING) .endif .include