packages: avahi/avahi.spec, avahi/nss-mdns-package.patch (NEW) - use nss_md...

glen glen at pld-linux.org
Sun Feb 28 00:40:19 CET 2010


Author: glen                         Date: Sat Feb 27 23:40:18 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use nss_mdns when referring to nss-mdns as that is our package name; rel 3

---- Files affected:
packages/avahi:
   avahi.spec (1.100 -> 1.101) , nss-mdns-package.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/avahi/avahi.spec
diff -u packages/avahi/avahi.spec:1.100 packages/avahi/avahi.spec:1.101
--- packages/avahi/avahi.spec:1.100	Sat Nov 28 16:05:05 2009
+++ packages/avahi/avahi.spec	Sun Feb 28 00:40:13 2010
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-#
 # TODO:
 # - autoip subpackage ?
 # - autoip start script ?
@@ -9,7 +8,7 @@
 %bcond_without	qt		# build without (any) qt bindings
 %bcond_without	qt3		# build without qt3 bindings
 %bcond_without	qt4		# build without qt4 bindings
-#
+
 %ifnarch %{ix86} %{x8664} alpha arm hppa ia64 mips ppc s390 s390x sparc sparcv9
 %undefine with_dotnet
 %endif
@@ -17,17 +16,17 @@
 %undefine with_dotnet
 %endif
 
-%if !%{with qt}
+%if %{without qt}
 %undefine	with_qt3
 %undefine	with_qt4
 %endif
+
 %{?with_dotnet:%include /usr/lib/rpm/macros.mono}
-#
 Summary:	Free mDNS/DNS-SD implementation
 Summary(pl.UTF-8):	Wolna implementacja mDNS/DNS-SD
 Name:		avahi
 Version:	0.6.25
-Release:	2
+Release:	3
 License:	LGPL v2.1+
 Group:		Applications
 Source0:	http://avahi.org/download/%{name}-%{version}.tar.gz
@@ -39,6 +38,7 @@
 Patch1:		%{name}-glade.patch
 Patch2:		%{name}-destdir.patch
 Patch3:		%{name}-mono-dir.patch
+Patch4:		nss-mdns-package.patch
 URL:		http://avahi.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -528,6 +528,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__intltoolize}
@@ -554,8 +555,8 @@
 	DESTDIR=$RPM_BUILD_ROOT \
 	pythondir=%{py_sitedir}
 
-install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d
-install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
+install -p %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d
+cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 ln -sf %{_includedir}/avahi-compat-libdns_sd/dns_sd.h \
 	$RPM_BUILD_ROOT%{_includedir}/dns_sd.h
@@ -896,6 +897,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.101  2010/02/27 23:40:13  glen
+- use nss_mdns when referring to nss-mdns as that is our package name; rel 3
+
 Revision 1.100  2009/11/28 15:05:05  sparky
 - BR: gettext-devel, rpm-pythonprov
 

