280N/A#
280N/A# CDDL HEADER START
280N/A#
280N/A# The contents of this file are subject to the terms of the
280N/A# Common Development and Distribution License (the "License").
280N/A# You may not use this file except in compliance with the License.
280N/A#
280N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
280N/A# or http://www.opensolaris.org/os/licensing.
280N/A# See the License for the specific language governing permissions
280N/A# and limitations under the License.
280N/A#
280N/A# When distributing Covered Code, include this CDDL HEADER in each
280N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
280N/A# If applicable, add the following below this CDDL HEADER, with the
280N/A# fields enclosed by brackets "[]" replaced with your own identifying
280N/A# information: Portions Copyright [yyyy] [name of copyright owner]
280N/A#
280N/A# CDDL HEADER END
280N/A#
5680N/A
5680N/A#
5259N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
280N/A#
5680N/ABUILD_BITS= 64_and_32
280N/Ainclude ../../make-rules/shared-macros.mk
280N/A
1244N/ACOMPONENT_NAME= isc-dhcp
5707N/ACOMPONENT_VERSION= 4.3.3-P1
6091N/AHUMAN_VERSION= $(COMPONENT_VERSION)-S1
6091N/AIPS_COMPONENT_VERSION= 4.3.3.1.1
1244N/ACOMPONENT_SRC_NAME= dhcp
618N/ACOMPONENT_PROJECT_URL= http://www.isc.org/software/dhcp/
1021N/ACOMPONENT_ARCHIVE_URL= \
1021N/A http://ftp.isc.org/isc/dhcp/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
844N/ACOMPONENT_ARCHIVE_HASH= \
5707N/A sha256:c11e896dffa1bfbc49462965d3f6dec45534e34068603546d9a236f2aa669921
1258N/ACOMPONENT_BUGDB= service/dhcp-server
280N/A
5707N/ATPNO= 27530
2899N/A
5680N/AINSTALL_TARGET=
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
4082N/A
4082N/ALINT_FLAGS += -I$(BUILD_DIR_32)/includes \
5707N/A -I$(BUILD_DIR_64)/includes -I$(BUILD_DIR_32)/bind/include \
5707N/A -I$(BUILD_DIR_64)/bind/include -I$(SOURCE_DIR)/includes -I.
280N/A
280N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
280N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
280N/A
7243N/A# Enable adiheap and adistack security extensions
7243N/AADIHEAP_MODE = $(ADIHEAP_ENABLE)
7243N/AADISTACK_MODE = $(ADISTACK_ENABLE)
7243N/A
4082N/A# Some patches need configure script re-creation.
4082N/ACOMPONENT_PREP_ACTION +=(cd $(@D); autoreconf -vfi);
4082N/A
280N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet
280N/ACONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/inet
280N/ACONFIGURE_OPTIONS += --bindir=$(USRSBINDIR)
671N/ACONFIGURE_OPTIONS += --enable-use-sockets
671N/ACONFIGURE_OPTIONS += --enable-ipv4-pktinfo
4082N/ACONFIGURE_OPTIONS += --with-pic
5707N/ACONFIGURE_OPTIONS += --srcdir=$(BUILD_DIR_$(BITS))
747N/A
4082N/ACFLAGS += -g -fPIC
4082N/A
3353N/ACOMPONENT_TEST_DIR = $(@D)
3353N/A
4082N/Ainstall: build $(INSTALL_32_and_64) $(PROTO_DIR)/dhcpd.leases
280N/A
4082N/A$(PROTO_DIR)/dhcpd.leases: $(INSTALL_32_and_64)
280N/A $(TOUCH) $@
280N/A
5707N/A# Package dependencies
5707N/A# Created by 'gmake REQUIRED_PACKAGES', manually verified.
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/core-os
3817N/AREQUIRED_PACKAGES += system/network