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-10-10 19:03:30 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.4249 (New) Package is "open-lldp" Sat Oct 10 19:03:30 2020 rev:16 rq:840305 version:1.0.1+69.e8f522565f5a Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2020-04-15 20:08:03.878169204 +0200 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.4249/open-lldp.changes 2020-10-10 19:03:50.544467960 +0200 @@ -1,0 +2,32 @@ +Sun Sep 06 16:13:14 UTC 2020 - ldun...@suse.com + +- Update to version v1.0.1+69.e8f522565f5a to removed commpiler + and rpmlint complaints: + * Fix bash-completion dir: don't use /etc + * Fix compiler issue with strcpy(): use memcpy + * Fix compiler complaint argument type mismatch. + * Fix compiler complaint declaration vs function. + * Fix compiler complaint copying to packed member. + * add 'lldpad.socket' to the '%service_*' macros in the SPEC +file + +--- +Fri Sep 4 16:19:34 UTC 2020 - Lee Duncan + +- Moved sources from github.com/intel to github/openSUSE + * upgrading to version v1.0.1+110.6009075a9fcc +- merged in latest upstream (no API changes) + +--- +Tue Aug 04 12:06:31 UTC 2020 - h...@suse.de + +- Update to version v1.0.1+63.f977e67 (bsc#1171284,bsc#1170745,bsc#1153520): + * lldp/rx.c: Reset state machine variable in process_delete_info() + * lldp: do not call 'assert' in rxProcessFrame() + * ecp: allow for failure to create + * lldp_mand: retrieve permanent mac address in get_mac() + * lldp_util: use netlink to fetch mac address + * lldp_util: drop get_macstr() + * linux/if_link.h: Update and add bonding netlink definitions + +--- @@ -16 +48 @@ - * l2_packet: Guard ETH_P_LLDP define + * l2_packet: Guard ETH_P_LLDP define (edit: fixes bsc#1156545) Old: open-lldp-v1.0.1+102.4c7fcc3.tar.xz New: open-lldp-v1.0.1+69.e8f522565f5a.tar.xz Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.sbTU3t/_old 2020-10-10 19:03:51.048468211 +0200 +++ /var/tmp/diff_new_pack.sbTU3t/_new 2020-10-10 19:03:51.052468213 +0200 @@ -21,7 +21,7 @@ Summary:Link Layer Discovery Protocol (LLDP) Agent License:GPL-2.0-only Group: System/Daemons -Version:1.0.1+102.4c7fcc3 +Version:1.0.1+69.e8f522565f5a Release:0 BuildRequires: bison BuildRequires: flex @@ -91,16 +91,16 @@ %post %{fillup_only -n lldpad} -%service_add_post lldpad.service +%service_add_post lldpad.service lldpad.socket %pre -%service_add_pre lldpad.service +%service_add_pre lldpad.service lldpad.socket %preun -%service_del_preun lldpad.service +%service_del_preun lldpad.service lldpad.socket %postun -%service_del_postun lldpad.service +%service_del_postun lldpad.service lldpad.socket %post -n %libname -p /sbin/ldconfig @@ -115,7 +115,7 @@ %{_sbindir}/* %{_mandir}/man3/* %{_mandir}/man8/* -%config /etc/bash_completion.d/* +%{_datadir}/bash-completion/completions/* %files -n %libname %defattr(-,root,root) ++ _service ++ --- /var/tmp/diff_new_pack.sbTU3t/_old 2020-10-10 19:03:51.080468226 +0200 +++ /var/tmp/diff_new_pack.sbTU3t/_new 2020-10-10 19:03:51.084468229 +0200 @@ -8,6 +8,7 @@ v1.0.1+@TAG_OFFSET@.%h v1.[0-9].[0-9] enable +sles15-sp2 *open-lldp*.tar ++ _servicedata ++ --- /var/tmp/diff_new_pack.sbTU3t/_old 2020-10-10 19:03:51.100468237 +0200 +++ /var/tmp/diff_new_pack.sbTU3t/_new 2020-10-10 19:03:51.104468238 +0200 @@ -1,4 +1,4 @@ https://github.com/openSUSE/lldpad.git - 4c7fcc339cca5ed6a0dabd3c017ca3dc6d6d765e \ No newline at end of file + e8f522565f5a13832591a8a06d908c7671338102 \ No newline at end of file ++ open-lldp-v1.0.1+102.4c7fcc3.tar.xz -> open-lldp-v1.0.1+69.e8f522565f5a.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.0.1+102.4c7fcc3/.travis.yml new/open-lldp-v1.0.1+69.e8f522565f5a/.travis.yml --- old/open-lldp-v1.0.1+102.4c7fcc3/.travis.yml2019-11-04 18:38:38.0 +0100 +++ new/open-lldp-v1.0.1+69.e8f522565f5a/.travis.yml1970-01-01 01:00:00.0 +0100 @@ -1,49 +0,0 @@ -language: c -dist: xenial -#before_install: sudo apt-get update -install: sudo apt-get install -y libconfig-dev libnl-3-dev rpm -before_script: ./bootstrap.sh -script: ./contrib/build-rpm.sh && ./configure && make && make test && sudo
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-04-15 20:06:24 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.2738 (New) Package is "open-lldp" Wed Apr 15 20:06:24 2020 rev:15 rq:792722 version:1.0.1+102.4c7fcc3 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2020-02-22 18:57:35.761308985 +0100 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.2738/open-lldp.changes 2020-04-15 20:08:03.878169204 +0200 @@ -1,0 +2,5 @@ +Mon Apr 6 09:26:46 UTC 2020 - Martin Liška + +- Use -fcommon in order to fix boo#1160407. + +--- Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.VNVWef/_old 2020-04-15 20:08:04.434169583 +0200 +++ /var/tmp/diff_new_pack.VNVWef/_new 2020-04-15 20:08:04.434169583 +0200 @@ -73,13 +73,14 @@ %patch0 -p1 %build +%global optflags %{optflags} -fcommon autoreconf -vi %configure \ --disable-static -make %{?_smp_mflags} +%make_build %check -make check %{?_smp_mflags} +%make_build check %install mkdir -p %{buildroot}/var/lib/lldpad
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-02-22 18:57:25 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.26092 (New) Package is "open-lldp" Sat Feb 22 18:57:25 2020 rev:14 rq:777674 version:1.0.1+102.4c7fcc3 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2019-11-21 12:57:34.898547949 +0100 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.26092/open-lldp.changes 2020-02-22 18:57:35.761308985 +0100 @@ -1,0 +2,6 @@ +Fri Jan 24 11:12:11 UTC 2020 - Dominique Leuenberger + +- BuildRequire pkgconfig(systemd) instead of systemd directly: + allow OBS to shortcut through the -mini flavors. + +--- Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.4Vjltz/_old 2020-02-22 18:57:40.009317214 +0100 +++ /var/tmp/diff_new_pack.4Vjltz/_new 2020-02-22 18:57:40.009317214 +0100 @@ -1,7 +1,7 @@ # # spec file for package open-lldp # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -30,7 +30,7 @@ BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: readline-devel -Url:https://github.com/intel/openlldp +URL:https://github.com/intel/openlldp Source: %{name}-v%{version}.tar.xz Patch0: disable-werror.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -38,7 +38,7 @@ Obsoletes: dcbd < %{version} Provides: lldpad = %{version} Obsoletes: lldpad < %{version} -BuildRequires: systemd +BuildRequires: pkgconfig(systemd) %systemd_requires %description
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 2019-11-21 12:57:34 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.26869 (New) Package is "open-lldp" Thu Nov 21 12:57:34 2019 rev:13 rq:749534 version:1.0.1+102.4c7fcc3 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2019-05-25 13:15:14.480447966 +0200 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.26869/open-lldp.changes 2019-11-21 12:57:34.898547949 +0100 @@ -1,0 +2,42 @@ +Tue Nov 19 13:14:16 UTC 2019 - h...@suse.com + +- Update to version v1.0.1+102.4c7fcc3: + * l2_packet: Guard ETH_P_LLDP define + * lldp_mand: retrieve permanent mac address in get_mac() + * lldp_util: use netlink to fetch mac address + * lldp_util: drop get_macstr() + * linux/if_link.h: Update and add bonding netlink definitions + +--- +Tue Nov 19 13:13:17 UTC 2019 - h...@suse.com + +- Update to version v1.0.1+95.3168e11: + * Test with newer GCC 8 and 9 versions + * RPM build is broken, so skip + * Place the tarball in the right place + * A tarball needs to be built after bootstrap.sh for use with RPM + * Added missing steps for building an RPM + * Finish off with testing building the RPM + * Test package installation as well + * Test under multiple GCC releases + * Drop requirement for Travis CI testing with Clang + * Support checking build with Travis CI + * vdp-netlink: account for sizes properly + * qbg: avoid warning for extra parens + * qbg: port name is always a valid pointer + * dcbx-nl: drop run_cmd + * ecp: allow for failure to create + * lldp_util: allow for null ifa_addr element + * lldpad: Do not enable port if already enabled + * Silent -Werror=address-of-packed-member warnings. + * Come up with STRNCPY_TERMINATED (#25). + * vdptool: fixed compile error for getline() + * Fix #23 by off by one strncpy value. + * 8021qaz: Block lldptool set operations if read only mode is on + * 8021qaz: Add read only option for 8021qaz module + * lldp: Allow lldptool to modify optional TLV's content + * 8021qaz: Print dscp2prio map + * autoconf: Add systemd support in configure.ac + * rpm-spec: Add vdp22 man files to lldpad.spec.in + +--- Old: open-lldp-v1.0.1+56.cb81e95.tar.xz New: open-lldp-v1.0.1+102.4c7fcc3.tar.xz Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.XUKKuc/_old 2019-11-21 12:57:35.554547747 +0100 +++ /var/tmp/diff_new_pack.XUKKuc/_new 2019-11-21 12:57:35.554547747 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -21,7 +21,7 @@ Summary:Link Layer Discovery Protocol (LLDP) Agent License:GPL-2.0-only Group: System/Daemons -Version:1.0.1+56.cb81e95 +Version:1.0.1+102.4c7fcc3 Release:0 BuildRequires: bison BuildRequires: flex ++ _servicedata ++ --- /var/tmp/diff_new_pack.XUKKuc/_old 2019-11-21 12:57:35.586547737 +0100 +++ /var/tmp/diff_new_pack.XUKKuc/_new 2019-11-21 12:57:35.586547737 +0100 @@ -1,4 +1,4 @@ https://github.com/openSUSE/lldpad.git - cb81e9541b51b3f104106979e7727c72d090fd8d \ No newline at end of file + 4c7fcc339cca5ed6a0dabd3c017ca3dc6d6d765e \ No newline at end of file ++ open-lldp-v1.0.1+56.cb81e95.tar.xz -> open-lldp-v1.0.1+102.4c7fcc3.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/open-lldp-v1.0.1+56.cb81e95/.travis.yml new/open-lldp-v1.0.1+102.4c7fcc3/.travis.yml --- old/open-lldp-v1.0.1+56.cb81e95/.travis.yml 1970-01-01 01:00:00.0 +0100 +++ new/open-lldp-v1.0.1+102.4c7fcc3/.travis.yml2019-11-04 18:38:38.0 +0100 @@ -0,0 +1,49 @@ +language: c +dist: xenial +#before_install: sudo apt-get update +install: sudo apt-get install -y libconfig-dev libnl-3-dev rpm +before_script: ./bootstrap.sh +script: ./contrib/build-rpm.sh && ./configure && make && make test && sudo make install #&& rpmbuild -ba lldpad.spec + +matrix: + include: +- addons: +apt: + sources: +- ubuntu-toolchain-r-test + packages: +- gcc-4.8 + env: +- CC="gcc-4.8" +- addons: +apt: + sources: +- ubuntu-toolchain-r-test + packages: +- gcc-5 + env: +
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 2019-05-25 13:15:13 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.5148 (New) Package is "open-lldp" Sat May 25 13:15:13 2019 rev:12 rq:704116 version:1.0.1+56.cb81e95 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2019-03-24 14:56:31.467205085 +0100 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.5148/open-lldp.changes 2019-05-25 13:15:14.480447966 +0200 @@ -1,0 +2,10 @@ +Tue May 14 09:28:48 UTC 2019 - Martin Liška + +- Add disable-werror.patch. + +--- +Thu May 9 12:05:15 UTC 2019 - Martin Liška + +- Disable -Werror (boo#1128299) and remove gcc9-fix-werror.patch. + +--- Old: gcc9-fix-werror.patch New: disable-werror.patch Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.mEGy8Y/_old 2019-05-25 13:15:16.096447365 +0200 +++ /var/tmp/diff_new_pack.mEGy8Y/_new 2019-05-25 13:15:16.120447356 +0200 @@ -32,7 +32,7 @@ BuildRequires: readline-devel Url:https://github.com/intel/openlldp Source: %{name}-v%{version}.tar.xz -Patch0: gcc9-fix-werror.patch +Patch0: disable-werror.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: dcbd = %{version} Obsoletes: dcbd < %{version} ++ disable-werror.patch ++ diff --git a/Makefile.am b/Makefile.am index 292c0fd..b20574c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,7 +19,7 @@ ACLOCAL_AMFLAGS = -I m4 parse_cli.o: CFLAGS+=-U_FORTIFY_SOURCE -Wno-error ## system requires a shared libconfig -AM_CFLAGS = -Wall -Werror -Wextra -Wformat=2 $(LIBCONFIG_CFLAGS) $(LIBNL_CFLAGS) +AM_CFLAGS = -Wall -Wextra -Wformat=2 $(LIBCONFIG_CFLAGS) $(LIBNL_CFLAGS) AM_LDFLAGS = $(LIBCONFIG_LIBS) $(LIBNL_LIBS) -lrt ## header files to be installed, for programs using the client interface to lldpad diff --git a/configure.ac b/configure.ac index 0667446..e49867e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_INIT([lldpad], [1.0.1], [lldp-de...@open-lldp.org]) -AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) +AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) m4_pattern_allow([AM_PROG_AR]) AM_PROG_AR
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 2019-03-24 14:56:30 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.25356 (New) Package is "open-lldp" Sun Mar 24 14:56:30 2019 rev:11 rq:686420 version:1.0.1+56.cb81e95 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2019-02-24 16:58:19.936824954 +0100 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.25356/open-lldp.changes 2019-03-24 14:56:31.467205085 +0100 @@ -1,0 +2,11 @@ +Tue Mar 19 09:43:38 UTC 2019 - Martin Liška + +- Add gcc9-fix-werror.patch in order to fix bsc#1128299. +- Adjust project URL as we're using the Intel's fork. + +--- +Mon Jan 14 15:50:43 CET 2019 - ku...@suse.de + +- Use %license instead of %doc [bsc#1082318] + +--- New: gcc9-fix-werror.patch Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.CBxPdE/_old 2019-03-24 14:56:32.431204983 +0100 +++ /var/tmp/diff_new_pack.CBxPdE/_new 2019-03-24 14:56:32.471204979 +0100 @@ -12,14 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define libname liblldp_clif1 Name: open-lldp Summary:Link Layer Discovery Protocol (LLDP) Agent -License:GPL-2.0 +License:GPL-2.0-only Group: System/Daemons Version:1.0.1+56.cb81e95 Release:0 @@ -30,8 +30,9 @@ BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: readline-devel -Url:http://open-lldp.org/ +Url:https://github.com/intel/openlldp Source: %{name}-v%{version}.tar.xz +Patch0: gcc9-fix-werror.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: dcbd = %{version} Obsoletes: dcbd < %{version} @@ -69,6 +70,7 @@ %prep %setup -n %{name}-v%{version} +%patch0 -p1 %build autoreconf -vi @@ -105,7 +107,8 @@ %files %defattr(-,root,root,-) -%doc COPYING README ChangeLog +%license COPYING +%doc README ChangeLog %dir /var/lib/lldpad %{_unitdir}/* %{_sbindir}/* ++ gcc9-fix-werror.patch ++ >From cf1da68e3103022f93680208de24304726276936 Mon Sep 17 00:00:00 2001 From: marxin Date: Thu, 7 Mar 2019 10:33:29 +0100 Subject: [PATCH] Fix #23 by off by one strncpy value. --- lldp_dcbx_nl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lldp_dcbx_nl.c b/lldp_dcbx_nl.c index 7a2dad2..357da9c 100644 --- a/lldp_dcbx_nl.c +++ b/lldp_dcbx_nl.c @@ -561,7 +561,8 @@ int get_dcb_numtcs(const char *ifname, u8 *pgtcs, u8 *pfctcs) seq = nlh->nlmsg_seq; - strncpy(name, ifname, sizeof(name)); + strncpy(name, ifname, sizeof(name) - 1); + name[sizeof(name) - 1] = '\0'; add_rta(nlh, DCB_ATTR_IFNAME, (void *)name, strlen(name) + 1); rta_parent = add_rta(nlh, DCB_ATTR_NUMTCS, NULL, 0);
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 2019-02-24 16:58:17 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new.28833 (New) Package is "open-lldp" Sun Feb 24 16:58:17 2019 rev:10 rq:673290 version:1.0.1+56.cb81e95 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2017-12-21 11:21:39.334041086 +0100 +++ /work/SRC/openSUSE:Factory/.open-lldp.new.28833/open-lldp.changes 2019-02-24 16:58:19.936824954 +0100 @@ -1,0 +2,24 @@ +Thu Jan 10 16:32:32 CET 2019 - h...@suse.de + +- Update to git commit cb81e9541b5 (FATE#326034,bug#1104011) + * 8021qaz: Remove unused variable + * 8021qaz: Honor willing value from config file + * lldpad: Support DSCP selectors in APP TLV's + * Fix application tlv display + * basman_clif: print the OID properly + * ecp22: deinit l2_packet_data before freeing ecp22 + * DCB set state operation return value check + * memleak on received TLVs from modules + * Use interface index instead of name in libconfig + * Fix 'is_valid_mac' to include mcast mac address + * lldpad: Fix segfault in lldptool + * Fixup disabling PG + + open-lldp-v1.0.1+56.cb81e95.tar.xz +- Remove superseded files + - open-lldp-1.0.1.tar.gz + - open-lldp-git-update.patch.bz2 + - open-lldp-gcc5.patch + - 0001-l2_linux_packet-correctly-process-return-value-of-ge.patch + - 0002-lldpad-Only-set-Tx-adminStatus-if-interface-is-not-m.patch + +--- Old: 0001-l2_linux_packet-correctly-process-return-value-of-ge.patch 0002-lldpad-Only-set-Tx-adminStatus-if-interface-is-not-m.patch open-lldp-1.0.1.tar.gz open-lldp-gcc5.patch open-lldp-git-update.patch.bz2 New: _service _servicedata open-lldp-v1.0.1+56.cb81e95.tar.xz Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.uerfCP/_old 2019-02-24 16:58:20.680824600 +0100 +++ /var/tmp/diff_new_pack.uerfCP/_new 2019-02-24 16:58:20.684824598 +0100 @@ -1,7 +1,7 @@ # # spec file for package open-lldp # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 Group: System/Daemons -Version:1.0.1 +Version:1.0.1+56.cb81e95 Release:0 BuildRequires: bison BuildRequires: flex @@ -31,12 +31,7 @@ BuildRequires: pkgconfig BuildRequires: readline-devel Url:http://open-lldp.org/ -Source: %{name}-%{version}.tar.gz -#Source:http://ftp-osl.osuosl.org/pub/%{name}/%{name}-%{version}.tar.gz -Patch0: %{name}-git-update.patch.bz2 -Patch1: 0001-l2_linux_packet-correctly-process-return-value-of-ge.patch -Patch2: 0002-lldpad-Only-set-Tx-adminStatus-if-interface-is-not-m.patch -Patch3: open-lldp-gcc5.patch +Source: %{name}-v%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: dcbd = %{version} Obsoletes: dcbd < %{version} @@ -73,11 +68,7 @@ 'lldpad' plus the configuration tools 'dcbtool' and 'lldptool'. %prep -%setup -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%setup -n %{name}-v%{version} %build autoreconf -vi ++ _service ++ git https://github.com/openSUSE/lldpad.git open-lldp v1.0.1 v1.0.1+@TAG_OFFSET@.%h v1.[0-9].[0-9] enable *open-lldp*.tar xz ++ _servicedata ++ https://github.com/openSUSE/lldpad.git cb81e9541b51b3f104106979e7727c72d090fd8d
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 2017-12-21 11:21:38 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new (New) Package is "open-lldp" Thu Dec 21 11:21:38 2017 rev:9 rq:558599 version:1.0.1 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2017-03-01 23:39:55.064747537 +0100 +++ /work/SRC/openSUSE:Factory/.open-lldp.new/open-lldp.changes 2017-12-21 11:21:39.334041086 +0100 @@ -1,0 +2,5 @@ +Mon Dec 11 13:31:53 UTC 2017 - dims...@opensuse.org + +- Fix calling of fillup_only: it knows no -i parameter. + +--- Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.cxuACr/_old 2017-12-21 11:21:39.886014171 +0100 +++ /var/tmp/diff_new_pack.cxuACr/_new 2017-12-21 11:21:39.886014171 +0100 @@ -96,7 +96,7 @@ ln -s service %{buildroot}%{_sbindir}/rclldpad %post -%{fillup_only -n -i lldpad} +%{fillup_only -n lldpad} %service_add_post lldpad.service %pre
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 2017-03-01 23:39:53 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new (New) Package is "open-lldp" Wed Mar 1 23:39:53 2017 rev:8 rq:460918 version:1.0.1 Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2015-04-12 00:08:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.open-lldp.new/open-lldp.changes 2017-03-01 23:39:55.064747537 +0100 @@ -1,0 +2,37 @@ +Tue Feb 28 11:08:53 UTC 2017 - dims...@opensuse.org + +- Don't use full URL as source, as the tarball does not exist at + that location. + +--- +Sat Feb 18 05:34:33 UTC 2017 - ku...@suse.com + +- Remove obsolete insserv calls + +--- +Mon Aug 3 10:24:33 CEST 2015 - h...@suse.de + +- Update to v1.0.1 (FATE#318849) + * vpd22 updates + * Include vpdtool + * Support for OUI infrastructure in vpd22 + * Support for OUI infrastructure in vpdtool + * Support for Cisco-specific OUI extensions in vpd22 + * Add vpdtool manpage + * Add open-lldp-1.0.1.tar.gz + * Remove open-lldp-0.9.46.tar.gz + * Patches merged with upstream + * Remove 0001-lldpad-print-verbose-error-messages.patch + * Remove 0002-Move-to-libnl3.patch +- Update to latest git version + * Automake fixes + * Fix DCBX event generation from lldpad + * Make TTL TLV configurable + * Update open-lldp-git-update.patch.bz2 +- Correctly process return value in get_perm_hwaddr (bsc#929171) + * Add 0001-l2_linux_packet-correctly-process-return-value-of-ge.patch +- lldpad: Only set Tx adminStatus if interface is not managed + (bsc#929171) + * Add 0002-lldpad-Only-set-Tx-adminStatus-if-interface-is-not-m.patch + +--- Old: 0001-lldpad-print-verbose-error-messages.patch 0002-Move-to-libnl3.patch open-lldp-0.9.46.tar.gz New: 0001-l2_linux_packet-correctly-process-return-value-of-ge.patch 0002-lldpad-Only-set-Tx-adminStatus-if-interface-is-not-m.patch open-lldp-1.0.1.tar.gz Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.xn2TDU/_old 2017-03-01 23:39:55.676661242 +0100 +++ /var/tmp/diff_new_pack.xn2TDU/_new 2017-03-01 23:39:55.680660678 +0100 @@ -1,7 +1,7 @@ # # spec file for package open-lldp # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 Group: System/Daemons -Version:0.9.46 +Version:1.0.1 Release:0 BuildRequires: bison BuildRequires: flex @@ -31,10 +31,11 @@ BuildRequires: pkgconfig BuildRequires: readline-devel Url:http://open-lldp.org/ -Source: http://ftp-osl.osuosl.org/pub/%{name}/%{name}-%{version}.tar.gz +Source: %{name}-%{version}.tar.gz +#Source:http://ftp-osl.osuosl.org/pub/%{name}/%{name}-%{version}.tar.gz Patch0: %{name}-git-update.patch.bz2 -Patch1: 0001-lldpad-print-verbose-error-messages.patch -Patch2: 0002-Move-to-libnl3.patch +Patch1: 0001-l2_linux_packet-correctly-process-return-value-of-ge.patch +Patch2: 0002-lldpad-Only-set-Tx-adminStatus-if-interface-is-not-m.patch Patch3: open-lldp-gcc5.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: dcbd = %{version} @@ -95,7 +96,7 @@ ln -s service %{buildroot}%{_sbindir}/rclldpad %post -%{fillup_and_insserv -n -i lldpad} +%{fillup_only -n -i lldpad} %service_add_post lldpad.service %pre @@ -105,7 +106,6 @@ %service_del_preun lldpad.service %postun -%{insserv_cleanup lldpad} %service_del_postun lldpad.service %post -n %libname -p /sbin/ldconfig @@ -118,6 +118,7 @@ %dir /var/lib/lldpad %{_unitdir}/* %{_sbindir}/* +%{_mandir}/man3/* %{_mandir}/man8/* %config /etc/bash_completion.d/* ++ 0001-l2_linux_packet-correctly-process-return-value-of-ge.patch ++ >From 795b363c15d145e8cad21e8ba11d817efc329bf7 Mon Sep 17 00:00:00 2001 From: Johannes ThumshirnDate: Tue, 19 May 2015 15:34:46 +0200 Subject: l2_linux_packet: correctly process return value of get_perm_hwaddr On success get_perm_hwaddr() returns the number of bytes read from the netlink socket. However, l2_packet_init() only checks for 0 as a successful return value. Adopt
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 2015-04-12 00:08:33 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new (New) Package is open-lldp Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2014-06-19 13:20:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.open-lldp.new/open-lldp.changes 2015-04-12 00:08:35.0 +0200 @@ -1,0 +2,7 @@ +Mon Mar 23 23:23:27 UTC 2015 - crrodrig...@opensuse.org + +- Fix build with gcc5 (open-lldp-gcc5.patch) +* do not use -Werror +* Use -fgnu89-inline as the code relies on the old semantics + +--- New: open-lldp-gcc5.patch Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.rh8c0m/_old 2015-04-12 00:08:36.0 +0200 +++ /var/tmp/diff_new_pack.rh8c0m/_new 2015-04-12 00:08:36.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package open-lldp # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,6 +35,7 @@ Patch0: %{name}-git-update.patch.bz2 Patch1: 0001-lldpad-print-verbose-error-messages.patch Patch2: 0002-Move-to-libnl3.patch +Patch3: open-lldp-gcc5.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: dcbd = %{version} Obsoletes: dcbd %{version} @@ -75,6 +76,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build autoreconf -vi ++ open-lldp-gcc5.patch ++ --- open-lldp-0.9.46.orig/Makefile.am +++ open-lldp-0.9.46/Makefile.am @@ -16,7 +16,7 @@ ACLOCAL_AMFLAGS = -I m4 parse_cli.o: CFLAGS+=-U_FORTIFY_SOURCE -Wno-error ## system requires a shared libconfig -AM_CFLAGS = -Wall -Werror -Wextra -Wformat=2 $(LIBCONFIG_CFLAGS) $(LIBNL_CFLAGS) +AM_CFLAGS = -Wall -fgnu89-inline -Wextra -Wformat=2 $(LIBCONFIG_CFLAGS) $(LIBNL_CFLAGS) AM_LDFLAGS = $(LIBCONFIG_LIBS) $(LIBNL_LIBS) ## header files to be installed, for programs using the client interface to lldpad
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 2014-06-19 13:20:02 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new (New) Package is open-lldp Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2014-05-22 09:04:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.open-lldp.new/open-lldp.changes 2014-06-19 13:20:08.0 +0200 @@ -1,0 +2,5 @@ +Wed May 21 15:12:45 UTC 2014 - jseg...@novell.com + +- added necessary macros for systemd files + +--- Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.3pSyPe/_old 2014-06-19 13:20:09.0 +0200 +++ /var/tmp/diff_new_pack.3pSyPe/_new 2014-06-19 13:20:09.0 +0200 @@ -96,11 +96,15 @@ %{fillup_and_insserv -n -i lldpad} %service_add_post lldpad.service +%pre +%service_add_pre lldpad.service + %preun %service_del_preun lldpad.service %postun %{insserv_cleanup lldpad} +%service_del_postun lldpad.service %post -n %libname -p /sbin/ldconfig -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
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 2014-05-22 09:04:18 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new (New) Package is open-lldp Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2014-04-05 14:42:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.open-lldp.new/open-lldp.changes 2014-05-22 09:04:24.0 +0200 @@ -1,0 +2,14 @@ +Wed May 14 09:09:11 CEST 2014 - h...@suse.de + +- Update to latest git version: + * Include upstream version of VEPA migration issue (bnc#866282) + * evb 22 test cases + * vdp22 fixes + * error message fixes + * Fix interop issues with Juniper switches +- Fixup error messages in lldpad + * Add 0001-lldpad-print-verbose-error-messages.patch +- Move to libnl3 + * Add 0002-Move-to-libnl3.patch + +--- Old: mkinitrd-boot.sh mkinitrd-setup.sh New: 0001-lldpad-print-verbose-error-messages.patch 0002-Move-to-libnl3.patch Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.dFRyeK/_old 2014-05-22 09:04:24.0 +0200 +++ /var/tmp/diff_new_pack.dFRyeK/_new 2014-05-22 09:04:24.0 +0200 @@ -26,13 +26,15 @@ BuildRequires: bison BuildRequires: flex BuildRequires: libconfig-devel -BuildRequires: libnl-1_1-devel +BuildRequires: libnl3-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: readline-devel Url:http://open-lldp.org/ Source: http://ftp-osl.osuosl.org/pub/%{name}/%{name}-%{version}.tar.gz Patch0: %{name}-git-update.patch.bz2 +Patch1: 0001-lldpad-print-verbose-error-messages.patch +Patch2: 0002-Move-to-libnl3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: dcbd = %{version} Obsoletes: dcbd %{version} @@ -71,6 +73,8 @@ %prep %setup %patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build autoreconf -vi ++ 0001-lldpad-print-verbose-error-messages.patch ++ From 76abae2f76ae02cd0af19bd7ff4d52e2f9c46bf4 Mon Sep 17 00:00:00 2001 From: Hannes Reinecke h...@suse.de Date: Wed, 14 May 2014 09:03:43 +0200 Subject: lldpad: print verbose error messages When lldpad is started while another instance is running it'll abort with the cryptic error message 'bind(AF_LOCAL): address in use' This patch updates the error message with the more instructive 'another lldpad instance is running'. Signed-off-by: Hannes Reinecke h...@suse.de --- ctrl_iface.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ctrl_iface.c b/ctrl_iface.c index fbacfac..e4fd0b7 100644 --- a/ctrl_iface.c +++ b/ctrl_iface.c @@ -466,7 +466,7 @@ int ctrl_iface_init(struct clif_data *clifd) } s = socket(AF_LOCAL, SOCK_DGRAM, 0); if (s 0) { - perror(socket(AF_LOCAL)); + LLDPAD_WARN(failed to create CLI socket: %m\n); goto fail; } /* enable receiving of the sender credentials */ @@ -479,7 +479,10 @@ int ctrl_iface_init(struct clif_data *clifd) %s, LLDP_CLIF_SOCK); addrlen = sizeof(sa_family_t) + strlen(addr.sun_path + 1) + 1; if (bind(s, (struct sockaddr *) addr, addrlen) 0) { - perror(bind(AF_LOCAL)); + if (errno == EADDRINUSE) + LLDPAD_WARN(another lldpad instance is running\n); + else + LLDPAD_WARN(failed to bind CLI socket address: %m); goto fail; } /* enable receiving of the sender credentials */ -- 1.8.5.2 ++ 0002-Move-to-libnl3.patch ++ From d6239987b6616e86f00b48912c18370b318738ae Mon Sep 17 00:00:00 2001 From: Hannes Reinecke h...@suse.de Date: Wed, 14 May 2014 10:29:13 +0200 Subject: Move to libnl3 libnl1 is obsolete. Signed-off-by: Hannes Reinecke h...@suse.de --- Makefile.am| 6 ++-- configure.ac | 4 +-- lldp_8021qaz.c | 112 - 3 files changed, 61 insertions(+), 61 deletions(-) diff --git a/Makefile.am b/Makefile.am index bece6ae..4889d32 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,8 +16,8 @@ ACLOCAL_AMFLAGS = -I m4 parse_cli.o: CFLAGS+=-U_FORTIFY_SOURCE -Wno-error ## system requires a shared libconfig -AM_CFLAGS = -Wall -Werror -Wextra -Wformat=2 $(LIBCONFIG_CFLAGS) -AM_LDFLAGS = $(LIBCONFIG_LIBS) +AM_CFLAGS = -Wall -Werror -Wextra -Wformat=2 $(LIBCONFIG_CFLAGS) $(LIBNL_CFLAGS) +AM_LDFLAGS = $(LIBCONFIG_LIBS) $(LIBNL_LIBS) ## header files to be installed, for programs using the client interface to lldpad lldpad_includedir=
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 2014-04-05 14:42:42 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new (New) Package is open-lldp Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2013-12-09 07:13:47.0 +0100 +++ /work/SRC/openSUSE:Factory/.open-lldp.new/open-lldp.changes 2014-04-05 14:42:43.0 +0200 @@ -1,0 +2,9 @@ +Fri Mar 21 15:28:19 CET 2014 - h...@suse.de + +- Fix VEPA migration issue (bnc#866282) +- Remove mkinitrd support +- Use bzip2 for open-lldp-git-update.patch + * Add open-lldp-git-update.patch.bz2 + * Delete open-lldp-git-update.patch + +--- Old: open-lldp-git-update.patch New: open-lldp-git-update.patch.bz2 Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.IUROKd/_old 2014-04-05 14:42:44.0 +0200 +++ /var/tmp/diff_new_pack.IUROKd/_new 2014-04-05 14:42:44.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package open-lldp # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,16 +32,12 @@ BuildRequires: readline-devel Url:http://open-lldp.org/ Source: http://ftp-osl.osuosl.org/pub/%{name}/%{name}-%{version}.tar.gz -Source20: mkinitrd-boot.sh -Source22: mkinitrd-setup.sh -Patch0: %{name}-git-update.patch +Patch0: %{name}-git-update.patch.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: dcbd = %{version} Obsoletes: dcbd %{version} Provides: lldpad = %{version} Obsoletes: lldpad %{version} -Requires(post): mkinitrd -Requires(postun): mkinitrd BuildRequires: systemd %systemd_requires @@ -88,15 +84,11 @@ %install mkdir -p %{buildroot}/var/lib/lldpad %makeinstall -install -d %{buildroot}/lib/mkinitrd/scripts/ -install -m 755 %{S:20} %{buildroot}/lib/mkinitrd/scripts/boot-lldpad.sh -install -m 755 %{S:22} %{buildroot}/lib/mkinitrd/scripts/setup-lldpad.sh # remove la archives rm -rf %{buildroot}/%{_libdir}/*.la -ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rclldpad +ln -s service %{buildroot}%{_sbindir}/rclldpad %post -[ -x /sbin/mkinitrd_setup ] mkinitrd_setup %{fillup_and_insserv -n -i lldpad} %service_add_post lldpad.service @@ -104,7 +96,6 @@ %service_del_preun lldpad.service %postun -[ -x /sbin/mkinitrd_setup ] mkinitrd_setup %{insserv_cleanup lldpad} %post -n %libname -p /sbin/ldconfig @@ -119,7 +110,6 @@ %{_sbindir}/* %{_mandir}/man8/* %config /etc/bash_completion.d/* -/lib/mkinitrd %files -n %libname %defattr(-,root,root) ++ open-lldp-git-update.patch.bz2 ++ 15402 lines (skipped) between /work/SRC/openSUSE:Factory/open-lldp/open-lldp-git-update.patch and /work/SRC/openSUSE:Factory/.open-lldp.new/open-lldp-git-update.patch.bz2 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
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 2013-12-09 07:13:46 Comparing /work/SRC/openSUSE:Factory/open-lldp (Old) and /work/SRC/openSUSE:Factory/.open-lldp.new (New) Package is open-lldp Changes: --- /work/SRC/openSUSE:Factory/open-lldp/open-lldp.changes 2013-10-22 14:53:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.open-lldp.new/open-lldp.changes 2013-12-09 07:13:47.0 +0100 @@ -1,0 +2,7 @@ +Tue Nov 19 12:52:45 CET 2013 - h...@suse.de + +- Update to latest git version: + * VPD22 support + * Netlink fixes + +--- Other differences: -- ++ open-lldp.spec ++ --- /var/tmp/diff_new_pack.SkP45r/_old 2013-12-09 07:13:47.0 +0100 +++ /var/tmp/diff_new_pack.SkP45r/_new 2013-12-09 07:13:47.0 +0100 @@ -94,7 +94,6 @@ # remove la archives rm -rf %{buildroot}/%{_libdir}/*.la ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rclldpad -chmod 655 %{buildroot}/ %post [ -x /sbin/mkinitrd_setup ] mkinitrd_setup ++ open-lldp-git-update.patch ++ 1812 lines (skipped) between /work/SRC/openSUSE:Factory/open-lldp/open-lldp-git-update.patch and /work/SRC/openSUSE:Factory/.open-lldp.new/open-lldp-git-update.patch -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org