author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Thu, 09 Feb 2017 12:29:59 -0800 | |
changeset 7658 | bfa9f8c70c0e |
parent 7245 | 934578b959f0 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
1 |
# |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
3 |
# |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
7 |
# |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
12 |
# |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
18 |
# |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
20 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5261
diff
changeset
|
21 |
|
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5261
diff
changeset
|
22 |
# |
5261
172253f94ecf
22517767 Upgrade Solaris' DHCP to version 4.1-ESV-R7-P1
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
4339
diff
changeset
|
23 |
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5261
diff
changeset
|
25 |
BUILD_BITS= 64_and_32 |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
27 |
|
1048
e82fa02a4d16
15863968 Auto-generation of Userland gate list - Phase 1.
Rich Burridge <rich.burridge@oracle.com>
parents:
982
diff
changeset
|
28 |
COMPONENT_NAME= isc-dhcp |
5709
42ebc732084b
PSARC 2016/201 Upgrade to ISC DHCP 4.3.3-P1
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
5682
diff
changeset
|
29 |
COMPONENT_VERSION= 4.3.3-P1 |
6093
89cd363fa5c9
22879627 problem in SERVICE/DHCP-SERVER
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
5709
diff
changeset
|
30 |
HUMAN_VERSION= $(COMPONENT_VERSION)-S1 |
89cd363fa5c9
22879627 problem in SERVICE/DHCP-SERVER
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
5709
diff
changeset
|
31 |
IPS_COMPONENT_VERSION= 4.3.3.1.1 |
1048
e82fa02a4d16
15863968 Auto-generation of Userland gate list - Phase 1.
Rich Burridge <rich.burridge@oracle.com>
parents:
982
diff
changeset
|
32 |
COMPONENT_SRC_NAME= dhcp |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
473
diff
changeset
|
33 |
COMPONENT_PROJECT_URL= http://www.isc.org/software/dhcp/ |
933
fbf8e08af1f1
7181717 Problem with network/dhcp_server
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
800
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= \ |
fbf8e08af1f1
7181717 Problem with network/dhcp_server
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
800
diff
changeset
|
35 |
http://ftp.isc.org/isc/dhcp/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
736
diff
changeset
|
36 |
COMPONENT_ARCHIVE_HASH= \ |
5709
42ebc732084b
PSARC 2016/201 Upgrade to ISC DHCP 4.3.3-P1
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
5682
diff
changeset
|
37 |
sha256:c11e896dffa1bfbc49462965d3f6dec45534e34068603546d9a236f2aa669921 |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
1048
diff
changeset
|
38 |
COMPONENT_BUGDB= service/dhcp-server |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
39 |
|
5709
42ebc732084b
PSARC 2016/201 Upgrade to ISC DHCP 4.3.3-P1
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
5682
diff
changeset
|
40 |
TPNO= 27530 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1058
diff
changeset
|
41 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5261
diff
changeset
|
42 |
INSTALL_TARGET= |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5261
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/common.mk |
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
44 |
|
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
45 |
LINT_FLAGS += -I$(BUILD_DIR_32)/includes \ |
5709
42ebc732084b
PSARC 2016/201 Upgrade to ISC DHCP 4.3.3-P1
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
5682
diff
changeset
|
46 |
-I$(BUILD_DIR_64)/includes -I$(BUILD_DIR_32)/bind/include \ |
42ebc732084b
PSARC 2016/201 Upgrade to ISC DHCP 4.3.3-P1
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
5682
diff
changeset
|
47 |
-I$(BUILD_DIR_64)/bind/include -I$(SOURCE_DIR)/includes -I. |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
48 |
|
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
49 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
50 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
51 |
|
7245
934578b959f0
20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents:
6093
diff
changeset
|
52 |
# Enable adiheap and adistack security extensions |
934578b959f0
20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents:
6093
diff
changeset
|
53 |
ADIHEAP_MODE = $(ADIHEAP_ENABLE) |
934578b959f0
20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents:
6093
diff
changeset
|
54 |
ADISTACK_MODE = $(ADISTACK_ENABLE) |
934578b959f0
20029192 Userland should build with ld -z sx=nx* flags instead of map.noexstk
Enrico Perla <enrico.perla@oracle.com>
parents:
6093
diff
changeset
|
55 |
|
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
56 |
# Some patches need configure script re-creation. |
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
57 |
COMPONENT_PREP_ACTION +=(cd $(@D); autoreconf -vfi); |
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
58 |
|
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
59 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
60 |
CONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/inet |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
61 |
CONFIGURE_OPTIONS += --bindir=$(USRSBINDIR) |
658
714803fd87a0
7116917 Problem with network/dhcp_server
Stacey Marshall <Stacey.Marshall@Oracle.COM>
parents:
609
diff
changeset
|
62 |
CONFIGURE_OPTIONS += --enable-use-sockets |
714803fd87a0
7116917 Problem with network/dhcp_server
Stacey Marshall <Stacey.Marshall@Oracle.COM>
parents:
609
diff
changeset
|
63 |
CONFIGURE_OPTIONS += --enable-ipv4-pktinfo |
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
64 |
CONFIGURE_OPTIONS += --with-pic |
5709
42ebc732084b
PSARC 2016/201 Upgrade to ISC DHCP 4.3.3-P1
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
5682
diff
changeset
|
65 |
CONFIGURE_OPTIONS += --srcdir=$(BUILD_DIR_$(BITS)) |
722
db6c773d591a
7143416 setting config/append_agent_option to true prevents dhcrelay from starting
Krishnan Chandrashekar <Krishnan.Chandrashekar@oracle.COM>
parents:
659
diff
changeset
|
66 |
|
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
67 |
CFLAGS += -g -fPIC |
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
68 |
|
2164
b580bc10e31a
19824924 Various Userland component test: Makefile targets should be standardized
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
69 |
COMPONENT_TEST_DIR = $(@D) |
b580bc10e31a
19824924 Various Userland component test: Makefile targets should be standardized
Rich Burridge <rich.burridge@oracle.com>
parents:
1948
diff
changeset
|
70 |
|
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
71 |
install: build $(INSTALL_32_and_64) $(PROTO_DIR)/dhcpd.leases |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
72 |
|
4084
3b8278addf4b
PSARC/2015/160 ISC libomapi, libdst, and libdhcpctl
Praveen Kumar Muthuswamy <praveen.muthuswamy@oracle.com>
parents:
3817
diff
changeset
|
73 |
$(PROTO_DIR)/dhcpd.leases: $(INSTALL_32_and_64) |
280
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
74 |
$(TOUCH) $@ |
c0dae1e3ca2f
PSARC 2011/043 Import ISC DHCP
Rishi Srivatsavai <Rishi.Srivatsavai@oracle.com>
parents:
diff
changeset
|
75 |
|
5709
42ebc732084b
PSARC 2016/201 Upgrade to ISC DHCP 4.3.3-P1
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
5682
diff
changeset
|
76 |
# Package dependencies |
42ebc732084b
PSARC 2016/201 Upgrade to ISC DHCP 4.3.3-P1
Ben Chang <Benjamin.Chang@Oracle.COM>
parents:
5682
diff
changeset
|
77 |
# Created by 'gmake REQUIRED_PACKAGES', manually verified. |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
78 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
79 |
REQUIRED_PACKAGES += system/core-os |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
80 |
REQUIRED_PACKAGES += system/network |