1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
Commit Graph

62 Commits

Author SHA1 Message Date
Matthias Andree
7240ff336f Upgrade to new upstream version 2.71. Upstream's changelog:
version 2.71
            Subtle change to error handling to help DNSSEC validation
	    when servers fail to provide NODATA answers for
	    non-existent DS records.

	    Tweak code which removes DNSSEC records from answers when
	    not required. Fixes broken answers when additional section
	    has real records in it. Thanks to Marco Davids for the bug
	    report.

	    Fix DNSSEC validation of ANY queries. Thanks to Marco Davids
	    for spotting that too.

	    Fix total DNS failure and 100% CPU use if cachesize set to zero,
	    regression introduced in 2.69. Thanks to James Hunt and
	    the Ubuntu crowd for assistance in fixing this.
2014-05-18 22:17:30 +00:00
Matthias Andree
9aab20fca0 Upgrade to new upstream version 2.70. Upstream changelog:
Fix crash, introduced in 2.69, on TCP request when dnsmasq compiled
   with DNSSEC support, but running without DNSSEC enabled. Thanks to
   Manish Sing for spotting that one.

   Fix regression which broke ipset functionality. Thanks to Wang Jian
   for the bug report.

Submitted by:	Herbert J. Skuhra
2014-04-27 21:05:59 +00:00
Matthias Andree
a05fe28717 Update to new upstream 2.69 release. Adds DNSSEC support.
Full changelog: <http://www.thekelleys.org.uk/dnsmasq/CHANGELOG>
2014-04-10 20:44:29 +00:00
Matthias Andree
02da201c86 Upgrade dnsmasq to new stable 2.68 release.
Fixes bind-interfaces with IPv6 on FreeBSD.

version 2.68
            Use random addresses for DHCPv6 temporary address
            allocations, instead of algorithmically determined stable
            addresses.

    Fix bug which meant that the DHCPv6 DUID was not available
    in DHCP script runs during the lifetime of the dnsmasq
    process which created the DUID de-novo. Once the DUID was
    created and stored in the lease file and dnsmasq
    restarted, this bug disappeared.

    Fix bug introduced in 2.67 which could result in erroneous
    NXDOMAIN returns to CNAME queries.

    Fix build failures on MacOS X and openBSD.

    Allow subnet specifications in --auth-zone to be interface
    names as well as address literals. This makes it possible
    to configure authoritative DNS when local address ranges
    are dynamic and works much better than the previous
    work-around which exempted contructed DHCP ranges from the
    IP address filtering. As a consequence, that work-around
    is removed. Under certain circumstances, this change wil
    break existing configuration: if you're relying on the
    contructed-range exception, you need to change --auth-zone
    to specify the same interface as is used to construct your
    DHCP ranges, probably with a trailing /6 like this:
    --auth-zone=example.com,eth0/6 to limit the addresses to
    IPv6 addresses of eth0.

    Fix problems when advertising deleted IPv6 prefixes. If
    the prefix is deleted (rather than replaced), it doesn't
    get advertised with zero preferred time. Thanks to Tsachi
    for the bug report.

    Fix segfault with some locally configured CNAMEs. Thanks
    to Andrew Childs for spotting the problem.

    Fix memory leak on re-reading /etc/hosts and friends,
    introduced in 2.67.

    Check the arrival interface of incoming DNS and TFTP
    requests via IPv6, even in --bind-interfaces mode. This
    isn't possible for IPv4 and can generate scary warnings,
    but as it's always possible for IPv6 (the API always
    exists) then we should do it always.

    Tweak the rules on prefix-lengths in --dhcp-range for
    IPv6. The new rule is that the specified prefix length
    must be larger than or equal to the prefix length of the
    corresponding address on the local interface.
2013-12-08 18:05:35 +00:00
Matthias Andree
75cdf011ff Upgrade dnsmasq to new upstream release 2.67.
Changelog: <http://www.thekelleys.org.uk/dnsmasq/CHANGELOG>
Enable NLS and IPV6 options by default.
Use shebangfix on files that need it.

