]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/avahi
Early spring clean: Remove trailing whitespaces, and correct licence headers
[people/pmueller/ipfire-2.x.git] / lfs / avahi
index 6807a080dad73a06f04414d7e6454af48f01c240..19b5624cc17b31b65a841c0542eb7b23b8113f67 100644 (file)
--- a/lfs/avahi
+++ b/lfs/avahi
@@ -24,6 +24,8 @@
 
 include Config
 
+SUMMARY    = D-Bus Service for Zeroconf and Bonjour
+
 VER        = 0.8
 
 THISAPP    = avahi-$(VER)
@@ -32,10 +34,12 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET = $(DIR_INFO)/$(THISAPP)
 PROG       = avahi
-PAK_VER    = 6
+PAK_VER    = 9
 
 DEPS       = dbus libdaemon
 
+SERVICES   = avahi
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -54,7 +58,7 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
 md5 : $(subst %,%_MD5,$(objects))
 
-dist: 
+dist:
        @$(PAK)
 
 ###############################################################################
@@ -82,12 +86,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                --sysconfdir=/etc \
                --localstatedir=/var \
                --with-avahi-user=avahi \
+               --disable-stack-protector \
                --disable-qt3 \
                --disable-qt4 \
                --disable-qt5 \
                --disable-gtk \
                --disable-gtk3 \
-               --disable-pygtk \
                --disable-python \
                --disable-pygobject \
                --disable-python-dbus \
@@ -101,7 +105,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cp -avf $(DIR_SRC)/config/avahi/smb.service /etc/avahi/services/smb.service
 
        # Install initscript
-       $(call INSTALL_INITSCRIPT,avahi)
+       $(call INSTALL_INITSCRIPTS,$(SERVICES))
+
+       #install backup definition
+       install -v -m 644 ${DIR_SRC}/config/backup/includes/avahi \
+                       /var/ipfire/backup/addons/includes/avahi
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)