Andreas Wacknitz
2024-03-25 b0d69befb9223b8ca013e1d0cf2a9c50f826d2c9
commit | author | age
2d1ae2 1 #
AP 2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21
22 #
23 # Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
eb7e85 24 # Copyright (c) 2019, Michal Nowak
d6a7ab 25 # Copyright (c) 2022, Andreas Wacknitz
209028 26 # Copyright (c) 2022, Niklas Poslovski
2d1ae2 27 #
eb7e85 28
dd69fa 29 BUILD_BITS= 64
5df761 30 USE_DEFAULT_TEST_TRANSFORMS= yes
866d8c 31 USE_PARALLEL_BUILD= yes
2d1ae2 32 include ../../../make-rules/shared-macros.mk
AP 33
34 COMPONENT_NAME=        gnutls
ea6a11 35 COMPONENT_MJR_VERSION=    3.8
b0d69b 36 COMPONENT_VERSION=    $(COMPONENT_MJR_VERSION).4
2d1ae2 37 COMPONENT_SUMMARY=    GNU transport layer security library
5df761 38 COMPONENT_PROJECT_URL=  https://gnutls.org/
2d1ae2 39 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
AP 40 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
b0d69b 41 COMPONENT_ARCHIVE_HASH= sha256:2bea4e154794f3f00180fa2a5c51fe8b005ac7a31cd58bd44cdfa7f36ebc3a9b
d6a7ab 42 COMPONENT_ARCHIVE_URL=  https://www.gnupg.org/ftp/gcrypt/gnutls/v$(COMPONENT_MJR_VERSION)/$(COMPONENT_ARCHIVE)
cc7de6 43 COMPONENT_SIG_URL=    $(COMPONENT_ARCHIVE_URL).sig
MN 44 COMPONENT_FMRI=        library/gnutls-3
2d1ae2 45 COMPONENT_CLASSIFICATION=    System/Libraries
AP 46 COMPONENT_LICENSE=    GPLv3, LGPLv2.1, FDLv1.3
47
cc7de6 48 include $(WS_MAKE_RULES)/common.mk
2d1ae2 49
d0dd94 50 CFLAGS += -I$(USRINCDIR)/idn2
2d1ae2 51
7eab52 52 CONFIGURE_OPTIONS += --disable-dependency-tracking
72022c 53 CONFIGURE_OPTIONS += --with-default-trust-store-file=/etc/certs/ca-certificates.crt
D 54 CONFIGURE_OPTIONS += --with-default-trust-store-dir=/etc/certs/CA
5df761 55
866d8c 56 # usr/share/info/dir is provided by text/texinfo
MT 57 COMPONENT_POST_INSTALL_ACTION += $(RM) $(PROTOUSRSHAREDIR)/info/dir ;
2d1ae2 58
cc7de6 59 # Auto-generated dependencies
MN 60 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
61 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
2d1ae2 62 REQUIRED_PACKAGES += library/desktop/p11-kit
AP 63 REQUIRED_PACKAGES += library/gmp
d0dd94 64 REQUIRED_PACKAGES += library/libidn2
cc7de6 65 REQUIRED_PACKAGES += library/libtasn1
MN 66 REQUIRED_PACKAGES += library/libunistring
2d1ae2 67 REQUIRED_PACKAGES += library/nettle
AP 68 REQUIRED_PACKAGES += system/library
7eab52 69 REQUIRED_PACKAGES += system/library/math