From: Saleem Abdulrasool Date: Thu, 11 Jan 2007 05:48:34 +0000 (+0000) Subject: Disable legacy code and force avahi (bug #159798) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=356f78b5b60046d809d1e968831fd03414c01535;p=gentoo.git Disable legacy code and force avahi (bug #159798) Package-Manager: portage-2.1.2_rc4-r7 --- diff --git a/sys-auth/nss-mdns/ChangeLog b/sys-auth/nss-mdns/ChangeLog index 1ec520df198f..16e9726dff6b 100644 --- a/sys-auth/nss-mdns/ChangeLog +++ b/sys-auth/nss-mdns/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-auth/nss-mdns # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/ChangeLog,v 1.15 2007/01/02 19:30:34 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/ChangeLog,v 1.16 2007/01/11 05:48:34 compnerd Exp $ + +*nss-mdns-0.9-r1 (11 Jan 2007) + + 11 Jan 2007; Saleem Abdulrasool + +nss-mdns-0.9-r1.ebuild: + Force avahi, disable legacy code (bug #159798) thanks to Gioele Barabucci + for noticing *nss-mdns-0.9 (02 Jan 2007) diff --git a/sys-auth/nss-mdns/Manifest b/sys-auth/nss-mdns/Manifest index 54c18bd25dad..ee622523f119 100644 --- a/sys-auth/nss-mdns/Manifest +++ b/sys-auth/nss-mdns/Manifest @@ -16,14 +16,18 @@ EBUILD nss-mdns-0.8.ebuild 1629 RMD160 c0b2807d91dd822854d9da9f38a3252e5cdaef68 MD5 ef38b5ac651ea8dd1b64af5ecd4f317f nss-mdns-0.8.ebuild 1629 RMD160 c0b2807d91dd822854d9da9f38a3252e5cdaef68 nss-mdns-0.8.ebuild 1629 SHA256 fc70d6f13e72b373eed6da51d8a634d14b9c6d445369f5dd20d17c749489e0bb nss-mdns-0.8.ebuild 1629 +EBUILD nss-mdns-0.9-r1.ebuild 1796 RMD160 acbadf3c629daba25518d471d317a0b1be8542bc SHA1 464447d9303f1ee83c5df69a54725d13cb399a23 SHA256 dad3758b170631ed4cba6314241bab23d3e8511923a7f677dac509815a872642 +MD5 1fc23f78e5fae4d1bce72cde5b2fc504 nss-mdns-0.9-r1.ebuild 1796 +RMD160 acbadf3c629daba25518d471d317a0b1be8542bc nss-mdns-0.9-r1.ebuild 1796 +SHA256 dad3758b170631ed4cba6314241bab23d3e8511923a7f677dac509815a872642 nss-mdns-0.9-r1.ebuild 1796 EBUILD nss-mdns-0.9.ebuild 1830 RMD160 4fa428ca75b2e4ba599851e509387561848b70ef SHA1 3f6c2cafc55c1dcaeb06b737d556263921f4b7fd SHA256 12bbd27e5b76d34930aef5dc3612dd46379c98e4037977f769c0a99561994e75 MD5 35d62cd0aeda1895dd114d24f675a2aa nss-mdns-0.9.ebuild 1830 RMD160 4fa428ca75b2e4ba599851e509387561848b70ef nss-mdns-0.9.ebuild 1830 SHA256 12bbd27e5b76d34930aef5dc3612dd46379c98e4037977f769c0a99561994e75 nss-mdns-0.9.ebuild 1830 -MISC ChangeLog 2139 RMD160 76f26b0e916f1fbfec90d7614b281178fb97021a SHA1 5db483556edac602021d473f4c68fba99f1d1ed7 SHA256 e804f062b339dfd34625c216ece9d600081a114fb90d7dc07ff4e558b59adb70 -MD5 4e67bb78b44b2eedc70a8e60f03a8508 ChangeLog 2139 -RMD160 76f26b0e916f1fbfec90d7614b281178fb97021a ChangeLog 2139 -SHA256 e804f062b339dfd34625c216ece9d600081a114fb90d7dc07ff4e558b59adb70 ChangeLog 2139 +MISC ChangeLog 2346 RMD160 a0cd2b5c64da01316981d6e76da20d025d55f53e SHA1 0592ee68548c8dd32e8c4865eec9e6365208f0d7 SHA256 bd2a084ff5b830f56d40a4133368f68aded884d09c857bc2ca9893a9af911cd8 +MD5 26553a925541f41e93f3fbe97a748dcd ChangeLog 2346 +RMD160 a0cd2b5c64da01316981d6e76da20d025d55f53e ChangeLog 2346 +SHA256 bd2a084ff5b830f56d40a4133368f68aded884d09c857bc2ca9893a9af911cd8 ChangeLog 2346 MISC metadata.xml 509 RMD160 d596e7e487223fc6f70ceefd01ccebc705370ce5 SHA1 b3ba12ddc2f63f9c034f41e3267e11d29e71cef4 SHA256 754a514696213a355fbbade110f0b57cd5c15a3b96b57f7859e4a82ca9442428 MD5 554d9a0f33bac5a9356d9b07a8bab872 metadata.xml 509 RMD160 d596e7e487223fc6f70ceefd01ccebc705370ce5 metadata.xml 509 @@ -37,3 +41,6 @@ SHA256 08c6fc678482d38f085cd43f9ad583bca4e80357e6c1c8707668de71de084806 files/di MD5 aca35b82194e32333664746746a8ba47 files/digest-nss-mdns-0.9 238 RMD160 726146e750faf2ae11ce73dac41c8074d19b88a3 files/digest-nss-mdns-0.9 238 SHA256 500a60266aab061ef59eca164b931ce31d365d96420c923f03a740836126e92f files/digest-nss-mdns-0.9 238 +MD5 aca35b82194e32333664746746a8ba47 files/digest-nss-mdns-0.9-r1 238 +RMD160 726146e750faf2ae11ce73dac41c8074d19b88a3 files/digest-nss-mdns-0.9-r1 238 +SHA256 500a60266aab061ef59eca164b931ce31d365d96420c923f03a740836126e92f files/digest-nss-mdns-0.9-r1 238 diff --git a/sys-auth/nss-mdns/files/digest-nss-mdns-0.9-r1 b/sys-auth/nss-mdns/files/digest-nss-mdns-0.9-r1 new file mode 100644 index 000000000000..b8b2a3bc4e52 --- /dev/null +++ b/sys-auth/nss-mdns/files/digest-nss-mdns-0.9-r1 @@ -0,0 +1,3 @@ +MD5 bc72f5b19cc6ce8cacde448236b30868 nss-mdns-0.9.tar.gz 346397 +RMD160 4ee2d374040005b185dec04934ede34e9a63362a nss-mdns-0.9.tar.gz 346397 +SHA256 0bf226bb3a1716e6eb97355e08a7ffcf09aadfb91ba41ccef2ef1ba7a01719a2 nss-mdns-0.9.tar.gz 346397 diff --git a/sys-auth/nss-mdns/nss-mdns-0.9-r1.ebuild b/sys-auth/nss-mdns/nss-mdns-0.9-r1.ebuild new file mode 100644 index 000000000000..93aa17793d7a --- /dev/null +++ b/sys-auth/nss-mdns/nss-mdns-0.9-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/nss-mdns-0.9-r1.ebuild,v 1.1 2007/01/11 05:48:34 compnerd Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="1.9" + +inherit autotools eutils + +DESCRIPTION="Name Service Switch module for Multicast DNS" +HOMEPAGE="http://0pointer.de/lennart/projects/nss-mdns/" +SRC_URI="http://0pointer.de/lennart/projects/nss-mdns/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="net-dns/avahi" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${PN}-0.8-avahi-socket.patch + eautomake +} + +src_compile() { + econf --enable-search-domains --enable-avahi || die "configure failed" + emake || die "compile failed" +} + +src_install() { + make DESTDIR=${D} install || die "install failed" + + insinto /etc + doins ${FILESDIR}/mdns.allow + + dodoc README +} + +pkg_postinst() { + ewarn + ewarn "You must modify your name service switch look up file to enable" + ewarn "multicast DNS lookups. If you wish to resolve only IPv6 addresses" + ewarn "use mdns6. For IPv4 addresses only, use mdns4. To resolve both" + ewarn "use mdns. Keep in mind that mdns will be slower if there are no" + ewarn "IPv6 addresses published via mDNS on the network. There are also" + ewarn "minimal (mdns?_minimal) libraries which only lookup .local hosts" + ewarn "and 169.254.x.x addresses." + ewarn + ewarn "Add the appropriate mdns into the hosts line in /etc/nsswitch.conf" + ewarn "An example line looks like:" + einfo "hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4" + ewarn + ewarn "If you want to perform mDNS lookups for domains other than the ones" + ewarn "ending in .local, add them to /etc/mdns.allow" + ewarn + ebeep 5 + epause 10 +}