aboutsummaryrefslogtreecommitdiff
path: root/libs/avahi
Commit message (Collapse)AuthorAge
* avahi: backport CVE fixes from upstreamRosen Penev2024-02-10
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* avahi: remove compat libraryRosen Penev2023-11-16
| | | | | | | | | It seems this is meant for distributions that lack mdnsresponder. It's heavier than it as dbus is required. Since this happens to conflict with mdnsresponder, just remove it. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* avahi: Import patches for security fixesHirokazu MORIKAWA2023-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Imported patches included in debian and other package. * 200-Fix-NULL-pointer-crashes-from-175.patch CVE-2021-3502 A flaw was found in avahi 0.8-5. A reachable assertion is present in avahi_s_host_name_resolver_start function allowing a local attacker to crash the avahi service by requesting hostname resolutions through the avahi socket or dbus methods for invalid hostnames. The highest threat from this vulnerability is to the service availability. * 201-Avoid-infinite-loop-in-avahi-daemon-by-handling-HUP-event.patch CVE-2021-3468 A flaw was found in avahi in versions 0.6 up to 0.8. The event used to signal the termination of the client connection on the avahi Unix socket is not correctly handled in the client_work function, allowing a local attacker to trigger an infinite loop. The highest threat from this vulnerability is to the availability of the avahi service, which becomes unresponsive after this flaw is triggered. * 202-avahi_dns_packet_consume_uint32-fix-potential-undefined-b.patch avahi_dns_packet_consume_uint32 left shifts uint8_t values by 8, 16 and 24 bits to combine them into a 32-bit value. This produces an undefined behavior warning with gcc -fsanitize when fed input values of 128 or 255 however in testing no actual unexpected behavior occurs in practice and the 32-bit uint32_t is always correctly produced as the final value is immediately stored into a uint32_t and the compiler appears to handle this "correctly". Cast the intermediate values to uint32_t to prevent this warning and ensure the intended result is explicit. * 203-Do-not-disable-timeout-cleanup-on-watch-cleanup.patch This was causing timeouts to never be removed from the linked list that tracks them, resulting in both memory and CPU usage to grow larger over time. * 204-Emit-error-if-requested-service-is-not-found.patch It currently just crashes instead of replying with error. Check return value and emit error instead of passing NULL pointer to reply. * 205-conf-file-line-lengths.patch Allow avahi-daemon.conf file to have lines longer than 256 characters (new limit 1024). Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* avahi: Changed the target file for the patchHirokazu MORIKAWA2022-02-12
| | | | | | | | Fixed the affected issue in the latest commit daemon.err avahi-daemon[xxx]: mkdir("/run/avahi-daemon/"): No such file or directory Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* avahi: fix build on some distributionsMichal Vasilek2022-02-09
| | | | | | | | | | This seems to happen only on some distributions (Void, Arch): /usr/lib/libgcc_s.so.1: file not recognized: file format not recognized collect2: error: ld returned 1 exit status libtool: error: error: relink 'libdns_sd.la' with the above command before installing it Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
* treewide: Run refresh on all packagesIlya Lipnitskiy2021-02-20
| | | | | | | | | The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* avahi: incorrectly requires IFF_MULTICAST on point-to-point (tunnel) interfacesPhilip Prindeville2020-11-24
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* avahi: remove lssp_nonshared flagRosen Penev2020-06-17
| | | | | | Does not seem to be needed as of b933f9cf0cb254e368027cad6d5799e45b237df5 Signed-off-by: Rosen Penev <rosenp@gmail.com>
* avahi: fix reliance on config symbol SSP_SUPPORTIan Cooper2020-05-26
| | | | | | | | | | The config symbol SSP_SUPPORT is ambiguous and means different things to different packages: either "toolchain is compiled with ssp support" or "toolchain uses gcc libssp". The use of the symbol should be deprecated and the appropriate symbol used instead. Signed-off-by: Ian Cooper <iancooper@hotmail.com>
* avahi: remove these pkgconfig workaroundsRosen Penev2020-04-26
| | | | | | Backported the upstream patch instead. Less error prone. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* avahi: fix dbus issueRosen Penev2020-04-25
| | | | | | | | Needs an extra configure parameter. Reverted pkgconfig fix. It's wrong anyway. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* avahi: patch client pkgconfig files without dbusRosen Penev2020-04-18
| | | | | | It still gets built without dbus. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* avahi: update to 0.8Rosen Penev2020-02-25
| | | | | | | | | | | | | | Clean up Makefile slightly. Update configure options for the new version. Remove first patch and update the other one. Use a different solution for the stack protector on certain platforms. Run script through shellcheck. Small quote fix. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* avahi: convert to procdRosen Penev2020-02-08
| | | | | | | | Add license information. Small cleanups. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* avahi: Fix pkgconfig files to be cross compile friendlyRosen Penev2019-09-28
| | | | | | libdir should not point to the host. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libavahi-compat-libdnssd: Fix compilationRosen Penev2019-02-02
| | | | | | | | The inline if statement does not work correctly. Moved it to a more proper place. Also changed the install to install the symlinks as well. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* avahi: Add CPE ID to track CVEsRosen Penev2018-08-19
| | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* avahi: patch systemd runtime_dir change in 0.7Jeremiah McConnell2018-06-15
| | | | | | | | In avahi 0.7 the runtime_dir was updated to be /run instead of /var/run for better systemd compatibility. Patch out that change to fix avahi-daemon. Signed-off-by: Jeremiah McConnell <miah@miah.com>
* avahi: Update to 0.7Rosen Penev2018-06-10
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* treewide: fix incorrect *_BUILD_DEPENDSMatthias Schiffer2018-01-09
| | | | | | | | | | | | | | | | Build depends refer to source package names, not binary package names. In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of a source package's binary packages; as the corresponding source packages are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to refer to the correct source package name. Dependency of mysql-server is adjusted from libncursesw to libncurses (as libncursesw is a virtual package provided by libncurses), so the build dependency on ncurses is emitted unconditionally. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* avahi: Changed the condition of InstallDevHirokazu MORIKAWA2017-11-17
| | | | Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* treewide: run "make check FIXUP=1"Etienne Champetier2017-08-29
| | | | | | | | | | 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>
* avahi: Change avahi-utils dependency to allow stand-alone selectionTed Hess2017-03-28
| | | | Signed-off-by: Ted Hess <thess@kitschensync.net>
* avahi: Update to 0.6.32. Add netifd proto handler for avahi-autoipdClaudiu Brasovean2016-09-28
| | | | | | | | | | | | | You can now specify in '/etc/config/network' config interface 'eth1_autoip' option ifname 'eth1' option proto 'autoip' And netifd would handle the rest of the logic/setup. Signed-off-by: Claudiu Brasovean <cbrasho@gmail.com> Signed-off-by: Ted Hess <thess@kitschensync.net>
* libs/avahi: fix warning with poll.h include on muslAlexandru Ardelean2016-01-06
| | | | | | | | | | Warning is: #warning redirecting incorrect #include <sys/poll.h> to <poll. Not a big issue. But it can be annoying when building with -Werror set. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* avahi: Enable IPv6 by defaultTed Hess2015-03-24
| | | | Signed-off-by: Ted Hess <thess@kitschensync.net>
* avahi: remove optional dependency on libsspStijn Tintel2015-03-20
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* avahi: avahi-autoipd uses libssp if SSP_SUPPORT is enabledDaniel Golle2015-03-15
| | | | | | | | | | Found on an all-y build with SSP enabled: Package avahi-autoipd is missing dependencies for the following libraries: libssp.so.0 Adding the missing dependency to address that. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* libavahi: Fix build dependency in avahi-dnsconfdTed Hess2015-01-27
| | | | Signed-off-by: Ted Hess <thess@kitschensync.net>
* avahi: Build 2 versions and allow selection of dbus vs non-dbusTed Hess2015-01-16
| | | | | | | shairplay: Fixup avahi dependency (select dbus version) forked-daapd: Fixup avahi dependency (select dbus version) Signed-off-by: Ted Hess <thess@kitschensync.net>
* avahi-daemon: don't install service files automatically (fixes #757)Michael Heimpold2015-01-09
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* avahi: factor out service files into own packagesMichael Heimpold2014-12-08
| | | | | | | This allows the user to select individual services to be announced via Avahi. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* avahi: trim descriptions of HTTP and SSH servicesMichael Heimpold2014-12-08
| | | | | | | This makes the description of the HTTP and SSH services look the same as in other distributions as suggested by kirelagin in #543. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* Revert "avahi: Add sftp service"Ted Hess2014-11-24
| | | | | | This reverts commit 49c7e701bccd5451a1f0006c66833b81c964aa01. Signed-off-by: Ted Hess <thess@kitschensync.net>
* avahi: Add sftp serviceTed Hess2014-11-23
| | | | Signed-off-by: Ted Hess <thess@kitschensync.net>
* libavahi: Don't build libdns_sd if not selectedTed Hess2014-11-01
| | | | Signed-off-by: Ted Hess <thess@kitschensync.net>
* avahi: add libavahi-compat-libdnssd support.Álvaro Fernández Rojas2014-10-25
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Revert "avahi: remove dbus support for now"Steven Barth2014-07-18
| | | | This reverts commit c1675e2bc57a4e6da803bf85125477d4488efbc2.
* avahi: remove dbus support for nowSteven Barth2014-07-18
| | | | Signed-off-by: Steven Barth <steven@midlink.org>
* avahi: Update copyright, add myself as pkg maintainerTed Hess2014-07-16
| | | | Signed-off-by: Ted Hess <thess@kitschensync.net>
* Import avahi from oldpackagesTed Hess2014-07-16