Ticket #10249: unbound-1.4.14.diff

File unbound-1.4.14.diff, 3.5 KB (added by Cybjit <cybjit@…>, 6 years ago)

unbound 1.4.14

  • net/unbound/Makefile

    diff --git a/net/unbound/Makefile b/net/unbound/Makefile
    index 8b8eeef..17c20f2 100644
    a b  
    88include $(TOPDIR)/rules.mk 
    99 
    1010PKG_NAME:=unbound 
    11 PKG_VERSION:=1.4.12 
     11PKG_VERSION:=1.4.14 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://www.unbound.net/downloads 
    16 PKG_MD5SUM:=673a224c76345003fd168448ca12fbb2 
     16PKG_MD5SUM:=cd69fdaaa6af01ea0b6fbc59802f74ba 
    1717 
    1818PKG_BUILD_DEPENDS:=libexpat 
    1919PKG_BUILD_PARALLEL:=1 
    2020PKG_FIXUP:=libtool 
    2121PKG_INSTALL:=1 
    22 PKG_LIBTOOL_PATHS:= ./libtool ./ldns-src/libtool 
    2322 
    2423include $(INCLUDE_DIR)/package.mk 
    2524 
  • net/unbound/patches/001-conf.patch

    diff --git a/net/unbound/patches/001-conf.patch b/net/unbound/patches/001-conf.patch
    index 2365111..be12a06 100644
    a b  
    6666  
    6767        # the time to live (TTL) value lower bound, in seconds. Default 0. 
    6868        # If more than an hour could easily give trouble due to stale data. 
    69 @@ -134,12 +145,15 @@ server: 
     69@@ -131,9 +142,11 @@ server: 
    7070        # the number of slabs must be a power of 2. 
    7171        # more slabs reduce lock contention, but fragment memory usage. 
    7272        # infra-cache-slabs: 4 
    7373+       infra-cache-slabs: 1 
    7474  
    75         # the maximum number of hosts that are cached (roundtrip times, EDNS). 
     75        # the maximum number of hosts that are cached (roundtrip, EDNS, lame). 
    7676        # infra-cache-numhosts: 10000 
    7777+       infra-cache-numhosts: 200 
    7878  
    79         # the maximum size of the lame zones cached per host. in bytes. 
    80         # infra-cache-lame-size: 10k 
    81 +       infra-cache-lame-size: 1k 
    82   
    8379        # Enable IPv4, "yes" or "no". 
    8480        # do-ip4: yes 
    85 @@ -166,6 +180,8 @@ server: 
     81@@ -164,6 +177,8 @@ server: 
    8682        # access-control: ::0/0 refuse 
    8783        # access-control: ::1 allow 
    8884        # access-control: ::ffff:127.0.0.1 allow 
     
    9187  
    9288        # if given, a chroot(2) is done to the given directory. 
    9389        # i.e. you can chroot to the working directory, for example, 
    94 @@ -196,6 +212,7 @@ server: 
     90@@ -194,6 +209,7 @@ server: 
    9591        # and the given username is assumed. Default is user "unbound". 
    9692        # If you give "" no privileges are dropped. 
    9793        # username: "@UNBOUND_USERNAME@" 
     
    9995  
    10096        # the working directory. The relative files in this config are  
    10197        # relative to this directory. If you give "" the working directory 
    102 @@ -218,10 +235,12 @@ server: 
     98@@ -216,10 +232,12 @@ server: 
    10399  
    104100        # the pid file. Can be an absolute path outside of chroot/work dir. 
    105101        # pidfile: "@UNBOUND_PIDFILE@" 
     
    112108  
    113109        # enable to not answer id.server and hostname.bind queries. 
    114110        # hide-identity: no 
    115 @@ -244,12 +263,15 @@ server: 
     111@@ -242,12 +260,15 @@ server: 
    116112        #       positive value: fetch that many targets opportunistically. 
    117113        # Enclose the list of numbers between quotes (""). 
    118114        # target-fetch-policy: "3 2 1 0 0" 
     
    128124  
    129125        # Harden against out of zone rrsets, to avoid spoofing attempts.  
    130126        # harden-glue: yes 
    131 @@ -323,7 +345,7 @@ server: 
     127@@ -321,7 +342,7 @@ server: 
    132128        # you start unbound (i.e. in the system boot scripts).  And enable: 
    133129        # Please note usage of unbound-anchor root anchor is at your own risk 
    134130        # and under the terms of our LICENSE (see that file in the source). 
     
    137133  
    138134        # File with DLV trusted keys. Same format as trust-anchor-file. 
    139135        # There can be only one DLV configured, it is trusted from root down. 
    140 @@ -409,15 +431,18 @@ server: 
     136@@ -407,15 +428,18 @@ server: 
    141137        # the amount of memory to use for the key cache. 
    142138        # plain value in bytes or you can append k, m or G. default is "4Mb".  
    143139        # key-cache-size: 4m