Mark dnsmasq-devel (older than release) IGNORE.
2013-10-25 22:27:59 +00:00
Matthias Andree
8ecfdfa5cd Update to new upstream release 2.66.
New DHCPv6 stuff, ability to act as authoritative server for local data.

Changelog: http://www.thekelleys.org.uk/dnsmasq/CHANGELOG

Feature safe: yes
2013-04-17 17:49:50 +00:00
Matthias Andree
637692fcb9 Update to new upstream release 2.65.
Upstream changes:

    TCP which are not for A and AAAA and which were directed to
    non-default servers. Thanks to Niax for the bug report.

    Fix failure to build with DHCP support excluded. Thanks to
    Gustavo Zacarias for the patch.

    Fix nasty regression in 2.64 which completely broke cacheing.
2012-12-15 16:33:08 +00:00
Matthias Andree
7ba3466186 Update to new upstream release 2.64.
Feature safe:	yes

Changelog for version 2.64:

Handle DHCP FQDN options with all flag bits zero and --dhcp-client-update set.
Thanks to Bernd Krumbroeck for spotting the problem.

Finesse the check for /etc/hosts names which conflict with DHCP names.
Previously a name/address pair in /etc/hosts which didn't match the
name/address of a DHCP lease would generate a warning. Now that only
happesn if there is not also a match. This allows multiple addresses for
a name in /etc/hosts with one of them assigned via DHCP.

Fix broken vendor-option processing for BOOTP. Thanks to Hans-Joachim
Baader for the bug report.

Don't report spurious netlink errors, regression in 2.63. Thanks to
Vladislav Grishenko for the patch.

Flag DHCP or DHCPv6 in starup logging. Thanks to Vladislav Grishenko for
the patch.

Add SetServersEx method in DBus interface. Thanks to Dan Williams for
the patch.

Add SetDomainServers method in DBus interface. Thanks to Roy Marples for
the patch.

Fix build with later Lua libraries. Thansk to Cristian Rodriguez for the
patch.

Add --max-cache-ttl option. Thanks to Dennis Kaarsemaker for the patch.

Fix breakage of --host-record parsing, resulting in infinte loop at
startup. Regression in 2.63. Thanks to Haim Gelfenbeyn for spotting
this.

Set SO_REUSEADDRESS and SO_V6ONLY options on the DHCPv6 socket, this
allows multiple instances of dnsmasq on a single machine, in the same
way as for DHCPv4. Thanks to Gene Czarcinski and Vladislav Grishenko for
work on this.

Fix DHCPv6 to do access control correctly when it's configured with
--listen-address. Thanks to Gene Czarcinski for sorting this out.

Add a "wildcard" dhcp-range which works for any IPv6 subnet,
--dhcp-range=::,static Useful for Stateless DHCPv6. Thanks to Vladislav
Grishenko for the patch.

Don't include lease-time in DHCPACK replies to DHCPINFORM queries, since
RFC-2131 says we shouldn't. Thanks to Wouter Ibens for pointing this
out.

Makefile tweak to do dependency checking on header files.  Thanks to
Johan Peeters for the patch.

Check interface for outgoing unsolicited router advertisements, rather
than relying on interface address configuration. Thanks to Gene
Czarinski for the patch.

Handle better attempts to transmit on interfaces which are still doing
DAD, and specifically do not just transmit without setting source
address and interface, since this can cause very puzzling effects when a
router advertisement goes astray. Thanks again to Gene Czarinski.

Get RA timers right when there is more than one dhcp-range on a subnet.
2012-12-04 22:29:10 +00:00
Matthias Andree
6a12857837 Update to 2.63.
Changelog: http://www.thekelleys.org.uk/dnsmasq/CHANGELOG
2012-08-20 20:33:27 +00:00
Matthias Andree
8821d2dc0b Update to bug-fix release 2.62.
Changelog: http://www.thekelleys.org.uk/dnsmasq/CHANGELOG

Convert to OptionsNG.
2012-06-08 14:34:16 +00:00
Matthias Andree
19f87ebe0d Update to new upstream release 2.61. Changes are, per Simon Kelley:
Re-write interface discovery code on *BSD to use getifaddrs. This
is more portable, more straightforward, and allows us to find the
prefix length for IPv6 addresses.

