]>
git.meshlink.io Git - catta/log
Lennart Poettering [Fri, 5 Jan 2007 22:36:12 +0000 (22:36 +0000)]
build avahi-discover only if either dbm or gdbm is available (patch from swegener/Gentoo)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1368
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 5 Jan 2007 22:19:52 +0000 (22:19 +0000)]
bump version number and SONAMES
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1367
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 5 Jan 2007 22:19:28 +0000 (22:19 +0000)]
add new config options "publish-aaaa-on-ipv4=" and "publish-a-on-ipv6="
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1366
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 5 Jan 2007 22:18:34 +0000 (22:18 +0000)]
* optionally, register A RR via IPv6, AAAA RR via IPv4 (Closes #62)
* add new API function avahi_server_get_config()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1365
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 5 Jan 2007 00:21:19 +0000 (00:21 +0000)]
Rework DBus connection handling: use a private DBusConnection instead of a shared instance. (Closes #89)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1364
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 4 Jan 2007 23:53:39 +0000 (23:53 +0000)]
Some more ia64 fixes. (Closes #90)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1363
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 1 Jan 2007 11:30:33 +0000 (11:30 +0000)]
Modify C++ testing code to pass when CXXFLAGS contains -Werror. (Closes #75) (BTW, -Werror is a call for trouble anyway due to differring gcc versions)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1362
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 31 Dec 2006 17:33:57 +0000 (17:33 +0000)]
Ignore EAGAIN errors on recvmsg() (Closes #60)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1361
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 31 Dec 2006 17:19:30 +0000 (17:19 +0000)]
remove yet another occurence of dbus_message_iter_get_array_len() due to obsolescence (similar in style to r1357)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1360
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 31 Dec 2006 17:13:39 +0000 (17:13 +0000)]
Fix documentation of avahi_{entry_group|client}_new(): clarify that the specified callback function is called for the first time from withing the avahi_xxx_new() context. (Closes #65)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1359
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 31 Dec 2006 16:52:13 +0000 (16:52 +0000)]
Fix error message when passing an invalid command line option (Closes #88)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1358
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 31 Dec 2006 16:39:16 +0000 (16:39 +0000)]
Don't use dbus_message_iter_get_array_len() since it is obsolete
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1357
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 31 Dec 2006 15:44:16 +0000 (15:44 +0000)]
Check for a working C++ compiler in configure.ac (Closes #75) Thanks, tedp!
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1356
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 31 Dec 2006 15:08:29 +0000 (15:08 +0000)]
add a comment so that #87 is not repeated
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1355
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Fri, 29 Dec 2006 12:55:23 +0000 (12:55 +0000)]
* Un-bump DNS-SD soname, we are following apple's version so we
shouldn't bump it (woops)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1354
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Fri, 29 Dec 2006 12:50:03 +0000 (12:50 +0000)]
* Make sure we return -1 if we fall of the end of consume_labels()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1353
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Fri, 29 Dec 2006 00:39:11 +0000 (00:39 +0000)]
* Correct comment reference to the priviledged access group in
avahi-dbus.conf - thanks to Olivier Blin
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1352
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Thu, 28 Dec 2006 16:54:26 +0000 (16:54 +0000)]
* Import debian init script changes from debian
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1350
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Thu, 28 Dec 2006 16:36:11 +0000 (16:36 +0000)]
* Fix avahi-discover broken in an earlier commit
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1349
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Thu, 28 Dec 2006 16:32:11 +0000 (16:32 +0000)]
* Bump version to 0.6.16
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1348
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Thu, 28 Dec 2006 16:24:08 +0000 (16:24 +0000)]
* Update NEWS for 0.6.16
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1347
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Thu, 28 Dec 2006 16:17:11 +0000 (16:17 +0000)]
* Bump SONAME version of libdns_sd
* Bump SONAME version of avahi-core (Closes #76)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1346
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Thu, 28 Dec 2006 15:45:29 +0000 (15:45 +0000)]
* Gracefully handle some conditions in libdns_sd that Bonjour handles
(Closes #64)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1345
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Sun, 17 Dec 2006 11:22:17 +0000 (11:22 +0000)]
display a graphical error message when the deamon is not running
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1343
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 16 Dec 2006 15:10:48 +0000 (15:10 +0000)]
* avahi-core/dns.c#consume_labels(): Add some additional checks on the compressed label location
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1342
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 16 Dec 2006 15:00:11 +0000 (15:00 +0000)]
* avahi-core/dns.c: Use a '#define AVAHI_DNS_LABELS_MAX 127' instead of the hard-coded value
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1341
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 16 Dec 2006 14:27:49 +0000 (14:27 +0000)]
* Limit the number of loops in consume_labels() (Closes: #84)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1340
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Tue, 12 Dec 2006 02:12:03 +0000 (02:12 +0000)]
* Really actually fix build on Linux <2.6.19
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1339
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Mon, 11 Dec 2006 22:43:57 +0000 (22:43 +0000)]
* Also fix < 2.6.19 builds for avahi-autoipd.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1338
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Mon, 11 Dec 2006 22:35:04 +0000 (22:35 +0000)]
* Fix specifying priviliged access group (Closes: #85)
Thanks to delphinidae
* Fix incorrect manual reference (Closes: #83)
Thanks to delphinidae
* Fix incorrect assert() in client-publish-service.c (Closes: #79)
Thanks to tedp
* Fix builds on < 2.6.19 (temporary fix, pending possible "better" solution)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1337
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Mon, 11 Dec 2006 09:34:00 +0000 (09:34 +0000)]
* Revert previous patch to check nlmsg_pid as it is bogus and breaks
in many cases, notably when using NetworkManager
* Replace with new SO_PASSCRED-based check of the sending UID, which
seems to work better
* Apply for for 2.6.19+ where IFA_RTA / IFLA_RTA is no longer defined
* Mild fix to some doxygen docs for avahi-common/address.h
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1336
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sun, 19 Nov 2006 08:04:07 +0000 (08:04 +0000)]
* Fix doxygen comments for avahi watch, thanks to tedp (Closes: #77)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1335
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Fri, 17 Nov 2006 16:28:10 +0000 (16:28 +0000)]
Add big note to avahi-discover.in pointing out the import dbus.glib (as
this has been a common problem for people to miss when using
avahi-discover as an example)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1334
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 11 Nov 2006 00:00:20 +0000 (00:00 +0000)]
Make d-bus version detection work for >= 1.0 (Closes: #71)
Dont dbus_connection_close on shared dbus connections (Closes: #68)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1333
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Mon, 6 Nov 2006 14:01:51 +0000 (14:01 +0000)]
Fix a bug where Avahi does not verify the source of netlink messages
(Closes #69)
Update NEWS/configure for 0.6.15
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1331
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 3 Oct 2006 19:53:56 +0000 (19:53 +0000)]
add updated specs to svn
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1330
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Mon, 25 Sep 2006 13:43:50 +0000 (13:43 +0000)]
* Fix dbus_service_browser not setting AVAHI_LOOKUP_RESULT_OUR_OWN.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1329
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 21 Sep 2006 00:18:11 +0000 (00:18 +0000)]
Fix build on NetBSD. Patch contributed by Daniel S. Haischt (closes #59)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1328
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 13 Sep 2006 21:31:45 +0000 (21:31 +0000)]
reword NEWS file a little
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1326
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 13 Sep 2006 20:15:35 +0000 (20:15 +0000)]
bump version number and sonames
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1325
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 13 Sep 2006 20:12:38 +0000 (20:12 +0000)]
update NEWS file
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1324
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 12 Sep 2006 13:58:17 +0000 (13:58 +0000)]
minor rtp name fix
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1323
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 12 Sep 2006 13:49:37 +0000 (13:49 +0000)]
add a few additional service types to database
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1322
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 12 Sep 2006 13:22:56 +0000 (13:22 +0000)]
add pgp key server service type to database
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1321
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 4 Sep 2006 21:50:40 +0000 (21:50 +0000)]
fix --help
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1320
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 4 Sep 2006 18:10:26 +0000 (18:10 +0000)]
use alias interfaces for network configuration if only ifconfig is available
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1319
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 4 Sep 2006 17:43:28 +0000 (17:43 +0000)]
describe how to communicate between IPv4LL and non-IPv4LL hosts
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1318
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 3 Sep 2006 17:26:57 +0000 (17:26 +0000)]
do not remove the interface address if an UNBIND event is recieved. This might accidently remove a manually configured address, hence better don't touch it.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1317
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 3 Sep 2006 16:14:27 +0000 (16:14 +0000)]
configure broadcast address explicitly
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1316
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 2 Sep 2006 18:34:03 +0000 (18:34 +0000)]
fix "make distcheck"
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1315
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 2 Sep 2006 16:40:53 +0000 (16:40 +0000)]
update INSTALL
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1314
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 2 Sep 2006 16:35:18 +0000 (16:35 +0000)]
remove "set -e" from the hook scripts since this apparently breaks stuff in the main hook script
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1313
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 2 Sep 2006 16:32:46 +0000 (16:32 +0000)]
remove a bogus warning
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1312
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 2 Sep 2006 14:45:59 +0000 (14:45 +0000)]
ship dhclient hook scripts for using ipv4ll as fallback solution where DHCP is not available. Only installed on Debian for now, since only Debian provides the necessary hook directories.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1311
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 2 Sep 2006 13:51:05 +0000 (13:51 +0000)]
add avahi autoipd man page
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1310
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 2 Sep 2006 13:48:59 +0000 (13:48 +0000)]
lots of documentation cleanups and fixes
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1309
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 1 Sep 2006 22:28:26 +0000 (22:28 +0000)]
* ship avahi-autopid.action in the tarball
* remove dependency on libavahi-common
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1308
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 1 Sep 2006 00:54:50 +0000 (00:54 +0000)]
remove remnants of a todo list
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1307
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 21:56:51 +0000 (21:56 +0000)]
* don't allow 169.254.0.0 and 169.254.255.255 as valid addresses
* automaticaly save and restore addresses
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1306
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 21:22:54 +0000 (21:22 +0000)]
implement chroot()ing and dropping of privileges
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1305
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 20:16:54 +0000 (20:16 +0000)]
change process title to work with pidof/killall
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1304
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 19:59:45 +0000 (19:59 +0000)]
install avahi-autoipd.action
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1303
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 19:52:01 +0000 (19:52 +0000)]
* change process title of chroot() helper process to "chroot helper" dropping
the term "process" since everyone knows that this thing is a process anyway.
* close the libdaemon retval pipes in the chroot helper process
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1302
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 19:48:42 +0000 (19:48 +0000)]
add support for interface configuration with user supplied event script
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1301
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 18:32:27 +0000 (18:32 +0000)]
avahi_set_proc_title(): change the process name with prctl() if available
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1300
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 18:31:43 +0000 (18:31 +0000)]
remove some embarrassinlgy superfluous code
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1299
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 17:26:29 +0000 (17:26 +0000)]
fix a few more s/DBUS/D-Bus/
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1298
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 17:22:29 +0000 (17:22 +0000)]
bump D-Bus API revision (forgotten in 0.6.13)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1297
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 17:20:30 +0000 (17:20 +0000)]
Some more s/D-BUS/D-Bus/g
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1296
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 17:17:18 +0000 (17:17 +0000)]
autoconf love:
* use autoconf to check whether dbus_connection_close() is available and use it
if it is, don't do those checks based on the D-Bus version.
* Make use of dbus_bus_get_private() if it is available.
* Since D-Bus agreeed on a cononical way to write their name, use that way in
configure.ac.
* Add configure options to define the UNIX user/group for avahi-autoipd
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1295
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 15:48:34 +0000 (15:48 +0000)]
add service file fragment for _sftp-ssh._tcp (closes #58)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1294
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 15:14:22 +0000 (15:14 +0000)]
fix service type database creation on solaris
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1293
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 01:56:55 +0000 (01:56 +0000)]
add new option --force-bind
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1292
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 01:26:11 +0000 (01:26 +0000)]
set the interface to IFF_UP before using it. handle POLLERR on the packet socket properly by recreating our socket.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1291
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 00:16:27 +0000 (00:16 +0000)]
implement command line parsing, signal handling, daemonization
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1290
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 30 Aug 2006 21:20:53 +0000 (21:20 +0000)]
a few fixes in netlink handling
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1289
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 30 Aug 2006 21:18:14 +0000 (21:18 +0000)]
document iface.h to ease porting
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1288
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 30 Aug 2006 19:51:54 +0000 (19:51 +0000)]
add netlink support
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1287
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 30 Aug 2006 16:07:26 +0000 (16:07 +0000)]
add initial version of a RFC3927/IPv4LL implementation
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1286
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 30 Aug 2006 15:31:54 +0000 (15:31 +0000)]
fix a few invalid calls to avahi_s_entry_group_xxx()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1285
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 30 Aug 2006 14:05:14 +0000 (14:05 +0000)]
fix random seed initialization
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1284
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 19:38:38 +0000 (19:38 +0000)]
update "homepage" target to install the tarball on the web site
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1282
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 19:25:29 +0000 (19:25 +0000)]
add findstatic.pl script from Andrew Tridgell to SVN. It's useful for finding
symbols that are exported but shouldn't. It's not intended for shipping in the
tarballs. However it needed a safe place to live, since I use it regularly
during Avahi development.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1281
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 19:22:57 +0000 (19:22 +0000)]
add some Avahi artwork to SVN. (This is not shipped in the tarball, just needed a safe place)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1280
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 19:20:54 +0000 (19:20 +0000)]
update NEWS file
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1279
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 19:17:08 +0000 (19:17 +0000)]
fix python bindings for the service type database when GDBM is used
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1278
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 18:55:50 +0000 (18:55 +0000)]
fix build on MacOSX (patch from Sjoerd Simmons, closes #51)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1277
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 18:46:16 +0000 (18:46 +0000)]
update NEWS file
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1276
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 18:45:36 +0000 (18:45 +0000)]
fix a gcc warning
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1275
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 18:45:17 +0000 (18:45 +0000)]
update to newer dns_sd.h copy from Apple
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1274
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 24 Aug 2006 23:27:05 +0000 (23:27 +0000)]
bump sonames
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1273
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 24 Aug 2006 23:24:28 +0000 (23:24 +0000)]
update NEWS file
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1272
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 24 Aug 2006 21:37:18 +0000 (21:37 +0000)]
rethink r1269 once again: instead of updating the entry group state in
EntryGroup::Commit() immediately (which would cause the state change callback
function to be called from the current stack frame which might be roblem for
some programs), do it asynchronously again, like in pre-r1269. However, modify
GetState() to always return the real state by asking the server if we have
doubt that our locally cached state is out-of-date.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1271
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 24 Aug 2006 21:04:24 +0000 (21:04 +0000)]
implement DNSServiceUpdateRecord() for updating existing TXT records (closes #56)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1270
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 24 Aug 2006 21:02:46 +0000 (21:02 +0000)]
If the client calls EntryGroup::Commit update the local state immediately and
do not delay this until the server informed us about the state change
asynchronously. The reason for this change is that otherwise all functions that
access the entry group depend on the out-of-date state for their validity
checks, which is obviously a bad idea.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1269
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 24 Aug 2006 17:58:02 +0000 (17:58 +0000)]
follow Bonjour's handling of subtypes when browsing/registering services (closes #41)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1268
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 23 Aug 2006 23:36:28 +0000 (23:36 +0000)]
do not alllow setting the host name to the one that is currently used anyway. return AVAHI_ERR_NO_CHANGE in that case
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1267
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 23 Aug 2006 23:35:46 +0000 (23:35 +0000)]
add new error code AVAHI_ERR_NO_CHANGE
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1266
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 23 Aug 2006 23:04:46 +0000 (23:04 +0000)]
- allow access to the DBUS SetHostName method only to users in the group "netdev" (and make that group name configurable on ./configure
- bump version number
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1265
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 22 Aug 2006 02:28:46 +0000 (02:28 +0000)]
add man page for avahi-set-host-name
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1264
941a03a8 -eaeb-0310-b9a0-
b1bbd8fe43fe