avahi: preserve default behavior for disallow-other-stacks in avahi-daemon.conf

This commit is contained in:
Andrew J. Hesford 2020-02-03 11:19:43 -05:00 committed by Juan RP
parent 116cb32610
commit 8ebbe8b38d

View file

@ -1,7 +1,7 @@
# Template file for 'avahi'
pkgname=avahi
version=0.7
revision=8
revision=9
build_style=gnu-configure
configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc
--disable-doxygen-doc --enable-compat-libdns_sd --enable-compat-howl
@ -42,8 +42,6 @@ post_extract() {
}
post_install() {
rm -rf ${DESTDIR}/usr/lib/python*
# Enable 'disallow_other_stacks' option by default.
sed -e 's,\#\(disallow-other-stacks\).*,\1=yes,' -i ${DESTDIR}/etc/avahi/avahi-daemon.conf
# Set 'enable-dbus=warn' option by default to not require dbus.
sed -e 's,\#\(enable-dbus\).*,\1=warn,' -i ${DESTDIR}/etc/avahi/avahi-daemon.conf
vsv avahi-daemon