|
From: <abe...@us...> - 2016-03-22 18:06:55
|
Revision: 7605
http://sourceforge.net/p/astlinux/code/7605
Author: abelbeck
Date: 2016-03-22 18:06:53 +0000 (Tue, 22 Mar 2016)
Log Message:
-----------
unbound, new package, enabled by default, only install the lib and the 'unbound-host' command. Adds 780 KB un-compressed, 350 KB compressed to the image. May be used by Asterisk per Matthew Jordan.
Ref: https://wiki.asterisk.org/wiki/display/~jcolp/DNS+Support+in+Asterisk#DNSSupportinAsterisk-libunbound
Modified Paths:
--------------
branches/1.0/astlinux-ast11.config
branches/1.0/astlinux-ast13.config
branches/1.0/astlinux18.config
branches/1.0/initrd.config
branches/1.0/package/Config.in
branches/1.0/runnix-iso.config
branches/1.0/runnix.config
branches/1.0/x86_64-configs/astlinux-ast11.config
branches/1.0/x86_64-configs/astlinux-ast13.config
branches/1.0/x86_64-configs/astlinux18.config
branches/1.0/x86_64-configs/initrd.config
Added Paths:
-----------
branches/1.0/package/unbound/
branches/1.0/package/unbound/Config.in
branches/1.0/package/unbound/unbound-enable-r-option-by-default.patch
branches/1.0/package/unbound/unbound.mk
Modified: branches/1.0/astlinux-ast11.config
===================================================================
--- branches/1.0/astlinux-ast11.config 2016-03-21 15:13:36 UTC (rev 7604)
+++ branches/1.0/astlinux-ast11.config 2016-03-22 18:06:53 UTC (rev 7605)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn7597-dirty Configuration
-# Fri Mar 18 13:54:34 2016
+# Buildroot 2011.08-svn7604-dirty Configuration
+# Tue Mar 22 12:22:57 2016
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -798,6 +798,7 @@
# BR2_PACKAGE_TN5250 is not set
# BR2_PACKAGE_TTCP is not set
# BR2_PACKAGE_UDPCAST is not set
+BR2_PACKAGE_UNBOUND=y
# BR2_PACKAGE_UW_IMAP is not set
# BR2_PACKAGE_VPNC is not set
BR2_PACKAGE_VSFTPD=y
Modified: branches/1.0/astlinux-ast13.config
===================================================================
--- branches/1.0/astlinux-ast13.config 2016-03-21 15:13:36 UTC (rev 7604)
+++ branches/1.0/astlinux-ast13.config 2016-03-22 18:06:53 UTC (rev 7605)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn7597-dirty Configuration
-# Fri Mar 18 13:54:38 2016
+# Buildroot 2011.08-svn7604-dirty Configuration
+# Tue Mar 22 12:22:57 2016
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -798,6 +798,7 @@
# BR2_PACKAGE_TN5250 is not set
# BR2_PACKAGE_TTCP is not set
# BR2_PACKAGE_UDPCAST is not set
+BR2_PACKAGE_UNBOUND=y
# BR2_PACKAGE_UW_IMAP is not set
# BR2_PACKAGE_VPNC is not set
BR2_PACKAGE_VSFTPD=y
Modified: branches/1.0/astlinux18.config
===================================================================
--- branches/1.0/astlinux18.config 2016-03-21 15:13:36 UTC (rev 7604)
+++ branches/1.0/astlinux18.config 2016-03-22 18:06:53 UTC (rev 7605)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn7597-dirty Configuration
-# Fri Mar 18 13:54:31 2016
+# Buildroot 2011.08-svn7604-dirty Configuration
+# Tue Mar 22 12:22:57 2016
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -798,6 +798,7 @@
# BR2_PACKAGE_TN5250 is not set
# BR2_PACKAGE_TTCP is not set
# BR2_PACKAGE_UDPCAST is not set
+BR2_PACKAGE_UNBOUND=y
# BR2_PACKAGE_UW_IMAP is not set
# BR2_PACKAGE_VPNC is not set
BR2_PACKAGE_VSFTPD=y
Modified: branches/1.0/initrd.config
===================================================================
--- branches/1.0/initrd.config 2016-03-21 15:13:36 UTC (rev 7604)
+++ branches/1.0/initrd.config 2016-03-22 18:06:53 UTC (rev 7605)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn7563-dirty Configuration
-# Sat Feb 27 17:06:59 2016
+# Buildroot 2011.08-svn7604-dirty Configuration
+# Tue Mar 22 12:22:58 2016
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -644,6 +644,7 @@
# BR2_PACKAGE_TN5250 is not set
# BR2_PACKAGE_TTCP is not set
# BR2_PACKAGE_UDPCAST is not set
+# BR2_PACKAGE_UNBOUND is not set
# BR2_PACKAGE_UW_IMAP is not set
# BR2_PACKAGE_VPNC is not set
# BR2_PACKAGE_VSFTPD is not set
Modified: branches/1.0/package/Config.in
===================================================================
--- branches/1.0/package/Config.in 2016-03-21 15:13:36 UTC (rev 7604)
+++ branches/1.0/package/Config.in 2016-03-22 18:06:53 UTC (rev 7605)
@@ -548,6 +548,7 @@
source "package/tn5250/Config.in"
source "package/ttcp/Config.in"
source "package/udpcast/Config.in"
+source "package/unbound/Config.in"
source "package/uw-imap/Config.in"
source "package/vpnc/Config.in"
source "package/vsftpd/Config.in"
Added: branches/1.0/package/unbound/Config.in
===================================================================
--- branches/1.0/package/unbound/Config.in (rev 0)
+++ branches/1.0/package/unbound/Config.in 2016-03-22 18:06:53 UTC (rev 7605)
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_UNBOUND
+ bool "unbound lib and unbound-host tool"
+ select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_EXPAT
+ help
+ Unbound is a validating, recursive, and caching DNS resolver.
+
+ https://www.unbound.net
+
Added: branches/1.0/package/unbound/unbound-enable-r-option-by-default.patch
===================================================================
--- branches/1.0/package/unbound/unbound-enable-r-option-by-default.patch (rev 0)
+++ branches/1.0/package/unbound/unbound-enable-r-option-by-default.patch 2016-03-22 18:06:53 UTC (rev 7605)
@@ -0,0 +1,12 @@
+--- unbound-1.5.8/smallapp/unbound-host.c.orig 2016-03-22 09:29:02.000000000 -0500
++++ unbound-1.5.8/smallapp/unbound-host.c 2016-03-22 09:31:10.000000000 -0500
+@@ -426,6 +426,9 @@
+ /* no need to fetch additional targets, we only do few lookups */
+ check_ub_res(ub_ctx_set_option(ctx, "target-fetch-policy:", "0 0 0 0 0"));
+
++ /* By default, read forwarder information from /etc/resolv.conf */
++ check_ub_res(ub_ctx_resolvconf(ctx, "/etc/resolv.conf"));
++
+ /* parse the options */
+ while( (c=getopt(argc, argv, "46DF:c:df:hrt:vy:C:")) != -1) {
+ switch(c) {
Added: branches/1.0/package/unbound/unbound.mk
===================================================================
--- branches/1.0/package/unbound/unbound.mk (rev 0)
+++ branches/1.0/package/unbound/unbound.mk 2016-03-22 18:06:53 UTC (rev 7605)
@@ -0,0 +1,37 @@
+#############################################################
+#
+# unbound
+#
+#############################################################
+
+UNBOUND_VERSION = 1.5.8
+UNBOUND_SITE = https://www.unbound.net/downloads
+UNBOUND_SOURCE = unbound-$(UNBOUND_VERSION).tar.gz
+UNBOUND_INSTALL_STAGING = YES
+
+UNBOUND_DEPENDENCIES = openssl expat
+
+UNBOUND_CONF_OPT = \
+ --with-libexpat="$(STAGING_DIR)/usr" \
+ --with-ssl="$(STAGING_DIR)/usr"
+
+# GOST cipher support requires openssl extra engines
+ifeq ($(BR2_PACKAGE_OPENSSL_ENGINES),y)
+UNBOUND_CONF_OPT += --enable-gost
+else
+UNBOUND_CONF_OPT += --disable-gost
+endif
+
+define UNBOUND_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 -D $(STAGING_DIR)/usr/sbin/unbound-host $(TARGET_DIR)/usr/sbin/unbound-host
+ ln -sf ../sbin/unbound-host $(TARGET_DIR)/usr/bin/host
+ cp -a $(STAGING_DIR)/usr/lib/libunbound.so* $(TARGET_DIR)/usr/lib/
+endef
+
+define UNBOUND_UNINSTALL_TARGET_CMDS
+ rm -f $(TARGET_DIR)/usr/sbin/unbound-host
+ rm -f $(TARGET_DIR)/usr/bin/host
+ rm -f $(TARGET_DIR)/usr/lib/libunbound.so*
+endef
+
+$(eval $(call AUTOTARGETS,package,unbound))
Modified: branches/1.0/runnix-iso.config
===================================================================
--- branches/1.0/runnix-iso.config 2016-03-21 15:13:36 UTC (rev 7604)
+++ branches/1.0/runnix-iso.config 2016-03-22 18:06:53 UTC (rev 7605)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn7563-dirty Configuration
-# Sat Feb 27 17:06:59 2016
+# Buildroot 2011.08-svn7604-dirty Configuration
+# Tue Mar 22 12:22:58 2016
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -683,6 +683,7 @@
# BR2_PACKAGE_TN5250 is not set
# BR2_PACKAGE_TTCP is not set
# BR2_PACKAGE_UDPCAST is not set
+# BR2_PACKAGE_UNBOUND is not set
# BR2_PACKAGE_UW_IMAP is not set
# BR2_PACKAGE_VPNC is not set
# BR2_PACKAGE_VSFTPD is not set
Modified: branches/1.0/runnix.config
===================================================================
--- branches/1.0/runnix.config 2016-03-21 15:13:36 UTC (rev 7604)
+++ branches/1.0/runnix.config 2016-03-22 18:06:53 UTC (rev 7605)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn7563-dirty Configuration
-# Sat Feb 27 17:06:59 2016
+# Buildroot 2011.08-svn7604-dirty Configuration
+# Tue Mar 22 12:22:58 2016
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -684,6 +684,7 @@
# BR2_PACKAGE_TN5250 is not set
# BR2_PACKAGE_TTCP is not set
# BR2_PACKAGE_UDPCAST is not set
+# BR2_PACKAGE_UNBOUND is not set
# BR2_PACKAGE_UW_IMAP is not set
# BR2_PACKAGE_VPNC is not set
# BR2_PACKAGE_VSFTPD is not set
Modified: branches/1.0/x86_64-configs/astlinux-ast11.config
===================================================================
--- branches/1.0/x86_64-configs/astlinux-ast11.config 2016-03-21 15:13:36 UTC (rev 7604)
+++ branches/1.0/x86_64-configs/astlinux-ast11.config 2016-03-22 18:06:53 UTC (rev 7605)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn7597-dirty Configuration
-# Fri Mar 18 13:54:56 2016
+# Buildroot 2011.08-svn7604-dirty Configuration
+# Tue Mar 22 12:22:58 2016
#
BR2_HAVE_DOT_CONFIG=y
BR2_ARCH_IS_64=y
@@ -779,6 +779,7 @@
# BR2_PACKAGE_TN5250 is not set
# BR2_PACKAGE_TTCP is not set
# BR2_PACKAGE_UDPCAST is not set
+BR2_PACKAGE_UNBOUND=y
# BR2_PACKAGE_UW_IMAP is not set
# BR2_PACKAGE_VPNC is not set
BR2_PACKAGE_VSFTPD=y
Modified: branches/1.0/x86_64-configs/astlinux-ast13.config
===================================================================
--- branches/1.0/x86_64-configs/astlinux-ast13.config 2016-03-21 15:13:36 UTC (rev 7604)
+++ branches/1.0/x86_64-configs/astlinux-ast13.config 2016-03-22 18:06:53 UTC (rev 7605)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn7597-dirty Configuration
-# Fri Mar 18 13:54:58 2016
+# Buildroot 2011.08-svn7604-dirty Configuration
+# Tue Mar 22 12:22:58 2016
#
BR2_HAVE_DOT_CONFIG=y
BR2_ARCH_IS_64=y
@@ -779,6 +779,7 @@
# BR2_PACKAGE_TN5250 is not set
# BR2_PACKAGE_TTCP is not set
# BR2_PACKAGE_UDPCAST is not set
+BR2_PACKAGE_UNBOUND=y
# BR2_PACKAGE_UW_IMAP is not set
# BR2_PACKAGE_VPNC is not set
BR2_PACKAGE_VSFTPD=y
Modified: branches/1.0/x86_64-configs/astlinux18.config
===================================================================
--- branches/1.0/x86_64-configs/astlinux18.config 2016-03-21 15:13:36 UTC (rev 7604)
+++ branches/1.0/x86_64-configs/astlinux18.config 2016-03-22 18:06:53 UTC (rev 7605)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn7597-dirty Configuration
-# Fri Mar 18 13:54:54 2016
+# Buildroot 2011.08-svn7604-dirty Configuration
+# Tue Mar 22 12:22:58 2016
#
BR2_HAVE_DOT_CONFIG=y
BR2_ARCH_IS_64=y
@@ -779,6 +779,7 @@
# BR2_PACKAGE_TN5250 is not set
# BR2_PACKAGE_TTCP is not set
# BR2_PACKAGE_UDPCAST is not set
+BR2_PACKAGE_UNBOUND=y
# BR2_PACKAGE_UW_IMAP is not set
# BR2_PACKAGE_VPNC is not set
BR2_PACKAGE_VSFTPD=y
Modified: branches/1.0/x86_64-configs/initrd.config
===================================================================
--- branches/1.0/x86_64-configs/initrd.config 2016-03-21 15:13:36 UTC (rev 7604)
+++ branches/1.0/x86_64-configs/initrd.config 2016-03-22 18:06:53 UTC (rev 7605)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn7563-dirty Configuration
-# Sat Feb 27 17:07:00 2016
+# Buildroot 2011.08-svn7604-dirty Configuration
+# Tue Mar 22 12:22:58 2016
#
BR2_HAVE_DOT_CONFIG=y
BR2_ARCH_IS_64=y
@@ -625,6 +625,7 @@
# BR2_PACKAGE_TN5250 is not set
# BR2_PACKAGE_TTCP is not set
# BR2_PACKAGE_UDPCAST is not set
+# BR2_PACKAGE_UNBOUND is not set
# BR2_PACKAGE_UW_IMAP is not set
# BR2_PACKAGE_VPNC is not set
# BR2_PACKAGE_VSFTPD is not set
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|