avahi: enable disallow-other-stacks option by default.

This is required to make this work in kernels < 3.9 (kernel-rpi is 3.6.11 currently),
which contains support for SO_REUSEPORT.

See http://stackoverflow.com/questions/14388706/socket-options-so-reuseaddr-and-so-reuseport-how-do-they-differ-do-they-mean-t
for more info.
This commit is contained in:
Juan RP 2013-10-10 00:01:17 +02:00
parent 216d0c6aa0
commit 29fe14b966

View file

@ -1,7 +1,7 @@
# Template file for 'avahi'
pkgname=avahi
version=0.6.31
revision=12
revision=13
build_style=gnu-configure
configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc
--disable-doxygen-doc --enable-compat-libdns_sd --enable-compat-howl
@ -34,6 +34,11 @@ post_extract() {
sed -e 's,\(avahi_runtime_dir=\).*,\1\"/run\",' -i ${wrksrc}/configure
}
post_install() {
# Enable 'disallow_other_stacks' option by default.
sed -e 's,\#\(disallow-other-stacks\).*,\1=yes,' -i ${DESTDIR}/etc/avahi/avahi-daemon.conf
}
avahi-autoipd_package() {
depends="net-tools"
short_desc="Avahi IPv4LL network address configuration daemon"