Add ra-names, ra-stateless and slaac keywords for DHCPv6.  Dnsmasq
can now synthesise AAAA records for dual-stack hosts which get IPv6
addresses via SLAAC. It is also now possible to use SLAAC and
stateless DHCPv6, and to tell clients to use SLAAC addresses as
well as DHCP ones.  Thanks to Dave Taht for help with this.

Add --dhcp-duid to allow DUID-EN uids to be used.

Explicity send DHCPv6 replies to the correct port, instead of relying
on clients to send requests with the correct source address, since
at least one client in the wild gets this wrong. Thanks to Conrda
Kostecki for help tracking this down.

Send a preference value of 255 in DHCPv6 replies when --dhcp-authoritative
is in effect. This tells clients not to wait around for other DHCP
servers.

Better logging of DHCPv6 options.

Add --host-record. Thanks to Rob Zwissler for the suggestion.

Invoke the DHCP script with action "tftp" when a TFTP file transfer
completes. The size of the file, address to which it was sent and
complete pathname are supplied. Note that version 2.60 introduced
some script incompatibilties associated with DHCPv6, and this is a
further change. To be safe, scripts should ignore unknown actions,
and if not IPv6-aware, should exit if the environment variable
DNSMASQ_IAID is set. The use-case for this is to track netboot/install.
Suggestion from Shantanu Gadgil.

Update contrib/port-forward/dnsmasq-portforward to reflect the
above.

Set the environment variable DNSMASQ_LOG_DHCP when running the
script id --log-dhcp is in effect, so that script can taylor their
logging verbosity. Suggestion from Malte Forkel.

Arrange that addresses specified with --listen-address work even
if there is no interface carrying the address. This is chiefly
useful for IPv4 loopback addresses, where any address in 127.0.0.0/8
is a valid loopback address, but normally only 127.0.0.1 appears
on the lo interface. Thanks to Mathieu Trudel-Lapierre for the idea
and initial patch.

Fix crash, introduced in 2.60, when a DHCPINFORM is received from
a network which has no valid dhcp-range.  Thanks to Stephane Glondu
for the bug report.

Add a new DHCP lease time keyword, "deprecated" for --dhcp-range.
This is only valid for IPv6, and sets the preffered lease time for
both DHCP and RA to zero. The effect is that clients can continue
to use the address for existing connections, but new connections
will use other addresses, if they exist. This makes hitless renumbering
at least possible.

Fix bug in address6_available() which caused DHCPv6 lease aquisition
to fail if more than one dhcp-range in use.

Provide RDNSS and DNSSL data in router advertisements, using the
settings provided for DHCP options option6:domain-search and
option6:dns-server.

Tweak logo/favicon.ico to add some transparency. Thanks to SamLT
for work on this.

Don't cache data from non-recursive nameservers, since it may
erroneously look like a valid CNAME to a non-exitant name. Thanks
to Ben Winslow for finding this.

Call SO_BINDTODEVICE on the DHCP socket(s) when doing DHCP on exactly
one interface and --bind-interfaces is set. This makes the OpenStack
use-case of one dnsmasq per virtual interface work. This is only
available on Linux; it's not supported on other platforms. Thanks
to Vishvananda Ishaya and the OpenStack team for the suggestion.

Updated French translation. Thanks to Gildas Le Nadan.

Give correct from-cache answers to explict CNAME queries.  Thanks
to Rob Zwissler for spotting this.

Add --tftp-lowercase option. Thanks to Oliver Rath for the patch.

Ensure that the DBus DhcpLeaseUpdated events are generated when a
lease goes through INIT_REBOOT state, even if the dhcp-script is
not in use. thanks to Antoaneta-Ecaterina Ene for the patch.

Fix failure of TFTP over IPv4 on OpenBSD platform. Thanks to Brad
Smith for spotting this.
2012-04-30 20:38:13 +00:00
Matthias Andree
375fa2ae28 Update to new upstream release 2.60. Notable new features are:
- The LUA port option enables Lua support for DHCP lease-change scripts
- DHCPv6 support
- IPv6 Router Advertisement support

