Name libavahi-client3
Description Avahi client library
Version 0.8-13ubuntu6.1
Package Base avahi
Homepage https://avahi.org/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Loic Minier <lool@dooz.org>', 'Michael Biebl <biebl@debian.org>', 'Sebastian Dröge <slomo@debian.org>', 'Sjoerd Simons <sjoerd@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/avahi/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/Avoid-infinite-loop-in-avahi-daemon-by-handling-HUP-event.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/CVE-2023-38469-1.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/CVE-2023-38469-2.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/CVE-2023-38470-1.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/CVE-2023-38470-2.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/CVE-2023-38471-1.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/CVE-2023-38471-2.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/CVE-2023-38472.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/CVE-2023-38473.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/Do-not-disable-timeout-cleanup-on-watch-cleanup.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/Emit-error-if-requested-service-is-not-found.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/Fetch-build-db-from-upstream-git.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/Fix-NULL-pointer-crashes-from-175.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/Fix-avahi-browse-Invalid-service-type.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/Fix-encoding-of-avahi-common-domain.h-to-be-UTF-8.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/Ship-avahi-discover-1-bssh-1-and-bvnc-1-also-for-GTK3.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/avahi-client-fix-resource-leak.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/avahi-daemon-chroot-fix-bogus-assignments-in-assertions.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/avahi-discover-Don-t-decode-unicode-strings-only-bytestri.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/avahi-discover-Escape-strings-substituted-into-Pango-mark.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/avahi-dnsconfd.service-Drop-Also-avahi-daemon.socket.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/avahi_dns_packet_consume_uint32-fix-potential-undefined-b.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/build-db-Use-the-same-database-format-that-the-C-code-exp.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/dbus-Use-non-deprecated-installation-path.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/fix-bytestring-decoding-for-proper-display.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/man-add-missing-bshell.1-symlink.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/man-fix-reference-to-avahi-autoipd.action-8-in-avahi-auto.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/avahi/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libavahi-client3/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libavahi-common3', 'libc6', 'libdbus-1-3']
Optional-Dependencies []
Build-Dependencies ['debhelper', 'debhelper-compat', 'dh-sequence-gir <!nogir>', 'dh-sequence-python3', 'intltool', 'libcap-dev [linux-any]', 'libdaemon-dev', 'libdbus-1-dev', 'libexpat-dev', 'libgdbm-dev', 'libgirepository1.0-dev <!nogir>', 'libglib2.0-dev', 'libgtk-3-dev <!pkg.avahi.nogui>', 'pkgconf', 'python-gi-dev <!nopython>', 'python3', 'python3-dbus <!nopython>', 'python3-gdbm', 'python3-gi <!nopython>', 'xmltoman']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash debe954f284e1712c407de92023b0cff45d239557344fb8acc65505b1d841240
#!/usr/bin/make -f

export PYTHON=/usr/bin/python3

%:
	dh $@

export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
include /usr/share/dpkg/default.mk

ifneq (linux,$(DEB_HOST_ARCH_OS))
CONFFLAGS += \
	--disable-autoipd
endif

# Ensure at build time that the library has no dependencies on undefined
# symbols, and speed up loading.
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1

ifneq ($(filter pkg.avahi.nogui,$(DEB_BUILD_PROFILES)),)
CONFFLAGS += --disable-gtk3
else
CONFFLAGS += --enable-gtk3
endif

ifneq ($(filter nogir,$(DEB_BUILD_PROFILES)),)
CONFFLAGS += --disable-introspection
else
CONFFLAGS += --enable-introspection
endif

ifneq ($(filter nopython,$(DEB_BUILD_PROFILES)),)
CONFFLAGS += \
	--disable-pygobject \
	--disable-python-dbus
endif

override_dh_auto_configure:
	dh_auto_configure -- $(CONFFLAGS) \
		--enable-compat-libdns_sd \
		--disable-libevent \
		--disable-mono \
		--disable-monodoc \
		--disable-gtk \
		--disable-qt3 \
		--disable-qt4 \
		--disable-qt5 \
		--with-distro=debian \
		--with-systemdsystemunitdir=/usr/lib/systemd/system

execute_after_dh_auto_build:
	# create an up to date PO template
	cd po; intltool-update -p --verbose

execute_after_dh_auto_clean:
	rm -f po/*.pot

execute_after_dh_auto_install:
ifeq (linux,$(DEB_HOST_ARCH_OS))
	mv debian/tmp/etc/dhcp/dhclient-exit-hooks.d/avahi-autoipd \
		debian/tmp/etc/dhcp/dhclient-exit-hooks.d/zzz_avahi-autoipd
endif

execute_before_dh_missing:
	find debian/tmp -name '*.la' -print -delete
	rm -f debian/tmp/etc/init.d/avahi-daemon
	rm -f debian/tmp/etc/init.d/avahi-dnsconfd
	rm -f debian/tmp/usr/bin/avahi-discover-standalone
	rm -f debian/tmp/usr/share/man/man1/avahi-bookmarks.1

override_dh_installdocs:
	dh_installdocs --all docs/NEWS docs/README

override_dh_installchangelogs:
	dh_installchangelogs -XChangeLog