1 |
mgorny 14/05/30 14:31:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nss-mdns-0.10-r2.ebuild |
5 |
Log: |
6 |
Enable multilib support. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.37 sys-auth/nss-mdns/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/nss-mdns/ChangeLog?rev=1.37&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/nss-mdns/ChangeLog?rev=1.37&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/nss-mdns/ChangeLog?r1=1.36&r2=1.37 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/ChangeLog,v |
20 |
retrieving revision 1.36 |
21 |
retrieving revision 1.37 |
22 |
diff -u -r1.36 -r1.37 |
23 |
--- ChangeLog 26 Sep 2012 17:49:03 -0000 1.36 |
24 |
+++ ChangeLog 30 May 2014 14:31:51 -0000 1.37 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-auth/nss-mdns |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/ChangeLog,v 1.36 2012/09/26 17:49:03 kensington Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/ChangeLog,v 1.37 2014/05/30 14:31:51 mgorny Exp $ |
31 |
+ |
32 |
+*nss-mdns-0.10-r2 (30 May 2014) |
33 |
+ |
34 |
+ 30 May 2014; Michał Górny <mgorny@g.o> +nss-mdns-0.10-r2.ebuild: |
35 |
+ Enable multilib support. |
36 |
|
37 |
26 Sep 2012; Michael Palimaka <kensington@g.o> |
38 |
-files/nss-mdns-0.8-avahi-socket.patch, -nss-mdns-0.10.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-auth/nss-mdns/nss-mdns-0.10-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/nss-mdns/nss-mdns-0.10-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/nss-mdns/nss-mdns-0.10-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: nss-mdns-0.10-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/nss-mdns-0.10-r2.ebuild,v 1.1 2014/05/30 14:31:51 mgorny Exp $ |
52 |
|
53 |
EAPI="5" |
54 |
inherit autotools eutils multilib-minimal |
55 |
|
56 |
DESCRIPTION="Name Service Switch module for Multicast DNS" |
57 |
HOMEPAGE="http://0pointer.de/lennart/projects/nss-mdns/" |
58 |
SRC_URI="http://0pointer.de/lennart/projects/nss-mdns/${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~hppa ~mips ~ppc ~x86" |
63 |
IUSE="search-domains" |
64 |
|
65 |
RDEPEND="net-dns/avahi[${MULTILIB_USEDEP}]" |
66 |
DEPEND="${RDEPEND}" |
67 |
RDEPEND="${RDEPEND} |
68 |
abi_x86_32? ( |
69 |
!<=app-emulation/emul-linux-x86-baselibs-20140508-r7 |
70 |
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
71 |
)" |
72 |
|
73 |
src_prepare() { |
74 |
epatch "${FILESDIR}"/${PN}-0.10-avahi-socket.patch |
75 |
epatch_user |
76 |
eautoreconf |
77 |
} |
78 |
|
79 |
multilib_src_configure() { |
80 |
ECONF_SOURCE=${S} \ |
81 |
econf \ |
82 |
$(use_enable search-domains) \ |
83 |
--enable-avahi |
84 |
} |
85 |
|
86 |
multilib_src_install_all() { |
87 |
dodoc README |
88 |
|
89 |
insinto /etc |
90 |
doins "${FILESDIR}"/mdns.allow |
91 |
} |
92 |
|
93 |
pkg_postinst() { |
94 |
ewarn |
95 |
ewarn "You must modify your name service switch look up file to enable" |
96 |
ewarn "multicast DNS lookups. If you wish to resolve only IPv6 addresses" |
97 |
ewarn "use mdns6. For IPv4 addresses only, use mdns4. To resolve both" |
98 |
ewarn "use mdns. Keep in mind that mdns will be slower if there are no" |
99 |
ewarn "IPv6 addresses published via mDNS on the network. There are also" |
100 |
ewarn "minimal (mdns?_minimal) libraries which only lookup .local hosts" |
101 |
ewarn "and 169.254.x.x addresses." |
102 |
ewarn |
103 |
ewarn "Add the appropriate mdns into the hosts line in /etc/nsswitch.conf" |
104 |
ewarn "An example line looks like:" |
105 |
ewarn "hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4" |
106 |
ewarn |
107 |
ewarn "If you want to perform mDNS lookups for domains other than the ones" |
108 |
ewarn "ending in .local, add them to /etc/mdns.allow" |
109 |
ewarn |
110 |
} |