Changelog:    http://www.thekelleys.org.uk/dnsmasq/CHANGELOG
Feature safe: yes
2012-03-11 23:59:44 +00:00
Matthias Andree
a8550101df Fix BUILD_DEPENDS (use += not =) creation in port.
Upgrade to new upstream regression fix release 2.59:

	    Fix regression in 2.58 which caused failure to start up
	    with some combinations of dnsmasq config and IPv6 kernel
	    network config. Thanks to Brielle Bruns for the bug
	    report.

	    Improve dnsmasq's behaviour when network interfaces are
	    still doing duplicate address detection (DAD). Previously,
	    dnsmasq would wait up to 20 seconds at start-up for the
	    DAD state to terminate. This is broken for bridge
	    interfaces on recent Linux kernels, which don't start DAD
	    until the bridge comes up, and so can take arbitrary
	    time. The new behaviour lets dnsmasq poll for an arbitrary
	    time whilst providing service on other interfaces. Thanks
	    to Stephen Hemminger for pointing out the problem.

Note the 2.59.tar.lzma tarball causes the startup banner to print
2.59rc1 which I deem harmless.
2011-10-18 22:24:47 +00:00
Matthias Andree
0bd5efa950 Update to new upstream release 2.58
Changes: http://thekelleys.org.uk/dnsmasq/CHANGELOG

Suggested by: Loic Pefferkorn.
2011-08-26 22:32:47 +00:00
Matthias Andree
fbd2a84e40 Upgrade to new upstream release 2.57.
Remove support for FreeBSD releases 6.X.

Allow build with IDN but without NLS (this requires that dns/libidn
is also built WITHOUT_NLS) to expose an upstream change. Useful for embedded
devices.

Warn user if this is requested but libidn needs NLS libraries
because in that case dnsmasq inherits the NLS dependencies from libidn.

Remove files/patch-aa, it was a preview patch from a 2.57 test release,
fixing a regression in 2.56 that caused hex constants to be rejected in
the configuratino if they contained the '*' wildcard.

Further upstream changes:
- use own header for DNS protocol, rather than using arpa/nameser.h
- correct ctype.h function argument casts (isdigit(), isxdigit(), etc.)
- Accept extra empty arguments on command line to avoid libvirt breakage.
2011-02-21 08:50:57 +00:00
Matthias Andree
94102e1a09 Update to new upstream release 2.56.
Replace uni-paderborn.de master site by MASTER_SITE_LOCAL.
Add LICENSE=GPLv2.
Changelog:
http://www.thekelleys.org.uk/dnsmasq/CHANGELOG
2011-02-15 21:49:06 +00:00
Matthias Andree
adb91f456d Upgrade to upstream bugfix release 2.55, removing version hack.
Note this version fixes two crashes on startup.

Approved by: garga (mentor)
2010-06-08 20:01:50 +00:00
Matthias Andree
eddf9c5da3 Upgrade to new upstream release dnsmasq 2.53/2.54.
This release was inadvertently dubbed 2.54 in its logging by Simon Kelley,
so adjust our PORTVERSION to match that, but still build the 2.53 tarball.
Simon will treat 2.53 and 2.54 the same and release 2.55 next time.
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2010q2/004105.html
Check work/dnsmasq-2.53/src/config.h for VERSION after "make extract" to see.

Approved by: garga (mentor)
2010-06-04 12:11:14 +00:00
Pav Lucistnik
fe337e0489 - Introduce a new USE_XZ knob that handles lzma/xz compressed distfiles
- Convert a bunch of ports to use it

PR:		ports/146329
Submitted by:	mm
With hat:	portmgr
2010-06-04 08:09:20 +00:00
Matthias Andree
e05b66b4de Change MAINTAINER to my FreeBSD address.
Update to new upstream release 2.52. Changelog excerpt below the approval.

Approved by: miwi (mentor)

