OBS User unknown 2007-02-26 18:02:05 +00:00 committed by Git OBS Bridge
parent 8aeb388118
commit 6c1c86e144
3 changed files with 30 additions and 2 deletions

13
avahi-remove-netdev.patch Normal file
View File

@ -0,0 +1,13 @@
--- avahi-daemon/avahi-dbus.conf 2007-02-22 15:19:01.000000000 -0500
+++ avahi-daemon/avahi-dbus.conf 2007-02-22 16:12:21.000000000 -0500
@@ -19,8 +19,8 @@
<deny send_interface="org.freedesktop.Avahi.Server" send_member="SetHostName"/>
</policy>
- <!-- Allow everything, including access to SetHostName to users of the group "netdev" -->
- <policy group="netdev">
+ <!-- Allow everything, including access to SetHostName to users of the group "avahi" -->
+ <policy group="avahi">
<allow send_destination="org.freedesktop.Avahi"/>
<allow receive_sender="org.freedesktop.Avahi"/>
</policy>

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Feb 26 18:27:52 CET 2007 - crivera@suse.de
- Replace the non-existent "netdev" group with the "avahi" group in
avahi-dbus.conf. This fixes 237145.
- Remove Application, Utility, Network, and Settings categories from
the .desktop file. This fixes 244464.
-------------------------------------------------------------------
Wed Feb 21 17:20:41 CET 2007 - sbrabec@suse.cz

View File

@ -18,7 +18,7 @@ BuildRequires: libqt4-devel python-gtk-devel
BuildRequires: python-gtk qt-devel
%endif
Version: 0.6.17
Release: 1
Release: 2
URL: http://www.avahi.org/
Group: System/Daemons
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
@ -30,6 +30,7 @@ Source3: avahi.firewall
Patch: avahi-gacdir.patch
Patch2: avahi-discover-icon.patch
Patch3: avahi-python-compile.patch
Patch4: avahi-remove-netdev.patch
# See also http://www.avahi.org/wiki/DownloadAvahi#RequirementsTable
Requires: dbus-1 python python-gdbm python-gtk dbus-1-python python-twisted python-twisted-web
# Not really required, but many tools expect nss-mdns installed:
@ -345,6 +346,7 @@ Authors:
%patch
%patch2
%patch3
%patch4
%build
ACLOCAL="aclocal -I common" autoreconf -f -i
@ -380,7 +382,7 @@ ln -s %{_sysconfdir}/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dn
ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks
install %{S:3} $RPM_BUILD_ROOT%{_datadir}/SuSEfirewall2/services/avahi
# FIXME: There are no better Categories in the spec (Monitor is not allowed in Network).
%suse_update_desktop_file avahi-discover GNOME Application System Utility Network Monitor Settings
%suse_update_desktop_file -r avahi-discover GNOME System Monitor
%clean
rm -rf $RPM_BUILD_ROOT
@ -504,6 +506,11 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/avahi-qt4.pc
%changelog
* Mon Feb 26 2007 - crivera@suse.de
- Replace the non-existent "netdev" group with the "avahi" group in
avahi-dbus.conf. This fixes 237145.
- Remove Application, Utility, Network, and Settings categories from
the .desktop file. This fixes 244464.
* Wed Feb 21 2007 - sbrabec@suse.cz
- Updated to a bugfix release 0.6.17:
* Don't accept "localhost" as a local mDNS host name