Changeset 32764


Ignore:
Timestamp:
2012-07-17T13:48:27+02:00 (6 years ago)
Author:
acinonyx
Message:

[package] dnsmasq: Bump to 2.62, add DHCPv6 variant

Location:
trunk/package/dnsmasq
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/dnsmasq/Makefile

    r31817 r32764  
    99 
    1010PKG_NAME:=dnsmasq 
    11 PKG_VERSION:=2.59 
    12 PKG_RELEASE:=4 
     11PKG_VERSION:=2.62 
     12PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq 
    16 PKG_MD5SUM:=b5757ef2d7b651748eeebb88af29d7d6 
     16PKG_MD5SUM:=f47e5cb8f5bac6343f24b2dbe317ab40 
     17 
     18PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) 
    1719 
    1820PKG_INSTALL:=1 
     
    2022include $(INCLUDE_DIR)/package.mk 
    2123 
    22 define Package/dnsmasq 
     24define Package/dnsmasq/Default 
    2325  SECTION:=net 
    2426  CATEGORY:=Base system 
     
    2729endef 
    2830 
     31define Package/dnsmasq 
     32$(call Package/dnsmasq/Default) 
     33  VARIANT:=nodhcpv6 
     34endef 
     35 
     36define Package/dnsmasq-dhcpv6 
     37$(call Package/dnsmasq/Default) 
     38  TITLE += (with DHCPv6 support) 
     39  DEPENDS:=@IPV6 +kmod-ipv6 
     40  VARIANT:=dhcpv6 
     41endef 
     42 
    2943define Package/dnsmasq/description 
    3044  It is intended to provide coupled DNS and DHCP service to a LAN. 
     45endef 
     46 
     47define Package/dnsmasq-dhcpv6/description 
     48$(call Package/dnsmasq/description) 
     49 
     50This is a variant with DHCPv6 support 
    3151endef 
    3252 
     
    3656endef 
    3757 
     58Package/dnsmasq-dhcpv6/conffiles = $(Package/dnsmasq/conffiles) 
     59 
    3860TARGET_CFLAGS += \ 
    3961        -ffunction-sections -fdata-sections \ 
    4062        $(if $(CONFIG_IPV6),,-DNO_IPV6) 
     63 
     64ifeq ($(BUILD_VARIANT),nodhcpv6) 
     65  TARGET_CFLAGS += -DNO_DHCP6 
     66endif 
    4167 
    4268MAKE_FLAGS := \ 
     
    5682endef 
    5783 
     84Package/dnsmasq-dhcpv6/install = $(Package/dnsmasq/install) 
     85 
    5886$(eval $(call BuildPackage,dnsmasq)) 
     87$(eval $(call BuildPackage,dnsmasq-dhcpv6)) 
Note: See TracChangeset for help on using the changeset viewer.