diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-16 16:55:05 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-16 16:55:05 +0000 |
commit | 6fece9face982763b6b5d0517816b78ef1551bc7 (patch) | |
tree | 09bda7bf8bb2b84306fde4c1cc0afa644988d038 /net-dns | |
parent | ppc/ppc64 stable wrt #393009 (diff) | |
download | historical-6fece9face982763b6b5d0517816b78ef1551bc7.tar.gz historical-6fece9face982763b6b5d0517816b78ef1551bc7.tar.bz2 historical-6fece9face982763b6b5d0517816b78ef1551bc7.zip |
old
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/avahi/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/avahi/Manifest | 23 | ||||
-rw-r--r-- | net-dns/avahi/avahi-0.6.28-r1.ebuild | 201 | ||||
-rw-r--r-- | net-dns/avahi/avahi-0.6.29-r1.ebuild | 204 | ||||
-rw-r--r-- | net-dns/avahi/avahi-0.6.30-r2.ebuild | 217 | ||||
-rw-r--r-- | net-dns/avahi/files/avahi-0.6.28-CVE-2011-1002.patch | 68 | ||||
-rw-r--r-- | net-dns/avahi/files/netlink-request-all-matches-when-requesting-interface.patch | 42 |
7 files changed, 15 insertions, 748 deletions
diff --git a/net-dns/avahi/ChangeLog b/net-dns/avahi/ChangeLog index a954dfc70635..28214ff7b300 100644 --- a/net-dns/avahi/ChangeLog +++ b/net-dns/avahi/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dns/avahi # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.220 2012/01/16 16:52:43 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.221 2012/01/16 16:55:05 ssuominen Exp $ + + 16 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> -avahi-0.6.28-r1.ebuild, + -files/avahi-0.6.28-CVE-2011-1002.patch, -avahi-0.6.29-r1.ebuild, + -avahi-0.6.30-r2.ebuild, + -files/netlink-request-all-matches-when-requesting-interface.patch: + old 16 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> avahi-0.6.30-r1.ebuild: ppc/ppc64 stable wrt #393009 diff --git a/net-dns/avahi/Manifest b/net-dns/avahi/Manifest index 87caea401590..e3e272a35839 100644 --- a/net-dns/avahi/Manifest +++ b/net-dns/avahi/Manifest @@ -3,29 +3,22 @@ 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 avahi-0.6.30-automake-1.11.2.patch 3256 RMD160 35e8343c9bfb98ebdcf3c6b05e082187fb285c2e SHA1 44cf79f51a47dde3d2d2701ca3718aa5744b52a6 SHA256 bcfd79cb5c74c2ec17d7320d9302c6946282b36e306ab16261aec0de590a5423 AUX avahi-0.6.30-optional-gtk-utils.patch 2422 RMD160 75d049bc187c08b0ad2d76921064c087d57532ed SHA1 99a0ea57a461d0c0b3d4269adc9571d1bf85f31c SHA256 1233ba93af567117091094921e5ba76f205b1d984fd5a97153c2004f8f0509e3 AUX avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch 633 RMD160 3b5cda1422345d0fb43842e27dd5b4579ebebd72 SHA1 06450b5cd37b0be3319328706a0329d767219bc5 SHA256 0bd4f2b2f720684b754698d86b6b1f106576473cead815e7b60b1c62171e4cdc -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-r1.ebuild 5033 RMD160 36152840c393b1f1fe0b9f2ddf1798c3351ac20c SHA1 3f300b970cfd41e2f271f641b3b8f63faff1e83b SHA256 75d38c8792a5556f711cd6f71b454bd91497c9f8f3729211adda29f1b7eb8aff EBUILD avahi-0.6.30-r1.ebuild 5557 RMD160 92be96242a0cc6f8dc8dfd10efad29324e067b42 SHA1 27e2f733b58eb2bf6330fd113c7843d0d73e085c SHA256 2d0210baa3b6b35945b7bcb6f39f8d110377b354761e36f08bac2129b411f132 -EBUILD avahi-0.6.30-r2.ebuild 5674 RMD160 86e7867114ae6ae0a79b708303f38bfb50a56460 SHA1 6ac7df5c479298cb25f9dc2dbb08cef5c09d1e46 SHA256 9151c0c67540c4e8de22e19f8d4da7db4c4803a66a0f62a75990994678344528 EBUILD avahi-0.6.30-r3.ebuild 5700 RMD160 594c62578cb516220d55c220cc0bfec0e211fe32 SHA1 2396339ce1bb1f712236ed89a7ba14aeb9b37675 SHA256 2bb14c9a6df35ee3e3c1de4af57d77e6b3bc06a5ddb166647d557d07295962de -MISC ChangeLog 33112 RMD160 331fde2b348936e73fa0b2a0e789729ef8c5cd30 SHA1 b401a313a794c463b0a1c0f6d10aed900cda7b9e SHA256 a5d313be5f8387fb63b42812d68e868e6f2815d81ba776a21778a9142458b4a0 +MISC ChangeLog 33363 RMD160 fdacfb9283b74e18fea501cce31b1f77c1438932 SHA1 d927c608b7ab2a67a8bb6175d398c89ef8d33e62 SHA256 f6d2d532193798ba79ceab7854b003b7a9238fccee59d68c501054a39b69638a MISC metadata.xml 892 RMD160 9bca92d3dc0b1ca1ebb7de98fcb6c414028ce376 SHA1 4c2a8a417838011d8a8027fd097661ab262e7bbc SHA256 37689509fa8cae032b27236bf754a0060a21c79c03faa11630f606996e6062cc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBAgAGBQJPFFV0AAoJEEdUh39IaPFNdSwH/iiLDXkzJRbboeUChvmrI+/G -8G8IoqCnlC26uIQ5hWgOkefguqkEyyr1nW48N0PrVwjNNv9uy+39u4g8/Di2VEbO -3o8ZB5nMYbO72ylOT3+kuZVthTgzTIxQ0nGBHNKskskPNjE97AFftRWvH3Rvij4F -dUxtgtDLVgLS+JnSl+l1eEN9ptRvRXhazKny30ZCVVXZMJFoq1EItIep9SvOsSxE -FPi7oqVkCLukBEQHa4FUKJPr74b09/SIXzqOdLGioX4o+gTrfXrbTnW+l6UwJSKw -/+/NQbvRtAbVvNtY4LU8csyT192RaQ9WgWBfNstwNbkyTk22XrBfZcg2+slG4ew= -=z3F5 +iQEcBAEBAgAGBQJPFFYAAAoJEEdUh39IaPFNS0IH/i9Skc8K807PoJGtXuUnvU3E +/L0GVGDEbFo3P4r7gstL6Di8L+4IfSLlhl2ST5e6ncg7cLhk2R+g/P2D/XD+DR3T +9U7pBpXGtqhhd7xsOI1WqwLe0xTUft3cygndpHihTCjcDETWrWYwxB7a6EtikzJ8 +8PtrwNW7ufvHHozjmeQIrYw2Qdb2oWYlxPA63NTbKoRC21ziXuNoPBK5mR+hMT5N +U2C5yV059+/iEc27AhY6RW6pXbEWehrYDBTYUPsfk4qYLWc1T99+3pgMF3msTsgh +KXpWEGDQYF8hnmSOTJAknV0TwIViL5o/6E6bWNiMadbuCgOF6l5XWfW7ql17gls= +=U9TO -----END PGP SIGNATURE----- diff --git a/net-dns/avahi/avahi-0.6.28-r1.ebuild b/net-dns/avahi/avahi-0.6.28-r1.ebuild deleted file mode 100644 index 7d928acd35cc..000000000000 --- a/net-dns/avahi/avahi-0.6.28-r1.ebuild +++ /dev/null @@ -1,201 +0,0 @@ -# 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.28-r1.ebuild,v 1.7 2011/03/05 13:42:05 armin76 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 - - epatch "${FILESDIR}"/netlink-request-all-matches-when-requesting-interface.patch - epatch "${FILESDIR}"/${P}-CVE-2011-1002.patch -} - -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 -} diff --git a/net-dns/avahi/avahi-0.6.29-r1.ebuild b/net-dns/avahi/avahi-0.6.29-r1.ebuild deleted file mode 100644 index aa85b275cdd4..000000000000 --- a/net-dns/avahi/avahi-0.6.29-r1.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# 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.29-r1.ebuild,v 1.3 2011/12/25 10:49:26 maksbotan 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 - - # Fix init scripts for >=openrc-0.9.0 (bug #383641) - epatch "${FILESDIR}/${PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch" -} - -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 - if use python; then - python_convert_shebangs 2 "${ED}"usr/bin/avahi-discover || 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 -} diff --git a/net-dns/avahi/avahi-0.6.30-r2.ebuild b/net-dns/avahi/avahi-0.6.30-r2.ebuild deleted file mode 100644 index 4681902bf918..000000000000 --- a/net-dns/avahi/avahi-0.6.30-r2.ebuild +++ /dev/null @@ -1,217 +0,0 @@ -# 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-r2.ebuild,v 1.5 2011/12/28 17:50:21 flameeyes Exp $ - -EAPI="3" - -PYTHON_DEPEND="python? 2" -PYTHON_USE_WITH="gdbm" -PYTHON_USE_WITH_OPT="python" - -inherit autotools 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 ~x86-linux" -IUSE="autoipd bookmarks dbus doc gdbm gtk gtk3 howl-compat +introspection ipv6 -kernel_linux mdnsresponder-compat mono python qt4 test utils" - -DBUS_DEPEND=">=sys-apps/dbus-0.30" -COMMON_DEPEND=">=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 ) - gtk3? ( x11-libs/gtk+:3 ) - dbus? ( - ${DBUS_DEPEND} - python? ( dev-python/dbus-python ) - ) - mono? ( - >=dev-lang/mono-1.1.10 - gtk? ( >=dev-dotnet/gtk-sharp-2 ) - ) - howl-compat? ( ${DBUS_DEPEND} ) - introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) - mdnsresponder-compat? ( ${DBUS_DEPEND} ) - python? ( - gtk? ( >=dev-python/pygtk-2 ) - ) - bookmarks? ( - dev-python/twisted - dev-python/twisted-web - ) - kernel_linux? ( sys-libs/libcap )" -DEPEND="${COMMON_DEPEND} - >=dev-util/intltool-0.40.5 - >=dev-util/pkgconfig-0.9.0 - doc? ( - app-doc/doxygen - mono? ( >=virtual/monodoc-1.1.8 ) - )" -RDEPEND="${COMMON_DEPEND} - howl-compat? ( !net-misc/howl ) - mdnsresponder-compat? ( !net-misc/mDNSResponder )" - -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 - - # FIXME: Use REQUIRED_USE once python.eclass gets EAPI 4 support, bug 372255 - if use utils && ! { use gtk || use gtk3; }; then - ewarn "To install the avahi utilities, USE='gtk utils' or USE='gtk3 utils''" - 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 - - # Make gtk utils optional - epatch "${FILESDIR}/${PN}-0.6.30-optional-gtk-utils.patch" - - # Fix init scripts for >=openrc-0.9.0 (bug #383641) - epatch "${FILESDIR}/${PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch" - - # Drop DEPRECATED flags, bug #384743 - sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die - - eautoreconf -} - -src_configure() { - use sh && replace-flags -O? -O0 - - local myconf="--disable-static" - - 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 - - econf \ - --localstatedir="${EPREFIX}/var" \ - --with-distro=gentoo \ - --disable-python-dbus \ - --disable-pygtk \ - --disable-xmltoman \ - --disable-monodoc \ - --enable-glib \ - --enable-gobject \ - $(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 gtk3) \ - $(use_enable introspection) \ - $(use_enable utils gtk-utils) \ - --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 "${ED}"/usr/bin/avahi-bookmarks - - use howl-compat && ln -s avahi-compat-howl.pc "${ED}"/usr/$(get_libdir)/pkgconfig/howl.pc - use mdnsresponder-compat && ln -s avahi-compat-libdns_sd/dns_sd.h "${ED}"/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 - if use python && use gtk && use dbus; then - python_convert_shebangs 2 "${ED}usr/bin/avahi-discover" - fi - - # Remove .la files - find "${D}" -name '*.la' -exec rm -f {} + || die -} - -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 -} diff --git a/net-dns/avahi/files/avahi-0.6.28-CVE-2011-1002.patch b/net-dns/avahi/files/avahi-0.6.28-CVE-2011-1002.patch deleted file mode 100644 index 9d80477c2af1..000000000000 --- a/net-dns/avahi/files/avahi-0.6.28-CVE-2011-1002.patch +++ /dev/null @@ -1,68 +0,0 @@ -From: Vincent Untz <vuntz@opensuse.org> -Date: Fri, 18 Feb 2011 22:37:00 +0000 (+0100) -Subject: socket: Still read corrupt packets from the sockets -X-Git-Url: http://git.0pointer.de/?p=avahi.git;a=commitdiff_plain;h=46109dfec75534fe270c0ab902576f685d5ab3a6 - -socket: Still read corrupt packets from the sockets - -Else, we end up with an infinite loop with 100% CPU. - -http://www.avahi.org/ticket/325 -https://bugzilla.redhat.com/show_bug.cgi?id=667187 ---- - -diff --git a/avahi-core/socket.c b/avahi-core/socket.c -index be62105..e69ec7d 100644 ---- a/avahi-core/socket.c -+++ b/avahi-core/socket.c -@@ -653,10 +653,6 @@ AvahiDnsPacket *avahi_recv_dns_packet_ipv4( - goto fail; - } - -- /* For corrupt packets FIONREAD returns zero size (See rhbz #607297) */ -- if (!ms) -- goto fail; -- - p = avahi_dns_packet_new(ms + AVAHI_DNS_PACKET_EXTRA_SIZE); - - io.iov_base = AVAHI_DNS_PACKET_DATA(p); -@@ -683,10 +679,14 @@ AvahiDnsPacket *avahi_recv_dns_packet_ipv4( - goto fail; - } - -- if (sa.sin_addr.s_addr == INADDR_ANY) { -+ /* For corrupt packets FIONREAD returns zero size (See rhbz #607297). So -+ * fail after having read them. */ -+ if (!ms) -+ goto fail; -+ -+ if (sa.sin_addr.s_addr == INADDR_ANY) - /* Linux 2.4 behaves very strangely sometimes! */ - goto fail; -- } - - assert(!(msg.msg_flags & MSG_CTRUNC)); - assert(!(msg.msg_flags & MSG_TRUNC)); -@@ -810,10 +810,6 @@ AvahiDnsPacket *avahi_recv_dns_packet_ipv6( - goto fail; - } - -- /* For corrupt packets FIONREAD returns zero size (See rhbz #607297) */ -- if (!ms) -- goto fail; -- - p = avahi_dns_packet_new(ms + AVAHI_DNS_PACKET_EXTRA_SIZE); - - io.iov_base = AVAHI_DNS_PACKET_DATA(p); -@@ -841,6 +837,11 @@ AvahiDnsPacket *avahi_recv_dns_packet_ipv6( - goto fail; - } - -+ /* For corrupt packets FIONREAD returns zero size (See rhbz #607297). So -+ * fail after having read them. */ -+ if (!ms) -+ goto fail; -+ - assert(!(msg.msg_flags & MSG_CTRUNC)); - assert(!(msg.msg_flags & MSG_TRUNC)); - diff --git a/net-dns/avahi/files/netlink-request-all-matches-when-requesting-interface.patch b/net-dns/avahi/files/netlink-request-all-matches-when-requesting-interface.patch deleted file mode 100644 index 877d97c74ed8..000000000000 --- a/net-dns/avahi/files/netlink-request-all-matches-when-requesting-interface.patch +++ /dev/null @@ -1,42 +0,0 @@ -From: Pablo Neira Ayuso <pablo@netfilter.org> -Date: Fri, 18 Feb 2011 17:58:21 +0000 (+0100) -Subject: netlink: fix wrong use of netlink flags for dump operations -X-Git-Tag: v0.6.29~17 -X-Git-Url: http://git.0pointer.de/?p=avahi.git;a=commitdiff_plain;h=65cb5c100eb1e5891f145be0b89aaa3c2d2e4317 - -netlink: fix wrong use of netlink flags for dump operations - -The avahi-daemon uses a wrong flag combination to operate with -rtnetlink. This patch fixes the problems. - -No need to set NLM_F_ACK since the dump operation already includes -the trailing NLMSG_DONE message that informs about the end of the -dump operation. ---- - -diff --git a/avahi-autoipd/iface-linux.c b/avahi-autoipd/iface-linux.c -index fc27829..83e9e41 100644 ---- a/avahi-autoipd/iface-linux.c -+++ b/avahi-autoipd/iface-linux.c -@@ -262,7 +262,7 @@ int iface_get_initial_state(State *state) { - n->nlmsg_len = NLMSG_LENGTH(sizeof(*ifi)); - n->nlmsg_type = RTM_GETLINK; - n->nlmsg_seq = seq; -- n->nlmsg_flags = NLM_F_MATCH|NLM_F_REQUEST|NLM_F_ACK; -+ n->nlmsg_flags = NLM_F_REQUEST|NLM_F_DUMP; - n->nlmsg_pid = 0; - - ifi = NLMSG_DATA(n); -diff --git a/avahi-core/iface-linux.c b/avahi-core/iface-linux.c -index a1b7f73..4d12f73 100644 ---- a/avahi-core/iface-linux.c -+++ b/avahi-core/iface-linux.c -@@ -53,7 +53,7 @@ static int netlink_list_items(AvahiNetlink *nl, uint16_t type, unsigned *ret_seq - n = (struct nlmsghdr*) req; - n->nlmsg_len = NLMSG_LENGTH(sizeof(struct rtgenmsg)); - n->nlmsg_type = type; -- n->nlmsg_flags = NLM_F_ROOT|NLM_F_REQUEST; -+ n->nlmsg_flags = NLM_F_REQUEST|NLM_F_DUMP; - n->nlmsg_pid = 0; - - gen = NLMSG_DATA(n); |