From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 940FE1384B4 for ; Wed, 9 Dec 2015 12:44:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5752DE08BA; Wed, 9 Dec 2015 12:44:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D7B3AE08BA for ; Wed, 9 Dec 2015 12:44:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A132B340739 for ; Wed, 9 Dec 2015 12:44:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 585B3CB1 for ; Wed, 9 Dec 2015 12:44:30 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1449665523.2bdab65ee9eb0e302f6e8bc216b8456c91ed66c8.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/avahi/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/avahi/avahi-0.6.31-r11.ebuild net-dns/avahi/avahi-0.6.32_rc.ebuild X-VCS-Directories: net-dns/avahi/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 2bdab65ee9eb0e302f6e8bc216b8456c91ed66c8 X-VCS-Branch: master Date: Wed, 9 Dec 2015 12:44:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1dd02612-1597-46ec-8c9f-8c79de4bb95e X-Archives-Hash: d570f64853b5d5088f57bb2d72902cbc commit: 2bdab65ee9eb0e302f6e8bc216b8456c91ed66c8 Author: Anthony G. Basile gentoo org> AuthorDate: Wed Dec 9 12:44:58 2015 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Wed Dec 9 12:52:03 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bdab65e net-dns/avahi: drop sym link to dbus-org.freedesktop.Avahi.service, bug #567798. Package-Manager: portage-2.2.20.1 ...hi-0.6.32_rc.ebuild => avahi-0.6.31-r11.ebuild} | 63 +++++++++++----------- net-dns/avahi/avahi-0.6.32_rc.ebuild | 6 --- 2 files changed, 33 insertions(+), 36 deletions(-) diff --git a/net-dns/avahi/avahi-0.6.32_rc.ebuild b/net-dns/avahi/avahi-0.6.31-r11.ebuild similarity index 78% copy from net-dns/avahi/avahi-0.6.32_rc.ebuild copy to net-dns/avahi/avahi-0.6.31-r11.ebuild index f3b222a..b76edae 100644 --- a/net-dns/avahi/avahi-0.6.32_rc.ebuild +++ b/net-dns/avahi/avahi-0.6.31-r11.ebuild @@ -14,13 +14,11 @@ inherit autotools eutils flag-o-matic multilib multilib-minimal mono-env \ DESCRIPTION="System which facilitates service discovery on a local network" HOMEPAGE="http://avahi.org/" -SRC_URI="https://github.com/lathiat/avahi/archive/0.6.32-rc.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/avahi-0.6.32-rc" +SRC_URI="http://avahi.org/download/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux" IUSE="autoipd bookmarks dbus doc gdbm gtk gtk3 howl-compat +introspection ipv6 kernel_linux mdnsresponder-compat mono nls python qt4 selinux test utils" REQUIRED_USE=" @@ -34,12 +32,12 @@ REQUIRED_USE=" COMMON_DEPEND=" dev-libs/libdaemon dev-libs/expat - dev-libs/glib:2[${MULTILIB_USEDEP}] - gdbm? ( sys-libs/gdbm[${MULTILIB_USEDEP}] ) + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + gdbm? ( >=sys-libs/gdbm-1.10-r1[${MULTILIB_USEDEP}] ) qt4? ( dev-qt/qtcore:4[${MULTILIB_USEDEP}] ) gtk? ( x11-libs/gtk+:2[${MULTILIB_USEDEP}] ) gtk3? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] ) - dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) + dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] ) kernel_linux? ( sys-libs/libcap ) introspection? ( dev-libs/gobject-introspection:= ) mono? ( @@ -59,10 +57,11 @@ COMMON_DEPEND=" DEPEND=" ${COMMON_DEPEND} - doc? ( app-doc/doxygen ) - app-doc/xmltoman dev-util/intltool - virtual/pkgconfig[${MULTILIB_USEDEP}] + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] + doc? ( + app-doc/doxygen + ) " RDEPEND=" @@ -88,9 +87,9 @@ pkg_setup() { } src_prepare() { - if ! use ipv6; then + if use ipv6; then sed -i \ - -e s/use-ipv6=yes/use-ipv6=no/ \ + -e s/use-ipv6=no/use-ipv6=yes/ \ avahi-daemon/avahi-daemon.conf || die fi @@ -99,24 +98,36 @@ src_prepare() { doxygen_to_devhelp.xsl || die # Make gtk utils optional - # https://github.com/lathiat/avahi/issues/24 epatch "${FILESDIR}"/${PN}-0.6.30-optional-gtk-utils.patch # Fix init scripts for >=openrc-0.9.0, bug #383641 - # https://github.com/lathiat/avahi/issues/25 epatch "${FILESDIR}"/${PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch + # install-exec-local -> install-exec-hook + epatch "${FILESDIR}"/${P}-install-exec-hook.patch + + # Backport host-name-from-machine-id patch, bug #466134 + epatch "${FILESDIR}"/${P}-host-name-from-machine-id.patch + # Don't install avahi-discover unless ENABLE_GTK_UTILS, bug #359575 - # https://github.com/lathiat/avahi/issues/24 - epatch "${FILESDIR}"/${PN}-0.6.31-fix-install-avahi-discover.patch + epatch "${FILESDIR}"/${P}-fix-install-avahi-discover.patch + + epatch "${FILESDIR}"/${P}-so_reuseport-may-not-exist-in-running-kernel.patch - # Allow building client without the daemon - # https://github.com/lathiat/avahi/issues/26 - epatch "${FILESDIR}"/${PN}-0.6.31-build-client-without-daemon.patch + # allow building client without the daemon + epatch "${FILESDIR}"/${P}-build-client-without-daemon.patch # Fix build under various locales, bug #501664 - # https://github.com/lathiat/avahi/issues/27 - epatch "${FILESDIR}"/${PN}-0.6.31-fix-locale-build.patch + epatch "${FILESDIR}"/${P}-fix-locale-build.patch + + # Fix "Invalid response packet from host", bug #559408. + epatch "${FILESDIR}"/${P}-invalid_packet.patch + + # Drop DEPRECATED flags, bug #384743 + sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die + + # Fix references to Lennart's home directory, bug #466210 + sed -i -e 's/\/home\/lennart\/tmp\/avahi//g' man/* || die # Bug #525832 epatch_user @@ -168,8 +179,7 @@ multilib_src_configure() { --with-distro=gentoo \ --disable-python-dbus \ --disable-pygtk \ - --enable-manpages \ - --enable-xmltoman \ + --disable-xmltoman \ --disable-monodoc \ --enable-glib \ --enable-gobject \ @@ -204,16 +214,9 @@ multilib_src_install() { use bookmarks && use python && use dbus && use gtk || \ rm -f "${ED}"/usr/bin/avahi-bookmarks - # https://github.com/lathiat/avahi/issues/28 use howl-compat && dosym avahi-compat-howl.pc /usr/$(get_libdir)/pkgconfig/howl.pc use mdnsresponder-compat && dosym avahi-compat-libdns_sd/dns_sd.h /usr/include/dns_sd.h - # Needed for running on systemd properly, bug #537000 - # https://github.com/lathiat/avahi/issues/29 - if multilib_is_native_abi; then - ln -s avahi-daemon.service "${D}$(systemd_get_unitdir)"/dbus-org.freedesktop.Avahi.service || die - fi - if multilib_is_native_abi && use doc; then dohtml -r doxygen/html/. || die insinto /usr/share/devhelp/books/avahi diff --git a/net-dns/avahi/avahi-0.6.32_rc.ebuild b/net-dns/avahi/avahi-0.6.32_rc.ebuild index f3b222a..dc9cd67 100644 --- a/net-dns/avahi/avahi-0.6.32_rc.ebuild +++ b/net-dns/avahi/avahi-0.6.32_rc.ebuild @@ -208,12 +208,6 @@ multilib_src_install() { use howl-compat && dosym avahi-compat-howl.pc /usr/$(get_libdir)/pkgconfig/howl.pc use mdnsresponder-compat && dosym avahi-compat-libdns_sd/dns_sd.h /usr/include/dns_sd.h - # Needed for running on systemd properly, bug #537000 - # https://github.com/lathiat/avahi/issues/29 - if multilib_is_native_abi; then - ln -s avahi-daemon.service "${D}$(systemd_get_unitdir)"/dbus-org.freedesktop.Avahi.service || die - fi - if multilib_is_native_abi && use doc; then dohtml -r doxygen/html/. || die insinto /usr/share/devhelp/books/avahi