commit open-lldp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package open-lldp for openSUSE:Factory checked in at 2024-01-15 22:14:58 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.21961 (New) Package is "open-lldp" Mon Jan 15 22:14:58 2024 rev:23 rq:1138726 version:1.1+106.74c0600a8692 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2023-10-31 20:25:22.097209536 +0100 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.21961/open-lldp.changes 2024-01-15 22:16:40.637230409 +0100 @@ -1,0 +2,28 @@ +Sun Jan 14 19:16:32 UTC 2024 - ldun...@suse.com + +- Update to version v1.1+106.74c0600a8692 (from upstream/branch-1.1): + * lldpad: dcbx: prevent null dereference in dcbx_free_data + * lldpad: ieee8023: reorder disabling pMAC and disabling MM TX + * uapi: Provide a copy of const.h + * dcbx: Fix use-after-free + * dcbx: Fix NULL pointer dereference + * ChangeLog: mention Additional Ethernet Capabilities TLV + * lldptool: add man page for Additional Ethernet Capabilities TLV + * lldptool: add CLI interface for Additional Ethernet Capabilities TLV + * lldpad: ieee8023: allow changing the addFragSize advertisement + * lldpad: ieee8023: add Additional Ethernet Capabilities TLV logic + * lldpad: ieee8023: make ieee8023_data() return a pointer to ieee8023_user_data + * lldpad: ethtool netlink accessors for MAC merge layer + * lldpad: ieee8023: add basic rchange procedure + * uapi: copy ethtool definitions for MAC Merge layer from Linux + * uapi: update linux/netlink.h copy + * uapi: import ethtool kernel headers from net-next + * dcbx: Fix leak when receiving legacy TLVs with mismatched mode + * lldp: Reject frames with duplicate TLVs + * dcbx: Free manifest in rchange callback + * dcbx: Avoid memory leak if ifup is called twice + * ctrl_iface: Fix a memory leak in ctrl_iface_deinit + * lldp: Avoid sending uninitialized data + * lldptool: fix null pointer deference + +--- Old: open-lldp-v1.1+77.75e83b6fb98e.tar.xz New: open-lldp-v1.1+106.74c0600a8692.tar.xz Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.I5rr7G/_old 2024-01-15 22:16:41.101247362 +0100 +++ /var/tmp/diff_new_pack.I5rr7G/_new 2024-01-15 22:16:41.105247508 +0100 @@ -1,7 +1,7 @@ # # spec file for package open-lldp # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ Summary:Link Layer Discovery Protocol (LLDP) Agent License:GPL-2.0-only Group: System/Daemons -Version:1.1+77.75e83b6fb98e +Version:1.1+106.74c0600a8692 Release:0 BuildRequires: bison BuildRequires: flex ++ _servicedata ++ --- /var/tmp/diff_new_pack.I5rr7G/_old 2024-01-15 22:16:41.145248969 +0100 +++ /var/tmp/diff_new_pack.I5rr7G/_new 2024-01-15 22:16:41.149249116 +0100 @@ -1,6 +1,6 @@ https://github.com/openSUSE/lldpad.git - 75e83b6fb98e79383b6243feafa3211a87ef78e9 + 74c0600a86927c27a5e1001dd29e2e9d8ee76842 (No newline at EOF) ++ open-lldp-v1.1+77.75e83b6fb98e.tar.xz -> open-lldp-v1.1+106.74c0600a8692.tar.xz ++ 5072 lines of diff (skipped)
commit open-lldp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package open-lldp for openSUSE:Factory checked in at 2023-10-31 20:25:15 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.17445 (New) Package is "open-lldp" Tue Oct 31 20:25:15 2023 rev:22 rq:1121017 version:1.1+77.75e83b6fb98e Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2022-10-28 19:28:55.942451411 +0200 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.17445/open-lldp.changes 2023-10-31 20:25:22.097209536 +0100 @@ -1,0 +2,23 @@ +Fri Oct 27 19:15:39 UTC 2023 - ldun...@suse.com + +- Update to version latest Intel upstream (v1.1+77.75e83b6fb98e, jsc#PED-6852): + * lldpad: dcbx: prevent null dereference in dcbx_free_data + * dcbx: Fix use-after-free + * dcbx: Fix NULL pointer dereference + * dcbx: Fix leak when receiving legacy TLVs with mismatched mode + * lldp: Reject frames with duplicate TLVs + * dcbx: Free manifest in rchange callback + * dcbx: Avoid memory leak if ifup is called twice + * ctrl_iface: Fix a memory leak in ctrl_iface_deinit + * lldp: Avoid sending uninitialized data + * lldptool: fix null pointer deference + * Revert "Use interface index instead of name in libconfig" + * Avoiding null pointer dereference + * agent: reset frame status on message delete + * basman: use return address when pulling address + * 8021Qaz: check for rx block validity + * 8021qaz: squelch initialization errors + * macvtap: fix error condition + * vdp22: convert command parsing to null term + +--- Old: open-lldp-v1.1+58.8ca361bab766.tar.xz New: open-lldp-v1.1+77.75e83b6fb98e.tar.xz Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.6wQRiT/_old 2023-10-31 20:25:23.337255083 +0100 +++ /var/tmp/diff_new_pack.6wQRiT/_new 2023-10-31 20:25:23.337255083 +0100 @@ -1,7 +1,7 @@ # # spec file for package open-lldp # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ Summary:Link Layer Discovery Protocol (LLDP) Agent License:GPL-2.0-only Group: System/Daemons -Version:1.1+58.8ca361bab766 +Version:1.1+77.75e83b6fb98e Release:0 BuildRequires: bison BuildRequires: flex ++ _servicedata ++ --- /var/tmp/diff_new_pack.6wQRiT/_old 2023-10-31 20:25:23.373256406 +0100 +++ /var/tmp/diff_new_pack.6wQRiT/_new 2023-10-31 20:25:23.377256553 +0100 @@ -1,6 +1,6 @@ https://github.com/openSUSE/lldpad.git - 8ca361bab7668aaa0ef54cba87a163e6e373f2ac + 75e83b6fb98e79383b6243feafa3211a87ef78e9 (No newline at EOF) ++ open-lldp-v1.1+58.8ca361bab766.tar.xz -> open-lldp-v1.1+77.75e83b6fb98e.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+58.8ca361bab766/ctrl_iface.c new/open-lldp-v1.1+77.75e83b6fb98e/ctrl_iface.c --- old/open-lldp-v1.1+58.8ca361bab766/ctrl_iface.c 2022-10-26 20:56:09.0 +0200 +++ new/open-lldp-v1.1+77.75e83b6fb98e/ctrl_iface.c 2023-10-27 21:11:44.0 +0200 @@ -514,6 +514,7 @@ while (dst) { prev = dst; dst = dst->next; + free(prev->tlv_types); free(prev); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+58.8ca361bab766/lldp/rx.c new/open-lldp-v1.1+77.75e83b6fb98e/lldp/rx.c --- old/open-lldp-v1.1+58.8ca361bab766/lldp/rx.c2022-10-26 20:56:09.0 +0200 +++ new/open-lldp-v1.1+77.75e83b6fb98e/lldp/rx.c2023-10-27 21:11:44.0 +0200 @@ -342,29 +342,69 @@ } } if (tlv->type == TYPE_4) { /* port description */ - agent->lldpdu |= RCVD_LLDP_TLV_TYPE4; - agent->rx.manifest->portdesc = tlv; - tlv_stored = true; + if (agent->lldpdu & RCVD_LLDP_TLV_TYPE4) { + LLDPAD_INFO("Received multiple port description" + " TLVs in this LLDPDU\n"); + frame_error++; + free_unpkd_tlv(tlv); + goto out; + } else { + agent->lldpdu |= RCVD_LLDP_TLV_TYPE4; +
commit open-lldp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package open-lldp for openSUSE:Factory checked in at 2022-10-28 19:28:53 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.2275 (New) Package is "open-lldp" Fri Oct 28 19:28:53 2022 rev:21 rq:1031410 version:1.1+58.8ca361bab766 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2021-09-25 00:34:47.447091576 +0200 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.2275/open-lldp.changes 2022-10-28 19:28:55.942451411 +0200 @@ -1,0 +2,12 @@ +Wed Oct 26 18:58:43 UTC 2022 - ldun...@suse.com + +- Update to version v1.1+58.8ca361bab766: + * clif: Include string.h for mem* function prototypes + * basman: use return address when pulling address + * Revert "Use interface index instead of name in libconfig" + * 8021Qaz: check for rx block validity + * 8021qaz: squelch initialization errors + * macvtap: fix error condition + * vdp22: convert command parsing to null term + +--- Old: open-lldp-v1.1+44.0f781b4162d3.tar.xz New: open-lldp-v1.1+58.8ca361bab766.tar.xz Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.LHlOi0/_old 2022-10-28 19:28:56.418453798 +0200 +++ /var/tmp/diff_new_pack.LHlOi0/_new 2022-10-28 19:28:56.426453838 +0200 @@ -1,7 +1,7 @@ # # spec file for package open-lldp # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ Summary:Link Layer Discovery Protocol (LLDP) Agent License:GPL-2.0-only Group: System/Daemons -Version:1.1+44.0f781b4162d3 +Version:1.1+58.8ca361bab766 Release:0 BuildRequires: bison BuildRequires: flex ++ _service ++ --- /var/tmp/diff_new_pack.LHlOi0/_old 2022-10-28 19:28:56.470454059 +0200 +++ /var/tmp/diff_new_pack.LHlOi0/_new 2022-10-28 19:28:56.478454099 +0200 @@ -4,7 +4,7 @@ https://github.com/openSUSE/lldpad.git open-lldp -0f781b4162d3 +8ca361bab766 v1.1+@TAG_OFFSET@.%h v1.[0-9] enable ++ _servicedata ++ --- /var/tmp/diff_new_pack.LHlOi0/_old 2022-10-28 19:28:56.502454219 +0200 +++ /var/tmp/diff_new_pack.LHlOi0/_new 2022-10-28 19:28:56.506454239 +0200 @@ -1,6 +1,6 @@ https://github.com/openSUSE/lldpad.git - 9e8d48d5cb03f76173d89d3b6b9b9c20beefd6e5 + 8ca361bab7668aaa0ef54cba87a163e6e373f2ac (No newline at EOF) ++ open-lldp-v1.1+44.0f781b4162d3.tar.xz -> open-lldp-v1.1+58.8ca361bab766.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+44.0f781b4162d3/.gitignore new/open-lldp-v1.1+58.8ca361bab766/.gitignore --- old/open-lldp-v1.1+44.0f781b4162d3/.gitignore 1970-01-01 01:00:00.0 +0100 +++ new/open-lldp-v1.1+58.8ca361bab766/.gitignore 2022-10-26 20:56:09.0 +0200 @@ -0,0 +1,40 @@ +*/.dirstamp +compile +parse_cli.c +*.o +*.lo +*.tab.c +.deps/ +.libs/ +.pc/ +Makefile +Makefile.in +aclocal.m4 +autom4te.cache/ +autoscan.log +config.guess +config.log +config.status +config.sub +configure +configure.scan +depcomp +include/version.h +install-sh +liblldp_clif.* +libtool +lldpad.pc +lldpad.spec +ltmain.sh +m4/ +missing +dcbtool +lldpad +lldptool +vdptool +nltest +vdptest +qbg22sim +patches/ +tags +ar-lib diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+44.0f781b4162d3/clif.c new/open-lldp-v1.1+58.8ca361bab766/clif.c --- old/open-lldp-v1.1+44.0f781b4162d3/clif.c 2021-09-20 17:58:23.0 +0200 +++ new/open-lldp-v1.1+58.8ca361bab766/clif.c 2022-10-26 20:56:09.0 +0200 @@ -32,6 +32,7 @@ #include #include +#include #include #include #include diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+44.0f781b4162d3/config.c new/open-lldp-v1.1+58.8ca361bab766/config.c --- old/open-lldp-v1.1+44.0f781b4162d3/config.c 2021-09-20 17:58:23.0 +0200 +++ new/open-lldp-v1.1+58.8ca361bab766/config.c 2022-10-26 20:56:09.0 +0200 @@ -56,21 +56,6 @@ config_t lldpad_cfg; /* - * config_ifkey - Generates a config key - * - * Given an interface name this functions generates - * a key (based on interface's index) suitable - * to pass to libconfig. - * - */ -void config_ifkey(const char *name, char *ifkey) { - int index = if_nametoindex(name); - - if(index) -
commit open-lldp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package open-lldp for openSUSE:Factory checked in at 2021-09-25 00:34:46 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.1899 (New) Package is "open-lldp" Sat Sep 25 00:34:46 2021 rev:20 rq:920350 version:1.1+44.0f781b4162d3 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2021-01-15 19:43:38.841782060 +0100 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.1899/open-lldp.changes 2021-09-25 00:34:47.447091576 +0200 @@ -1,0 +2,7 @@ +Mon Sep 20 16:03:06 UTC 2021 - ldun...@suse.com + +- Update to version v1.1+44.0f781b4162d3: + * agent: reset frame status on message delete + * Avoiding null pointer dereference + +--- Old: open-lldp-v1.1+36.e926f7172b96.tar.xz New: open-lldp-v1.1+44.0f781b4162d3.tar.xz Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.RzXlX6/_old 2021-09-25 00:34:48.135092294 +0200 +++ /var/tmp/diff_new_pack.RzXlX6/_new 2021-09-25 00:34:48.139092298 +0200 @@ -21,7 +21,7 @@ Summary:Link Layer Discovery Protocol (LLDP) Agent License:GPL-2.0-only Group: System/Daemons -Version:1.1+36.e926f7172b96 +Version:1.1+44.0f781b4162d3 Release:0 BuildRequires: bison BuildRequires: flex ++ _service ++ --- /var/tmp/diff_new_pack.RzXlX6/_old 2021-09-25 00:34:48.203092365 +0200 +++ /var/tmp/diff_new_pack.RzXlX6/_new 2021-09-25 00:34:48.207092369 +0200 @@ -4,7 +4,7 @@ https://github.com/openSUSE/lldpad.git open-lldp -v1.1 +0f781b4162d3 v1.1+@TAG_OFFSET@.%h v1.[0-9] enable ++ _servicedata ++ --- /var/tmp/diff_new_pack.RzXlX6/_old 2021-09-25 00:34:48.227092390 +0200 +++ /var/tmp/diff_new_pack.RzXlX6/_new 2021-09-25 00:34:48.227092390 +0200 @@ -1,4 +1,4 @@ https://github.com/openSUSE/lldpad.git - e926f7172b967ee4ca588b27906940fd5996cb0e \ No newline at end of file + 9e8d48d5cb03f76173d89d3b6b9b9c20beefd6e5 \ No newline at end of file ++ open-lldp-v1.1+36.e926f7172b96.tar.xz -> open-lldp-v1.1+44.0f781b4162d3.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+36.e926f7172b96/ctrl_iface.c new/open-lldp-v1.1+44.0f781b4162d3/ctrl_iface.c --- old/open-lldp-v1.1+36.e926f7172b96/ctrl_iface.c 2021-01-08 23:12:44.0 +0100 +++ new/open-lldp-v1.1+44.0f781b4162d3/ctrl_iface.c 2021-09-20 17:58:23.0 +0200 @@ -180,6 +180,8 @@ } else { tlv = strdup(ibuf); str = tlv; + if (!str) + goto err_tlv; str++; /* Count number of TLV Modules */ tokenize = strtok(str, delim); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+36.e926f7172b96/dcbtool_cmds.c new/open-lldp-v1.1+44.0f781b4162d3/dcbtool_cmds.c --- old/open-lldp-v1.1+36.e926f7172b96/dcbtool_cmds.c 2021-01-08 23:12:44.0 +0100 +++ new/open-lldp-v1.1+44.0f781b4162d3/dcbtool_cmds.c 2021-09-20 17:58:23.0 +0200 @@ -373,6 +373,8 @@ } cmd_args = get_cmd_args(); + if (!cmd_args) + return -1; if (get_feature() == FEATURE_DCBX) snprintf(cbuf, sizeof(cbuf), "%c%01x%02x%02x%s", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+36.e926f7172b96/lldp_8021qaz.c new/open-lldp-v1.1+44.0f781b4162d3/lldp_8021qaz.c --- old/open-lldp-v1.1+36.e926f7172b96/lldp_8021qaz.c 2021-01-08 23:12:44.0 +0100 +++ new/open-lldp-v1.1+44.0f781b4162d3/lldp_8021qaz.c 2021-09-20 17:58:23.0 +0200 @@ -1944,6 +1944,10 @@ if (tlv->type == TYPE_1) { clear_ieee8021qaz_rx(qaz_tlvs); rx = malloc(sizeof(*rx)); + if (!rx) { + LLDPAD_INFO("failed malloc for rx\n"); + return TLV_ERR; + } memset(rx, 0, sizeof(*rx)); qaz_tlvs->rx = rx; qaz_tlvs->ieee8021qazdu = 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+36.e926f7172b96/lldp_dcbx.c new/open-lldp-v1.1+44.0f781b4162d3/lldp_dcbx.c --- old/open-lldp-v1.1+36.e926f7172b96/lldp_dcbx.c 2021-01-08 23:12:44.0 +0100 +++ new/open-lldp-v1.1+44.0f781b4162d3/lldp_dcbx.c 2021-09-20 17:58:23.0 +0200 @@ -695,6 +695,10
commit open-lldp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package open-lldp for openSUSE:Factory checked in at 2021-01-15 19:43:34 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.28504 (New) Package is "open-lldp" Fri Jan 15 19:43:34 2021 rev:19 rq:861815 version:1.1+36.e926f7172b96 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2020-12-13 17:29:23.128327990 +0100 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.28504/open-lldp.changes 2021-01-15 19:43:38.841782060 +0100 @@ -1,0 +2,15 @@ +Fri Jan 08 22:14:35 UTC 2021 - ldun...@suse.com + +- Update to version v1.1+36.e926f7172b96: + * tx: rename variable + * event_iface: only set rcv buf size if too small (bsc#1175570) + * tx: when operating in rx-only mode don't send a port shutdown pdu + * Update .travis.yml + * vdp22: manpage typo + * lldptool: fix manpage + * lldp_head: remove all references + * add_rtattr: only copy if data is provided + * autoconf: convenience to setup asan and ubsan + * Post 1.1 release + +--- Old: open-lldp-v1.1+18.0e969d0edcc4.tar.xz New: open-lldp-v1.1+36.e926f7172b96.tar.xz Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.d0X6N2/_old 2021-01-15 19:43:39.281782781 +0100 +++ /var/tmp/diff_new_pack.d0X6N2/_new 2021-01-15 19:43:39.285782787 +0100 @@ -1,7 +1,7 @@ # # spec file for package open-lldp # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ Summary:Link Layer Discovery Protocol (LLDP) Agent License:GPL-2.0-only Group: System/Daemons -Version:1.1+18.0e969d0edcc4 +Version:1.1+36.e926f7172b96 Release:0 BuildRequires: bison BuildRequires: flex ++ _servicedata ++ --- /var/tmp/diff_new_pack.d0X6N2/_old 2021-01-15 19:43:39.333782865 +0100 +++ /var/tmp/diff_new_pack.d0X6N2/_new 2021-01-15 19:43:39.333782865 +0100 @@ -1,4 +1,4 @@ https://github.com/openSUSE/lldpad.git - 0e969d0edcc41444b18fc579535516218421c388 \ No newline at end of file + e926f7172b967ee4ca588b27906940fd5996cb0e \ No newline at end of file ++ open-lldp-v1.1+18.0e969d0edcc4.tar.xz -> open-lldp-v1.1+36.e926f7172b96.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+18.0e969d0edcc4/.travis.yml new/open-lldp-v1.1+36.e926f7172b96/.travis.yml --- old/open-lldp-v1.1+18.0e969d0edcc4/.travis.yml 2020-12-10 23:40:08.0 +0100 +++ new/open-lldp-v1.1+36.e926f7172b96/.travis.yml 2021-01-08 23:12:44.0 +0100 @@ -1,5 +1,8 @@ language: c dist: xenial +arch: +- amd64 +- ppc64le #before_install: sudo apt-get update install: sudo apt-get install -y libconfig-dev libnl-3-dev rpm before_script: ./bootstrap.sh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+18.0e969d0edcc4/ChangeLog new/open-lldp-v1.1+36.e926f7172b96/ChangeLog --- old/open-lldp-v1.1+18.0e969d0edcc4/ChangeLog2020-12-10 23:40:08.0 +0100 +++ new/open-lldp-v1.1+36.e926f7172b96/ChangeLog2021-01-08 23:12:44.0 +0100 @@ -1,4 +1,4 @@ -Changes from 1.1.0 to +Changes from 1.1.0 to 1.2.0 Changes from 1.0.1 to 1.1 - VDP: introduce vdptool - VDP: support retrieving vsi parameter diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+18.0e969d0edcc4/configure.ac new/open-lldp-v1.1+36.e926f7172b96/configure.ac --- old/open-lldp-v1.1+18.0e969d0edcc4/configure.ac 2020-12-10 23:40:08.0 +0100 +++ new/open-lldp-v1.1+36.e926f7172b96/configure.ac 2021-01-08 23:12:44.0 +0100 @@ -1,4 +1,4 @@ -AC_INIT([lldpad], [1.1.0], [lldp-de...@open-lldp.org]) +AC_INIT([lldpad], [1.2.99], [lldp-de...@open-lldp.org]) AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) m4_pattern_allow([AM_PROG_AR]) @@ -31,6 +31,8 @@ dnl Configure developer type flags OPENLLDP_CHECK_WARNINGS OPENLLDP_CHECK_ERROR +OPENLLDP_CHECK_UBSAN +OPENLLDP_CHECK_ASAN dnl Set sysvinit values, if system has systemd it will be rewritten AC_SUBST(SPEC_BUILD_REQUIRES_POST, "chkconfig") @@ -116,7 +118,6 @@ AC_C_INLINE AC_FUNC_CHOWN -AC_FUNC_MALLOC AC_FUNC_REALLOC AC_HEADER_STDBOOL AC_PREREQ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore'
commit open-lldp for openSUSE:Factory
Hello community, here is the log from the commit of package open-lldp for openSUSE:Factory checked in at 2020-12-13 17:29:21 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.2328 (New) Package is "open-lldp" Sun Dec 13 17:29:21 2020 rev:18 rq:854713 version:1.1+18.0e969d0edcc4 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2020-11-13 18:56:09.361914725 +0100 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.2328/open-lldp.changes 2020-12-13 17:29:23.128327990 +0100 @@ -1,0 +2,6 @@ +Thu Dec 10 22:40:33 UTC 2020 - ldun...@suse.com + +- Update to version v1.1+18.0e969d0edcc4: + * event_iface: only set rcv buf size if too small (bsc#1175570) + +--- Old: open-lldp-v1.1+15.ef8495548d04.tar.xz New: open-lldp-v1.1+18.0e969d0edcc4.tar.xz Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.avudU3/_old 2020-12-13 17:29:23.704328574 +0100 +++ /var/tmp/diff_new_pack.avudU3/_new 2020-12-13 17:29:23.708328578 +0100 @@ -21,7 +21,7 @@ Summary:Link Layer Discovery Protocol (LLDP) Agent License:GPL-2.0-only Group: System/Daemons -Version:1.1+15.ef8495548d04 +Version:1.1+18.0e969d0edcc4 Release:0 BuildRequires: bison BuildRequires: flex ++ _servicedata ++ --- /var/tmp/diff_new_pack.avudU3/_old 2020-12-13 17:29:23.744328615 +0100 +++ /var/tmp/diff_new_pack.avudU3/_new 2020-12-13 17:29:23.748328618 +0100 @@ -1,4 +1,4 @@ https://github.com/openSUSE/lldpad.git - ef8495548d0490238c2cb727800a9e08e2510280 \ No newline at end of file + 0e969d0edcc41444b18fc579535516218421c388 \ No newline at end of file ++ open-lldp-v1.1+15.ef8495548d04.tar.xz -> open-lldp-v1.1+18.0e969d0edcc4.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+15.ef8495548d04/event_iface.c new/open-lldp-v1.1+18.0e969d0edcc4/event_iface.c --- old/open-lldp-v1.1+15.ef8495548d04/event_iface.c2020-11-09 18:24:37.0 +0100 +++ new/open-lldp-v1.1+18.0e969d0edcc4/event_iface.c2020-12-10 23:40:08.0 +0100 @@ -418,7 +418,8 @@ int event_iface_init() { int fd; - int rcv_size = MAX_PAYLOAD; + int rcv_size = 0; + socklen_t rcv_len = sizeof(int); struct sockaddr_nl snl; fd = socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE); @@ -426,10 +427,18 @@ if (fd < 0) return fd; - if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, _size, sizeof(int)) < 0) { + /* is receive buffer size too small? */ + if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, _size, _len) < 0) { close(fd); return -EIO; } + if (rcv_size < MIN_RCVBUF_SIZE) { + rcv_size = MIN_RCVBUF_SIZE >> 1;/* we get back 2x what we set */ + if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, _size, rcv_len) < 0) { + close(fd); + return -EIO; + } + } memset((void *), 0, sizeof(struct sockaddr_nl)); snl.nl_family = AF_NETLINK; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.1+15.ef8495548d04/include/qbg_vdpnl.h new/open-lldp-v1.1+18.0e969d0edcc4/include/qbg_vdpnl.h --- old/open-lldp-v1.1+15.ef8495548d04/include/qbg_vdpnl.h 2020-11-09 18:24:37.0 +0100 +++ new/open-lldp-v1.1+18.0e969d0edcc4/include/qbg_vdpnl.h 2020-12-10 23:40:08.0 +0100 @@ -33,6 +33,7 @@ #include #defineMAX_PAYLOAD 4096/* Maximum Payload Size */ +#defineMIN_RCVBUF_SIZE (MAX_PAYLOAD << 5) /* SO_RCVBUF min */ enum { vdpnl_nlf1 = 1, /* Netlink message format 1 (draft 0.2) */ ___ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org
[opensuse-commit] commit open-lldp for openSUSE:Factory
Hello community, here is the log from the commit of package open-lldp for openSUSE:Factory checked in at 2020-11-13 18:55:31 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.24930 (New) Package is "open-lldp" Fri Nov 13 18:55:31 2020 rev:17 rq:847544 version:1.1+15.ef8495548d04 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2020-10-10 19:03:50.544467960 +0200 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.24930/open-lldp.changes 2020-11-13 18:56:09.361914725 +0100 @@ -1,0 +2,12 @@ +Mon Nov 09 17:25:48 UTC 2020 - ldun...@suse.com + +- Update to version v1.1+15.ef8495548d04, by merging + upstream version 1.1 + latest, including: + * Fix merge error: remove bogus line + * vdp22: manpage typo + * lldptool: fix manpage + * lldp_head: remove all references + * add_rtattr: only copy if data is provided + This removed the need for the patch disable-werror.patch. + +--- Old: disable-werror.patch open-lldp-v1.0.1+69.e8f522565f5a.tar.xz New: open-lldp-v1.1+15.ef8495548d04.tar.xz Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.ge4fLt/_old 2020-11-13 18:56:10.813916398 +0100 +++ /var/tmp/diff_new_pack.ge4fLt/_new 2020-11-13 18:56:10.813916398 +0100 @@ -21,7 +21,7 @@ Summary:Link Layer Discovery Protocol (LLDP) Agent License:GPL-2.0-only Group: System/Daemons -Version:1.0.1+69.e8f522565f5a +Version:1.1+15.ef8495548d04 Release:0 BuildRequires: bison BuildRequires: flex @@ -32,7 +32,6 @@ BuildRequires: readline-devel URL:https://github.com/intel/openlldp Source: %{name}-v%{version}.tar.xz -Patch0: disable-werror.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: dcbd = %{version} Obsoletes: dcbd < %{version} @@ -70,7 +69,6 @@ %prep %setup -n %{name}-v%{version} -%patch0 -p1 %build %global optflags %{optflags} -fcommon ++ _service ++ --- /var/tmp/diff_new_pack.ge4fLt/_old 2020-11-13 18:56:10.845916436 +0100 +++ /var/tmp/diff_new_pack.ge4fLt/_new 2020-11-13 18:56:10.845916436 +0100 @@ -4,11 +4,11 @@ https://github.com/openSUSE/lldpad.git open-lldp -v1.0.1 -v1.0.1+@TAG_OFFSET@.%h -v1.[0-9].[0-9] +v1.1 +v1.1+@TAG_OFFSET@.%h +v1.[0-9] enable -sles15-sp2 +openSUSE-Factory *open-lldp*.tar ++ _servicedata ++ --- /var/tmp/diff_new_pack.ge4fLt/_old 2020-11-13 18:56:10.865916458 +0100 +++ /var/tmp/diff_new_pack.ge4fLt/_new 2020-11-13 18:56:10.869916463 +0100 @@ -1,4 +1,4 @@ https://github.com/openSUSE/lldpad.git - e8f522565f5a13832591a8a06d908c7671338102 \ No newline at end of file + ef8495548d0490238c2cb727800a9e08e2510280 \ No newline at end of file ++ open-lldp-v1.0.1+69.e8f522565f5a.tar.xz -> open-lldp-v1.1+15.ef8495548d04.tar.xz ++ 3086 lines of diff (skipped) ___ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org