diff options
author | Martin von Gagern <Martin.vGagern@gmx.net> | 2010-08-08 13:18:30 +0200 |
---|---|---|
committer | Martin von Gagern <Martin.vGagern@gmx.net> | 2010-08-08 13:18:30 +0200 |
commit | 6b8abf6adcbe2b1459f36cf6f8aa1b459d6de78b (patch) | |
tree | 607e0c55d75cac61ad3be1f4f6d170f10a39057d /net-dns | |
parent | Manifests update (diff) | |
download | kde-sunset-6b8abf6adcbe2b1459f36cf6f8aa1b459d6de78b.tar.gz kde-sunset-6b8abf6adcbe2b1459f36cf6f8aa1b459d6de78b.tar.bz2 kde-sunset-6b8abf6adcbe2b1459f36cf6f8aa1b459d6de78b.zip |
[net-dns/avahi] Update from main portage tree
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/avahi/ChangeLog | 13 | ||||
-rw-r--r-- | net-dns/avahi/Manifest | 6 | ||||
-rw-r--r-- | net-dns/avahi/avahi-0.6.25-r1.ebuild | 4 | ||||
-rw-r--r-- | net-dns/avahi/avahi-0.6.27.ebuild | 200 |
4 files changed, 218 insertions, 5 deletions
diff --git a/net-dns/avahi/ChangeLog b/net-dns/avahi/ChangeLog index 4e659ff4..8d05efb0 100644 --- a/net-dns/avahi/ChangeLog +++ b/net-dns/avahi/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for net-dns/avahi # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.178 2010/07/11 10:25:52 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.181 2010/08/03 20:09:38 swegener Exp $ + +*avahi-0.6.27 (03 Aug 2010) + + 03 Aug 2010; Sven Wegener <swegener@gentoo.org> +avahi-0.6.27.ebuild: + Version bump. + + 03 Aug 2010; Jeroen Roovers <jer@gentoo.org> avahi-0.6.25-r1.ebuild: + Stable for HPPA (bug #278177). + + 19 Jul 2010; Markus Meier <maekke@gentoo.org> avahi-0.6.25-r1.ebuild: + arm stable, bug #278177 11 Jul 2010; Tobias Klausmann <klausman@gentoo.org> avahi-0.6.25-r1.ebuild: diff --git a/net-dns/avahi/Manifest b/net-dns/avahi/Manifest index 2893a580..1ef5e5c1 100644 --- a/net-dns/avahi/Manifest +++ b/net-dns/avahi/Manifest @@ -5,8 +5,10 @@ AUX avahi-0.6.24-cmsg_space.patch 449 RMD160 9593ee893daf908e35f36a7396ae5d52a76 AUX avahi-0.6.24-libintl.patch 542 RMD160 918aa11cdbce6f38d9a9446c798db2bc43a957b5 SHA1 c9f8ef5d0047b591e6e88153731ae380d64a2431 SHA256 fb8e37d6071a990184a7ad3c20a7709554103fb2c4f02450c338b9fbcf358215 DIST avahi-0.6.24.tar.gz 1115626 RMD160 94f59ccbd14d99e91e259b27dd7f03404c6691e6 SHA1 a187af361fefc8bda026936bb07ccdeb41dc74bc SHA256 260070d46188ed58f5dc1174ce632c096679f6391a2b729366e7aba349d4b950 DIST avahi-0.6.25.tar.gz 1103653 RMD160 3025f774360a8ea3b9de87e2df0b00387569aaf2 SHA1 7ce8ed5a494d72401dd81f64594fda59d2ec91fd SHA256 9220d974f5515b8ccfa3900cd72cedcac0fa4cc87ca3c64405f7c55346cbba59 +DIST avahi-0.6.27.tar.gz 1217974 RMD160 36e6a242f0c926351e31871d8a4f8a52a501fdc3 SHA1 e763bbeba92fd5b3ba3e2af5fc85aaf99b406c8b SHA256 c22df5e0b0d695bfe3cc52545bf0affc1c52060818a5a65d70055e320bc45e84 EBUILD avahi-0.6.24-r2.ebuild 5400 RMD160 f955a49312b3d0b269e08358c1dce3a6ad00f037 SHA1 12f531483b56407b83be6ed2639d79f671c23226 SHA256 8ea2e741aea77123d87ba83f71cdebde92886e8716554916b87a9a79bd67d018 -EBUILD avahi-0.6.25-r1.ebuild 5009 RMD160 c675765591690f777a0fc391ba556d2789e4a5c9 SHA1 57530a1a4bfcebc0fa8ff5e3d58e4398e08b6caf SHA256 2c94e09078e756b40e4040c3151788f9be3bc7abd26e57768ce40c1547b77c0f +EBUILD avahi-0.6.25-r1.ebuild 5002 RMD160 371538bfc5e7697224a0dd7acb234e3c1be5eda8 SHA1 4960afb8c6350c6efb93273331cbad4ead4111c4 SHA256 42854614fbbea0d6c8fd6f60fe62da084f32c663630adbd0692df50eed9edc91 EBUILD avahi-0.6.25.ebuild 5352 RMD160 0fb9fe844fba482fbfc95caf8744b71539c55324 SHA1 353f53cbbf73ed27c5b85629fd2e09374f08a251 SHA256 854cb5b236f3109a227970a9aa99904c1f947680a8bef1345c3e98bdc89d0efa -MISC ChangeLog 26599 RMD160 f15ced1906cad58e842153423fc9df9d72935abd SHA1 28166f45e7b7e56b3943aa49e71d8167d254fea4 SHA256 ef2bdc7f8e81d6f0df3943f146c759f62443299a3dd9739a4f4ade6266989503 +EBUILD avahi-0.6.27.ebuild 4679 RMD160 8ea7c8f93c28455161164f508b6ee46532fb1e23 SHA1 b74b902c640695c5cb73e2f75a23b6c07bef08bb SHA256 75995b26ecbcbb4d6d4a42882034acebd44f932bd8d0d9db3e149989aac07d21 +MISC ChangeLog 26921 RMD160 9ffda3d09b4ce12b7a3a9d001c6385e1466bb468 SHA1 aac52a0fde4f6da1014dc4f50aafea3b7e9ca5a4 SHA256 f97da840a81ace55b4a3e52625646d4dc69c7931a871777aa2ad1b4ca5226013 MISC metadata.xml 609 RMD160 fa4efaaf9b8ac6d75251c9bd1f0721ea175acda9 SHA1 4532738c9ff6d9d2a2aef226b827919ac31be2de SHA256 365224bb3c21c159a89fa03ea08c534eb27cc2df62012a69e03ad81779607faa diff --git a/net-dns/avahi/avahi-0.6.25-r1.ebuild b/net-dns/avahi/avahi-0.6.25-r1.ebuild index f761896c..3a6089a0 100644 --- a/net-dns/avahi/avahi-0.6.25-r1.ebuild +++ b/net-dns/avahi/avahi-0.6.25-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.25-r1.ebuild,v 1.6 2010/07/11 10:25:52 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.25-r1.ebuild,v 1.8 2010/08/03 01:56:46 jer Exp $ EAPI="3" @@ -16,7 +16,7 @@ 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" +KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ~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 ipv6" RDEPEND=">=dev-libs/libdaemon-0.11-r1 diff --git a/net-dns/avahi/avahi-0.6.27.ebuild b/net-dns/avahi/avahi-0.6.27.ebuild new file mode 100644 index 00000000..554a191d --- /dev/null +++ b/net-dns/avahi/avahi-0.6.27.ebuild @@ -0,0 +1,200 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.27.ebuild,v 1.1 2010/08/03 20:09:39 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="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? ( x11-libs/qt:3 ) + qt4? ( x11-libs/qt-core:4 ) + gtk? ( + >=x11-libs/gtk+-2.4.0:2 + >=gnome-base/libglade-2.4.0 + ) + dbus? ( + >=sys-apps/dbus-0.30 + python? ( dev-python/dbus-python ) + ) + mono? ( + >=dev-lang/mono-1.1.10 + gtk? ( >=dev-dotnet/gtk-sharp-2 ) + ) + howl-compat? ( !net-misc/howl ) + mdnsresponder-compat? ( !net-misc/mDNSResponder ) + 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 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 + + if use python && ! use dbus && ! use gtk + then + die "For proper python support you also need 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() { + use ipv6 && sed -i -e s/use-ipv6=no/use-ipv6=yes/ avahi-daemon/avahi-daemon.conf + + sed -i -e "s:\\.\\./\\.\\./\\.\\./doc/avahi-docs/html/:../../../doc/${PF}/html/:" doxygen_to_devhelp.xsl +} + +src_configure() { + use sh && replace-flags -O? -O0 + + 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) \ + --disable-gtk3 \ + $(use_enable gtk) \ + $(use_enable qt3) \ + $(use_enable qt4) \ + $(use_enable gdbm) \ + ${myconf} +} + +src_compile() { + emake || die "emake failed" + + use doc && emake avahi.devhelp +} + +src_install() { + emake 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 /$(get_libdir)/rcscripts/net + doins "${FILESDIR}"/autoipd.sh + + insinto /$(get_libdir)/rc/net + newins "${FILESDIR}"/autoipd-openrc.sh autoipd.sh + fi + + dodoc docs/{AUTHORS,NEWS,README,TODO} + + if use doc + then + dohtml -r doxygen/html/. + insinto /usr/share/devhelp/books/avahi + doins avahi.devhelp + fi +} + +pkg_postrm() { + if use python; then + python_mod_cleanup avahi avahi_discover + fi +} + +pkg_postinst() { + if use python; then + python_mod_optimize avahi avahi_discover + fi + + 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 + + if use dbus + then + elog + 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!" + elog + fi +} |