From e9e89406ea193c4bc98ac92ec440cc398a5d944f Mon Sep 17 00:00:00 2001 From: Tobias Scherbaum Date: Fri, 29 Dec 2006 13:13:43 +0000 Subject: [PATCH] Version bump for security bug #159306, marked ppc stable Package-Manager: portage-2.1.1-r2 --- net-dns/avahi/ChangeLog | 8 +- net-dns/avahi/Manifest | 26 ++-- net-dns/avahi/avahi-0.6.16.ebuild | 169 ++++++++++++++++++++++++ net-dns/avahi/files/digest-avahi-0.6.16 | 3 + 4 files changed, 191 insertions(+), 15 deletions(-) create mode 100644 net-dns/avahi/avahi-0.6.16.ebuild create mode 100644 net-dns/avahi/files/digest-avahi-0.6.16 diff --git a/net-dns/avahi/ChangeLog b/net-dns/avahi/ChangeLog index 8685331c1873..28e2ba419058 100644 --- a/net-dns/avahi/ChangeLog +++ b/net-dns/avahi/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dns/avahi # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.82 2006/11/15 15:37:33 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.83 2006/12/29 13:13:43 dertobi123 Exp $ + +*avahi-0.6.16 (29 Dec 2006) + + 29 Dec 2006; Tobias Scherbaum + +avahi-0.6.16.ebuild: + Version bump for security bug #159306, marked ppc stable 15 Nov 2006; Sven Wegener -files/0.6.13-svn-fixes.patch, -avahi-0.6.10.ebuild, -avahi-0.6.11.ebuild, diff --git a/net-dns/avahi/Manifest b/net-dns/avahi/Manifest index aa8b3a827288..b1f9ddbd8721 100644 --- a/net-dns/avahi/Manifest +++ b/net-dns/avahi/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX 0.6.15-dbus-fixes.patch 1647 RMD160 5d120cb23fae7d4603456593ef1b07eb842d5e0d SHA1 29ca0c669f1e03b729cd053aba560a775f2685c5 SHA256 733f4a3d5d6e9f10c7e1bec045e566c09fa128ca6043f90190f9235cc4fbcbb4 MD5 d3d5b3538c1d66c747b02296b957d9fa files/0.6.15-dbus-fixes.patch 1647 RMD160 5d120cb23fae7d4603456593ef1b07eb842d5e0d files/0.6.15-dbus-fixes.patch 1647 @@ -14,14 +11,19 @@ MD5 317c28eba6516a18140aa8e2cb26d618 files/avahi-0.6.1-no-ipv6.patch 362 RMD160 7c90e7b3fadbd880d18db23dbe54ab6824be53d1 files/avahi-0.6.1-no-ipv6.patch 362 SHA256 e00bd75a9770acf68c0f92cb8594b62acb0d60577e7dbeb1b7680e250b4d39b4 files/avahi-0.6.1-no-ipv6.patch 362 DIST avahi-0.6.15.tar.gz 892455 RMD160 c288d193f96751283065c4002d50ee139586e8b0 SHA1 b6ad5c4be1b868b1d8ccb14370c82bb8f01f8236 SHA256 21dc28f464dbf158ad15dc5ee9d0bad78215ef5633086e55b7201294d5841da0 +DIST avahi-0.6.16.tar.gz 891970 RMD160 0106c3082867715052b416e3c761d8f052de00a0 SHA1 8e684d29a16f6fda3c6a0458299134124d64b5ae SHA256 794d4d1c485d4dc24659a25feb92706eb8bff4552333a1df83e856db123c36ce EBUILD avahi-0.6.15.ebuild 4176 RMD160 98028ffb701ba1fd9d02c87e6b6d14801d4b78a5 SHA1 6c2df25cd19d76cac38616768231313509eed024 SHA256 690b89245901299100cc438ee7858a48ec5e8d7b461b3ea7d4c8c2f3f732ff68 MD5 633de2ca94b87b711056addcc0270f09 avahi-0.6.15.ebuild 4176 RMD160 98028ffb701ba1fd9d02c87e6b6d14801d4b78a5 avahi-0.6.15.ebuild 4176 SHA256 690b89245901299100cc438ee7858a48ec5e8d7b461b3ea7d4c8c2f3f732ff68 avahi-0.6.15.ebuild 4176 -MISC ChangeLog 10845 RMD160 a564eafbf4c69c1793035347d5023bee09410057 SHA1 93320a74313357da2c2ab5764df37a0ac5ee93b2 SHA256 d2f5512b7e4aaf63e3770bbc8ca7bd72aa3210ce01579219f5a25a8e6cf369d4 -MD5 76f0018cabe0b5bd92ae372e5c9bd9a7 ChangeLog 10845 -RMD160 a564eafbf4c69c1793035347d5023bee09410057 ChangeLog 10845 -SHA256 d2f5512b7e4aaf63e3770bbc8ca7bd72aa3210ce01579219f5a25a8e6cf369d4 ChangeLog 10845 +EBUILD avahi-0.6.16.ebuild 4142 RMD160 9b9554af473e9fcb1fbf8f777950ce3abdcac948 SHA1 45c4372e9a4553274622bb4dc18407ead4e27a76 SHA256 a0ad38df6b3e1649222fe713a9d2e409f47697249d9160f3a055aaf0f5485fc9 +MD5 3f20da4541d6398f8d53d6fa57d4bd8d avahi-0.6.16.ebuild 4142 +RMD160 9b9554af473e9fcb1fbf8f777950ce3abdcac948 avahi-0.6.16.ebuild 4142 +SHA256 a0ad38df6b3e1649222fe713a9d2e409f47697249d9160f3a055aaf0f5485fc9 avahi-0.6.16.ebuild 4142 +MISC ChangeLog 11016 RMD160 b2f53cb8737ae6c82fc512bea57d72c6d2eb9a28 SHA1 4d62906d12ca2af22148230697246c17a16551ec SHA256 328bfcc54ff4bcfeed12d6100ce881427b72c1c41c667ee8972491989046c90e +MD5 599f303d491ac4b0c32688ecd8b9db20 ChangeLog 11016 +RMD160 b2f53cb8737ae6c82fc512bea57d72c6d2eb9a28 ChangeLog 11016 +SHA256 328bfcc54ff4bcfeed12d6100ce881427b72c1c41c667ee8972491989046c90e ChangeLog 11016 MISC metadata.xml 223 RMD160 93a79d3a583130d803a2a8da0052f43d102ecfc2 SHA1 bd4caecc4cecdd93cb0e935e8f4ff92272aae978 SHA256 87de3da2e3f5d81839d9e3658af1703267195984bdee92aa032f1d429acc096d MD5 b8a99a5b7fa586fe9cabbacc87d88bfe metadata.xml 223 RMD160 93a79d3a583130d803a2a8da0052f43d102ecfc2 metadata.xml 223 @@ -29,10 +31,6 @@ SHA256 87de3da2e3f5d81839d9e3658af1703267195984bdee92aa032f1d429acc096d metadata MD5 23815a4887561501c51eb7b6a63646b8 files/digest-avahi-0.6.15 238 RMD160 a8269968c6333ac231f868cf577f6899be16300b files/digest-avahi-0.6.15 238 SHA256 0d0868d27f53d49fc385a54124696193f69ae5b8a7de3c8496df5af227594bce files/digest-avahi-0.6.15 238 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) - -iD8DBQFFWzRGI1lqEGTUzyQRAgmAAKCt/duEDsflmHGEcuK3TNftS9e4gwCglWXJ -OvKWXf6c51lYtKw05qEcmRI= -=6Cfi ------END PGP SIGNATURE----- +MD5 8aa4fe4af3aa3c0f161ad400add7fbf6 files/digest-avahi-0.6.16 238 +RMD160 bd1113ac391bce31d10cc8acb8e5720b3b56d8d7 files/digest-avahi-0.6.16 238 +SHA256 fc63dba6c511d1588e7866f900ebbb3defb54ed3cc455f871c35b473549c0371 files/digest-avahi-0.6.16 238 diff --git a/net-dns/avahi/avahi-0.6.16.ebuild b/net-dns/avahi/avahi-0.6.16.ebuild new file mode 100644 index 000000000000..7078abc583c4 --- /dev/null +++ b/net-dns/avahi/avahi-0.6.16.ebuild @@ -0,0 +1,169 @@ +# Copyright 2000-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.16.ebuild,v 1.1 2006/12/29 13:13:43 dertobi123 Exp $ + +inherit eutils mono python qt3 qt4 + +DESCRIPTION="System which facilitates service discovery on a local network" +HOMEPAGE="http://avahi.org/" +SRC_URI="http://avahi.org/download/${P}.tar.gz + http://lathiat.net/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="bookmarks howl-compat mdnsresponder-compat gdbm dbus doc mono gtk python qt3 qt4 autoipd" + +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.30 + ) + ) + ) + ) + mono? ( >=dev-lang/mono-1.1.10 ) + 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 + )" +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 +} + +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 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 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 + einfo + einfo "To use avahi-autoipd to configure your interfaces with IPv4LL (RFC3927)" + einfo "addresses, just set config_=( autoipd ) in /etc/conf.net!" + einfo + fi +} diff --git a/net-dns/avahi/files/digest-avahi-0.6.16 b/net-dns/avahi/files/digest-avahi-0.6.16 new file mode 100644 index 000000000000..5917dd6b84d0 --- /dev/null +++ b/net-dns/avahi/files/digest-avahi-0.6.16 @@ -0,0 +1,3 @@ +MD5 3cbc460bbd55bae35f7b57443c063640 avahi-0.6.16.tar.gz 891970 +RMD160 0106c3082867715052b416e3c761d8f052de00a0 avahi-0.6.16.tar.gz 891970 +SHA256 794d4d1c485d4dc24659a25feb92706eb8bff4552333a1df83e856db123c36ce avahi-0.6.16.tar.gz 891970 -- 2.26.2