diff options
Diffstat (limited to 'avahi-daemon')
-rw-r--r-- | avahi-daemon/Makefile.am | 16 | ||||
-rw-r--r-- | avahi-daemon/README | 6 | ||||
-rw-r--r-- | avahi-daemon/avahi-daemon.conf (renamed from avahi-daemon/avahi.conf) | 0 |
3 files changed, 8 insertions, 14 deletions
diff --git a/avahi-daemon/Makefile.am b/avahi-daemon/Makefile.am index 2f09490..f746a49 100644 --- a/avahi-daemon/Makefile.am +++ b/avahi-daemon/Makefile.am @@ -25,7 +25,7 @@ AM_CFLAGS= \ -DAVAHI_DAEMON_RUNTIME_DIR=\"$(avahi_runtime_dir)/avahi-daemon/\" \ -DAVAHI_SOCKET=\"$(avahi_socket)\" \ -DAVAHI_SERVICE_DIRECTORY=\"$(servicedir)\" \ - -DAVAHI_CONFIG_FILE=\"$(pkgsysconfdir)/avahi.conf\" + -DAVAHI_CONFIG_FILE=\"$(pkgsysconfdir)/avahi-daemon.conf\" AM_LDADD=-lexpat @@ -48,15 +48,15 @@ endif AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")' bin_PROGRAMS = \ - avahi + avahi-daemon -avahi_SOURCES = \ +avahi_daemon_SOURCES = \ main.c main.h \ simple-protocol.c simple-protocol.h \ static-services.c static-services.h pkgsysconf_DATA = \ - avahi.conf + avahi-daemon.conf service_DATA = \ example.service @@ -64,10 +64,10 @@ service_DATA = \ pkgdata_DATA = \ avahi-service.dtd -EXTRA_DIST = avahi-service.dtd avahi.conf example.service +EXTRA_DIST = avahi-service.dtd avahi-daemon.conf example.service if ENABLE_DBUS -avahi_SOURCES += dbus-protocol.c dbus-protocol.h +avahi_daemon_SOURCES += dbus-protocol.c dbus-protocol.h dbusservicedir = $(DBUS_SYS_DIR) dbusservice_DATA = avahi-dbus.conf @@ -75,8 +75,8 @@ dbusservice_DATA = avahi-dbus.conf EXTRA_DIST += $(dbusservice_DATA) endif -avahi_CFLAGS = $(AM_CFLAGS) -avahi_LDADD = $(AM_LDADD) ../avahi-core/libavahi-core.la ../avahi-common/libavahi-common.la +avahi_daemon_CFLAGS = $(AM_CFLAGS) +avahi_daemon_LDADD = $(AM_LDADD) ../avahi-core/libavahi-core.la ../avahi-common/libavahi-common.la xmllint: xmllint --noout --valid example.service diff --git a/avahi-daemon/README b/avahi-daemon/README deleted file mode 100644 index e5f6405..0000000 --- a/avahi-daemon/README +++ /dev/null @@ -1,6 +0,0 @@ -On most systems you will need to setup a security policy for avahi to allow it to own the Avahi service on the system d-bus. - -You can find an example in avahi.conf.example, this usually goes in /etc/dbus-1/system.d -You will need to change the username 'lathiat' to whatever username you use for testing this code (later it will be a dedicated 'avahi' user) - -In future this stuff should be handled automatically but for now some manual setup is required. diff --git a/avahi-daemon/avahi.conf b/avahi-daemon/avahi-daemon.conf index fc47ecf..fc47ecf 100644 --- a/avahi-daemon/avahi.conf +++ b/avahi-daemon/avahi-daemon.conf |