avahi: update to 0.6.32

This commit is contained in:
Lukas Rusak 2016-02-18 21:43:53 +01:00
parent 9f04993ece
commit 80ab6df730
3 changed files with 18 additions and 14 deletions

View File

@ -17,7 +17,7 @@
################################################################################
PKG_NAME="avahi"
PKG_VERSION="0.6.31"
PKG_VERSION="0.6.32"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
@ -30,7 +30,8 @@ PKG_SHORTDESC="avahi: A Zeroconf mDNS/DNS-SD responder"
PKG_LONGDESC="Avahi is a framework for Multicast DNS Service Discovery (mDNS/DNS-SD a.k.a. Zeroconf) on Linux. It allows programs to publish and discover services running on a local network with no specific configuration. For example, you can plug into a network and instantly find printers to print to, files to look at, and people to talk to."
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
#broken
PKG_AUTORECONF="no"
MAKEFLAGS="-j1"
@ -75,6 +76,10 @@ PKG_CONFIGURE_OPTS_TARGET="py_cv_mod_gtk_=yes \
--with-avahi-group=avahi \
--disable-nls"
pre_configure_target() {
NOCONFIGURE=1 ./autogen.sh
}
post_makeinstall_target() {
# for some reason avai can fail to start see: http://forums.gentoo.org/viewtopic-p-7322172.html#7322172
sed -e "s,^.*disallow-other-stacks=.*$,disallow-other-stacks=yes,g" -i $INSTALL/etc/avahi/avahi-daemon.conf

View File

@ -1,12 +0,0 @@
diff -Naur avahi-0.6.31/avahi-daemon/Makefile.am avahi-0.6.31.patch/avahi-daemon/Makefile.am
--- avahi-0.6.31/avahi-daemon/Makefile.am 2010-08-26 02:51:38.000000000 +0200
+++ avahi-0.6.31.patch/avahi-daemon/Makefile.am 2012-06-13 18:44:23.910169467 +0200
@@ -169,7 +169,7 @@
done
install-data-local:
- test -z "$(localstatedir)/run" || $(mkdir_p) "$(DESTDIR)$(localstatedir)/run"
+ test -z "$(localstatedir)/run" || $(MKDIR_P) "$(DESTDIR)$(localstatedir)/run"
update-systemd:
curl http://cgit.freedesktop.org/systemd/plain/src/sd-daemon.c > sd-daemon.c

View File

@ -0,0 +1,11 @@
diff -Naur a/configure.ac b/configure.ac
--- a/configure.ac 2016-02-18 21:17:52.000000000 +0100
+++ b/configure.ac 2016-02-18 23:22:37.384875431 +0100
@@ -417,7 +417,6 @@
GETTEXT_PACKAGE=avahi
AC_SUBST([GETTEXT_PACKAGE])
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package])
-AM_GLIB_GNU_GETTEXT
avahilocaledir='${prefix}/${DATADIRNAME}/locale'
AC_SUBST(avahilocaledir)