OBS User unknown 2007-01-15 22:51:59 +00:00 committed by Git OBS Bridge
commit 5677551cf6
9 changed files with 962 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,15 @@
--- avahi-0.6.11.orig/avahi-core/netlink.c 2006-10-09 11:52:13.000000000 -0400
+++ avahi-0.6.11/avahi-core/netlink.c 2006-10-09 11:56:30.000000000 -0400
@@ -61,9 +61,12 @@ int avahi_netlink_work(AvahiNetlink *nl,
}
p = (struct nlmsghdr *) nl->buffer;
-
+ if (p->nlmsg_pid != 0) {
+ avahi_log_warn(__FILE__": packet not from the kernel");
+ return -1;
+ }
assert(nl->callback);
for (; bytes > 0; p = NLMSG_NEXT(p, bytes)) {

3
avahi-0.6.14.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc3c97fc56ccce410c5d04b919622c0bab79f9de39cfd36538216774e4575a79
size 664477

View File

@ -0,0 +1,17 @@
diff -urN avahi-daemon/dbus-protocol.c avahi-daemon/dbus-protocol.c
--- avahi-daemon/dbus-protocol.c 2006-08-31 20:31:46.000000000 +0200
+++ avahi-daemon/dbus-protocol.c 2006-11-12 15:49:15.000000000 +0100
@@ -1067,10 +1067,10 @@
if (dbus_bus_request_name(
server->bus,
AVAHI_DBUS_NAME,
-#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60)
- DBUS_NAME_FLAG_DO_NOT_QUEUE,
-#else
+#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR < 60)
DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT,
+#else
+ DBUS_NAME_FLAG_DO_NOT_QUEUE,
#endif
&error) != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER) {
if (dbus_error_is_set(&error)) {

30
avahi-gacdir.patch Normal file
View File

@ -0,0 +1,30 @@
--- avahi-sharp/Makefile.am
+++ avahi-sharp/Makefile.am
@@ -72,10 +72,10 @@
endif
install-data-hook: $(ASSEMBLY)
- $(GACUTIL) /i $(ASSEMBLY) /package avahi-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
+ $(GACUTIL) /i $(ASSEMBLY) /package avahi-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
uninstall-hook: $(ASSEMBLY)
- $(GACUTIL) /u avahi-sharp /package avahi-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
+ $(GACUTIL) /u avahi-sharp /package avahi-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
endif
endif
--- avahi-sharp/Makefile.in
+++ avahi-sharp/Makefile.in
@@ -582,10 +582,10 @@
@HAVE_DBUS_TRUE@@HAVE_MONODOC_TRUE@@HAVE_MONO_TRUE@ $(MDASSEMBLER) --out avahi-sharp-docs --ecma $(srcdir)/en
@HAVE_DBUS_TRUE@@HAVE_MONO_TRUE@install-data-hook: $(ASSEMBLY)
-@HAVE_DBUS_TRUE@@HAVE_MONO_TRUE@ $(GACUTIL) /i $(ASSEMBLY) /package avahi-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
+@HAVE_DBUS_TRUE@@HAVE_MONO_TRUE@ $(GACUTIL) /i $(ASSEMBLY) /package avahi-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
@HAVE_DBUS_TRUE@@HAVE_MONO_TRUE@uninstall-hook: $(ASSEMBLY)
-@HAVE_DBUS_TRUE@@HAVE_MONO_TRUE@ $(GACUTIL) /u avahi-sharp /package avahi-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
+@HAVE_DBUS_TRUE@@HAVE_MONO_TRUE@ $(GACUTIL) /u avahi-sharp /package avahi-sharp /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

242
avahi.changes Normal file
View File

@ -0,0 +1,242 @@
-------------------------------------------------------------------
Thu Dec 14 10:53:09 CET 2006 - sbrabec@suse.cz
- Created init script symlinks in /usr/sbin (#228203).
-------------------------------------------------------------------
Sun Nov 12 21:53:11 CET 2006 - thoenig@suse.de
- Update patch avahi-dbus-request-name-flags-fix-thoenig-02.patch:
Be precise with regard to the minor version of D-Bus
-------------------------------------------------------------------
Sun Nov 12 15:57:26 CET 2006 - thoenig@suse.de
- Add patch avahi-dbus-request-name-flags-fix-thoenig-01.patch:
Fix flawed logic for flags passed to dbus_bus_request_name()
-------------------------------------------------------------------
Mon Oct 30 13:51:56 CET 2006 - sbrabec@suse.cz
- Check the sender ID of netlink packets before using them
(#216219).
-------------------------------------------------------------------
Sun Oct 15 21:36:55 CEST 2006 - danw@suse.de
- Remove dead patches
-------------------------------------------------------------------
Mon Oct 9 11:57:13 CEST 2006 - sbrabec@suse.cz
- Build in older products.
- Enabled parallel build.
-------------------------------------------------------------------
Fri Sep 22 08:24:24 CEST 2006 - aj@suse.de
- Fix filelist for python upgrade.
- Build everything with RPM_OPT_FLAGS.
-------------------------------------------------------------------
Mon Sep 18 22:50:04 CEST 2006 - jhargadon@suse.de
- update to version 0.6.14
- Add new daemon "avahi-autoipd" which is an implementation of
IPv4LL as defined in RFC3927, a technology for assigning link-local IP
addresses without DHCP server. The same functionality has been available on
Windows under the name APIPA. While it is not the first implemenatation of
this technology for Free operating systems it is clearly the most powerful
and hopefully even the most secure. (Because it chroot()s and drops
priviliges and suchlike)
- Fix a segfault in the code handling static host name registrations
- Add a few new entries to the service type database
- s/D-?BUS/D-Bus/g
- Documentation updates
- Fix service type database building on Solaris
- Make use of newer D-Bus APIs
- Fix random seed initialization
- Install SFTP static service file by default
- Other minor code cleanups
- removed upstreamed patches
-------------------------------------------------------------------
Sun Sep 3 11:34:13 CEST 2006 - aj@suse.de
- Follow package rename qt->libqt4.
-------------------------------------------------------------------
Thu Aug 24 12:22:42 CEST 2006 - cthiel@suse.de
- fix build
-------------------------------------------------------------------
Wed Aug 16 11:55:15 CEST 2006 - cthiel@suse.de
- buildrequire python-gtk-devel instead of python-gtk
-------------------------------------------------------------------
Mon Aug 14 11:47:41 CEST 2006 - thoenig@suse.de
- Add patch avahi-dbus-api-fix-thoenig-01.patch: Use
dbus_connection_close, not dbus_connection_disconnect
-------------------------------------------------------------------
Fri Aug 11 21:02:19 CEST 2006 - cthiel@suse.de
- remove avahi-0.6.10-pygtk-hack.patch, since python-gtk has been fixed in
the meantime
-------------------------------------------------------------------
Sun Aug 6 13:16:20 CEST 2006 - cthiel@suse.de
- fixed build by adding avahi-0.6.10-pygtk-hack.patch to hack around an
unfavorable configure check
-------------------------------------------------------------------
Mon Jul 3 17:37:35 CEST 2006 - schwab@suse.de
- Fix quoting in configure script.
- Fix invalid redefinition of docdir.
-------------------------------------------------------------------
Mon May 15 20:23:10 CEST 2006 - sbrabec@suse.cz
- Updated to version 0.6.10 (#137781).
* Fix a buffer overflow in avahi-core
* Refuse to process invalid UTF8 data
* Automatically reconnect to the DBUS if we're kicked. (Works only if
chroot() is disabled)
* Don't hit an assert() in the client libs when the Avahi daemon is
terminated
* Enumerate all service types in the database in the Service
Discovery Applet for Gnome
* Improve the Bonjour compatibility layer to make it survive
GnomeMeeting's broken usage
* Deal properly with local non-ASCII hostnames
* AMD64 and FreeBSD portability fixes
* Filter double DNS server entries in avahi-dnsconfd
* Fix a locking bug in avahi-sharp's EntryGroup.AddService()
* Ported to Solaris (incomplete)
* Add _airport._tcp to our service type database
-------------------------------------------------------------------
Tue May 9 13:47:16 CEST 2006 - sbrabec@suse.cz
- Fixed buffer overflow in avahi_record_to_string() (#137781#c7).
-------------------------------------------------------------------
Mon Apr 24 15:14:45 CEST 2006 - sbrabec@suse.cz
- Replaced Obsoletes by Conflicts for mDNSResponder* (#149676).
-------------------------------------------------------------------
Wed Apr 19 16:11:02 CEST 2006 - jpr@suse.de
- Fix compat layer ABI inconsistencies with mDNSResponder (part of
#149676)
-------------------------------------------------------------------
Wed Apr 5 19:45:50 CEST 2006 - sbrabec@suse.cz
- Wait for daemon initialization in the init script (#150902).
-------------------------------------------------------------------
Tue Apr 4 16:11:18 CEST 2006 - sbrabec@suse.cz
- Use Provides and Obsoletes instead of Conflicts to allow seamless
replacement.
-------------------------------------------------------------------
Mon Mar 20 15:38:41 CET 2006 - sbrabec@suse.cz
- Call %insserv_cleanup in %postun.
-------------------------------------------------------------------
Thu Feb 9 20:00:47 CET 2006 - sbrabec@suse.cz
- Provide libdns_sd.so RPM symbol, as mDNSResponder does.
- Reduced BuildRequires.
-------------------------------------------------------------------
Thu Feb 9 13:22:57 CET 2006 - sbrabec@suse.cz
- Fixed circular dependency between avahi and avahi-glib
(avahi-discover moved to avahi-glib).
-------------------------------------------------------------------
Wed Jan 25 21:34:32 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Mon Jan 23 15:47:18 CET 2006 - sbrabec@suse.cz
- Updated to version 0.6.5.
- Enable howl compatibility layer as separate packages.
-------------------------------------------------------------------
Mon Jan 16 17:22:36 CET 2006 - sbrabec@suse.cz
- Updated to version 0.6.4.
-------------------------------------------------------------------
Tue Dec 20 15:36:49 CET 2005 - ro@suse.de
- fix build with dbus-1 0.60
- added libxml2-python to nfb
-------------------------------------------------------------------
Fri Dec 16 19:22:21 CET 2005 - rml@suse.de
- Move libdns_sd.so to avahi-compat-mDNSResponder from
avahi-compat-mDNSResponder-devel (fix up requires/provides)
-------------------------------------------------------------------
Fri Dec 2 16:35:32 CET 2005 - sbrabec@suse.cz
- Provide dns_sd.h compatibility symlink.
-------------------------------------------------------------------
Fri Dec 2 15:51:50 CET 2005 - sbrabec@suse.cz
- Enable mDNSResponder compatibility layer as separate packages.
-------------------------------------------------------------------
Fri Dec 2 12:40:40 CET 2005 - sbrabec@suse.cz
- Call aclocal to compile in PLUS.
- Enabled qt4 bindings.
- Fixed file ownership.
- Disabled parallel build - mono fails often.
-------------------------------------------------------------------
Thu Dec 1 18:43:53 CET 2005 - sbrabec@suse.cz
- Bi-arch fix.
- Build as user.
- Enabled parallel build.
-------------------------------------------------------------------
Wed Nov 30 18:05:00 CET 2005 - sbrabec@suse.cz
- Updated to version 0.6.1.
- Moved all devel files and Requires to devel subpackage.
-------------------------------------------------------------------
Wed Oct 12 18:40:49 CEST 2005 - ro@suse.de
- use gnome2-devel-packages in nfb and cleanup nfb
- fix build of sharp part on x86_64
-------------------------------------------------------------------
Mon Oct 10 18:31:12 CEST 2005 - ro@suse.de
- removed restart_on_update in postinstall
(only needed in postuninstall)
-------------------------------------------------------------------
Thu Oct 6 15:19:48 CEST 2005 - jpr@suse.de
- Initial check in

631
avahi.spec Normal file
View File

@ -0,0 +1,631 @@
#
# spec file for package avahi (Version 0.6.14)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: avahi
BuildRequires: dbus-1-devel dbus-1-python doxygen graphviz libdaemon-devel libglade2-devel monodoc-core python-devel python-gdbm qt3-devel
%if %suse_version > 1010
BuildRequires: libqt4-devel python-gtk-devel
%else
BuildRequires: python-gtk qt-devel
%endif
Version: 0.6.14
Release: 36
URL: http://www.avahi.org/
Group: System/Daemons
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Summary: D-BUS Service for Zeroconf and Bonjour
Source: %{name}-%{version}.tar.bz2
Patch: avahi-gacdir.patch
Patch1: avahi-0.6.11-security.patch
Patch2: avahi-dbus-request-name-flags-fix-thoenig-02.patch
Requires: dbus-1 python python-gdbm python-gtk
Autoreqprov: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package glib
Summary: D-BUS Service for Zeroconf/Bonjour
Requires: %{name} = %{version}
Autoreqprov: on
Group: Development/Libraries/Other
%package mono
Summary: D-BUS Service for Zeroconf/Bonjour
Requires: %{name} = %{version}
Autoreqprov: on
Group: Development/Libraries/Other
%package qt3
Summary: D-BUS Service for Zeroconf/Bonjour
Requires: %{name} = %{version}
Autoreqprov: on
Group: Development/Libraries/Other
%package qt4
Summary: D-BUS Service for Zeroconf/Bonjour
Requires: %{name} = %{version}
Autoreqprov: on
Group: Development/Libraries/Other
%package compat-mDNSResponder
Summary: D-BUS Service for Zeroconf/Bonjour
Requires: %{name} = %{version}
Autoreqprov: on
%ifarch ia64 x86_64 ppc64 s390x
Provides: libdns_sd.so()(64bit)
%else
Provides: libdns_sd.so
%endif
Group: System/Daemons
Conflicts: mDNSResponder-lib
%package compat-mDNSResponder-devel
Summary: D-BUS Service for Zeroconf/Bonjour
Requires: %{name} = %{version} %{name}-compat-mDNSResponder = %{version}
Autoreqprov: on
Group: System/Daemons
Conflicts: mDNSResponder-devel
%package compat-howl
Summary: D-BUS Service for Zeroconf/Bonjour
Requires: %{name} = %{version}
Autoreqprov: on
Group: System/Daemons
Provides: howl
Obsoletes: howl
%package compat-howl-devel
Summary: D-BUS Service for Zeroconf/Bonjour
Requires: %{name} = %{version} %{name}-compat-howl = %{version}
Autoreqprov: on
Group: System/Daemons
Provides: howl-devel
Obsoletes: howl-devel
%package devel
Summary: D-BUS Service for Zeroconf/Bonjour
Requires: %{name} = %{version} dbus-1-devel glibc-devel glib2-devel
# NOTE: Adding these will cause large dependencies, 2/3 of the are not
# needed in most cases. Most users of bindings will already require is
# implicitly. So it's better not to be absolutely correct.
# skip-check-libtool-deps
#Requires: qt3-devel glib2-devel libqt4-devel
Autoreqprov: on
Group: Development/Libraries/Other
%description
Avahi is an implementation of the DNS Service Discovery and Multicast
DNS specifications for Zeroconf Computing. It uses D-BUS for
communication between user applications and a system daemon. The daemon
is used to coordinate application efforts in caching replies, necessary
to minimize the traffic imposed on networks.
The Avahi mDNS responder is now feature complete, implementing all
MUSTs and the majority of the SHOULDs of the mDNS and DNS-SD RFCs. It
passes all tests in the Apple Bonjour conformance test suite. In
addition, it supports some nifty things that have never been seen
elsewhere, like correct mDNS reflection across LAN segments.
Authors:
--------
Lennart Poettering <mztabzr@0pointer.de>
Trent Lloyd <lathiat@freedesktop.org>
Sebastien Estienne <sebastien.estienne@gmail.com>
%description mono
Mono bindings for avahi.
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
specifications for Zeroconf Computing. It uses D-BUS for communication
between user applications and a system daemon. The daemon is used to
coordinate application efforts in caching replies, necessary to
minimize the traffic imposed on networks.
The Avahi mDNS responder is now feature complete implementing all MUSTs
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
tests in the Apple Bonjour conformance test suite. In addition it
supports some nifty things that have never been seen elsewhere like
correct mDNS reflection accross LAN segments.
Authors:
--------
Lennart Poettering <mztabzr@0pointer.de>
Trent Lloyd <lathiat@freedesktop.org>
Sebastien Estienne <sebastien.estienne@gmail.com>
%description glib
GLib support for avahi.
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
specifications for Zeroconf Computing. It uses D-BUS for communication
between user applications and a system daemon. The daemon is used to
coordinate application efforts in caching replies, necessary to
minimize the traffic imposed on networks.
The Avahi mDNS responder is now feature complete implementing all MUSTs
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
tests in the Apple Bonjour conformance test suite. In addition it
supports some nifty things that have never been seen elsewhere like
correct mDNS reflection accross LAN segments.
Authors:
--------
Lennart Poettering <mztabzr@0pointer.de>
Trent Lloyd <lathiat@freedesktop.org>
Sebastien Estienne <sebastien.estienne@gmail.com>
%description qt3
Qt3 bindings for avahi.
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
specifications for Zeroconf Computing. It uses D-BUS for communication
between user applications and a system daemon. The daemon is used to
coordinate application efforts in caching replies, necessary to
minimize the traffic imposed on networks.
The Avahi mDNS responder is now feature complete implementing all MUSTs
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
tests in the Apple Bonjour conformance test suite. In addition it
supports some nifty things that have never been seen elsewhere like
correct mDNS reflection accross LAN segments.
Authors:
--------
Lennart Poettering <mztabzr@0pointer.de>
Trent Lloyd <lathiat@freedesktop.org>
Sebastien Estienne <sebastien.estienne@gmail.com>
%description qt4
Qt4 bindings for avahi.
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
specifications for Zeroconf Computing. It uses D-BUS for communication
between user applications and a system daemon. The daemon is used to
coordinate application efforts in caching replies, necessary to
minimize the traffic imposed on networks.
The Avahi mDNS responder is now feature complete implementing all MUSTs
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
tests in the Apple Bonjour conformance test suite. In addition it
supports some nifty things that have never been seen elsewhere like
correct mDNS reflection accross LAN segments.
Authors:
--------
Lennart Poettering <mztabzr@0pointer.de>
Trent Lloyd <lathiat@freedesktop.org>
Sebastien Estienne <sebastien.estienne@gmail.com>
%description compat-mDNSResponder
Apple mDNSResponder compatibility layer for avahi.
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
specifications for Zeroconf Computing. It uses D-BUS for communication
between user applications and a system daemon. The daemon is used to
coordinate application efforts in caching replies, necessary to
minimize the traffic imposed on networks.
The Avahi mDNS responder is now feature complete implementing all MUSTs
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
tests in the Apple Bonjour conformance test suite. In addition it
supports some nifty things that have never been seen elsewhere like
correct mDNS reflection accross LAN segments.
Authors:
--------
Lennart Poettering <mztabzr@0pointer.de>
Trent Lloyd <lathiat@freedesktop.org>
Sebastien Estienne <sebastien.estienne@gmail.com>
%description compat-mDNSResponder-devel
Apple mDNSResponder compatibility layer for avahi.
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
specifications for Zeroconf Computing. It uses D-BUS for communication
between user applications and a system daemon. The daemon is used to
coordinate application efforts in caching replies, necessary to
minimize the traffic imposed on networks.
The Avahi mDNS responder is now feature complete implementing all MUSTs
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
tests in the Apple Bonjour conformance test suite. In addition it
supports some nifty things that have never been seen elsewhere like
correct mDNS reflection accross LAN segments.
Authors:
--------
Lennart Poettering <mztabzr@0pointer.de>
Trent Lloyd <lathiat@freedesktop.org>
Sebastien Estienne <sebastien.estienne@gmail.com>
%description compat-howl
howl compatibility layer for avahi.
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
specifications for Zeroconf Computing. It uses D-BUS for communication
between user applications and a system daemon. The daemon is used to
coordinate application efforts in caching replies, necessary to
minimize the traffic imposed on networks.
The Avahi mDNS responder is now feature complete implementing all MUSTs
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
tests in the Apple Bonjour conformance test suite. In addition it
supports some nifty things that have never been seen elsewhere like
correct mDNS reflection accross LAN segments.
Authors:
--------
Lennart Poettering <mztabzr@0pointer.de>
Trent Lloyd <lathiat@freedesktop.org>
Sebastien Estienne <sebastien.estienne@gmail.com>
%description compat-howl-devel
howl compatibility layer for avahi.
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
specifications for Zeroconf Computing. It uses D-BUS for communication
between user applications and a system daemon. The daemon is used to
coordinate application efforts in caching replies, necessary to
minimize the traffic imposed on networks.
The Avahi mDNS responder is now feature complete implementing all MUSTs
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
tests in the Apple Bonjour conformance test suite. In addition it
supports some nifty things that have never been seen elsewhere like
correct mDNS reflection accross LAN segments.
Authors:
--------
Lennart Poettering <mztabzr@0pointer.de>
Trent Lloyd <lathiat@freedesktop.org>
Sebastien Estienne <sebastien.estienne@gmail.com>
%description devel
Avahi is an Implementation the DNS Service Discovery and Multicast DNS
specifications for Zeroconf Computing. It uses D-BUS for communication
between user applications and a system daemon. The daemon is used to
coordinate application efforts in caching replies, necessary to
minimize the traffic imposed on networks.
The Avahi mDNS responder is now feature complete implementing all MUSTs
and the majority of the SHOULDs of the mDNS/DNS-SD RFCs. It passes all
tests in the Apple Bonjour conformance test suite. In addition it
supports some nifty things that have never been seen elsewhere like
correct mDNS reflection accross LAN segments.
Authors:
--------
Lennart Poettering <mztabzr@0pointer.de>
Trent Lloyd <lathiat@freedesktop.org>
Sebastien Estienne <sebastien.estienne@gmail.com>
%prep
%setup
%patch
%patch1 -p1
%patch2
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
aclocal -I common
automake
autoconf
./configure\
--with-distro=suse\
--prefix=/usr\
--sysconfdir=/etc\
--localstatedir="%{_localstatedir}"\
--libdir=/usr/%{_lib}\
--mandir=%{_mandir}\
--enable-qt3\
--enable-qt4\
--enable-mono\
--enable-python\
--enable-pygtk\
--enable-compat-libdns_sd\
--enable-compat-howl
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
install -d %{buildroot}/%{_localstatedir}/run/avahi-daemon
rm $RPM_BUILD_ROOT/usr/share/applications/*.desktop
( cd $RPM_BUILD_ROOT%{_includedir} ; ln -s avahi-compat-libdns_sd/dns_sd.h . )
( cd $RPM_BUILD_ROOT%{_includedir} ; ln -s avahi-compat-howl/howl.h . )
sed -e "s,$RPM_BUILD_DIR,/," $RPM_BUILD_ROOT%{_libdir}/libavahi-qt4.la > $RPM_BUILD_ROOT%{_libdir}/libavahi-qt4.la.1
mv $RPM_BUILD_ROOT%{_libdir}/libavahi-qt4.la.1 $RPM_BUILD_ROOT%{_libdir}/libavahi-qt4.la
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
ln -sf /etc/init.d/avahi-daemon $RPM_BUILD_ROOT%{_sbindir}/rcavahi-daemon
ln -sf /etc/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dnsconfd
%clean
rm -rf $RPM_BUILD_ROOT
%pre
/usr/sbin/groupadd -r avahi 2> /dev/null || :
/usr/sbin/useradd -r -o -s /bin/false -c "User for Avahi" -d /var/run/avahi-daemon -g avahi avahi 2> /dev/null || :
%preun
%{stop_on_removal avahi-daemon}
%{stop_on_removal avahi-dnsconfd}
%post
%{run_ldconfig}
%postun
%{restart_on_update avahi-daemon}
%{restart_on_update avahi-dnsconfd}
%{run_ldconfig}
%insserv_cleanup
%files
%defattr(-,root,root)
%doc LICENSE docs/*
%dir %{_sysconfdir}/avahi
%dir %{_sysconfdir}/avahi/services
%dir %{_datadir}/avahi
%dir %{_datadir}/avahi/interfaces
%dir %{_datadir}/avahi/introspection
%dir %{py_sitedir}/avahi
%{_sysconfdir}/init.d/avahi-daemon
%{_sysconfdir}/init.d/avahi-dnsconfd
%config %{_sysconfdir}/avahi/avahi-daemon.conf
%{_sysconfdir}/avahi/avahi-dnsconfd.action
%{_sysconfdir}/avahi/avahi-autoipd.action
%{_sysconfdir}/avahi/services/*.service
%{_sysconfdir}/avahi/hosts
%{_sbindir}/avahi-daemon
%{_sbindir}/avahi-dnsconfd
%{_sbindir}/avahi-autoipd
%{_sbindir}/rcavahi-daemon
%{_sbindir}/rcavahi-dnsconfd
%{_sysconfdir}/dbus-1/system.d/*.conf
%{_bindir}/avahi-[bpr]*
%{_bindir}/avahi-set-host-name
%{_libdir}/*avahi-client*.so.*
%{_libdir}/*avahi-common*.so.*
%{_libdir}/*avahi-core*.so.*
%{py_sitedir}/avahi/*
%{_datadir}/avahi/*.dtd
%{_datadir}/avahi/service-types.db
%{_datadir}/avahi/service-types
%{_datadir}/avahi/interfaces/*.glade
%{_datadir}/avahi/introspection/*.introspect
%{_mandir}/man5/*
%{_mandir}/man8/*
%{_mandir}/man1/*
%attr(-,avahi,avahi) %{_localstatedir}/run/avahi-daemon
%files glib
%defattr(-,root,root)
%{_libdir}/*avahi-glib*.so.*
%{_bindir}/avahi-discover*
%files mono
%defattr(-,root,root)
%{_prefix}/lib/mono/avahi-sharp
%{_prefix}/lib/mono/gac/avahi-sharp
%{_libdir}/pkgconfig/avahi-sharp.pc
%{_prefix}/lib/monodoc/sources/*.*
%files qt3
%defattr(-,root,root)
%{_libdir}/*avahi-qt3*.so.*
%files qt4
%defattr(-,root,root)
%{_libdir}/*avahi-qt4*.so.*
%files compat-mDNSResponder
%defattr(-,root,root)
# mDNSResponder uses libdns_sd.so, we need .so here.
%{_libdir}/libdns_sd.so*
%files compat-mDNSResponder-devel
%defattr(-,root,root)
%{_libdir}/libdns_sd.*a
%{_includedir}/avahi-compat-libdns_sd
%{_includedir}/dns_sd.h
%{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
%files compat-howl
%defattr(-,root,root)
%{_libdir}/libhowl.so*
%files compat-howl-devel
%defattr(-,root,root)
%{_libdir}/libhowl.*a
%{_includedir}/avahi-compat-howl
%{_includedir}/howl.h
%{_libdir}/pkgconfig/avahi-compat-howl.pc
%files devel
%defattr(-,root,root)
#%doc doc/api/html
#%doc doc/*.html doc/*.txt doc/file-boilerplate.c doc/TODO
%{_includedir}/avahi-client
%{_includedir}/avahi-common
%{_includedir}/avahi-glib
%{_includedir}/avahi-core
%{_includedir}/avahi-qt3
%{_includedir}/avahi-qt4
# avahi devel files
%{_libdir}/*avahi-client.*a
%{_libdir}/*avahi-client*.so
%{_libdir}/*avahi-core.*a
%{_libdir}/*avahi-core*.so
%{_libdir}/*avahi-common.*a
%{_libdir}/*avahi-common*.so
%{_libdir}/*avahi-glib*.*a
%{_libdir}/*avahi-glib*.so
%{_libdir}/*avahi-qt3*.*a
%{_libdir}/*avahi-qt3*.so
%{_libdir}/*avahi-qt4*.*a
%{_libdir}/*avahi-qt4*.so
%{_libdir}/pkgconfig/avahi-client.pc
%{_libdir}/pkgconfig/avahi-core.pc
%{_libdir}/pkgconfig/avahi-glib.pc
%{_libdir}/pkgconfig/avahi-qt3.pc
%{_libdir}/pkgconfig/avahi-qt4.pc
%changelog -n avahi
* Thu Dec 14 2006 - sbrabec@suse.cz
- Created init script symlinks in /usr/sbin (#228203).
* Sun Nov 12 2006 - thoenig@suse.de
- Update patch avahi-dbus-request-name-flags-fix-thoenig-02.patch:
Be precise with regard to the minor version of D-Bus
* Sun Nov 12 2006 - thoenig@suse.de
- Add patch avahi-dbus-request-name-flags-fix-thoenig-01.patch:
Fix flawed logic for flags passed to dbus_bus_request_name()
* Mon Oct 30 2006 - sbrabec@suse.cz
- Check the sender ID of netlink packets before using them
(#216219).
* Sun Oct 15 2006 - danw@suse.de
- Remove dead patches
* Mon Oct 09 2006 - sbrabec@suse.cz
- Build in older products.
- Enabled parallel build.
* Fri Sep 22 2006 - aj@suse.de
- Fix filelist for python upgrade.
- Build everything with RPM_OPT_FLAGS.
* Mon Sep 18 2006 - jhargadon@suse.de
- update to version 0.6.14
- Add new daemon "avahi-autoipd" which is an implementation of
IPv4LL as defined in RFC3927, a technology for assigning link-local IP
addresses without DHCP server. The same functionality has been available on
Windows under the name APIPA. While it is not the first implemenatation of
this technology for Free operating systems it is clearly the most powerful
and hopefully even the most secure. (Because it chroot()s and drops
priviliges and suchlike)
- Fix a segfault in the code handling static host name registrations
- Add a few new entries to the service type database
- s/D-?BUS/D-Bus/g
- Documentation updates
- Fix service type database building on Solaris
- Make use of newer D-Bus APIs
- Fix random seed initialization
- Install SFTP static service file by default
- Other minor code cleanups
- removed upstreamed patches
* Sun Sep 03 2006 - aj@suse.de
- Follow package rename qt->libqt4.
* Thu Aug 24 2006 - cthiel@suse.de
- fix build
* Wed Aug 16 2006 - cthiel@suse.de
- buildrequire python-gtk-devel instead of python-gtk
* Mon Aug 14 2006 - thoenig@suse.de
- Add patch avahi-dbus-api-fix-thoenig-01.patch: Use
dbus_connection_close, not dbus_connection_disconnect
* Fri Aug 11 2006 - cthiel@suse.de
- remove avahi-0.6.10-pygtk-hack.patch, since python-gtk has been fixed in
the meantime
* Sun Aug 06 2006 - cthiel@suse.de
- fixed build by adding avahi-0.6.10-pygtk-hack.patch to hack around an
unfavorable configure check
* Mon Jul 03 2006 - schwab@suse.de
- Fix quoting in configure script.
- Fix invalid redefinition of docdir.
* Mon May 15 2006 - sbrabec@suse.cz
- Updated to version 0.6.10 (#137781).
* Fix a buffer overflow in avahi-core
* Refuse to process invalid UTF8 data
* Automatically reconnect to the DBUS if we're kicked. (Works only if
chroot() is disabled)
* Don't hit an assert() in the client libs when the Avahi daemon is
terminated
* Enumerate all service types in the database in the Service
Discovery Applet for Gnome
* Improve the Bonjour compatibility layer to make it survive
GnomeMeeting's broken usage
* Deal properly with local non-ASCII hostnames
* AMD64 and FreeBSD portability fixes
* Filter double DNS server entries in avahi-dnsconfd
* Fix a locking bug in avahi-sharp's EntryGroup.AddService()
* Ported to Solaris (incomplete)
* Add _airport._tcp to our service type database
* Tue May 09 2006 - sbrabec@suse.cz
- Fixed buffer overflow in avahi_record_to_string() (#137781#c7).
* Mon Apr 24 2006 - sbrabec@suse.cz
- Replaced Obsoletes by Conflicts for mDNSResponder* (#149676).
* Wed Apr 19 2006 - jpr@suse.de
- Fix compat layer ABI inconsistencies with mDNSResponder (part of
[#149676])
* Wed Apr 05 2006 - sbrabec@suse.cz
- Wait for daemon initialization in the init script (#150902).
* Tue Apr 04 2006 - sbrabec@suse.cz
- Use Provides and Obsoletes instead of Conflicts to allow seamless
replacement.
* Mon Mar 20 2006 - sbrabec@suse.cz
- Call %%insserv_cleanup in %%postun.
* Thu Feb 09 2006 - sbrabec@suse.cz
- Provide libdns_sd.so RPM symbol, as mDNSResponder does.
- Reduced BuildRequires.
* Thu Feb 09 2006 - sbrabec@suse.cz
- Fixed circular dependency between avahi and avahi-glib
(avahi-discover moved to avahi-glib).
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 - sbrabec@suse.cz
- Updated to version 0.6.5.
- Enable howl compatibility layer as separate packages.
* Mon Jan 16 2006 - sbrabec@suse.cz
- Updated to version 0.6.4.
* Tue Dec 20 2005 - ro@suse.de
- fix build with dbus-1 0.60
- added libxml2-python to nfb
* Fri Dec 16 2005 - rml@suse.de
- Move libdns_sd.so to avahi-compat-mDNSResponder from
avahi-compat-mDNSResponder-devel (fix up requires/provides)
* Fri Dec 02 2005 - sbrabec@suse.cz
- Provide dns_sd.h compatibility symlink.
* Fri Dec 02 2005 - sbrabec@suse.cz
- Enable mDNSResponder compatibility layer as separate packages.
* Fri Dec 02 2005 - sbrabec@suse.cz
- Call aclocal to compile in PLUS.
- Enabled qt4 bindings.
- Fixed file ownership.
- Disabled parallel build - mono fails often.
* Thu Dec 01 2005 - sbrabec@suse.cz
- Bi-arch fix.
- Build as user.
- Enabled parallel build.
* Wed Nov 30 2005 - sbrabec@suse.cz
- Updated to version 0.6.1.
- Moved all devel files and Requires to devel subpackage.
* Wed Oct 12 2005 - ro@suse.de
- use gnome2-devel-packages in nfb and cleanup nfb
- fix build of sharp part on x86_64
* Mon Oct 10 2005 - ro@suse.de
- removed restart_on_update in postinstall
(only needed in postuninstall)
* Thu Oct 06 2005 - jpr@suse.de
- Initial check in

0
ready Normal file
View File