avahi: Add service for freedombox discovery

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Prachi Srivastava 2017-09-28 13:37:03 +05:30 committed by Sunil Mohan Adapa
parent e4f053af17
commit bf9af37d17
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,12 @@
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_freedombox._tcp</type>
<port>80</port>
<host>%h</host>
</service>
</service-group>

View File

@ -260,7 +260,9 @@ setuptools.setup(
'*'))),
('/var/lib/polkit-1/localauthority/10-vendor.d',
['data/var/lib/polkit-1/localauthority/10-vendor.d/'
'org.freedombox.NetworkManager.pkla'])],
'org.freedombox.NetworkManager.pkla']),
('/etc/avahi/services/',
glob.glob('data/etc/avahi/services/*.service'))],
cmdclass={
'install': CustomInstall,
'build': CustomBuild,