aboutsummaryrefslogtreecommitdiff
path: root/package/dnsmasq/dnsmasq.mk
Commit message (Collapse)AuthorAgeFilesLines
* package/dnsmasq: add libidn2 supportGravatar Fabrice Fontaine2019-06-221-0/+5
| | | | | | | | | | | | | | libidn2 is preferred over libidn, see src/util.c: #if defined(HAVE_LIBIDN2) #include <idn2.h> #elif defined(HAVE_IDN) #include <idna.h> #endif So select libidn2 if libidn is not enabled Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/dnsmasq: bump version to 2.80Gravatar Jan Willem Janssen2019-06-191-1/+6
| | | | | | | Also automatically enable UBus support when UBus itself is enabled. Signed-off-by: Jan Willem Janssen <j.w.janssen@lxtreme.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* dnsmasq: NLS/i18n does not mandate libidn anymoreGravatar Fabrice Fontaine2018-06-061-6/+6
| | | | | | | | | Since May 2017, automatic inclusion of IDN has been removed when building internationalisation support: http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=43cdf1c3d074e75389392d495690923ef37d3248 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* dnsmasq: bump to version 2.79Gravatar Baruch Siach2018-03-231-1/+1
| | | | | | | Drop upstream patches. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dnsmasq: simplify build configurationGravatar Baruch Siach2017-10-021-32/+10
| | | | | | | | | | | | | | Drop direct sed'ing of config.h for HAVE_CONNTRACK, HAVE_LUASCRIPT, and HAVE_DBUS. Use MAKE_OPTS COPTS parameters instead, like we do already for all other options. Rename DNSMASQ_ENABLE_LUA to DNSMASQ_TWEAK_LIBLUA since it now does only that. Merge two conntrack and three dbus conditional sections. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: security bump to version 2.78Gravatar Baruch Siach2017-10-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Supported Lua version is now 5.2. Add licenses hash. Fixes a number of security issues: CVE-2017-13704 - Crash when DNS query exceeded 512 bytes (a regression in 2.77, so technically not fixed by this bump) CVE-2017-14491 - Heap overflow in DNS code CVE-2017-14492 - Heap overflow in IPv6 router advertisement code CVE-2017-14493 - Stack overflow in DHCPv6 code CVE-2017-14494 - Information leak in DHCPv6 CVE-2017-14496 - Invalid boundary checks allows a malicious DNS queries to trigger DoS CVE-2017-14495 - Out-of-memory Dos vulnerability Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: fix build without NLSGravatar Baruch Siach2017-08-291-1/+1
| | | | | | | | | | | | | dnsmasq i18n support requires NLS for the provided gettext utilities. Locale support, OTOH, is not required. Fixes: http://autobuild.buildroot.net/results/d45/d453aff1ce1f5e1d380bd7692a4a0565505027a3/ http://autobuild.buildroot.net/results/fb7/fb7844a239472eb48c18778aa7d515552ccfb4b9/ http://autobuild.buildroot.net/results/d85/d856ec3e6b28bd723176bb892a56dff5262a6b92/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: use new gettext logicGravatar Thomas Petazzoni2017-07-051-2/+2
| | | | | | | | | | | This commit switches to use the new gettext logic, which involves: - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext - dropping BR2_PACKAGE_GETTEXT selection Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for GPLv3/GPLv3+Gravatar Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Gravatar Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: bump to version 2.76Gravatar Gustavo Zacarias2016-05-231-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: re-enable parallel buildsGravatar Gustavo Zacarias2016-03-121-1/+1
| | | | | | | | | They don't seem to be causing any issues after many bumps and tests. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: separate licenses with 'or' keywordGravatar Rahul Bedarkar2016-02-251-1/+1
| | | | | | | | dnsmasq is dual licensed so separate licenses with 'or' keyword. Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: bump to version 2.75Gravatar Gustavo Zacarias2015-08-071-1/+1
| | | | | | | | [Thomas: applying for 2015.08, because it fixes a regression introduced in dnsmasq 2.74, as reported by Gustavo.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: bump to version 2.74Gravatar Gustavo Zacarias2015-07-291-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: bump to version 2.73Gravatar Gustavo Zacarias2015-06-201-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove non-IPv6 dependencies and tweaksGravatar Gustavo Zacarias2015-04-221-4/+0
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGravatar Gustavo Zacarias2015-04-011-4/+0
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: indentation cleanupGravatar Jerzy Grzegorek2015-03-311-15/+15
| | | | | | | This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: install DBus configuration fileGravatar Yegor Yefremov2014-12-311-0/+8
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSGravatar Thomas Petazzoni2014-12-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* packages: rename FOO_MAKE_OPT into FOO_MAKE_OPTSGravatar Thomas De Schampheleire2014-10-041-6/+6
| | | | | | | | | | | | | | | | | | | | | While the autotools infrastructure was using FOO_MAKE_OPT, generic packages were typically using FOO_MAKE_OPTS. This inconsistency becomes a problem when a new infrastructure is introduced that wants to make use of FOO_MAKE_OPT(S), and can live alongside either generic-package or autotools-package. The new infrastructure will have to choose between either OPT or OPTS, and thus rule out transparent usage by respectively generic packages or generic packages. An example of such an infrastructure is kconfig-package, which provides kconfig-related make targets. The OPTS variant is more logical, as there are typically multiple options. This patch renames all occurrences of FOO_MAKE_OPT in FOO_MAKE_OPTS. Sed command used: find * -type f | xargs sed -i 's#_MAKE_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: bump to version 2.72Gravatar Gustavo Zacarias2014-09-241-1/+1
| | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/dnsmasq: Fix link error with gettextGravatar Bernd Kuhls2014-07-311-2/+2
| | | | | | | | | | | -lintl needs to be added at the end of the link command, Makefile has variable LIBS for this purpose, so use it instead of LDFLAGS. Fixes http://autobuild.buildroot.net/results/276/276581f6dbbe330799c3a7eaa26b453e38a22907/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: static linking with lua doesn't need -ldlGravatar Peter Korsgaard2014-06-121-1/+5
| | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/77e/77e4123a3ddc934efedf4b09adc2436421ee70b3/ liblua only uses libdl when dynamic linking is used, and certain toolchains (E.G. bfin) doesn't provide a libdl - So only link against it if it is needed. At the same time change it pass the library in LIBS instead of LDFLAGS so it ends up at the end of the linker cmdline. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dnsmasq: bump to version 2.71Gravatar Gustavo Zacarias2014-05-201-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dnsmasq: bump versionGravatar Peter Korsgaard2014-04-241-1/+1
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dnsmasq: bump to version 2.69Gravatar Gustavo Zacarias2014-04-111-4/+13
| | | | | | | Now with DNSSEC support. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dnsmasq: add sysv initscriptGravatar Gustavo Zacarias2014-03-291-0/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: bump to version 2.68Gravatar Gustavo Zacarias2013-12-101-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove uninstall commandsGravatar Thomas De Schampheleire2013-12-061-5/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dnsmasq: bump to version 2.67Gravatar Gustavo Zacarias2013-10-251-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* change package tarball compression to xz whenever possibleGravatar Jerzy Grzegorek2013-09-081-0/+1
| | | | | | [Peter: leave change xz tarball format to not end up with circular deps] Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Gravatar Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dnsmasq: bump to version 2.66Gravatar Gustavo Zacarias2013-05-121-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dnsmasq: build with MAKE1Gravatar gilles.talis@gmail.com2013-04-211-1/+1
| | | | | | | | | | | | | dnsmasq build breaks with parallel builds. By the time final target needs to be linked, some object files are missing. Fix it by using MAKE1 instead. Fixes: http://autobuild.buildroot.org/results/7a68e2f64105013c1040c01c0e55fb5d910ef8d8 Signed-off-by: Gilles Talis <gilles.talis@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dnsmasq: add missing dependency on host-gettextGravatar Thomas Petazzoni2013-03-251-2/+2
| | | | | | | | | | | | | | | When idn support is enabled, the dnsmasq build procedure requires xgettext, which is provided by host-gettext. Moreover, dnsmasq.mk was not passing $(TARGET_MAKE_ENV) in the environment, so $(HOST_DIR)/usr/bin was not in the PATH. For that reason, the dnsmasq Makefile could not find the xgettext program. Fixes: http://autobuild.buildroot.org/results/f7feaa818500a369a6c4c5fd8899c168f21b1460/build-end.log. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dnsmasq: bump to version 2.65Gravatar Gustavo Zacarias2012-12-161-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dnsmasq: bump to version 2.64Gravatar Gustavo Zacarias2012-12-091-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: switch to host-pkgconfGravatar Gustavo Zacarias2012-10-291-3/+3
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dnsmasq: bump to version 2.63Gravatar Gustavo Zacarias2012-09-201-1/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove all references to libintlGravatar Thomas Petazzoni2012-09-201-1/+1
| | | | | | | | | | | | | | | From now on, packages only need to select the BR2_PACKAGE_GETTEXT option and depend on the 'gettext' package to get the necessary i18n libraries installed on the target. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [yann.morin.1998@free.fr: remove BR2_PACKAGE_LIBINTL] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> CC: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageGravatar Arnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dnsmasq: bump to version 2.62Gravatar Gustavo Zacarias2012-06-101-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dnsmasq: host-pkg-config is needed for lua support as wellGravatar Peter Korsgaard2012-05-151-3/+1
| | | | | | Fixes http://autobuild.buildroot.org/results/94d67f02c81639e1586d1c21a7e3b183a6ab50a2 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dnsmasq: bump to version 2.61 and enhanceGravatar Gustavo Zacarias2012-05-061-6/+20
| | | | | | | | | | | Bump to dnsmasq version 2.61. Add new conntrack functionality: makes for more sturdy firewall setups. Make IDN build without libintl, it's no longer needed and problematic for other packages when there's no NLS support enabled. Locale support does require IDN so just build it when IDN=y. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dnsmasq: bump to version 2.60Gravatar Gustavo Zacarias2012-03-131-6/+24
| | | | | | | | Bump to version 2.60 of dnsmasq with the new lua scripting option. Switch LDFLAGS from MAKE_ENV to MAKE_OPT to make it work properly. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dnsmasq: create runtime directoryGravatar Daniel Mack2011-12-061-0/+1
| | | | | | | | $(TARGET_DIR)/var/lib/misc/ is the location where dnsmasq stores its lease files. Create it to make the daemon work. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dnsmasq: bump to version 2.59Gravatar Gustavo Zacarias2011-10-281-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from GENTARGETSGravatar Thomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>