1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Networking/Zeroconf
11 url = http://avahi.org/
13 summary = Local network service discovery
16 Avahi is a system which facilitates service discovery on \
17 a local network -- this means that you can plug your laptop or \
18 computer into a network and instantly be able to view other people who \
19 you can chat with, find printers to print to or find files being \
20 shared. This kind of technology is already found in MacOS X (branded \
21 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') and is very \
25 source_dl = http://avahi.org/download/
44 configure_options += \
46 --with-systemdsystemunitdir=%{unitdir} \
62 # Just search for new unit files that were just installed.
64 systemctl daemon-reload >/dev/null 2>&1 || :
67 # Disable the service that is to be removed and stop it if it is still running.
69 systemctl --no-reload disable avahi-daemon.service >/dev/null 2>&1 || :
70 systemctl stop avahi-daemon.service avahi-dnsconfd.service >/dev/null 2>&1 || :
73 # Just tell systemd that unitfiles have been removed.
75 systemctl daemon-reload >/dev/null 2>&1 || :
78 # Try to restart the service if it is running.
80 systemctl daemon-reload >/dev/null 2>&1 || :
81 systemctl try-restart avahi-daemon.service avahi-dnsconfd.service >/dev/null 2>&1 || :
93 package %{name}-debuginfo