avahi: update to version 0.6.32
PATCH 1/1 avahi: update to version 0.6.32
0.6.31 -> 0.6.32
a. Switched to the new repository hosted in github.
b. Removed the following Upstreamed/Backported patches
1. 0001-Don-t-log-warnings-about-invalid-packets-Fixes-lathi.patch
2. 0001-avahi-fix-avahi-status-command-error-prompt.patch
3. avahi_fix_install_issue.patch
4. fix_for_automake_1.12.x.patch
5. out-of-tree.patch
6. reuseport-check.patch
[YOCTO #7553]
Signed-off-by Maxin B. John <[email protected]>
---
.../{avahi-ui_0.6.31.bb => avahi-ui_0.6.32.bb} | 6 +-
meta/recipes-connectivity/avahi/avahi.inc | 13 +-
.../avahi/{avahi_0.6.31.bb => avahi_0.6.32.bb} | 6 +-
...arnings-about-invalid-packets-Fixes-lathi.patch | 158 ---------------------
...ahi-fix-avahi-status-command-error-prompt.patch | 52 -------
.../avahi/files/avahi_fix_install_issue.patch | 32 -----
.../avahi/files/fix_for_automake_1.12.x.patch | 34 -----
.../avahi/files/out-of-tree.patch | 32 -----
.../avahi/files/reuseport-check.patch | 30 ----
9 files changed, 7 insertions(+), 356 deletions(-)
rename meta/recipes-connectivity/avahi/{avahi-ui_0.6.31.bb => avahi-ui_0.6.32.bb} (94%)
rename meta/recipes-connectivity/avahi/{avahi_0.6.31.bb => avahi_0.6.32.bb} (81%)
delete mode 100644 meta/recipes-connectivity/avahi/files/0001-Don-t-log-warnings-about-invalid-packets-Fixes-lathi.patch
delete mode 100644 meta/recipes-connectivity/avahi/files/0001-avahi-fix-avahi-status-command-error-prompt.patch
delete mode 100644 meta/recipes-connectivity/avahi/files/avahi_fix_install_issue.patch
delete mode 100644 meta/recipes-connectivity/avahi/files/fix_for_automake_1.12.x.patch
delete mode 100644 meta/recipes-connectivity/avahi/files/out-of-tree.patch
delete mode 100644 meta/recipes-connectivity/avahi/files/reuseport-check.patchmeta/recipes-connectivity/avahi/avahi-ui_0.6.32.bb renamed from meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb +2 -4
@@ -12,10 +12,8 @@ ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" PACKAGECONFIG ??= "python" PACKAGECONFIG[python] = "--enable-python,--disable-python,python-native python" -PR = "${INC_PR}.0" - -SRC_URI[md5sum] = "2f22745b8f7368ad5a0a3fddac343f2d" -SRC_URI[sha256sum] = "8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48" +SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013" +SRC_URI[sha256sum] = "d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454" DEPENDS += "avahi gtk+ libglade"
meta/recipes-connectivity/avahi/avahi.inc +3 -10
@@ -7,27 +7,19 @@ configuration from the link-local 169.254.0.0/16 range without the need for a ce server.' AUTHOR = "Lennart Poettering <[email protected]>" HOMEPAGE = "http://avahi.org" -BUGTRACKER = "http://avahi.org/report" +BUGTRACKER = "https://github.com/lathiat/avahi/issues" SECTION = "network" # major part is under LGPLv2.1+, but several .dtd, .xsl, initscripts and # python scripts are under GPLv2+ LICENSE = "GPLv2+ & LGPLv2.1+" -INC_PR = "r11" - DEPENDS = "expat libcap libdaemon dbus glib-2.0" -SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \ +SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV}.tar.gz \ file://00avahi-autoipd \ file://99avahi-autoipd \ file://initscript.patch \ - file://avahi_fix_install_issue.patch \ - file://fix_for_automake_1.12.x.patch \ - file://out-of-tree.patch \ - file://0001-avahi-fix-avahi-status-command-error-prompt.patch \ - file://reuseport-check.patch \ - file://0001-Don-t-log-warnings-about-invalid-packets-Fixes-lathi.patch \ " USERADD_PACKAGES = "avahi-daemon avahi-autoipd"
@@ -53,6 +45,7 @@ EXTRA_OECONF = "--disable-introspection \ --disable-qt4 \ --disable-python \ --disable-doxygen-doc \ + --disable-manpages \ ${EXTRA_OECONF_SYSVINIT} \ ${EXTRA_OECONF_SYSTEMD} \ ${AVAHI_GTK} \
meta/recipes-connectivity/avahi/avahi_0.6.32.bb renamed from meta/recipes-connectivity/avahi/avahi_0.6.31.bb +2 -4
@@ -12,10 +12,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \ file://avahi-daemon/main.c;endline=21;md5=9ee77368c5407af77caaef1b07285969 \ file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf" -PR = "${INC_PR}.1" - -SRC_URI[md5sum] = "2f22745b8f7368ad5a0a3fddac343f2d" -SRC_URI[sha256sum] = "8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48" +SRC_URI[md5sum] = "22b5e705d3eabb31d26f2e1e7b074013" +SRC_URI[sha256sum] = "d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454" DEPENDS += "intltool-native"
meta/recipes-connectivity/avahi/files/0001-Don-t-log-warnings-about-invalid-packets-Fixes-lathi.patch deleted +0 -158
158 lines not on this page · raw message
meta/recipes-connectivity/avahi/files/0001-avahi-fix-avahi-status-command-error-prompt.patch deleted +0 -52
52 lines not on this page · raw message
meta/recipes-connectivity/avahi/files/avahi_fix_install_issue.patch deleted +0 -32
@@ -1,32 +0,0 @@ -Upstream-Status: Pending - -Fixes this install issue -#| /bin/sh: line 0: cd: /srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/avahi-0.6.31-r3.0/image//usr/bin: No such file or directory - -Signed-Off-By: Nitin A Kamble <[email protected]> -2012/05/03 - -Index: avahi-0.6.31/avahi-utils/Makefile.am -=================================================================== ---- avahi-0.6.31.orig/avahi-utils/Makefile.am -+++ avahi-0.6.31/avahi-utils/Makefile.am -@@ -54,6 +54,7 @@ avahi_set_host_name_CFLAGS = $(AM_CFLAGS - avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la - - install-exec-local: -+ $(MKDIR_P) $(DESTDIR)/$(bindir) && \ - cd $(DESTDIR)/$(bindir) && \ - rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \ - $(LN_S) avahi-resolve avahi-resolve-host-name && \ -Index: avahi-0.6.31/avahi-utils/Makefile.in -=================================================================== ---- avahi-0.6.31.orig/avahi-utils/Makefile.in -+++ avahi-0.6.31/avahi-utils/Makefile.in -@@ -906,6 +906,7 @@ uninstall-am: uninstall-binPROGRAMS - - - @HAVE_DBUS_TRUE@install-exec-local: -+@HAVE_DBUS_TRUE@ $(MKDIR_P) $(DESTDIR)/$(bindir) && \ - @HAVE_DBUS_TRUE@ cd $(DESTDIR)/$(bindir) && \ - @HAVE_DBUS_TRUE@ rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \ - @HAVE_DBUS_TRUE@ $(LN_S) avahi-resolve avahi-resolve-host-name && \
meta/recipes-connectivity/avahi/files/fix_for_automake_1.12.x.patch deleted +0 -34
@@ -1,34 +0,0 @@ -Upstream-Status: Pending - -autoamke 1.12.x has depricated use of mkdir_p , and recommends use of MKDIR_P -instead. Fixed the automake files accordingly to avoid warning-errors. -Signed-Off-By: Nitin A Kamble <[email protected]> -2012/07/09 - - -Index: avahi-0.6.31/avahi-daemon/Makefile.am -=================================================================== ---- avahi-0.6.31.orig/avahi-daemon/Makefile.am -+++ avahi-0.6.31/avahi-daemon/Makefile.am -@@ -169,7 +169,7 @@ xmllint: - 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 -Index: avahi-0.6.31/avahi-autoipd/Makefile.am -=================================================================== ---- avahi-0.6.31.orig/avahi-autoipd/Makefile.am -+++ avahi-0.6.31/avahi-autoipd/Makefile.am -@@ -76,7 +76,7 @@ dhcliententerdir = $(sysconfdir)/dhcp/dh - dhclientexitdir = $(sysconfdir)/dhcp/dhclient-exit-hooks.d - - install-exec-hook: dhclient-exit-hook dhclient-enter-hook -- $(mkdir_p) $(DESTDIR)$(dhcliententerdir) $(DESTDIR)$(dhclientexitdir) -+ $(MKDIR_P) $(DESTDIR)$(dhcliententerdir) $(DESTDIR)$(dhclientexitdir) - $(INSTALL) dhclient-enter-hook $(DESTDIR)$(dhcliententerdir)/avahi-autoipd - $(INSTALL) dhclient-exit-hook $(DESTDIR)$(dhclientexitdir)/avahi-autoipd -
meta/recipes-connectivity/avahi/files/out-of-tree.patch deleted +0 -32
@@ -1,32 +0,0 @@ -Upstream-Status: Pending -Signed-off-by: Ross Burton <[email protected]> - -From a62dc95d75691ea4aefa86d8bbe54c62afd78ff6 Mon Sep 17 00:00:00 2001 -From: Ross Burton <[email protected]> -Date: Tue, 17 Sep 2013 12:27:36 +0100 -Subject: [PATCH] build-sys: fix out-of-tree builds without xmltoman - -If manpages are enabled but xmltoman isn't present, out-of-tree builds fail -because it checks inside the build directory for the pre-generated manpages. - -Fix this by using $srcdir when looking for files inside the source directory. ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 9debce2..047c7ae 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1021,7 +1021,7 @@ if test x$manpages = xyes ; then - fi - - if test x$have_xmltoman = xno -o x$xmltoman = xno; then -- if ! test -e man/avahi-daemon.8 ; then -+ if ! test -e $srcdir/man/avahi-daemon.8 ; then - AC_MSG_ERROR([*** xmltoman was not found or was disabled, it is required to build the manpages as they have not been pre-built, install xmltoman, pass --disable-manpages or dont pass --disable-xmltoman]) - exit 1 - fi --- -1.7.10.4 -
meta/recipes-connectivity/avahi/files/reuseport-check.patch deleted +0 -30
@@ -1,30 +0,0 @@ -Fix avahi-daemon when running on kernel < 3.9 (patch taken from Ubuntu). - -Upstream-Status: Pending (unmaintained upstream) -Signed-off-by: Ross Burton <[email protected]> - -Description: SO_REUSEPORT may not exist in running kernel - When userspace defines SO_REUSEPORT we will attempt to enable socket - port number reuse. However if the running kernel does not support - this call it will fail preventing daemon startup. If this call is - present but fails ENOPROTOOPT then we know that actually the kernel - does not support it and we should continue as if we did not have the - call at all. (LP: #1228204) - . - This patch could be removed from the debian package after jessie release. -Author: Andy Whitcroft <[email protected]> - -Index: avahi-0.6.31/avahi-core/socket.c -=================================================================== ---- avahi-0.6.31.orig/avahi-core/socket.c 2013-09-20 16:36:50.000000000 +0100 -+++ avahi-0.6.31/avahi-core/socket.c 2013-09-20 16:38:23.781863644 +0100 -@@ -177,7 +177,8 @@ - yes = 1; - if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes)) < 0) { - avahi_log_warn("SO_REUSEPORT failed: %s", strerror(errno)); -- return -1; -+ if (errno != ENOPROTOOPT) -+ return -1; - } - #endif -
Signature · 1 line
2.4.0