rpms/avahi/devel avahi-0.6.21-resolv-conf.patch, NONE, 1.1 avahi.spec, 1.95, 1.96
Lennart Poettering (lennart)
fedora-extras-commits at redhat.com
Tue Sep 25 00:21:22 UTC 2007
- Previous message (by thread): rpms/xen/F-7 xen-3.1.0-no-xenapi-docs.patch, NONE, 1.1 xen-pvfb-compat-32-on-64.patch, NONE, 1.1 xen.spec, 1.183, 1.184
- Next message (by thread): rpms/fmtools/FC-6 fmtools.spec,NONE,1.1 sources,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lennart
Update of /cvs/pkgs/rpms/avahi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17413
Modified Files:
avahi.spec
Added Files:
avahi-0.6.21-resolv-conf.patch
Log Message:
fix segfault when no domain is defined in resolv.conf
avahi-0.6.21-resolv-conf.patch:
--- NEW FILE avahi-0.6.21-resolv-conf.patch ---
Index: /trunk/avahi-daemon/main.c
===================================================================
--- /trunk/avahi-daemon/main.c (revision 1513)
+++ /trunk/avahi-daemon/main.c (revision 1525)
@@ -317,4 +317,9 @@
int n;
char **p;
+
+ if (!resolv_conf_search_domains) {
+ avahi_server_set_browse_domains(avahi_server, NULL);
+ return;
+ }
l = avahi_string_list_copy(config.server_config.browse_domains);
Index: avahi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/avahi/devel/avahi.spec,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- avahi.spec 6 Sep 2007 19:05:35 -0000 1.95
+++ avahi.spec 25 Sep 2007 00:20:49 -0000 1.96
@@ -6,10 +6,10 @@
%endif
Name: avahi
Version: 0.6.21
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Local network service discovery
Group: System Environment/Base
-License: LGPL
+License: LGPLv2
URL: http://avahi.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: dbus, expat
@@ -40,6 +40,7 @@
Patch2: avahi-0.6.3-MONO_SHARED_DIR.patch
Patch3: avahi-0.6.21-initscript.patch
Patch4: avahi-0.6.21-libdns_sd-fix.patch
+Patch5: avahi-0.6.21-resolv-conf.patch
%description
Avahi is a system which facilitates service discovery on
@@ -225,6 +226,7 @@
%endif
%patch3 -p0 -b .initscript
%patch4 -p0 -b .dns_sd
+%patch5 -p2 -b .resolv_conf
%build
@@ -485,6 +487,9 @@
%endif
%changelog
+* Tue Sep 25 2007 Lennart Poettering <lpoetter at redhat.com> - 0.6.21-6
+- resolves #279301: fix segfault when no domains are configured in resolv.conf (pulled from upstream SVN r1525)
+
* Thu Sep 6 2007 Lennart Poettering <lpoetter at redhat.com> - 0.6.21-5
- resolves #249044: Update init script to use runlevel 96
- resolves #251700: Fix assertion in libdns_sd-compat
- Previous message (by thread): rpms/xen/F-7 xen-3.1.0-no-xenapi-docs.patch, NONE, 1.1 xen-pvfb-compat-32-on-64.patch, NONE, 1.1 xen.spec, 1.183, 1.184
- Next message (by thread): rpms/fmtools/FC-6 fmtools.spec,NONE,1.1 sources,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list