1 |
pacho 12/02/11 12:29:00 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: nss-mdns-0.10-r1.ebuild |
5 |
Removed: nss-mdns-0.8.ebuild nss-mdns-0.9-r1.ebuild |
6 |
Log: |
7 |
Make search-domains optional (bug #201948 by Jonathan Barnard, Dennis Schridde, Paweł Hajdan, Jr. and many others), also fix bug #226823 by flameeyes. Drop old. |
8 |
|
9 |
(Portage version: 2.1.10.45/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.5 sys-auth/nss-mdns/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/nss-mdns/metadata.xml?rev=1.5&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/nss-mdns/metadata.xml?rev=1.5&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/nss-mdns/metadata.xml?r1=1.4&r2=1.5 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/metadata.xml,v |
21 |
retrieving revision 1.4 |
22 |
retrieving revision 1.5 |
23 |
diff -u -r1.4 -r1.5 |
24 |
--- metadata.xml 24 Sep 2011 10:32:19 -0000 1.4 |
25 |
+++ metadata.xml 11 Feb 2012 12:29:00 -0000 1.5 |
26 |
@@ -3,7 +3,11 @@ |
27 |
<pkgmetadata> |
28 |
<maintainer> |
29 |
<email>maintainer-needed@g.o</email> |
30 |
- </maintainer> |
31 |
+ </maintainer> |
32 |
+<use> |
33 |
+ <flag name="search-domains">Honour search domains from |
34 |
+ /etc/resolv.conf (see bug #201948 for possible side effects)</flag> |
35 |
+</use> |
36 |
<longdescription lang="en"> |
37 |
Name service switch module for multicast dns. |
38 |
</longdescription> |
39 |
|
40 |
|
41 |
|
42 |
1.32 sys-auth/nss-mdns/ChangeLog |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/nss-mdns/ChangeLog?rev=1.32&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/nss-mdns/ChangeLog?rev=1.32&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/nss-mdns/ChangeLog?r1=1.31&r2=1.32 |
47 |
|
48 |
Index: ChangeLog |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/ChangeLog,v |
51 |
retrieving revision 1.31 |
52 |
retrieving revision 1.32 |
53 |
diff -u -r1.31 -r1.32 |
54 |
--- ChangeLog 10 Dec 2009 19:38:48 -0000 1.31 |
55 |
+++ ChangeLog 11 Feb 2012 12:29:00 -0000 1.32 |
56 |
@@ -1,6 +1,15 @@ |
57 |
# ChangeLog for sys-auth/nss-mdns |
58 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/ChangeLog,v 1.31 2009/12/10 19:38:48 vostorga Exp $ |
60 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
61 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/ChangeLog,v 1.32 2012/02/11 12:29:00 pacho Exp $ |
62 |
+ |
63 |
+*nss-mdns-0.10-r1 (11 Feb 2012) |
64 |
+ |
65 |
+ 11 Feb 2012; Pacho Ramos <pacho@g.o> |
66 |
+ +files/nss-mdns-0.10-avahi-socket.patch, +nss-mdns-0.10-r1.ebuild, |
67 |
+ -nss-mdns-0.8.ebuild, -nss-mdns-0.9-r1.ebuild, metadata.xml: |
68 |
+ Make search-domains optional (bug #201948 by Jonathan Barnard, Dennis |
69 |
+ Schridde, Paweł Hajdan, Jr. and many others), also fix bug #226823 by |
70 |
+ flameeyes. Drop old. |
71 |
|
72 |
10 Dec 2009; Víctor Ostorga <vostorga@g.o> nss-mdns-0.10.ebuild: |
73 |
Putting example in pkg_postinst() from einfo to ewarn, bug 249447 |
74 |
|
75 |
|
76 |
|
77 |
1.1 sys-auth/nss-mdns/nss-mdns-0.10-r1.ebuild |
78 |
|
79 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/nss-mdns/nss-mdns-0.10-r1.ebuild?rev=1.1&view=markup |
80 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/nss-mdns/nss-mdns-0.10-r1.ebuild?rev=1.1&content-type=text/plain |
81 |
|
82 |
Index: nss-mdns-0.10-r1.ebuild |
83 |
=================================================================== |
84 |
# Copyright 1999-2012 Gentoo Foundation |
85 |
# Distributed under the terms of the GNU General Public License v2 |
86 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/nss-mdns-0.10-r1.ebuild,v 1.1 2012/02/11 12:29:00 pacho Exp $ |
87 |
|
88 |
EAPI="4" |
89 |
inherit autotools eutils |
90 |
|
91 |
DESCRIPTION="Name Service Switch module for Multicast DNS" |
92 |
HOMEPAGE="http://0pointer.de/lennart/projects/nss-mdns/" |
93 |
SRC_URI="http://0pointer.de/lennart/projects/nss-mdns/${P}.tar.gz" |
94 |
|
95 |
LICENSE="GPL-2" |
96 |
SLOT="0" |
97 |
KEYWORDS="~amd64 ~hppa ~mips ~ppc ~x86" |
98 |
IUSE="search-domains" |
99 |
|
100 |
DEPEND="net-dns/avahi" |
101 |
RDEPEND="${DEPEND}" |
102 |
|
103 |
src_prepare() { |
104 |
epatch "${FILESDIR}"/${PN}-0.10-avahi-socket.patch |
105 |
eautoreconf |
106 |
} |
107 |
|
108 |
src_configure() { |
109 |
econf $(use_enable search-domains) --enable-avahi |
110 |
} |
111 |
|
112 |
src_install() { |
113 |
emake DESTDIR="${D}" install |
114 |
|
115 |
insinto /etc |
116 |
doins "${FILESDIR}"/mdns.allow |
117 |
dodoc README |
118 |
} |
119 |
|
120 |
pkg_postinst() { |
121 |
ewarn |
122 |
ewarn "You must modify your name service switch look up file to enable" |
123 |
ewarn "multicast DNS lookups. If you wish to resolve only IPv6 addresses" |
124 |
ewarn "use mdns6. For IPv4 addresses only, use mdns4. To resolve both" |
125 |
ewarn "use mdns. Keep in mind that mdns will be slower if there are no" |
126 |
ewarn "IPv6 addresses published via mDNS on the network. There are also" |
127 |
ewarn "minimal (mdns?_minimal) libraries which only lookup .local hosts" |
128 |
ewarn "and 169.254.x.x addresses." |
129 |
ewarn |
130 |
ewarn "Add the appropriate mdns into the hosts line in /etc/nsswitch.conf" |
131 |
ewarn "An example line looks like:" |
132 |
ewarn "hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4" |
133 |
ewarn |
134 |
ewarn "If you want to perform mDNS lookups for domains other than the ones" |
135 |
ewarn "ending in .local, add them to /etc/mdns.allow" |
136 |
ewarn |
137 |
} |