================================================================
Index: packages/avahi/nss-mdns-package.patch
diff -u /dev/null packages/avahi/nss-mdns-package.patch:1.1
--- /dev/null	Sun Feb 28 00:40:19 2010
+++ packages/avahi/nss-mdns-package.patch	Sun Feb 28 00:40:13 2010
@@ -0,0 +1,55 @@
+--- avahi-0.6.25/avahi-daemon/main.c~	2008-12-12 23:36:15.000000000 +0200
++++ avahi-0.6.25/avahi-daemon/main.c	2010-02-28 00:58:01.846880027 +0200
+@@ -986,7 +986,7 @@
+     assert(c);
+ 
+     if (!(nss_support = avahi_nss_support()))
+-        avahi_log_warn("WARNING: No NSS support for mDNS detected, consider installing nss-mdns!");
++        avahi_log_warn("WARNING: No NSS support for mDNS detected, consider installing nss_mdns!");
+ 
+     if (!(simple_poll_api = avahi_simple_poll_new())) {
+         avahi_log_error("Failed to create main loop object.");
+--- avahi-0.6.25/man/avahi-daemon.8.xml.in~	2008-06-18 02:13:44.000000000 +0300
++++ avahi-0.6.25/man/avahi-daemon.8.xml.in	2010-02-28 00:58:25.183544394 +0200
+@@ -40,7 +40,7 @@
+       use of the mDNS record cache the avahi-daemon maintains. First
+       there is the so called "simple protocol" which is used
+       exclusively by avahi-dnsconfd (a daemon which configures unicast
+-      DNS servers using server info published via mDNS) and nss-mdns
++      DNS servers using server info published via mDNS) and nss_mdns
+       (a libc NSS plugin, providing name resolution via mDNS). Finally
+       there is the D-Bus interface which provides a rich object
+       oriented interface to D-Bus enabled applications.</p>
+--- avahi-0.6.25/man/avahi-daemon.8~	2009-04-14 04:57:47.000000000 +0300
++++ avahi-0.6.25/man/avahi-daemon.8	2010-02-28 00:58:37.027084926 +0200
+@@ -11,7 +11,7 @@
+ avahi-daemon --check\fB
+ \f1
+ .SH DESCRIPTION
+-The Avahi mDNS/DNS-SD daemon implements Apple's Zeroconf architecture (also known as "Rendezvous" or "Bonjour"). The daemon registers local IP addresses and static services using mDNS/DNS-SD and provides two IPC APIs for local programs to make use of the mDNS record cache the avahi-daemon maintains. First there is the so called "simple protocol" which is used exclusively by avahi-dnsconfd (a daemon which configures unicast DNS servers using server info published via mDNS) and nss-mdns (a libc NSS plugin, providing name resolution via mDNS). Finally there is the D-Bus interface which provides a rich object oriented interface to D-Bus enabled applications.
++The Avahi mDNS/DNS-SD daemon implements Apple's Zeroconf architecture (also known as "Rendezvous" or "Bonjour"). The daemon registers local IP addresses and static services using mDNS/DNS-SD and provides two IPC APIs for local programs to make use of the mDNS record cache the avahi-daemon maintains. First there is the so called "simple protocol" which is used exclusively by avahi-dnsconfd (a daemon which configures unicast DNS servers using server info published via mDNS) and nss_mdns (a libc NSS plugin, providing name resolution via mDNS). Finally there is the D-Bus interface which provides a rich object oriented interface to D-Bus enabled applications.
+ 
+ Upon startup avahi-daemon interprets its configuration file \fI/etc/avahi/avahi-daemon.conf\f1 and reads XML fragments from \fI/etc/avahi/services/*.service\f1 which may define static DNS-SD services. If you enable \fBpublish-resolv-conf-dns-servers\f1 in \fIavahi-daemon.conf\f1 the file \fI/etc/resolv.conf\f1 will be read, too.
+ .SH OPTIONS
+--- avahi-0.6.25/man/avahi-bookmarks.1.xml.in~	2008-06-18 02:13:44.000000000 +0300
++++ avahi-0.6.25/man/avahi-bookmarks.1.xml.in	2010-02-28 00:58:45.089793513 +0200
+@@ -55,7 +55,7 @@
+         <optdesc><p>Create links pointing to mDNS host names instead
+         of resolved IP addreses. This is only compatible with your
+         browser if you run some kind of local NSS module to resolve
+-        mDNS host names (e.g. nss-mdns). If both -A and -H are ommited
++        mDNS host names (e.g. nss_mdns). If both -A and -H are ommited
+         avahi-bookmarks detects whether NSS support is available
+         locally. This option conflicts with -A.</p></optdesc>
+       </option>
+--- avahi-0.6.25/man/avahi-bookmarks.1~	2009-04-14 04:57:48.000000000 +0300
++++ avahi-0.6.25/man/avahi-bookmarks.1	2010-02-28 00:58:54.383125793 +0200
+@@ -15,7 +15,7 @@
+ Specify an IP address to listen on. If omitted defaults to 127.0.0.1. Specify 0.0.0.0 if you want to allow remote access.
+ .TP
+ \fB-H | --host-names\f1
+-Create links pointing to mDNS host names instead of resolved IP addreses. This is only compatible with your browser if you run some kind of local NSS module to resolve mDNS host names (e.g. nss-mdns). If both -A and -H are ommited avahi-bookmarks detects whether NSS support is available locally. This option conflicts with -A.
++Create links pointing to mDNS host names instead of resolved IP addreses. This is only compatible with your browser if you run some kind of local NSS module to resolve mDNS host names (e.g. nss_mdns). If both -A and -H are ommited avahi-bookmarks detects whether NSS support is available locally. This option conflicts with -A.
+ .TP
+ \fB-A | --addresses\f1
+ Create links pointing to numeric IP addresses instead of mDNS host names. This will break access to hosts running virtual servers. If both -A and -H are ommited avahi-bookmarks detects whether NSS support is available locally. This option conflicts with -H.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/avahi/avahi.spec?r1=1.100&r2=1.101&f=u



More information about the pld-cvs-commit mailing list