diff options
-rw-r--r-- | sys-auth/nss-mdns/ChangeLog | 7 | ||||
-rw-r--r-- | sys-auth/nss-mdns/files/nss-mdns-0.8-avahi-socket.patch | 22 | ||||
-rw-r--r-- | sys-auth/nss-mdns/nss-mdns-0.10.ebuild | 58 |
3 files changed, 5 insertions, 82 deletions
diff --git a/sys-auth/nss-mdns/ChangeLog b/sys-auth/nss-mdns/ChangeLog index 519a4caf1825..b06f5822c94c 100644 --- a/sys-auth/nss-mdns/ChangeLog +++ b/sys-auth/nss-mdns/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-auth/nss-mdns # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/ChangeLog,v 1.35 2012/08/15 11:54:25 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/ChangeLog,v 1.36 2012/09/26 17:49:03 kensington Exp $ + + 26 Sep 2012; Michael Palimaka <kensington@gentoo.org> + -files/nss-mdns-0.8-avahi-socket.patch, -nss-mdns-0.10.ebuild: + Remove old. 15 Aug 2012; Anthony G. Basile <blueness@gentoo.org> nss-mdns-0.10-r1.ebuild: Stable ppc, bug #429206 @@ -138,4 +142,3 @@ 21 Dec 2005; Saleem Abdulrasool <compnerd@gentoo.org> +metadata.xml, +nss-mdns-0.7.ebuild: Initial import of nss-mdns. Resolves bug #95895. - diff --git a/sys-auth/nss-mdns/files/nss-mdns-0.8-avahi-socket.patch b/sys-auth/nss-mdns/files/nss-mdns-0.8-avahi-socket.patch deleted file mode 100644 index 2b73165b7135..000000000000 --- a/sys-auth/nss-mdns/files/nss-mdns-0.8-avahi-socket.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- src/Makefile.am 2006-12-30 01:00:22.000000000 -0600 -+++ src/Makefile.am 2006-12-30 01:01:11.000000000 -0600 -@@ -20,7 +20,7 @@ - AM_CFLAGS = \ - -DMDNS_ALLOW_FILE=\"$(sysconfdir)/mdns.allow\" \ - -DRESOLV_CONF_FILE=\"$(sysconfdir)/resolv.conf\" \ -- -DAVAHI_SOCKET=\"$(localstatedir)/run/avahi-daemon/socket\" -+ -DAVAHI_SOCKET=\"$(ROOT)var/run/avahi-daemon/socket\" - - #AM_CFLAGS += -DNDEBUG=1 -Os - ---- src/Makefile.in 2006-12-30 01:00:19.000000000 -0600 -+++ src/Makefile.in 2006-12-30 01:00:37.000000000 -0600 -@@ -301,7 +301,7 @@ - # This cool debug trap works on i386/gcc only - AM_CFLAGS = -DMDNS_ALLOW_FILE=\"$(sysconfdir)/mdns.allow\" \ - -DRESOLV_CONF_FILE=\"$(sysconfdir)/resolv.conf\" \ -- -DAVAHI_SOCKET=\"$(localstatedir)/run/avahi-daemon/socket\" \ -+ -DAVAHI_SOCKET=\"$(ROOT)var/run/avahi-daemon/socket\" \ - '-DDEBUG_TRAP=__asm__("int $$3")' - lib_LTLIBRARIES = \ - libnss_mdns.la \ diff --git a/sys-auth/nss-mdns/nss-mdns-0.10.ebuild b/sys-auth/nss-mdns/nss-mdns-0.10.ebuild deleted file mode 100644 index 1da71b513e70..000000000000 --- a/sys-auth/nss-mdns/nss-mdns-0.10.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2009 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.10.ebuild,v 1.7 2009/12/10 19:38:48 vostorga Exp $ - -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 ~hppa ~mips ppc x86" -IUSE="" - -DEPEND="net-dns/avahi" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-0.8-avahi-socket.patch -} - -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:" - ewarn "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 -} |