Commit Graph

25 Commits

Author SHA1 Message Date
Stijn Tintel a6d91c989d Revert "mdnsresponder: move libdns_sd into own directory"
This commit breaks ohybridproxy in the routing feed.

This reverts commit e0c85eb485.
2023-10-29 05:52:56 +02:00
Rosen Penev e0c85eb485 mdnsresponder: move libdns_sd into own directory
Prevents conflicts with avahi, which is better maintained.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-09-28 13:08:38 -07:00
Maarten Aertsen baa97e7fdf mdnsresponder: Fix nullpointer dereference while parsing interface list
This patch was backported from https://github.com/IETF-Hackathon/mDNSResponder/commit/1fb07b9524b4afed3a826c087db4dc48a7bfdb8

Signed-off-by: Maarten Aertsen <maarten@rtsn.nl>
2022-03-04 06:28:53 -08:00
Rosen Penev d424c2c662
mdnsresponder: bring back LN hack
It turns out that the Makefile of mdnsreponder links to absolute paths
instead of relative ones. This is an issue when compiling.

Fix for InstallDev as well.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-17 15:57:57 -08:00
Rosen Penev 856e23cbab
mdnsreponder: use install paths instead of build ones
For some reason, the build ones do not get generated when compiling in
parallel. PKG_INSTALL_DIR is the correct solution anyway.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-15 18:18:47 -08:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Rosen Penev 16e5309750 mdnsresponder: Fix compilation with uClibc-ng
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-19 14:54:19 -07:00
W. Michael Petullo 68b093d00b mdnsresponder: update to IETF104
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-04-28 01:25:02 -04:00
Jacob Siverskog ff0933e2f1 mdnsresponder: bump to 878.200.35 and refresh patches
While at it, change the source URL to https.

Signed-off-by: Jacob Siverskog <jacob@teenage.engineering>
2018-12-19 15:51:19 +01:00
Jacob Siverskog 1406f7a30f mdnsresponder: remove Steven Barth as maintainer
https://github.com/openwrt/packages/pull/7215#issuecomment-431281385

Signed-off-by: Jacob Siverskog <jacob@teenage.engineering>
2018-10-19 10:21:51 +02:00
Jacob Siverskog 0138a8c35c mdnsresponder: bump to 878.70.2 and refresh patches
Signed-off-by: Jacob Siverskog <jacob@teenage.engineering>
2018-10-18 15:12:17 +02:00
Alexander Couzens cb1dcbe4e2
mdnsresponder: remove build timestamp to fix reproducible builds
Build timestamps prevents reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-11-17 12:45:56 +01:00
Alexander Couzens 4171d902d8 mdnsresponder: refresh patches
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-11-17 11:29:48 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Florian Fainelli df1236a51a mdnsresponder: Also pass TARGET_CPPFLAGS
Use CFLAGS_DEBUG which is already used for TARGET_CFLAGS to also pass
TARGET_CPPFLAGS.

This fixes build issues with toolchains that don't automatically search
for header files (e.g: sys/capability.h), such as stbgcc-4.8-1.5

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-04-01 17:52:24 -07:00
Jacob Siverskog a69081e53a mdnsresponder: bump to 576.30.4.
Signed-off-by: Jacob Siverskog <jacob@teenage.engineering>
2016-01-13 18:15:04 +01:00
Alexandru Ardelean f1b88fd69e mdnsresponder: (fix build) use TARGET_CC as LD
Probably related to -fstack-protector being used.
Got the idea from:
  http://ubuntuforums.org/showthread.php?t=352642&p=10100263#post10100263
  Regarding the missing __stack_check_fail_local, using gcc as the linker instead of ld fixes the issue without disabling stack protection as with -fno-stack-protector.

Fixes linker errs on some targets:
  objects/prod/dnssd_clientstub.c.so.o: In function `handle_resolve_response':
  dnssd_clientstub.c:(.text+0x395): undefined reference to `__stack_chk_fail_local'
  objects/prod/dnssd_clientstub.c.so.o: In function `handle_query_response':
  dnssd_clientstub.c:(.text+0x4bd): undefined reference to `__stack_chk_fail_local'

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-12-19 18:55:22 +02:00
Markus Stenberg 4764682b65 mdnsresponder: fix fd leak for IPv6 sockets
Signed-off-by: Steven Barth <steven@midlink.org>
2015-09-14 14:05:27 +02:00
Markus Stenberg c886fe965c mdnsresponder: No longer require IPv4 address to start.
It used to require 1+ IPv4 addresses to start on Linux. Now it starts
up with 0 addresses (of any type), as netlink can provide us more
later. This way, no stupid restart loop with procd if it is racing
with netifd at startup.

Signed-off-by: Steven Barth <steven@midlink.org>
2015-05-08 13:29:13 +02:00
Markus Stenberg 63234f185d mdnsresponder: Fixed deprecated address handling (the new getifaddr code in the patch was wrong; instead, fixed old mDNSResponder code to work with correct sized interface names, and to handle deprecated flag). 2015-04-09 14:28:24 +03:00
Steven Barth c8c6157e7e mdnsresponder: bump to 567
Signed-off-by: Steven Barth <steven@midlink.org>
2015-03-23 17:29:13 +01:00
Steven Barth fa9cc681e7 mdnsresponder: remove spurious conffile section
Signed-off-by: Steven Barth <steven@midlink.org>
2014-12-19 11:50:52 +01:00
Steven Barth d2164b89cb mdnsresponder: update to 561.1.1
Signed-off-by: Steven Barth <steven@midlink.org>
2014-12-17 10:48:09 +01:00
Steven Barth 942a694238 mdnsresponder: add spdx tag
Signed-off-by: Steven Barth <steven@midlink.org>
2014-11-03 13:32:45 +01:00
Steven Barth 4132123ce5 Add libcap and mdnsresponder 2014-06-03 12:51:24 +02:00