From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] dnsmasq: Disable CHAOS by default
Date: Thu, 5 Oct 2017 22:07:38 +0300 [thread overview]
Message-ID: <20171005190738.kb5qgdlmnfxdd7nu@tarshish> (raw)
In-Reply-To: <20171005072532.21720-1-jer@airfi.aero>
Hi Jeroen,
On Thu, Oct 05, 2017 at 09:25:32AM +0200, Jeroen Roovers wrote:
> dnsmasq exposes its version and some statistics through DNS, a features
> that is configurable only at build time and is enabled by default.
Your sign-off is missing.
> ---
> package/dnsmasq/Config.in | 6 ++++++
> package/dnsmasq/dnsmasq.mk | 4 ++++
> 2 files changed, 10 insertions(+)
>
> diff --git a/package/dnsmasq/Config.in b/package/dnsmasq/Config.in
> index 8921fc629d..ea733d964e 100644
> --- a/package/dnsmasq/Config.in
> +++ b/package/dnsmasq/Config.in
> @@ -27,6 +27,12 @@ config BR2_PACKAGE_DNSMASQ_DNSSEC
> help
> Enable DNSSEC validation and caching support.
>
> +config BR2_PACKAGE_DNSMASQ_CHAOS
> + bool "Enable identification support"
> + default n
This is the default for kconfig symbols.
> + help
> + Report *.bind CHAOS info to clients.
> +
> config BR2_PACKAGE_DNSMASQ_IDN
> bool "IDN support"
> depends on BR2_USE_WCHAR
> diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk
> index 9f96030eb6..dd2b5eb615 100644
> --- a/package/dnsmasq/dnsmasq.mk
> +++ b/package/dnsmasq/dnsmasq.mk
> @@ -30,6 +30,10 @@ ifneq ($(BR2_PACKAGE_DNSMASQ_TFTP),y)
> DNSMASQ_COPTS += -DNO_TFTP
> endif
>
> +ifneq ($(BR2_PACKAGE_DNSMASQ_CHAOS),y)
> +DNSMASQ_COPTS += -DNO_ID
> +endif
> +
> # NLS requires IDN so only enable it (i18n) when IDN is true
> ifeq ($(BR2_PACKAGE_DNSMASQ_IDN),y)
> DNSMASQ_DEPENDENCIES += libidn $(TARGET_NLS_DEPENDENCIES)
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
prev parent reply other threads:[~2017-10-05 19:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-05 7:25 [Buildroot] [PATCH 2/2] dnsmasq: Disable CHAOS by default Jeroen Roovers
2017-10-05 19:07 ` Baruch Siach [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171005190738.kb5qgdlmnfxdd7nu@tarshish \
--to=baruch@tkos.co.il \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.