Upstream changelog excerpt (omitting Linux, Solaris and MacOS X specifics):
[...] Re-read the set of network interfaces when re-loading /etc/resolv.conf
  if --bind-interfaces is not set. This handles the case that loopback
  interfaces do not exist when dnsmasq is first started.

  Tweak the PXE code to support port 4011. This should reduce broadcasts and
  make things more reliable when other servers are around. It also improves
  inter-operability with certain clients.

  Make a pxe-service configuration with no filename or boot service type legal:
  this does a local boot. eg.  pxe-service=x86PC, "Local boot"

  Be more conservative in detecting "A for A" queries. Dnsmasq checks if the
  name in a type=A query looks like a dotted-quad IP address and answers the
  query itself if so, rather than forwarding it. Previously dnsmasq relied in
  the library function inet_addr() to convert addresses, and that will accept
  some things which are confusing in this context, like 1.2.3 or even just
  1234. Now we only do A for A processing for four decimal numbers delimited by
  dots.
[...]
  Increased the default limit on number of leases to 1000 (from 150). This is
  mainly a defence against DoS attacks, and for the average "one for two class
  C networks" installation, IP address exhaustion does that just as well.
  Making the limit greater than the number of IP addresses available in such an
  installation removes a surprise which otherwise can catch people out.

  Removed extraneous trailing space in the value of the DNSMASQ_TIME_REMAINING
  DNSMASQ_LEASE_LENGTH and DNSMASQ_LEASE_EXPIRES environment variables. Thanks
  to Gildas Le Nadan for spotting this.

  Provide the network-id tags for a DHCP transaction to the lease-change script
  in the environment variable DNSMASQ_TAGS. A good suggestion from Gildas Le
  Nadan.

  Add support for RFC3925 "Vendor-Identifying Vendor Options". The syntax looks
  like this:
  --dhcp-option=vi-encap:<enterprise number>, .........

  Add support to --dhcp-match to allow matching against RFC3925
  "Vendor-Identifying Vendor Classes". The syntax looks like this:
  --dhcp-match=tag,vi-encap<enterprise number>, <value>

  Add some application specific code to assist in implementing the Broadband
  forum TR069 CPE-WAN specification. The details are in contrib/CPE-WAN/README

  Increase the default DNS packet size limit to 4096, as recommended by RFC5625
  section 4.4.3. This can be reconfigured using --edns-packet-max if needed.
  Thanks to Francis Dupont for pointing this out.

  Rewrite query-ids even for DNSSEC signed packets, since this is allowed by
  RFC5625 section 4.5.
[...]
  Fix link error when including Dbus but excluding DHCP.
  Thanks to Oschtan for the bug report.

  Updated French translation. Thanks to Gildas Le Nadan.

  Updated Polish translation. Thanks to Jan Psota.

  Updated Spanish translation. Thanks to Chris Chatham.
2010-01-23 11:24:31 +00:00
Martin Wilke
e3b6397791 - Update to 2.51
PR:		139583
Submitted by:	Matthias Andree <matthias.andree@gmx.de> (maintainer)
2009-10-14 10:34:57 +00:00
Wesley Shields
412b6a9980 - Update to 2.51rc1
- Add pkg-message
- Add NLS and IDN option (currently linked together in one option, this will
  be changed in future releases hopefully)
- Properly handle example configuration files

