# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2023 Friedrich Kink # USE_DEFAULT_TEST_TRANSFORMS= yes include ../../../make-rules/shared-macros.mk COMPONENT_NAME= ngtcp2 COMPONENT_VERSION= 1.15.1 COMPONENT_SUMMARY= ngtcp2 project is an effort to implement RFC9000 QUIC protocol COMPONENT_PROJECT_URL= https://ngtcp2.org/ COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz COMPONENT_ARCHIVE_HASH= sha256:06f2eec7ca76552041050473d992d3063782e26fdff57533cb8cd8c9a6859a17 COMPONENT_ARCHIVE_URL= https://github.com/ngtcp2/ngtcp2/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_FMRI= library/ngtcp2 COMPONENT_CLASSIFICATION= System/Libraries COMPONENT_LICENSE= MIT COMPONENT_LICENSE_FILE= COPYING include $(WS_MAKE_RULES)/common.mk CFLAGS += $(XPG8MODE) # Needed to find right openssl CPPFLAGS += -I$(OPENSSL_INCDIR) LDFLAGS += -L$(OPENSSL_LIBDIR) CONFIGURE_ENV += LIBS="-lsocket" CONFIGURE_OPTIONS += --disable-static # Manually added dependencies TEST_REQUIRED_PACKAGES += developer/cunit # According to the documentation the following packages are needed to build the examples: REQUIRED_PACKAGES += library/libev REQUIRED_PACKAGES += library/nghttp3 # Auto-generated dependencies REQUIRED_PACKAGES += $(OPENSSL_PKG) REQUIRED_PACKAGES += system/library