tree-sitter: update to 0.24.5
[oi-userland.git] / components / network / chrony / Makefile
blob89e3674c86f85d83f9bd80baeadd7ad70ea13821
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
23 # Copyright (c) 2023, Andreas Wacknitz
26 include ../../../make-rules/shared-macros.mk
28 COMPONENT_NAME= chrony
29 COMPONENT_VERSION= 4.6.1
30 COMPONENT_SUMMARY= network time services
31 COMPONENT_DESCRIPTION= A versatile implementation of the Network Time Protocol (NTP)
32 COMPONENT_PROJECT_URL= https://chrony-project.org
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
35 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_ARCHIVE)
36 COMPONENT_ARCHIVE_HASH= sha256:571ff73fbf0ae3097f0604eca2e00b1d8bb2e91affe1a3494785ff21d6199c5c
37 COMPONENT_SIG_URL= $(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_SRC)-tar-gz-asc.txt
38 COMPONENT_FMRI= service/network/$(COMPONENT_NAME)
39 COMPONENT_CLASSIFICATION= System/Services
40 COMPONENT_LICENSE= GPLv2
41 COMPONENT_LICENSE_FILE= COPYING
43 ASLR_MODE= $(ASLR_ENABLE)
45 include $(WS_MAKE_RULES)/common.mk
47 COMPONENT_PRE_CONFIGURE_ACTION= ( $(CLONEY) $(SOURCE_DIR) $(@D) )
49 CFLAGS += $(XPG6MODE)
51 CONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)/inet
52 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet
53 CONFIGURE_OPTIONS += --disable-shared
54 CONFIGURE_OPTIONS += --enable-ntp-signd
55 CONFIGURE_OPTIONS += --with-user=chrony
57 COMPONENT_TEST_TRANSFORMS += \
58 ' -n ' \
59 ' -e "/Testing/p" '
61 # Auto-generated dependencies
62 REQUIRED_PACKAGES += SUNWcs
63 REQUIRED_PACKAGES += library/gnutls-3
64 REQUIRED_PACKAGES += library/libedit
65 REQUIRED_PACKAGES += library/nettle
66 REQUIRED_PACKAGES += system/library
67 REQUIRED_PACKAGES += system/library/math