PR:		ports/139273
Submitted by:	Matthias Andree <matthias.andree@gmx.de> (maintainer)
2009-10-13 16:35:32 +00:00
Martin Wilke
303c07f991 - Update to 2.50
PR:		138415
Submitted by:	Matthias Andree <matthias.andree@gmx.de> (maintainer)
Security:	http://www.freebsd.org/ports/portaudit/80aa98e0-97b4-11de-b946-0030843d3802.html
2009-09-02 12:18:10 +00:00
Martin Wilke
737de15874 - Update to 2.49
PR:		135525
Submitted by:	Matthias Andree <matthias.andree@gmx.de> (maintainer)
2009-06-15 21:07:27 +00:00
Dmitry Marakasov
128a470ec1 - Update to 2.48
PR:		135270
Submitted by:	Matthias Andree <matthias.andree@gmx.de> (maintainer)
2009-06-05 23:14:58 +00:00
Martin Wilke
51922dd910 - Update to 2.47
Approved by:	maintainer implicit
2009-02-09 22:58:45 +00:00
Martin Wilke
9e3b80cf09 - Update to 2.46
Approved by:	maintainer implicit
2008-11-15 22:53:13 +00:00
Martin Wilke
12cd225600 - Update to 2.45
Approved by:	maintainer implicit
2008-07-24 12:32:15 +00:00
Martin Wilke
6dbbab5776 - Update to 2.43
Approved by:	maintainer implicit
2008-07-19 13:21:54 +00:00
Martin Wilke
1793534d1c - Update to 2.42
Approved by:	maintainer implicit
2008-06-20 22:05:40 +00:00
Martin Wilke
6d621ed968 - Update to 2.41
Approved by:	maintainer implicit
2008-03-20 22:59:51 +00:00
Martin Wilke
a6d47ced88 - Update to 2.40
Approved by:	maintainer implicit
2007-09-04 22:30:15 +00:00
Martin Wilke
d0415c009a - Update to 2.39
Approved by:	maintainer implicit
2007-07-09 12:51:37 +00:00
Martin Wilke
05b0d02aa6 - Update to 2.38
Approved by:	maintainer (implicit)
2007-02-14 12:06:02 +00:00
Martin Wilke
b0860b9af9 - Update to 2.37
Approved by:	maintainer (implicit)
2007-02-10 11:39:21 +00:00
Martin Wilke
b382c26ea0 - Update to 2.36
Approved by:	maintainer (implicit)
2007-01-22 13:07:22 +00:00
Martin Wilke
ea8c3ff817 - Update to 2.35
PR:		ports/105013
Submitted by:	Babak Farrokhi (maintainer)
Sponsored by:   FreeBSD Bug-a-thon #2
2006-11-04 22:36:46 +00:00
Martin Wilke
e1adbd0043 - update to 2.34
PR:		ports/104527
Submitted by:	Babak Farrokhi <babak@farrokhi.net> (maintainer)
2006-10-31 09:16:13 +00:00
Rong-En Fan
d5f6d604b7 - Update to 2.33
PR:		ports/101745
Submitted by:	Babak Farrokhi <babak at farrokhi.net> (maintainer)
2006-08-10 07:48:24 +00:00
Rong-En Fan
2150809751 - Update to 2.32
- Pass maintainership to submitter

PR:		ports/100207
Submitted by:	Babak Farrokhi <babak farrokhi.net>
2006-07-13 18:25:35 +00:00
Andrey Slusar
065f20c4c3 Update to 2.26
PR:		ports/92246
Submitted by:	Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
Approved by:	Steven Honson (maintainer)
2006-01-25 11:01:34 +00:00
Edwin Groothuis
acd87b4ad8 SHA256ify
Approved by:    krion@
2006-01-22 08:34:46 +00:00
Marcus Alves Grando
50e5dd4c5a Update to 2.23
Fix IPv6 build. Thanks to Richard Hirner

PR:		87867
Submitted by:	Steven Honson <steven@honson.org> (maintainer)
2005-10-24 01:36:21 +00:00
Yen-Ming Lee
217fd50f3e - update to 2.22
PR:		79563
Submitted by:	maintainer
2005-04-05 15:18:42 +00:00
Volker Stolz
5e3696a7ad Update to 2.20
PR:		ports/77502
Submitted by:	maintainer
2005-02-14 17:12:36 +00:00
Kirill Ponomarev
1f36a8094e Update to version 2.19
PR:		ports/75505
Submitted by:	maintainer
2004-12-26 16:59:31 +00:00
Sergey Matveychuk
73fcbf1856 - Update to 2.18
PR:		ports/74704
Submitted by:	maintainer
2004-12-13 01:12:31 +00:00
Volker Stolz
d95e012d46 Update to 2.17
PR:		ports/74032
Submitted by:	maintainer
2004-11-18 12:53:12 +00:00
Sergei Kolobov
e7cfe6e3ad - Update to 2.15 (major bug fix)
PR:		ports/71973
Submitted by:	Steven Honson (maintainer)

While I'm here:
- Shorten long lines in Makefile to avoid wrapping
2004-10-13 09:16:07 +00:00
Kirill Ponomarev
db507233f4 Update to 2.13
PR:		ports/70448
Submitted by:	maintainer
2004-08-14 11:49:51 +00:00