16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 include ../../make-rules/shared-macros.mk |
23 include ../../make-rules/shared-macros.mk |
24 |
24 |
25 COMPONENT_NAME= dhcp |
25 COMPONENT_NAME= dhcp |
26 COMPONENT_VERSION= 4.1 |
26 COMPONENT_VERSION= 4.1-ESV-R4 |
|
27 IPS_COMPONENT_VERSION= 4.1.0.4 |
|
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
27 COMPONENT_PROJECT_URL= http://www.isc.org/software/dhcp/ |
30 COMPONENT_PROJECT_URL= http://www.isc.org/software/dhcp/ |
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-ESV-R3 |
|
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
30 COMPONENT_ARCHIVE_HASH= sha1:6fc5ad06b1192c76edb1a35980fcf070a393c075 |
|
31 COMPONENT_ARCHIVE_URL= http://ftp.isc.org/isc/dhcp/$(COMPONENT_ARCHIVE) |
31 COMPONENT_ARCHIVE_URL= http://ftp.isc.org/isc/dhcp/$(COMPONENT_ARCHIVE) |
|
32 COMPONENT_ARCHIVE_HASH= sha1:2c05a978f5bcc47d9e2a9125ce51903144ebb940 |
32 |
33 |
33 include ../../make-rules/prep.mk |
34 include ../../make-rules/prep.mk |
34 include ../../make-rules/configure.mk |
35 include ../../make-rules/configure.mk |
35 include ../../make-rules/ips.mk |
36 include ../../make-rules/ips.mk |
36 |
37 |
38 ($(CLONEY) $(SOURCE_DIR) $(@D)) |
39 ($(CLONEY) $(SOURCE_DIR) $(@D)) |
39 |
40 |
40 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet |
41 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/inet |
41 CONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/inet |
42 CONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/inet |
42 CONFIGURE_OPTIONS += --bindir=$(USRSBINDIR) |
43 CONFIGURE_OPTIONS += --bindir=$(USRSBINDIR) |
43 CONFIGURE_OPTIONS += --enable-use-sockets --enable-ipv4-pktinfo |
44 CONFIGURE_OPTIONS += --enable-use-sockets |
|
45 CONFIGURE_OPTIONS += --enable-ipv4-pktinfo |
44 |
46 |
45 build: $(BUILD_32) |
47 build: $(BUILD_32) |
46 |
48 |
47 install: build $(INSTALL_32) $(PROTO_DIR)/dhcpd.leases |
49 install: build $(INSTALL_32) $(PROTO_DIR)/dhcpd.leases |
48 |
50 |