package/lldpd: bump version to 0.9.7
PATCH 1/1 package/lldpd: bump version to 0.9.7
Switched _SITE to https.
Removed 0001-build-make-generation-of-atom-glue-compatible-with-o.patch, applied upstream:
https://github.com/vincentbernat/lldpd/commit/106aa50d4e5b336f7dd2d5cf4d882e692d205e91
Removed 0002-configure-do-not-check-for-libbsd.patch, included in
https://github.com/vincentbernat/lldpd/commit/cbe8bbd6b60fdc0fa83ddb10d2f771ed26810304
Autoreconf is not needed anymore after removing this patch.
--without-json is not needed anymore after
https://github.com/vincentbernat/lldpd/commit/06987a24ce053cbb57f8853bbf544bc7c067c8aa
--- ...generation-of-atom-glue-compatible-with-o.patch | 43 --------------- .../0002-configure-do-not-check-for-libbsd.patch | 61 ---------------------- package/lldpd/lldpd.hash | 2 +- package/lldpd/lldpd.mk | 7 +-- 4 files changed, 3 insertions(+), 110 deletions(-) delete mode 100644 package/lldpd/0001-build-make-generation-of-atom-glue-compatible-with-o.patch delete mode 100644 package/lldpd/0002-configure-do-not-check-for-libbsd.patch
package/lldpd/0001-build-make-generation-of-atom-glue-compatible-with-o.patch deleted +0 -43
@@ -1,43 +0,0 @@ -From 106aa50d4e5b336f7dd2d5cf4d882e692d205e91 Mon Sep 17 00:00:00 2001 -From: Vincent Bernat <[email protected]> -Date: Sat, 18 Jun 2016 22:18:41 +0200 -Subject: [PATCH] build: make generation of atom-glue compatible with older gcc - versions - -With old versions, cpp doesn't accept several files as input. See #186. - -Signed-off-by: Vivien Didelot <[email protected]> ---- - src/lib/Makefile.am | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am -index 250e32a..2a5cdb3 100644 ---- a/src/lib/Makefile.am -+++ b/src/lib/Makefile.am -@@ -20,8 +20,9 @@ nodist_liblldpctl_la_SOURCES = atom-glue.c - liblldpctl_la_LIBADD = $(top_builddir)/src/libcommon-daemon-lib.la libfixedpoint.la - - atom-glue.c: $(ATOM_FILES) Makefile -- $(AM_V_GEN)($(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ATOM_FILES:%=$(srcdir)/%) | \ -+ $(AM_V_GEN)(for f in $(ATOM_FILES:%=$(srcdir)/%); do \ -+ $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $$f; done | \ - $(SED) -n 's+^void init_atom_builder_\([^(]*\)().*, \([0-9]*\)).*+\2 \1+p' | \ - sort | \ - $(AWK) '{ atoms[$$2] = 1 } \ -@@ -30,8 +31,9 @@ atom-glue.c: $(ATOM_FILES) Makefile - print " static int init = 0; if (init) return; init++;"; \ - for (atom in atoms) { print " init_atom_builder_"atom"();" } \ - print "}"; }' && \ -+ for f in $(ATOM_FILES:%=$(srcdir)/%); do \ - $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ATOM_FILES:%=$(srcdir)/%) | \ -+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $$f; done | \ - $(SED) -n 's+^void init_atom_map_\([^(]*\)().*, \([0-9]*\)).*+\2 \1+p' | \ - sort -n | \ - $(AWK) '{ atoms[$$2] = 1 } \ --- -2.9.0 -
package/lldpd/0002-configure-do-not-check-for-libbsd.patch deleted +0 -61
61 lines not on this page · raw message
package/lldpd/lldpd.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed -sha256 eb1f5beff2ff5c13c5e0342b5b9da815ed4a63866262445e1168a79ee65c9079 lldpd-0.9.4.tar.gz +sha256 b9360355c30a3c06fd5c0a6e658f2ad8bf77037d5a17c6fcabf20e62882e0db8 lldpd-0.9.7.tar.gz
package/lldpd/lldpd.mk +2 -5
@@ -4,13 +4,11 @@ # ################################################################################ -LLDPD_VERSION = 0.9.4 -LLDPD_SITE = http://media.luffy.cx/files/lldpd +LLDPD_VERSION = 0.9.7 +LLDPD_SITE = https://media.luffy.cx/files/lldpd LLDPD_DEPENDENCIES = host-pkgconf libevent LLDPD_LICENSE = ISC LLDPD_LICENSE_FILES = README.md -# 0002-configure-do-not-check-for-libbsd.patch -LLDPD_AUTORECONF = YES ifeq ($(BR2_PACKAGE_CHECK),y) LLDPD_DEPENDENCIES += check
@@ -32,7 +30,6 @@ LLDPD_CONF_OPTS = \ --without-embedded-libevent \ --without-snmp \ --without-xml \ - --without-json \ --without-seccomp \ --disable-hardening \ --disable-privsep \
Signature · 1 line
2.11.0
PATCH 1/1 package/lldpd: bump version to 0.9.7
Hello,
Quoted 8 lines · Bernd Kuhls
Switched
_SITEto https.Removed 0001-build-make-generation-of-atom-glue-compatible-with-o.patch, applied upstream:
https://github.com/vincentbernat/lldpd/commit/106aa50d4e5b336f7dd2d5cf4d882e692d205e91Removed 0002-configure-do-not-check-for-libbsd.patch, included in
https://github.com/vincentbernat/lldpd/commit/cbe8bbd6b60fdc0fa83ddb10d2f771ed26810304
This is not the same patch at all. Yann's patch was removing libbsd support entirely, while this patch adjusts how libbsd is detected.
Have you tested building lldpd in a configuration with libbsd enabled, and made sure that libbsd was built before lldpd ?
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com