172N/A#
172N/A# CDDL HEADER START
172N/A#
172N/A# The contents of this file are subject to the terms of the
172N/A# Common Development and Distribution License (the "License").
172N/A# You may not use this file except in compliance with the License.
172N/A#
172N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
172N/A# or http://www.opensolaris.org/os/licensing.
172N/A# See the License for the specific language governing permissions
172N/A# and limitations under the License.
172N/A#
172N/A# When distributing Covered Code, include this CDDL HEADER in each
172N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
172N/A# If applicable, add the following below this CDDL HEADER, with the
172N/A# fields enclosed by brackets "[]" replaced with your own identifying
172N/A# information: Portions Copyright [yyyy] [name of copyright owner]
172N/A#
172N/A# CDDL HEADER END
172N/A#
172N/A
172N/A#
5420N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
172N/A#
172N/A
172N/Ainclude ../../make-rules/shared-macros.mk
172N/A
1273N/ACOMPONENT_NAME= ntp
3573N/ACOMPONENT_VERSION= 4.2.8
6564N/ACOMPONENT_PATCH_VERSION= 8
3925N/ACOMPONENT_RC_VERSION= 1
3925N/AHUMAN_VERSION= $(COMPONENT_VERSION)p$(COMPONENT_PATCH_VERSION)
3925N/AIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
618N/ACOMPONENT_PROJECT_URL= http://www.ntp.org/
3573N/ACOMPONENT_SRC_NAME= ntp
1273N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(HUMAN_VERSION)
172N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3925N/ACOMPONENT_ARCHIVE_HASH= \
6564N/A sha256:2ab3d0b5f0456e6311dda1cc27ab75da108762773a19e46abd938bd9407b97ee
3925N/ACOMPONENT_ARCHIVE_URL= http://archive.ntp.org/ntp4/ntp-4.2/$(COMPONENT_ARCHIVE)
3925N/ACOMPONENT_BUGDB= service/ntp
1273N/A
3573N/ATPNO= 20866
3347N/A
172N/APATCH_LEVEL = 0
172N/A
5009N/AASLR_MODE= $(ASLR_ENABLE)
5009N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
172N/A
181N/ACFLAGS += $(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
181N/A
6561N/ACONFIGURE_BINDIR.64 = /usr/sbin
6561N/ACONFIGURE_SBINDIR.64 = /usr/sbin
6561N/A
181N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
172N/ACONFIGURE_OPTIONS += --with-binsubdir=sbin
172N/ACONFIGURE_OPTIONS += --libexecdir=/usr/lib/inet
172N/ACONFIGURE_OPTIONS += --sysconfdir=/etc/inet
172N/ACONFIGURE_OPTIONS += --enable-all-clocks
172N/ACONFIGURE_OPTIONS += --enable-debugging
172N/ACONFIGURE_OPTIONS += --enable-debug-timing
172N/ACONFIGURE_OPTIONS += --disable-optional-args
172N/ACONFIGURE_OPTIONS += --enable-parse-clocks
172N/ACONFIGURE_OPTIONS += --enable-ignore-dns-errors
172N/ACONFIGURE_OPTIONS += --without-ntpsnmpd
6561N/ACONFIGURE_OPTIONS += --with-openssl-libdir=$(LIBDIR)/$(MACH64)
172N/A
6561N/Aconfigure: $(CONFIGURE_64)
6561N/A
6561N/Abuild: $(BUILD_64)
6561N/Ainstall: $(INSTALL_64)
181N/Atest: $(NO_TESTS)
172N/A
3996N/AREQUIRED_PACKAGES += library/libedit
3996N/AREQUIRED_PACKAGES += library/security/openssl
3996N/AREQUIRED_PACKAGES += runtime/perl-512
3996N/AREQUIRED_PACKAGES += service/network/dns/mdns
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/core-os
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/math