diff options
author | Sven Wegener <swegener@gentoo.org> | 2011-04-06 20:09:43 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2011-04-06 20:09:43 +0000 |
commit | f2b07c9d053119f12c48c5128a53f42cc2e67776 (patch) | |
tree | cd0da3ff41853b39e9b15a4b51bf2bd5c29c3b08 /net-dns/avahi | |
parent | Fix deprecation warning. (diff) | |
download | historical-f2b07c9d053119f12c48c5128a53f42cc2e67776.tar.gz historical-f2b07c9d053119f12c48c5128a53f42cc2e67776.tar.bz2 historical-f2b07c9d053119f12c48c5128a53f42cc2e67776.zip |
Version bump, bug #362335.
Package-Manager: portage-2.2.0_alpha29/cvs/Linux x86_64
Diffstat (limited to 'net-dns/avahi')
-rw-r--r-- | net-dns/avahi/ChangeLog | 7 | ||||
-rw-r--r-- | net-dns/avahi/Manifest | 14 | ||||
-rw-r--r-- | net-dns/avahi/avahi-0.6.30.ebuild | 198 |
3 files changed, 217 insertions, 2 deletions
diff --git a/net-dns/avahi/ChangeLog b/net-dns/avahi/ChangeLog index 0060d1ee2fc8..b188d09f8712 100644 --- a/net-dns/avahi/ChangeLog +++ b/net-dns/avahi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dns/avahi # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.202 2011/03/17 07:14:41 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.203 2011/04/06 20:09:43 swegener Exp $ + +*avahi-0.6.30 (06 Apr 2011) + + 06 Apr 2011; Sven Wegener <swegener@gentoo.org> +avahi-0.6.30.ebuild: + Version bump. 17 Mar 2011; Sven Wegener <swegener@gentoo.org> files/netlink-request-all-matches-when-requesting-interface.patch: diff --git a/net-dns/avahi/Manifest b/net-dns/avahi/Manifest index 6780f27f9a0a..6172146dbee7 100644 --- a/net-dns/avahi/Manifest +++ b/net-dns/avahi/Manifest @@ -1,10 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX autoipd-openrc.sh 700 RMD160 00e259967279dc52ee99476dfb4d6c9672b77ee3 SHA1 1d9858b99f23688f6a0f4a6726400bbbe41df976 SHA256 9f9e8d751bc640491397c8a06cbb6f3dcbf9cdf1a083e274f4d802c9c925c6c0 AUX autoipd.sh 1271 RMD160 85ac3d69aff64867baa0ba6c58e9f224ba0e2e57 SHA1 95a6145f00ccd511e3b067d4669148861f56c2a4 SHA256 9582a49d0674fac714f448976065fd4e1f0423c08f645685160ed682a121f8c9 AUX avahi-0.6.28-CVE-2011-1002.patch 2076 RMD160 0b561a78e75099a14e7a3da5290cd1ffa6a75533 SHA1 6d298861d7c7b432cd350f3df277e43ed59b378b SHA256 bf8422b278c0c66eca063672c4836346a4d85cb16014882ca3003b0a79ba9f97 AUX netlink-request-all-matches-when-requesting-interface.patch 1634 RMD160 3995e26dca6ec1cb4801159c479c0b591eff5da3 SHA1 e234d6bd96b7adaf543ef7583b6dd90538238608 SHA256 163db2141b278a07433e7d1b51227493555ca7ba1faf2d19c97e20aa51b947cd DIST avahi-0.6.28.tar.gz 1238660 RMD160 d61b370baa3f25d57efba43f2c34b54cab7e7e9e SHA1 5da3f7da2cff8ddf74f8746e4dcb2524e5047f67 SHA256 a0d80aac88212b9f9d5331c248091d3c9c9209f0e41985421636ebd14230fc91 DIST avahi-0.6.29.tar.gz 1244081 RMD160 a0a4e1019cafb53a683ceceaa44605873957b6cd SHA1 af13ae6fdb3cd61b2eafa25a108773156d88b362 SHA256 4eb1a6bdc93f1b245fc1b26ff6a79f5f958c1135c04bff60d36d374d98cc14d8 +DIST avahi-0.6.30.tar.gz 1243534 RMD160 99dbc4f5711fd2962ac657811bebdb63947bd2c1 SHA1 5b77443537600a00770e4c77e3c443eeb5861d06 SHA256 f9e4316c2339d0020726edd846d01bee0c39980906db0c247479e5807457ff1f EBUILD avahi-0.6.28-r1.ebuild 4934 RMD160 7ebe1201b97f00f08a330211f8f81b07e3d17250 SHA1 4bc99179361a3a55234dbd6f646ce958bbe96e61 SHA256 fb564902531fd9e2059456b2e4659ac0f66ca6e8c1dc0911b9c7fc1cf6c1eed5 EBUILD avahi-0.6.29.ebuild 4813 RMD160 b9f7a58b8fd051d9c6702d0e2ed01548d26d9edc SHA1 932b31e959caa23f2e58fb8c1beb4da9b8f9dbe8 SHA256 d260d87b5571792264b9ecaa6832bfec5694b40c3199978c4f3385101e6debac -MISC ChangeLog 30161 RMD160 e9b632ee6bc0041d87356bee452609199c0e9a59 SHA1 cc9883e834fe699307534bcdf0095b005dcfa1e5 SHA256 fc0d4d9dea48441e01aee1c97d3a52684aa5acacc0ebe35aa6e8a793d79e4fd6 +EBUILD avahi-0.6.30.ebuild 4813 RMD160 7a98702c69e7ef57eb5bdab23d65a97ba36f4e93 SHA1 8431090a119c276cc99135723608a5126123f7e6 SHA256 cde6ab1fe8b734c9f8f9a7b4818b49b76bfe274cdcd87a967be48e0312f9f862 +MISC ChangeLog 30279 RMD160 575e487cf5d83628f96f6a6bd76a9d6078a0eac7 SHA1 8368e88a82a8ca40fb4942969deefcb656e21ebb SHA256 56973afc8ffd97c84e73451f33dfb6280bbf1c149ae610cd11a8069b99b8435f MISC metadata.xml 609 RMD160 fa4efaaf9b8ac6d75251c9bd1f0721ea175acda9 SHA1 4532738c9ff6d9d2a2aef226b827919ac31be2de SHA256 365224bb3c21c159a89fa03ea08c534eb27cc2df62012a69e03ad81779607faa +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk2cyI8ACgkQI1lqEGTUzyQBBACeI2VzzZXkdRDKw7WXjByOpB+D +3roAoJ2KVdo3IwauwK7US2H4s7nnvKWP +=DGE7 +-----END PGP SIGNATURE----- diff --git a/net-dns/avahi/avahi-0.6.30.ebuild b/net-dns/avahi/avahi-0.6.30.ebuild new file mode 100644 index 000000000000..77fcff1262af --- /dev/null +++ b/net-dns/avahi/avahi-0.6.30.ebuild @@ -0,0 +1,198 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.30.ebuild,v 1.1 2011/04/06 20:09:43 swegener Exp $ + +EAPI="3" + +PYTHON_DEPEND="python? 2" +PYTHON_USE_WITH="gdbm" +PYTHON_USE_WITH_OPT="python" + +inherit eutils mono python multilib flag-o-matic + +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 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="autoipd bookmarks dbus doc gdbm gtk howl-compat ipv6 kernel_linux mdnsresponder-compat mono python qt4 test " + +DBUS_DEPEND=">=sys-apps/dbus-0.30" +RDEPEND=">=dev-libs/libdaemon-0.14 + dev-libs/expat + >=dev-libs/glib-2 + gdbm? ( sys-libs/gdbm ) + qt4? ( x11-libs/qt-core:4 ) + gtk? ( + >=x11-libs/gtk+-2.14.0:2 + ) + dbus? ( + ${DBUS_DEPEND} + python? ( dev-python/dbus-python ) + ) + mono? ( + >=dev-lang/mono-1.1.10 + gtk? ( >=dev-dotnet/gtk-sharp-2 ) + ) + howl-compat? ( + !net-misc/howl + ${DBUS_DEPEND} + ) + mdnsresponder-compat? ( + !net-misc/mDNSResponder + ${DBUS_DEPEND} + ) + python? ( + gtk? ( >=dev-python/pygtk-2 ) + ) + bookmarks? ( + dev-python/twisted + dev-python/twisted-web + ) + kernel_linux? ( sys-libs/libcap )" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.40.5 + >=dev-util/pkgconfig-0.9.0 + doc? ( + app-doc/doxygen + mono? ( >=virtual/monodoc-1.1.8 ) + )" + +pkg_setup() { + if use python; then + python_set_active_version 2 + python_pkg_setup + fi + + if use python && ! use dbus && ! use gtk; then + ewarn "For proper python support you should also enable the 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_prepare() { + if use ipv6; then + sed -i \ + -e s/use-ipv6=no/use-ipv6=yes/ \ + avahi-daemon/avahi-daemon.conf || die + fi + + sed -i\ + -e "s:\\.\\./\\.\\./\\.\\./doc/avahi-docs/html/:../../../doc/${PF}/html/:" \ + doxygen_to_devhelp.xsl || die +} + +src_configure() { + use sh && replace-flags -O? -O0 + + local myconf="" + + if use python; then + myconf+=" + $(use_enable dbus python-dbus) + $(use_enable gtk pygtk) + " + fi + + if use mono; then + myconf+=" $(use_enable doc monodoc)" + fi + + # these require dbus enabled + if use mdnsresponder-compat || use howl-compat || use mono; then + myconf+=" --enable-dbus" + fi + + # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module + unset DISPLAY + + # Upstream ships a gir file (AvahiCore.gir) which does not work with + # >=gobject-introspection-0.9, so we disable introspection for now. + # http://avahi.org/ticket/318 + econf \ + --localstatedir=/var \ + --with-distro=gentoo \ + --disable-python-dbus \ + --disable-pygtk \ + --disable-xmltoman \ + --disable-monodoc \ + --disable-introspection \ + --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) \ + --disable-gtk3 \ + $(use_enable gtk) \ + --disable-qt3 \ + $(use_enable qt4) \ + $(use_enable gdbm) \ + ${myconf} +} + +src_compile() { + emake || die "emake failed" + + use doc && { emake avahi.devhelp || die ; } +} + +src_install() { + emake install py_compile=true DESTDIR="${D}" || die "make install failed" + use bookmarks && use python && use dbus && use gtk || \ + 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 /$(get_libdir)/rcscripts/net + doins "${FILESDIR}"/autoipd.sh || die + + insinto /$(get_libdir)/rc/net + newins "${FILESDIR}"/autoipd-openrc.sh autoipd.sh || die + fi + + dodoc docs/{AUTHORS,NEWS,README,TODO} || die + + if use doc; then + dohtml -r doxygen/html/. || die + insinto /usr/share/devhelp/books/avahi + doins avahi.devhelp || die + fi +} + +pkg_postrm() { + use python && python_mod_cleanup avahi $(use dbus && use gtk && echo avahi_discover) +} + +pkg_postinst() { + use python && python_mod_optimize avahi $(use dbus && use gtk && echo avahi_discover) + + if use autoipd; then + echo + elog "To use avahi-autoipd to configure your interfaces with IPv4LL (RFC3927)" + elog "addresses, just set config_<interface>=( autoipd ) in /etc/conf.d/net!" + fi + + if use dbus; then + echo + elog "If this is your first install of avahi please reload your dbus config" + elog "with /etc/init.d/dbus reload before starting avahi-daemon!" + fi +} |