summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2007-08-08 20:28:52 +0000
committerSven Wegener <swegener@gentoo.org>2007-08-08 20:28:52 +0000
commit89417e7cdbe456946c51682e152a10feb9f4d38f (patch)
treeb8d36f9a43fd0e682b42e0f1abceb8742b4e2e0c /net-dns
parentalpha/ia64 stable wrt #176297 (diff)
downloadhistorical-89417e7cdbe456946c51682e152a10feb9f4d38f.tar.gz
historical-89417e7cdbe456946c51682e152a10feb9f4d38f.tar.bz2
historical-89417e7cdbe456946c51682e152a10feb9f4d38f.zip
Revision bump, including a fix from upstream for autoipd.
Package-Manager: portage-2.1.3.3
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/avahi/ChangeLog10
-rw-r--r--net-dns/avahi/Manifest32
-rw-r--r--net-dns/avahi/avahi-0.6.19-r2.ebuild182
-rw-r--r--net-dns/avahi/avahi-0.6.20-r2.ebuild184
-rw-r--r--net-dns/avahi/files/avahi-0.6.20-autoipd.patch13
-rw-r--r--net-dns/avahi/files/digest-avahi-0.6.19-r23
-rw-r--r--net-dns/avahi/files/digest-avahi-0.6.20-r23
7 files changed, 419 insertions, 8 deletions
diff --git a/net-dns/avahi/ChangeLog b/net-dns/avahi/ChangeLog
index f8a4f1619938..476034b6b113 100644
--- a/net-dns/avahi/ChangeLog
+++ b/net-dns/avahi/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-dns/avahi
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.119 2007/07/21 21:17:59 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.120 2007/08/08 20:28:52 swegener Exp $
+
+*avahi-0.6.20-r2 (08 Aug 2007)
+*avahi-0.6.19-r2 (08 Aug 2007)
+
+ 08 Aug 2007; Sven Wegener <swegener@gentoo.org>
+ +files/avahi-0.6.20-autoipd.patch, +avahi-0.6.19-r2.ebuild,
+ +avahi-0.6.20-r2.ebuild:
+ Revision bump, including a fix from upstream for autoipd.
21 Jul 2007; Sven Wegener <swegener@gentoo.org>
-files/avahi-0.6.18-inotify-ifdef-fix.patch, -avahi-0.6.17.ebuild,
diff --git a/net-dns/avahi/Manifest b/net-dns/avahi/Manifest
index b1594057ba37..d785e15c87b4 100644
--- a/net-dns/avahi/Manifest
+++ b/net-dns/avahi/Manifest
@@ -57,6 +57,10 @@ AUX avahi-0.6.19-ui-sharp-gtk.patch 427 RMD160 967c446b0204baa4ddf5a0568164352ca
MD5 1918bb632bd1476837dbeee789b7d310 files/avahi-0.6.19-ui-sharp-gtk.patch 427
RMD160 967c446b0204baa4ddf5a0568164352caa90cfaa files/avahi-0.6.19-ui-sharp-gtk.patch 427
SHA256 ae4ae6a21ebfcf39f3f1f9bf67cc5f47881d4e28cfb6f488517819806909ee9c files/avahi-0.6.19-ui-sharp-gtk.patch 427
+AUX avahi-0.6.20-autoipd.patch 584 RMD160 5117179edd7af3237edad97c5c141b271470f58a SHA1 aa15b45e31cf97721d597fc030d56f66365d2f88 SHA256 7a8fa3ce860730d5a63641fe4e7e9f85d0fc45b7d4a0aa4d84a2b58e2c4112cd
+MD5 4d4638a8f34ae814e3683527551ad711 files/avahi-0.6.20-autoipd.patch 584
+RMD160 5117179edd7af3237edad97c5c141b271470f58a files/avahi-0.6.20-autoipd.patch 584
+SHA256 7a8fa3ce860730d5a63641fe4e7e9f85d0fc45b7d4a0aa4d84a2b58e2c4112cd files/avahi-0.6.20-autoipd.patch 584
AUX avahi-0.6.20-cleanup-dns-compression-table.patch 1895 RMD160 31c8d84fb7fff3fb1a226c66e089c295131d30ae SHA1 1fcf7d6587e30a3534831b380760d87ed52c7211 SHA256 80c18ca1f12a7d67e55b41973ef2606bb46539945019e155ae88cb262b6c33fb
MD5 4ea004d6e300d83a993a8cff49f73bab files/avahi-0.6.20-cleanup-dns-compression-table.patch 1895
RMD160 31c8d84fb7fff3fb1a226c66e089c295131d30ae files/avahi-0.6.20-cleanup-dns-compression-table.patch 1895
@@ -80,14 +84,22 @@ EBUILD avahi-0.6.19-r1.ebuild 4451 RMD160 3b47663e8f6ccc695ad195ceabe7c5926ca7b7
MD5 4f37238db83d7fb8d89951391f3a2b15 avahi-0.6.19-r1.ebuild 4451
RMD160 3b47663e8f6ccc695ad195ceabe7c5926ca7b72d avahi-0.6.19-r1.ebuild 4451
SHA256 78386c1809e6e25ac756b2f95ea0dfcd9a68ad405cb268d4c4ae211daf571632 avahi-0.6.19-r1.ebuild 4451
+EBUILD avahi-0.6.19-r2.ebuild 4505 RMD160 4b0913449e9b95cd60d859aceacfd7fa2c510463 SHA1 28464e3bf7569e6e2a9f8f761876fcc6af041be3 SHA256 90b8a953c258bc6bb9505d0df14b0cc8a148664ba608a9854c79a698a91eefc5
+MD5 a2f3728f5d4b9509a8b48efba2b32fe2 avahi-0.6.19-r2.ebuild 4505
+RMD160 4b0913449e9b95cd60d859aceacfd7fa2c510463 avahi-0.6.19-r2.ebuild 4505
+SHA256 90b8a953c258bc6bb9505d0df14b0cc8a148664ba608a9854c79a698a91eefc5 avahi-0.6.19-r2.ebuild 4505
EBUILD avahi-0.6.20-r1.ebuild 4573 RMD160 c4312f393264aeff8a0e817a955bb67db29210bf SHA1 0f1cdbe2883e048fdf4baa017c4217d543b7b1bf SHA256 419db6c9d05dd3527958e33b603e534711808417858366a25119a4238a10ed3e
MD5 b49f039d53d50ce4c5a848e9545edaef avahi-0.6.20-r1.ebuild 4573
RMD160 c4312f393264aeff8a0e817a955bb67db29210bf avahi-0.6.20-r1.ebuild 4573
SHA256 419db6c9d05dd3527958e33b603e534711808417858366a25119a4238a10ed3e avahi-0.6.20-r1.ebuild 4573
-MISC ChangeLog 16663 RMD160 3048560b7f12bffb8810d59010d9deb06fb62737 SHA1 c313948c0c82d60930507e8b5cd6ec9d2bce243f SHA256 b749cb2f759fa7485f2b580cdd47df1c4226725dfe86922d440d21003a98fcf1
-MD5 90c6e834ccb0d7cab66cecade2af9be7 ChangeLog 16663
-RMD160 3048560b7f12bffb8810d59010d9deb06fb62737 ChangeLog 16663
-SHA256 b749cb2f759fa7485f2b580cdd47df1c4226725dfe86922d440d21003a98fcf1 ChangeLog 16663
+EBUILD avahi-0.6.20-r2.ebuild 4613 RMD160 ea3dc6653c636420f9768f2283296bbec89a8ab9 SHA1 b0158e5e6dd84460cbfcce0cfd6b260c4359d063 SHA256 e260241b0379113a8fa86d46fc817701d1ee7709a4915050441f1386ac8908a9
+MD5 e469c409fede1f996f3b7c057c952434 avahi-0.6.20-r2.ebuild 4613
+RMD160 ea3dc6653c636420f9768f2283296bbec89a8ab9 avahi-0.6.20-r2.ebuild 4613
+SHA256 e260241b0379113a8fa86d46fc817701d1ee7709a4915050441f1386ac8908a9 avahi-0.6.20-r2.ebuild 4613
+MISC ChangeLog 16926 RMD160 ecf8c8123500604d7f126987c3d963dbe4310a2b SHA1 fe3ad063cc350c19afad2c4e95b7a324c3aa8ee8 SHA256 ab86d4f9c5a3359d720d1eb410badca740336e9d4fcfcf8c152000c2e33fc2b7
+MD5 ee56a6f1bfa4fb32d62970b5171ccf32 ChangeLog 16926
+RMD160 ecf8c8123500604d7f126987c3d963dbe4310a2b ChangeLog 16926
+SHA256 ab86d4f9c5a3359d720d1eb410badca740336e9d4fcfcf8c152000c2e33fc2b7 ChangeLog 16926
MISC metadata.xml 223 RMD160 93a79d3a583130d803a2a8da0052f43d102ecfc2 SHA1 bd4caecc4cecdd93cb0e935e8f4ff92272aae978 SHA256 87de3da2e3f5d81839d9e3658af1703267195984bdee92aa032f1d429acc096d
MD5 b8a99a5b7fa586fe9cabbacc87d88bfe metadata.xml 223
RMD160 93a79d3a583130d803a2a8da0052f43d102ecfc2 metadata.xml 223
@@ -98,13 +110,19 @@ SHA256 fc63dba6c511d1588e7866f900ebbb3defb54ed3cc455f871c35b473549c0371 files/di
MD5 8426d4046873ff10e6d7facf145b3b89 files/digest-avahi-0.6.19-r1 238
RMD160 a5c23988afd3e8cdf90e4647155bd86e9d2dee92 files/digest-avahi-0.6.19-r1 238
SHA256 ea8928681ddbe0fe704197076ec00c506b7a138c1510c373671297fcdbaef20d files/digest-avahi-0.6.19-r1 238
+MD5 8426d4046873ff10e6d7facf145b3b89 files/digest-avahi-0.6.19-r2 238
+RMD160 a5c23988afd3e8cdf90e4647155bd86e9d2dee92 files/digest-avahi-0.6.19-r2 238
+SHA256 ea8928681ddbe0fe704197076ec00c506b7a138c1510c373671297fcdbaef20d files/digest-avahi-0.6.19-r2 238
MD5 abad0d13524e320d577cc47c71fbc9da files/digest-avahi-0.6.20-r1 238
RMD160 189115dd402bfa26b8bf8aa16ffd0879d8d147a5 files/digest-avahi-0.6.20-r1 238
SHA256 9dd3a566162032a532c8a8ce934135a8c99fd7abc07dfe010bfe606fa687785c files/digest-avahi-0.6.20-r1 238
+MD5 abad0d13524e320d577cc47c71fbc9da files/digest-avahi-0.6.20-r2 238
+RMD160 189115dd402bfa26b8bf8aa16ffd0879d8d147a5 files/digest-avahi-0.6.20-r2 238
+SHA256 9dd3a566162032a532c8a8ce934135a8c99fd7abc07dfe010bfe606fa687785c files/digest-avahi-0.6.20-r2 238
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.5 (GNU/Linux)
-iD8DBQFGongJI1lqEGTUzyQRAvreAJwPRRAL0LlHLfoGX1/2//ozDzoIAQCeJTpA
-Nn5UvVfVYReP88NS5899J8k=
-=7zHp
+iD8DBQFGuieOI1lqEGTUzyQRAj37AKDO/oYyr9AR44fJIBw2qmE1V4/N9gCgkb7A
+2Ty0WUqFTNZWk2scC5Q4Asw=
+=jE5Q
-----END PGP SIGNATURE-----
diff --git a/net-dns/avahi/avahi-0.6.19-r2.ebuild b/net-dns/avahi/avahi-0.6.19-r2.ebuild
new file mode 100644
index 000000000000..2402cff17d33
--- /dev/null
+++ b/net-dns/avahi/avahi-0.6.19-r2.ebuild
@@ -0,0 +1,182 @@
+# Copyright 2000-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.19-r2.ebuild,v 1.1 2007/08/08 20:28:52 swegener Exp $
+
+WANT_AUTOMAKE="1.9"
+
+inherit eutils mono python qt3 qt4 autotools
+
+DESCRIPTION="System which facilitates service discovery on a local network"
+HOMEPAGE="http://avahi.org/"
+SRC_URI="http://avahi.org/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha ~amd64 ~arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
+IUSE="bookmarks howl-compat mdnsresponder-compat gdbm dbus doc mono gtk python qt3 qt4 autoipd kernel_linux test"
+
+RDEPEND=">=dev-libs/libdaemon-0.5
+ dev-libs/expat
+ >=dev-libs/glib-2
+ gdbm? ( sys-libs/gdbm )
+ qt3? ( $(qt_min_version 3.3.6-r2) )
+ qt4? ( $(qt4_min_version 4) )
+ gtk? (
+ >=x11-libs/gtk+-2
+ >=gnome-base/libglade-2
+ )
+ dbus? (
+ >=sys-apps/dbus-0.30
+ python? (
+ || (
+ dev-python/dbus-python
+ (
+ <sys-apps/dbus-0.90
+ >=sys-apps/dbus-0.30
+ )
+ )
+ )
+ )
+ mono? (
+ >=dev-lang/mono-1.1.10
+ gtk? ( dev-dotnet/gtk-sharp )
+ )
+ howl-compat? ( !net-misc/howl )
+ mdnsresponder-compat? ( !net-misc/mDNSResponder )
+ python? (
+ >=virtual/python-2.4
+ gtk? ( >=dev-python/pygtk-2 )
+ )
+ bookmarks? (
+ dev-python/twisted
+ dev-python/twisted-web
+ )
+ kernel_linux? ( sys-libs/libcap )
+ !net-misc/mDNSResponder"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9.0
+ doc? (
+ app-doc/doxygen
+ mono? ( >=dev-util/monodoc-1.1.8 )
+ )"
+
+pkg_setup() {
+ if use python && ! built_with_use dev-lang/python gdbm
+ then
+ die "For python support you need dev-lang/python compiled with gdbm support!"
+ fi
+
+ if use python && use dbus && ! has_version dev-python/dbus-python && ! built_with_use sys-apps/dbus python
+ then
+ die "For python and dbus support you need sys-apps/dbus compiled with python support or dev-python/dbus-python!"
+ fi
+
+ if ( use mdnsresponder-compat || use howl-compat || use mono ) && ! use dbus
+ then
+ die "For *-compat or mono support you also need to enable the dbus USE flag!"
+ fi
+
+ if use bookmarks && ! ( use python && use dbus && use gtk )
+ then
+ die "For bookmarks support you also need to enable the python, dbus and gtk USE flags!"
+ fi
+}
+
+pkg_preinst() {
+ enewgroup netdev
+ enewgroup avahi
+ enewuser avahi -1 -1 -1 avahi
+
+ if use autoipd
+ then
+ enewgroup avahi-autoipd
+ enewuser avahi-autoipd -1 -1 -1 avahi-autoipd
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-0.6.1-no-ipv6.patch
+ epatch "${FILESDIR}"/${P}-ui-sharp-automake.patch
+ epatch "${FILESDIR}"/${P}-ui-sharp-gtk.patch
+ epatch "${FILESDIR}"/${P}-assert-security.patch
+ epatch "${FILESDIR}"/${PN}-0.6.20-autoipd.patch
+
+ eautomake
+}
+
+src_compile() {
+ local myconf=""
+
+ if use python
+ then
+ use dbus && myconf="${myconf} --enable-python-dbus"
+ use gtk && myconf="${myconf} --enable-pygtk"
+ fi
+
+ if use mono && use doc
+ then
+ myconf="${myconf} --enable-monodoc"
+ fi
+
+ # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
+ unset DISPLAY
+
+ econf \
+ --localstatedir=/var \
+ --with-distro=gentoo \
+ --disable-python-dbus \
+ --disable-pygtk \
+ --disable-xmltoman \
+ --disable-monodoc \
+ --enable-glib \
+ $(use_enable test tests) \
+ $(use_enable autoipd) \
+ $(use_enable mdnsresponder-compat compat-libdns_sd) \
+ $(use_enable howl-compat compat-howl) \
+ $(use_enable doc doxygen-doc) \
+ $(use_enable mono) \
+ $(use_enable dbus) \
+ $(use_enable python) \
+ $(use_enable gtk) \
+ $(use_enable qt3) \
+ $(use_enable qt4) \
+ $(use_enable gdbm) \
+ ${myconf} \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install py_compile=true DESTDIR="${D}" || die "make install failed"
+ use bookmarks || rm -f "${D}"/usr/bin/avahi-bookmarks
+
+ use howl-compat && ln -s avahi-compat-howl.pc "${D}"/usr/$(get_libdir)/pkgconfig/howl.pc
+ use mdnsresponder-compat && ln -s avahi-compat-libdns_sd/dns_sd.h "${D}"/usr/include/dns_sd.h
+
+ if use autoipd
+ then
+ insinto /lib/rcscripts/net
+ doins "${FILESDIR}"/autoipd.sh
+ fi
+
+ dodoc docs/{AUTHORS,README,TODO}
+}
+
+pkg_postrm() {
+ use python && python_mod_cleanup "${ROOT}"/usr/lib/python*/site-packages/avahi
+}
+
+pkg_postinst() {
+ use python && python_mod_optimize "${ROOT}"/usr/lib/python*/site-packages/avahi
+
+ if use autoipd
+ then
+ elog
+ elog "To use avahi-autoipd to configure your interfaces with IPv4LL (RFC3927)"
+ elog "addresses, just set config_<interface>=( autoipd ) in /etc/conf.d/net!"
+ elog
+ fi
+}
diff --git a/net-dns/avahi/avahi-0.6.20-r2.ebuild b/net-dns/avahi/avahi-0.6.20-r2.ebuild
new file mode 100644
index 000000000000..cf5ccc7f1464
--- /dev/null
+++ b/net-dns/avahi/avahi-0.6.20-r2.ebuild
@@ -0,0 +1,184 @@
+# Copyright 2000-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.20-r2.ebuild,v 1.1 2007/08/08 20:28:52 swegener Exp $
+
+WANT_AUTOMAKE="1.9"
+
+inherit eutils mono python qt3 qt4 autotools
+
+DESCRIPTION="System which facilitates service discovery on a local network"
+HOMEPAGE="http://avahi.org/"
+SRC_URI="http://avahi.org/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="bookmarks howl-compat mdnsresponder-compat gdbm dbus doc mono gtk python qt3 qt4 autoipd kernel_linux test ipv6"
+
+RDEPEND=">=dev-libs/libdaemon-0.11-r1
+ dev-libs/expat
+ >=dev-libs/glib-2
+ gdbm? ( sys-libs/gdbm )
+ qt3? ( $(qt_min_version 3.3.6-r2) )
+ qt4? ( $(qt4_min_version 4) )
+ gtk? (
+ >=x11-libs/gtk+-2
+ >=gnome-base/libglade-2
+ )
+ dbus? (
+ >=sys-apps/dbus-0.30
+ python? (
+ || (
+ dev-python/dbus-python
+ (
+ <sys-apps/dbus-0.90
+ >=sys-apps/dbus-0.30
+ )
+ )
+ )
+ )
+ mono? (
+ >=dev-lang/mono-1.1.10
+ gtk? ( dev-dotnet/gtk-sharp )
+ )
+ howl-compat? ( !net-misc/howl )
+ mdnsresponder-compat? ( !net-misc/mDNSResponder )
+ python? (
+ >=virtual/python-2.4
+ gtk? ( >=dev-python/pygtk-2 )
+ )
+ bookmarks? (
+ dev-python/twisted
+ dev-python/twisted-web
+ )
+ kernel_linux? ( sys-libs/libcap )
+ !net-misc/mDNSResponder"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9.0
+ doc? (
+ app-doc/doxygen
+ mono? ( >=dev-util/monodoc-1.1.8 )
+ )"
+
+pkg_setup() {
+ if use python && ! built_with_use dev-lang/python gdbm
+ then
+ die "For python support you need dev-lang/python compiled with gdbm support!"
+ fi
+
+ if use python && use dbus && ! has_version dev-python/dbus-python && ! built_with_use sys-apps/dbus python
+ then
+ die "For python and dbus support you need sys-apps/dbus compiled with python support or dev-python/dbus-python!"
+ fi
+
+ if ( use mdnsresponder-compat || use howl-compat || use mono ) && ! use dbus
+ then
+ die "For *-compat or mono support you also need to enable the dbus USE flag!"
+ fi
+
+ if use bookmarks && ! ( use python && use dbus && use gtk )
+ then
+ die "For bookmarks support you also need to enable the python, dbus and gtk USE flags!"
+ fi
+}
+
+pkg_preinst() {
+ enewgroup netdev
+ enewgroup avahi
+ enewuser avahi -1 -1 -1 avahi
+
+ if use autoipd
+ then
+ enewgroup avahi-autoipd
+ enewuser avahi-autoipd -1 -1 -1 avahi-autoipd
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-0.6.1-no-ipv6.patch
+ epatch "${FILESDIR}"/${P}-ui-sharp-gtk.patch
+ epatch "${FILESDIR}"/${P}-make-known-answers-not-conflict.patch
+ epatch "${FILESDIR}"/${P}-cleanup-dns-compression-table.patch
+ epatch "${FILESDIR}"/${P}-autoipd.patch
+
+ use ipv6 && sed -i -e s/use-ipv6=no/use-ipv6=yes/ avahi-daemon/avahi-daemon.conf
+
+ eautomake
+}
+
+src_compile() {
+ local myconf=""
+
+ if use python
+ then
+ use dbus && myconf="${myconf} --enable-python-dbus"
+ use gtk && myconf="${myconf} --enable-pygtk"
+ fi
+
+ if use mono && use doc
+ then
+ myconf="${myconf} --enable-monodoc"
+ fi
+
+ # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
+ unset DISPLAY
+
+ econf \
+ --localstatedir=/var \
+ --with-distro=gentoo \
+ --disable-python-dbus \
+ --disable-pygtk \
+ --disable-xmltoman \
+ --disable-monodoc \
+ --enable-glib \
+ $(use_enable test tests) \
+ $(use_enable autoipd) \
+ $(use_enable mdnsresponder-compat compat-libdns_sd) \
+ $(use_enable howl-compat compat-howl) \
+ $(use_enable doc doxygen-doc) \
+ $(use_enable mono) \
+ $(use_enable dbus) \
+ $(use_enable python) \
+ $(use_enable gtk) \
+ $(use_enable qt3) \
+ $(use_enable qt4) \
+ $(use_enable gdbm) \
+ ${myconf} \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install py_compile=true DESTDIR="${D}" || die "make install failed"
+ use bookmarks || rm -f "${D}"/usr/bin/avahi-bookmarks
+
+ use howl-compat && ln -s avahi-compat-howl.pc "${D}"/usr/$(get_libdir)/pkgconfig/howl.pc
+ use mdnsresponder-compat && ln -s avahi-compat-libdns_sd/dns_sd.h "${D}"/usr/include/dns_sd.h
+
+ if use autoipd
+ then
+ insinto /lib/rcscripts/net
+ doins "${FILESDIR}"/autoipd.sh
+ fi
+
+ dodoc docs/{AUTHORS,README,TODO}
+}
+
+pkg_postrm() {
+ use python && python_mod_cleanup "${ROOT}"/usr/lib/python*/site-packages/avahi
+}
+
+pkg_postinst() {
+ use python && python_mod_optimize "${ROOT}"/usr/lib/python*/site-packages/avahi
+
+ if use autoipd
+ then
+ elog
+ elog "To use avahi-autoipd to configure your interfaces with IPv4LL (RFC3927)"
+ elog "addresses, just set config_<interface>=( autoipd ) in /etc/conf.d/net!"
+ elog
+ fi
+}
diff --git a/net-dns/avahi/files/avahi-0.6.20-autoipd.patch b/net-dns/avahi/files/avahi-0.6.20-autoipd.patch
new file mode 100644
index 000000000000..9e517575223b
--- /dev/null
+++ b/net-dns/avahi/files/avahi-0.6.20-autoipd.patch
@@ -0,0 +1,13 @@
+Index: trunk/avahi-autoipd/main.c
+===================================================================
+--- trunk/avahi-autoipd/main.c (revision 1502)
++++ trunk/avahi-autoipd/main.c (revision 1503)
+@@ -510,7 +510,7 @@
+ sa.sll_halen = ETHER_ADDRLEN;
+ memset(sa.sll_addr, 0xFF, ETHER_ADDRLEN);
+
+- if (sendto(fd, packet, packet_len, 0, (struct sockaddr*) &sa, sizeof(sa)) < 0) {
++ if (sendto(fd, packet->ether_payload, packet_len, 0, (struct sockaddr*) &sa, sizeof(sa)) < 0) {
+ daemon_log(LOG_ERR, "sendto() failed: %s", strerror(errno));
+ return -1;
+ }
diff --git a/net-dns/avahi/files/digest-avahi-0.6.19-r2 b/net-dns/avahi/files/digest-avahi-0.6.19-r2
new file mode 100644
index 000000000000..166fb945297b
--- /dev/null
+++ b/net-dns/avahi/files/digest-avahi-0.6.19-r2
@@ -0,0 +1,3 @@
+MD5 a06782435d1c994ecd00a66e95a5d9d4 avahi-0.6.19.tar.gz 973381
+RMD160 15ae4baaa55f0020422552994a8d1ef33935b065 avahi-0.6.19.tar.gz 973381
+SHA256 a742dceda38f242f5eac72f2c3bc1bda76adf497d6913e88a9cbc624bf2dd68a avahi-0.6.19.tar.gz 973381
diff --git a/net-dns/avahi/files/digest-avahi-0.6.20-r2 b/net-dns/avahi/files/digest-avahi-0.6.20-r2
new file mode 100644
index 000000000000..b44d491d525d
--- /dev/null
+++ b/net-dns/avahi/files/digest-avahi-0.6.20-r2
@@ -0,0 +1,3 @@
+MD5 6acdff79afa2631f765f3bbbc3e25a74 avahi-0.6.20.tar.gz 974209
+RMD160 da413b25675184d1514953bfd308d544ca5f0556 avahi-0.6.20.tar.gz 974209
+SHA256 89ae5fd08018679b80cee201e1c1350d86db73bdcf6718aabb4bd3ea86f93ec9 avahi-0.6.20.tar.gz 974209