Commit Graph

79 Commits (a13b6db678741695b029f0968e5253a85b70cf83)

Author SHA1 Message Date
Nicolas Thill a13b6db678 package/dnsmasq: use new service wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 22:58:45 +00:00
Florian Fainelli 2744a70c55 [package] dnsmasq: update to 2.58
patch by Raphael Huck.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-30 12:55:23 +00:00
Jo-Philipp Wich 71f990ccfb [PATCH] dnsmasq: allow hostname assignment without static lease
The attached patch for dnsmasq.init allows to assign a hostname to a
particular mac-address. It's useful to override the client supplied
hostname, especially if the client does not supply a hostname at all.

It corresponds to the following example in dnsmasq.conf.example:

	# Always set the name of the host with hardware address
	# 11:22:33:44:55:66 to be "fred"
	#dhcp-host=11:22:33:44:55:66,fred
			
Regards
Mathias


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:12:50 +00:00
Felix Fietkau dc08d4eafc dnsmasq: use -ffunction-sections, -fdata-sections and --gc-sections, saves 8k uncompressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 12:47:57 +00:00
Imre Kaloz 8dfd4cba5f [package/dnsmasq]: upgrade to 2.57
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 08:50:15 +00:00
Jo-Philipp Wich 1918a94f1d [PATCH] Package dnsmasq init-file
If an already running DHCP-server is found on
the configured interface, the init-script refuses
to start, but does not give a hint why. It took us
some days to track down this behavior in our MANET,
where every wifi/adhoc-node runs it own DHCP-server.
Now syslog is more verbose on this.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-21 13:53:27 +00:00
Jo-Philipp Wich 06364b3360 [package] dnsmasq: allow 127.0.0.1/8 upstream DNS responses by default, resolves issues with Netflix and other services
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-06 13:10:15 +00:00
Nicolas Thill 9d8ace68e3 package/dnsmasq: add support for bogus-nxdomain (thanks to Mickey Knox), bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-11 10:37:33 +00:00
Nicolas Thill 3770e0e7fa dnsmasq: initscript: fix bool options handling, bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 13:36:13 +00:00
Jo-Philipp Wich d5e9eb6971 [package] dnsmasq: add and enable DNS rebind protections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-16 00:06:59 +00:00
Alexandros C. Couloumbis 7600086eb4 package/dnsmasq: update dnsmasq to 2.55
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 07:09:16 +00:00
Nicolas Thill 2f63f3737b package/dnsmasq: bump release number (missed from r21400)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-21 15:08:27 +00:00
Jo-Philipp Wich 20711d0723 [package] dnsmasq:
- when processing domain entries, append searchdomain to host entries if they are not fully qualified
	- create only one reverse record for address entries with multiple names


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-23 13:40:50 +00:00
Jo-Philipp Wich 9ab8828d63 [package] dnsmasq: don't append search domain to custom host entries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 19:09:05 +00:00
Jo-Philipp Wich 67d446094f [package] dnsmasq: allow multiple hostnames per domain section
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-02 22:56:22 +00:00
Vasilis Tsiligiannis 7050ec7ba0 [package] dnsmasq: Remove deprecated HAVE_ISC_READER=1 flag (#6757)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 21:19:05 +00:00
Hauke Mehrtens f54859afb6 [dnsmasq] Update to version 2.52
Patch 103-ipv6_fix.patch is removed, because the problem the patch was fixing is now fixed in mainline.

Thank you Raphaël HUCK for your patch.
This fixes #6568.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-29 23:15:44 +00:00
Jo-Philipp Wich 4cbf5257ab [PATCH] dnsmasq: Fix setting the network-id for config host sections
This renames name to networkid where applicable, and re-adds the name option for hosts.
Signed-off-by: Stefan Bethke <stb@lassitu.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-08 00:03:08 +00:00
Jo-Philipp Wich 6a19e3eb17 [package] dnsmasq:
While trying to document the dhcp UCI config, I noticed that the name config option is applied wrongly when adding static addresses. Cf. the dnsmasq man page.
Signed-off-by: Stefan Bethke <stb@lassitu.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 00:23:35 +00:00
Markus Wigge 5e3b96115c new upstream release 2.51 with some fixes, see
http://www.thekelleys.org.uk/dnsmasq/CHANGELOG
refreshed patches for new release


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-26 10:58:01 +00:00
Jo-Philipp Wich e13c38658f [package] dnsmasq: Set a list of addnhosts files.
e.g.
	list 'addnhosts' '/var/etc/hosts.olsr'
	list 'addnhosts' '/var/etc/hosts.olsrv6'
hosts.olsr for ipv4 and hosts.olsrv6 for ipv6 addresses.
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-22 11:52:08 +00:00
Jo-Philipp Wich b26913c381 [package] dnsmasq:
- make "name" option in "host" sections optional and append it to -G if set,
   allows specifying hostnames for static leases without resorting to /etc/hosts
 - implement "domain" sections, allows defining arbitary host names and associated
   ptr records from uci
 - bump package revision


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 16:58:06 +00:00
Felix Fietkau 0f1c6d60f1 update dnsmasq to 2.50 (#5784)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-24 21:42:36 +00:00
Felix Fietkau 2432093f50 Add default /etc/dnsmasq.conf
dnsmasq allows adding of arbitrary SRV/PTR/TXT/CNAME records.
However, those options sometimes can not be passed as
command-line arguments due to excess length.  This patch tries to
solve this problem:

1. Provide /etc/dnsmasq.conf file with comments about adding
   SRV/PTR/TXT/CNAME records.
2. Add this file to conffiles list so it is preserver during
   backup/restore or system upgrade.

If someone needs a lot of custom records, default configuration
file can be edited.  Since manual pages and documentation is not
installed, provided comments should be enough to figure out
option syntax.

Signed-off-by: Alexey I. Froloff <raorn@altlinux.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-21 13:25:11 +00:00
Hauke Mehrtens 4d80403385 [dnsmasq] Update to version 2.49
Fixes #5331 and #5286


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-13 16:46:42 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Jo-Philipp Wich 2284341048 [package] dnsmasq: add more options for interface binding (#4900)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-09 14:51:15 +00:00
Jo-Philipp Wich 19056e2b79 [package] make "name" parameter optional in dnsmasq "boot" config sections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-18 22:00:36 +00:00
Jo-Philipp Wich ae2e727786 [package] update dnsmasq to 2.47 (#4636, thanks florida)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-16 04:48:08 +00:00
Florian Fainelli 7e95fd1f09 [package] add dnsmasq config file to the conffiles section
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 22:27:44 +00:00
Jo-Philipp Wich 953f9a6489 package/dnsmasq: bump to v2.46 (#4263)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 18:20:19 +00:00
Steven Barth a7e058a77d Updated Dnsmasq to 2.45
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-20 20:17:00 +00:00
Steven Barth 1f6605a36a Updated Dnsmasq to 2.43
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-18 15:32:42 +00:00
Steven Barth ae7e759c81 Updated Dnsmasq to 2.42 (#3498)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-03 15:06:20 +00:00
Felix Fietkau ff6f3d23b4 fix dnsmasq compilation on some systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-31 21:17:45 +00:00
Travis Kemen 2e6acb2425 This upgrades dnsmasq-2.40 to dnsmasq-2.41. Signed-off-by: Alexandros C. Couloumbis <alex at ozo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-26 16:26:59 +00:00
Travis Kemen 569430e757 remove unneeded config file section fixes #2594
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-25 02:58:35 +00:00
Travis Kemen 64e913ca5a convert the rest of /etc/dnsmasq.conf to uci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 21:08:54 +00:00
John Crispin a735c086ab update dnsmasq to 2.40, from #2479
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-08 21:44:25 +00:00
Nicolas Thill 2180fa92a1 move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +00:00
Felix Fietkau 09e3e7ecd1 upgrade dnsmasq (#1975)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-12 13:58:25 +00:00
Felix Fietkau 947bab0abb upgrade dnsmasq to latest version, rewrite dnsmasq init script for uci, rename /bin/ipcalc to /bin/ipcalc.sh (fixes #1452)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-17 13:31:13 +00:00
Felix Fietkau 713863458d add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:21:39 +00:00
Felix Fietkau c70cfb3d1a add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 19:18:55 +00:00
Felix Fietkau 5a32593057 replace lots of manual install commands with INSTALL_* variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
Felix Fietkau cdc0aecf1a upgrade dnsmasq, fixes a few bugs including #943
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-14 01:54:04 +00:00
Felix Fietkau 768b48f380 implement target profiles in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 05:06:56 +00:00
Felix Fietkau c731d42b1a init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 21:03:30 +00:00
Nicolas Thill ecb6c4b599 new (last?) attempt at standardizing Makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 20:49:31 +00:00
Nicolas Thill c1ce3a53bd standardize Makefile, change section from base to net and category to "base system"
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-23 13:41:42 +00:00