Changeset 27603


Ignore:
Timestamp:
2011-07-13T07:35:48+02:00 (5 years ago)
Author:
swalker
Message:

[packages] unbound: update to 1.4.11 (#9374), thanks Cybjit

  • add anchor, control, control-setup, host & library packages
  • add patch for the configuration options
  • drop the incomplete local configuration file
  • update named.cache
  • use the default auto-trust-anchor-file filename
Location:
packages/net/unbound
Files:
2 added
1 deleted
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • packages/net/unbound/Makefile

    r26097 r27603  
    11# 
    2 # Copyright (C) 2010 OpenWrt.org 
     2# Copyright (C) 2010-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=unbound 
    11 PKG_VERSION:=1.4.5 
    12 PKG_RELEASE:=3 
     11PKG_VERSION:=1.4.11 
     12PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://www.unbound.net/downloads 
    16 PKG_MD5SUM:=f1f6c97b90b15ca503a80b888c311d6c 
     16PKG_MD5SUM:=8e9903dd5cba0d3501e24f55b25debbd 
    1717 
     18PKG_BUILD_DEPENDS:=libexpat 
     19PKG_BUILD_PARALLEL:=1 
    1820PKG_FIXUP:=libtool 
    1921PKG_INSTALL:=1 
     
    2224include $(INCLUDE_DIR)/package.mk 
    2325 
     26define Package/unbound/Default 
     27  TITLE:=A validating, recursive & caching DNS resolver 
     28  URL:=http://www.unbound.net/ 
     29  DEPENDS:=+libldns 
     30endef 
     31 
    2432define Package/unbound 
     33  $(call Package/unbound/Default) 
    2534  SECTION:=net 
    2635  CATEGORY:=Network 
    2736  SUBMENU:=IP Addresses and Names 
    28   TITLE:=A validating, recursive, and caching DNS resolver 
    29   URL:=http://www.unbound.net/ 
    30   DEPENDS:=+libopenssl 
     37  TITLE+= (daemon) 
     38  DEPENDS+= +libunbound 
     39endef 
     40 
     41define Package/unbound/description 
     42  This package contains the Unbound daemon. 
     43endef 
     44 
     45define Package/unbound-anchor 
     46  $(call Package/unbound/Default) 
     47  SECTION:=net 
     48  CATEGORY:=Network 
     49  SUBMENU:=IP Addresses and Names 
     50  TITLE+= (anchor utility) 
     51  DEPENDS+= +unbound +libexpat 
     52endef 
     53 
     54define Package/unbound-anchor/description 
     55  This package contains the Unbound anchor utility. 
     56endef 
     57 
     58define Package/unbound-control 
     59  $(call Package/unbound/Default) 
     60  SECTION:=net 
     61  CATEGORY:=Network 
     62  SUBMENU:=IP Addresses and Names 
     63  TITLE+= (control utility) 
     64  DEPENDS+= +unbound 
     65endef 
     66 
     67define Package/unbound-control/description 
     68  This package contains the Unbound control utility. 
     69endef 
     70 
     71define Package/unbound-control-setup 
     72  $(call Package/unbound/Default) 
     73  SECTION:=net 
     74  CATEGORY:=Network 
     75  SUBMENU:=IP Addresses and Names 
     76  TITLE+= (control setup utility) 
     77  DEPENDS+= +unbound-control +openssl-util 
     78endef 
     79 
     80define Package/unbound-control-setup/description 
     81  This package contains the Unbound control setup utility. 
     82endef 
     83 
     84define Package/unbound-host 
     85  $(call Package/unbound/Default) 
     86  SECTION:=net 
     87  CATEGORY:=Network 
     88  SUBMENU:=IP Addresses and Names 
     89  TITLE+= (DNS lookup utility) 
     90  DEPENDS+= +libunbound 
     91endef 
     92 
     93define Package/unbound-host/description 
     94  This package contains the Unbound DNS lookup utility. 
     95endef 
     96 
     97define Package/libunbound 
     98  $(call Package/unbound/Default) 
     99  SECTION:=libs 
     100  CATEGORY:=Libraries 
     101  TITLE+= (library) 
     102endef 
     103 
     104define Package/libunbound/description 
     105  This package contains the Unbound shared library. 
    31106endef 
    32107 
    33108CONFIGURE_ARGS += \ 
     109        --disable-gost \ 
     110        --enable-allsymbols \ 
     111        --with-ldns="$(STAGING_DIR)/usr" \ 
     112        --with-libexpat="$(STAGING_DIR)/usr" \ 
    34113        --with-ssl="$(STAGING_DIR)/usr" \ 
    35         --without-pthreads \ 
     114        --without-pthreads 
    36115 
    37116define Package/unbound/conffiles 
     
    39118endef 
    40119 
     120define Build/InstallDev 
     121        $(INSTALL_DIR) $(1)/usr/include 
     122        $(CP) $(PKG_INSTALL_DIR)/usr/include/unbound.h $(1)/usr/include/ 
     123        $(INSTALL_DIR) $(1)/usr/lib 
     124        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libunbound.{so*,a,la} $(1)/usr/lib/ 
     125endef 
     126 
    41127define Package/unbound/install 
    42         $(INSTALL_DIR) $(1)/usr/lib 
    43         $(CP) \ 
    44                 $(PKG_INSTALL_DIR)/usr/lib/libunbound.so.* \ 
    45                 $(1)/usr/lib/ 
    46128        $(INSTALL_DIR) $(1)/usr/sbin 
    47129        $(CP) \ 
    48130                $(PKG_INSTALL_DIR)/usr/sbin/unbound \ 
    49131                $(PKG_INSTALL_DIR)/usr/sbin/unbound-checkconf \ 
    50                 $(PKG_INSTALL_DIR)/usr/sbin/unbound-control \ 
    51                 $(PKG_INSTALL_DIR)/usr/sbin/unbound-host \ 
    52132                $(1)/usr/sbin/ 
    53133        $(INSTALL_DIR) $(1)/etc/unbound 
    54         $(INSTALL_CONF) ./files/unbound.conf $(1)/etc/unbound/ 
    55         $(INSTALL_CONF) ./files/root.autokey $(1)/etc/unbound/ 
     134        $(INSTALL_CONF) \ 
     135                $(PKG_INSTALL_DIR)/etc/unbound/unbound.conf \ 
     136                $(1)/etc/unbound/ 
     137        $(INSTALL_CONF) ./files/root.key $(1)/etc/unbound/ 
    56138        $(INSTALL_CONF) ./files/named.cache $(1)/etc/unbound/ 
    57139        $(INSTALL_DIR) $(1)/etc/init.d 
     
    59141endef 
    60142 
     143define Package/unbound-anchor/install 
     144        $(INSTALL_DIR) $(1)/usr/sbin 
     145        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/unbound-anchor $(1)/usr/sbin/ 
     146endef 
     147 
     148define Package/unbound-control/install 
     149        $(INSTALL_DIR) $(1)/usr/sbin 
     150        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/unbound-control $(1)/usr/sbin/ 
     151endef 
     152 
     153define Package/unbound-control-setup/install 
     154        $(INSTALL_DIR) $(1)/usr/sbin 
     155        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/unbound-control-setup $(1)/usr/sbin/ 
     156endef 
     157 
     158define Package/unbound-host/install 
     159        $(INSTALL_DIR) $(1)/usr/sbin 
     160        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/unbound-host $(1)/usr/sbin/ 
     161endef 
     162 
     163define Package/libunbound/install 
     164        $(INSTALL_DIR) $(1)/usr/lib 
     165        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libunbound.so.* $(1)/usr/lib/ 
     166endef 
     167 
    61168$(eval $(call BuildPackage,unbound)) 
    62  
     169$(eval $(call BuildPackage,unbound-anchor)) 
     170$(eval $(call BuildPackage,unbound-control)) 
     171$(eval $(call BuildPackage,unbound-control-setup)) 
     172$(eval $(call BuildPackage,unbound-host)) 
     173$(eval $(call BuildPackage,libunbound)) 
  • packages/net/unbound/files/named.cache

    r22267 r27603  
    1010;       -OR-                    RS.INTERNIC.NET 
    1111; 
    12 ;       last update:    Jun 17, 2010 
    13 ;       related version of root zone:   2010061700 
     12;       last update:    Jun 8, 2011 
     13;       related version of root zone:   2011060800 
    1414; 
    1515; formerly NS.INTERNIC.NET 
     
    3333.                        3600000      NS    D.ROOT-SERVERS.NET. 
    3434D.ROOT-SERVERS.NET.      3600000      A     128.8.10.90 
     35D.ROOT-SERVERS.NET.      3600000      AAAA  2001:500:2D::D 
    3536; 
    3637; FORMERLY NS.NASA.GOV 
Note: See TracChangeset for help on using the changeset viewer.