components/isc-dhcp/Makefile
branchs11-sru
changeset 2316 4938d2a9bf9f
parent 2253 0ff714cd6653
child 2390 5b1bfaf90eeb
equal deleted inserted replaced
2315:39e0e525b961 2316:4938d2a9bf9f
    21 # Copyright (c) 2011, 2012, 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-ESV-R4
    26 COMPONENT_VERSION=	4.1-ESV-R6
    27 IPS_COMPONENT_VERSION=	4.1.0.4
    27 IPS_COMPONENT_VERSION=	4.1.0.6
    28 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    28 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    29 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    29 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    30 COMPONENT_ARCHIVE_URL=  http://ftp.isc.org/isc/dhcp/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
    30 COMPONENT_ARCHIVE_URL=  http://ftp.isc.org/isc/dhcp/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
    31 COMPONENT_ARCHIVE_HASH= sha1:2c05a978f5bcc47d9e2a9125ce51903144ebb940
    31 COMPONENT_ARCHIVE_HASH= sha1:47884866e5ff90b9c47945629c5bbb355bc2163b
    32 
    32 
    33 include ../../make-rules/prep.mk
    33 include ../../make-rules/prep.mk
    34 include ../../make-rules/configure.mk
    34 include ../../make-rules/configure.mk
    35 include ../../make-rules/ips.mk
    35 include ../../make-rules/ips.mk
    36 
    36 
    41 CONFIGURE_OPTIONS  +=	--sbindir=$(USRLIBDIR)/inet
    41 CONFIGURE_OPTIONS  +=	--sbindir=$(USRLIBDIR)/inet
    42 CONFIGURE_OPTIONS  +=	--bindir=$(USRSBINDIR)
    42 CONFIGURE_OPTIONS  +=	--bindir=$(USRSBINDIR)
    43 CONFIGURE_OPTIONS  +=	--enable-use-sockets
    43 CONFIGURE_OPTIONS  +=	--enable-use-sockets
    44 CONFIGURE_OPTIONS  +=	--enable-ipv4-pktinfo
    44 CONFIGURE_OPTIONS  +=	--enable-ipv4-pktinfo
    45 
    45 
       
    46 
    46 # Disable message in omapip/errwarn.c.
    47 # Disable message in omapip/errwarn.c.
    47 CPPFLAGS  +=            -DNOMINUM
    48 CPPFLAGS  +=		-DNOMINUM
    48 CONFIGURE_OPTIONS  +=   CPPFLAGS="$(CPPFLAGS)"
    49 CONFIGURE_OPTIONS  +=	CPPFLAGS="$(CPPFLAGS)"
    49 
    50 
    50 build:		$(BUILD_32)
    51 build:		$(BUILD_32)
    51 
    52 
    52 install:	build $(INSTALL_32) $(PROTO_DIR)/dhcpd.leases
    53 install:	build $(INSTALL_32) $(PROTO_DIR)/dhcpd.leases
    53 
    54