]> git.ipfire.org Git - thirdparty/lldpd.git/log
thirdparty/lldpd.git
18 months agobuild: update automake for OpenBSD
Vincent Bernat [Fri, 1 Dec 2023 21:53:02 +0000 (22:53 +0100)] 
build: update automake for OpenBSD

18 months agobuild: update BSD versions, add NetBSD
Vincent Bernat [Fri, 1 Dec 2023 21:20:58 +0000 (22:20 +0100)] 
build: update BSD versions, add NetBSD

18 months agobuild: keep using xhyve for OpenBSD
Vincent Bernat [Fri, 1 Dec 2023 21:03:31 +0000 (22:03 +0100)] 
build: keep using xhyve for OpenBSD

See https://github.com/cross-platform-actions/action/issues/73

18 months agobuild: use QEMU for testing FreeBSD/OpenBSD
Vincent Bernat [Fri, 1 Dec 2023 20:56:11 +0000 (21:56 +0100)] 
build: use QEMU for testing FreeBSD/OpenBSD

FreeBSD jobs often fail with a timeout.

18 months agobuild: bump cachix/install-nix-action from 23 to 24
dependabot[bot] [Fri, 1 Dec 2023 19:59:09 +0000 (19:59 +0000)] 
build: bump cachix/install-nix-action from 23 to 24

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
18 months agobuild: improve const correctness and prototype declarations
Georg Sauthoff [Fri, 24 Nov 2023 22:37:44 +0000 (23:37 +0100)] 
build: improve const correctness and prototype declarations

String literals aren't assigned to non-const char pointers anymore, they
aren't returned via non-const char pointers, const strings aren't passed
arround via non-const pointers etc.

As a side effect, this eliminates all -Wdiscarded-qualifiers warnings.

Symbol visibility is minimized by declaring additional functions
static, i.e those which are only used inside a single translation unit.

Also, a few includes are added such that all non-static function
definitions 'see' their declarations - such that accidental differences
in signatures immedialy yield compile errors or warnings.

A few macros are also modified to emit forward declarations for
non-static functions in order to eliminate noise when compiling with
-Wmissing-prototypes.
However, it might make sense to move those non-static function
definitions from a header into a dedicated translation unit,
at some point.

18 months agobuild: ensure we use -Werror on Linux builds
Vincent Bernat [Sat, 25 Nov 2023 15:14:08 +0000 (16:14 +0100)] 
build: ensure we use -Werror on Linux builds

18 months agoclient: fix style
Vincent Bernat [Sat, 25 Nov 2023 03:33:45 +0000 (04:33 +0100)] 
client: fix style

18 months agoclient: translate dot into the short hostname
Georg Sauthoff [Fri, 24 Nov 2023 19:06:06 +0000 (20:06 +0100)] 
client: translate dot into the short hostname

as documented in lldpcli(8):

    configure system hostname name

        Override system hostname with the provided value. By default, the
        system name is the FQDN found from the resolved value of uname
        -n.  As a special value, use "." (dot) to use the short hostname
        instead of a FQDN.

18 months agobuild: remove coverity
Vincent Bernat [Fri, 24 Nov 2023 09:14:05 +0000 (10:14 +0100)] 
build: remove coverity

It is broken, again. The tool still advertises Travis CI, it looks
unmaintained.

18 months agodaemon/lldpd: fix capitalization in help output
Vincent Bernat [Fri, 17 Nov 2023 12:19:34 +0000 (13:19 +0100)] 
daemon/lldpd: fix capitalization in help output

19 months agodaemon/lldp: fix warning message about out of order TLVs
Vincent Bernat [Tue, 7 Nov 2023 07:17:29 +0000 (08:17 +0100)] 
daemon/lldp: fix warning message about out of order TLVs

Fix #616

19 months agobuild: bump docker/login-action from 2 to 3
dependabot[bot] [Wed, 1 Nov 2023 19:15:38 +0000 (19:15 +0000)] 
build: bump docker/login-action from 2 to 3

Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
19 months agobuild: bump docker/metadata-action from 4 to 5
dependabot[bot] [Wed, 1 Nov 2023 19:15:42 +0000 (19:15 +0000)] 
build: bump docker/metadata-action from 4 to 5

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
19 months agobuild: bump cross-platform-actions/action from 0.19.0 to 0.21.0
dependabot[bot] [Wed, 1 Nov 2023 19:15:34 +0000 (19:15 +0000)] 
build: bump cross-platform-actions/action from 0.19.0 to 0.21.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.19.0 to 0.21.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.19.0...v0.21.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
20 months agolib/lldpctl: fix style
Vincent Bernat [Sun, 15 Oct 2023 18:31:27 +0000 (20:31 +0200)] 
lib/lldpctl: fix style

20 months agodaemon/lldp: restore read support for 802.3BT
Vincent Bernat [Sun, 15 Oct 2023 18:28:46 +0000 (20:28 +0200)] 
daemon/lldp: restore read support for 802.3BT

As it was said to work for most people, let's keep it. Just remove write
support for now.

20 months agobuild: update nixpkgs
Vincent Bernat [Sun, 15 Oct 2023 18:19:57 +0000 (20:19 +0200)] 
build: update nixpkgs

20 months agotests/integration: also remove 802.3bt test
Vincent Bernat [Sun, 15 Oct 2023 18:08:23 +0000 (20:08 +0200)] 
tests/integration: also remove 802.3bt test

20 months agolib: bump API/ABI
Vincent Bernat [Sun, 15 Oct 2023 17:58:33 +0000 (19:58 +0200)] 
lib: bump API/ABI

Due to previous change, it seems safer to bump the API/ABI as it would
be easy to reuse the numbers introduced by 802.3bt.

Fix #404 (as a side-effect)

20 months agodaemon/lldp: remove support for 802.3bt
Vincent Bernat [Sun, 15 Oct 2023 17:41:38 +0000 (19:41 +0200)] 
daemon/lldp: remove support for 802.3bt

It was broken and despite a tentative to fix it, it is unknown if this
is correct. This looks different from the code in Wireshark. Maybe it
was done on an earlier version of 802.3bt? As the standard is not freely
available, I cannot reasonably fix it.

20 months agodaemon/protocols: fix some 802.3bt stuff
Vincent Bernat [Sun, 15 Oct 2023 17:40:37 +0000 (19:40 +0200)] 
daemon/protocols: fix some 802.3bt stuff

And add some tests.

20 months agolldpcli: fix capitalization
Vincent Bernat [Sun, 15 Oct 2023 17:38:49 +0000 (19:38 +0200)] 
lldpcli: fix capitalization

20 months agoclient/conf-power: Add support for 803.2bt parameters.
Andreas Hofmann [Tue, 18 May 2021 12:39:49 +0000 (14:39 +0200)] 
client/conf-power: Add support for 803.2bt parameters.

Signed-off-by: Andreas Hofmann <git@andreas-hofmann.org>
20 months agobuild: fix alignment in configure.ac
Vincent Bernat [Mon, 25 Sep 2023 05:15:37 +0000 (07:15 +0200)] 
build: fix alignment in configure.ac

20 months agobuild: bump docker/setup-buildx-action from 2 to 3 (#608)
dependabot[bot] [Mon, 2 Oct 2023 06:28:07 +0000 (06:28 +0000)] 
build: bump docker/setup-buildx-action from 2 to 3 (#608)

20 months agobuild: bump docker/setup-qemu-action from 2 to 3
dependabot[bot] [Sun, 1 Oct 2023 19:58:09 +0000 (19:58 +0000)] 
build: bump docker/setup-qemu-action from 2 to 3

Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
20 months agobuild: bump cachix/install-nix-action from 22 to 23 (#607)
dependabot[bot] [Sun, 1 Oct 2023 21:02:38 +0000 (21:02 +0000)] 
build: bump cachix/install-nix-action from 22 to 23 (#607)

20 months agobuild: bump docker/build-push-action from 4 to 5 (#609)
dependabot[bot] [Sun, 1 Oct 2023 20:29:02 +0000 (20:29 +0000)] 
build: bump docker/build-push-action from 4 to 5 (#609)

20 months agobuild: bump actions/checkout from 3 to 4
dependabot[bot] [Sun, 1 Oct 2023 19:21:06 +0000 (19:21 +0000)] 
build: bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
20 months ago[oss-fuzz] Issue 62435
Arjun Singh [Wed, 20 Sep 2023 11:29:52 +0000 (16:59 +0530)] 
[oss-fuzz] Issue 62435

Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
21 months ago[bug] fix 5193822305648640 and 4673544697806848
Arjun Singh [Mon, 7 Aug 2023 11:31:45 +0000 (17:01 +0530)] 
[bug] fix 5193822305648640 and 4673544697806848

Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
21 months agobuild: bump cross-platform-actions/action from 0.17.0 to 0.19.0
dependabot[bot] [Fri, 1 Sep 2023 19:13:42 +0000 (19:13 +0000)] 
build: bump cross-platform-actions/action from 0.17.0 to 0.19.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.17.0 to 0.19.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.17.0...v0.19.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
22 months agobuild: bump cross-platform-actions/action from 0.15.0 to 0.17.0 (#595)
dependabot[bot] [Tue, 1 Aug 2023 20:38:31 +0000 (20:38 +0000)] 
build: bump cross-platform-actions/action from 0.15.0 to 0.17.0 (#595)

23 months agobuild: try another way to workaround problem with brew
Vincent Bernat [Tue, 4 Jul 2023 19:58:33 +0000 (21:58 +0200)] 
build: try another way to workaround problem with brew

brew update is not mandatory, let's try it as a best effort.

23 months agobuild: try to fix CI on MacOS
Vincent Bernat [Tue, 4 Jul 2023 19:54:29 +0000 (21:54 +0200)] 
build: try to fix CI on MacOS

23 months agogithub: add GitHub sponsorship
Vincent Bernat [Sun, 2 Jul 2023 15:49:27 +0000 (17:49 +0200)] 
github: add GitHub sponsorship

23 months agobuild: bump actions/upload-artifact from 1 to 3
dependabot[bot] [Sat, 1 Jul 2023 19:15:36 +0000 (19:15 +0000)] 
build: bump actions/upload-artifact from 1 to 3

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
23 months agobuild: bump cachix/install-nix-action from 21 to 22
dependabot[bot] [Sat, 1 Jul 2023 19:15:34 +0000 (19:15 +0000)] 
build: bump cachix/install-nix-action from 21 to 22

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
23 months agobuild: bump cross-platform-actions/action from 0.14.0 to 0.15.0
dependabot[bot] [Sat, 1 Jul 2023 19:15:30 +0000 (19:15 +0000)] 
build: bump cross-platform-actions/action from 0.14.0 to 0.15.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
23 months agoclient: do not expose update command when unprivileged
Vincent Bernat [Thu, 29 Jun 2023 17:49:52 +0000 (19:49 +0200)] 
client: do not expose update command when unprivileged

23 months agobuild: rename fuzzing workflow
Vincent Bernat [Sat, 3 Jun 2023 21:07:39 +0000 (23:07 +0200)] 
build: rename fuzzing workflow

2 years agobuild: bump cross-platform-actions/action from 0.13.0 to 0.14.0
dependabot[bot] [Thu, 1 Jun 2023 19:58:25 +0000 (19:58 +0000)] 
build: bump cross-platform-actions/action from 0.13.0 to 0.14.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild: bump cachix/install-nix-action from 20 to 21
dependabot[bot] [Thu, 1 Jun 2023 19:58:20 +0000 (19:58 +0000)] 
build: bump cachix/install-nix-action from 20 to 21

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild: reformat action for fuzzing
Vincent Bernat [Sat, 3 Jun 2023 20:22:38 +0000 (22:22 +0200)] 
build: reformat action for fuzzing

2 years ago[Fuzzing] oss-fuzz cifuzz (#587)
Arjun [Sat, 3 Jun 2023 20:20:54 +0000 (01:50 +0530)] 
[Fuzzing] oss-fuzz cifuzz (#587)

* [Fuzzing] oss-fuzz cifuzz

Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
2 years agodocs: add a NEWS entry about memory leak
Vincent Bernat [Thu, 1 Jun 2023 05:48:49 +0000 (07:48 +0200)] 
docs: add a NEWS entry about memory leak

2 years agodaemon: do not start if fuzzing build mode is enabled
Vincent Bernat [Thu, 1 Jun 2023 05:46:43 +0000 (07:46 +0200)] 
daemon: do not start if fuzzing build mode is enabled

2 years agoMerge pull request #584 from 0x34d/fuzzing
Vincent Bernat [Thu, 1 Jun 2023 05:43:46 +0000 (07:43 +0200)] 
Merge pull request #584 from 0x34d/fuzzing

[Fuzzing] updates for oss-fuzz Ideal integration

2 years ago[Fuzzing] updates for oss-fuzz Ideal integration 584/head
Arjun Singh [Sat, 27 May 2023 15:52:12 +0000 (21:22 +0530)] 
[Fuzzing] updates for oss-fuzz Ideal integration

Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
2 years agoosx: update homebrew recipe
Vincent Bernat [Thu, 18 May 2023 14:32:43 +0000 (16:32 +0200)] 
osx: update homebrew recipe

2 years agoosx: don't use plist_options
Vincent Bernat [Thu, 18 May 2023 14:31:55 +0000 (16:31 +0200)] 
osx: don't use plist_options

2 years agoredhat: do not ship .la file in -devel package
Vincent Bernat [Thu, 18 May 2023 14:29:44 +0000 (16:29 +0200)] 
redhat: do not ship .la file in -devel package

2 years agorelease: 1.0.17 1.0.17
Vincent Bernat [Thu, 18 May 2023 14:11:45 +0000 (16:11 +0200)] 
release: 1.0.17

2 years agobuild: bump cross-platform-actions/action from 0.10.0 to 0.13.0
dependabot[bot] [Mon, 1 May 2023 19:58:53 +0000 (19:58 +0000)] 
build: bump cross-platform-actions/action from 0.10.0 to 0.13.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.10.0 to 0.13.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.10.0...v0.13.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoclient: don't output empty lines on configure commands
Vincent Bernat [Fri, 21 Apr 2023 20:31:26 +0000 (22:31 +0200)] 
client: don't output empty lines on configure commands

2 years agolib: remove unreachable code
Vincent Bernat [Tue, 18 Apr 2023 05:12:27 +0000 (07:12 +0200)] 
lib: remove unreachable code

2 years agodaemon: fix read overflow when parsing CDP addresses
Vincent Bernat [Wed, 12 Apr 2023 05:38:31 +0000 (07:38 +0200)] 
daemon: fix read overflow when parsing CDP addresses

2 years agobuild: bump cachix/install-nix-action from 18 to 20
dependabot[bot] [Wed, 1 Mar 2023 19:59:47 +0000 (19:59 +0000)] 
build: bump cachix/install-nix-action from 18 to 20

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 18 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v18...v20)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agointerfaces: fix use of isdigit()
Vincent Bernat [Sat, 11 Feb 2023 09:59:53 +0000 (10:59 +0100)] 
interfaces: fix use of isdigit()

It is expecting an unsigned char. Make a cast.

2 years agobuild: bump cross-platform-actions/action from 0.7.0 to 0.10.0
dependabot[bot] [Thu, 2 Feb 2023 20:15:24 +0000 (20:15 +0000)] 
build: bump cross-platform-actions/action from 0.7.0 to 0.10.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.7.0 to 0.10.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.7.0...v0.10.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild: bump docker/build-push-action from 3 to 4
dependabot[bot] [Wed, 1 Feb 2023 19:04:06 +0000 (19:04 +0000)] 
build: bump docker/build-push-action from 3 to 4

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild: don't run clang build with SNMP support
Vincent Bernat [Thu, 2 Feb 2023 19:47:23 +0000 (20:47 +0100)] 
build: don't run clang build with SNMP support

The flags from net-snmp-config does not work with clang. This is always
a mess.

2 years agobuild: bump cross-platform-actions/action from 0.6.2 to 0.7.0 (#566)
dependabot[bot] [Sun, 1 Jan 2023 19:27:37 +0000 (19:27 +0000)] 
build: bump cross-platform-actions/action from 0.6.2 to 0.7.0 (#566)

2 years agobuild: fix lldpcli build
Vincent Bernat [Thu, 29 Dec 2022 23:34:16 +0000 (00:34 +0100)] 
build: fix lldpcli build

2 years agobuild: better integration of fuzz-decode in build process
Vincent Bernat [Thu, 29 Dec 2022 22:25:05 +0000 (23:25 +0100)] 
build: better integration of fuzz-decode in build process

I need it to reproduce crashs. Get rid of `build.sh` which does not work
with OOT compilation. Move the needed bits inside README. Simplify some
of the flags used.

2 years agointerfaces: properly initialize ethtool structure
Vincent Bernat [Thu, 29 Dec 2022 21:01:13 +0000 (22:01 +0100)] 
interfaces: properly initialize ethtool structure

2 years agobuild: make all char unsigned
Vincent Bernat [Mon, 12 Dec 2022 13:20:25 +0000 (14:20 +0100)] 
build: make all char unsigned

This is something that may be used by the kernel later. char may be
signed or unsigned depending on the architecture, so catching that may
be difficult without this option.

2 years agotests: mark "too_many_vlans" test as unreliable
Vincent Bernat [Fri, 9 Dec 2022 08:26:48 +0000 (09:26 +0100)] 
tests: mark "too_many_vlans" test as unreliable

2 years agom4/progname.m4: Include <stdio.h> for printf in lldp_CHECK___PROGNAME
Florian Weimer [Thu, 8 Dec 2022 12:01:07 +0000 (13:01 +0100)] 
m4/progname.m4: Include <stdio.h> for printf in lldp_CHECK___PROGNAME

Otherwise the checks always fails with a compiler that does not
support implict function declarations.

2 years agotests: give more time to lldpd when handling many VLANs
Vincent Bernat [Thu, 8 Dec 2022 18:08:18 +0000 (19:08 +0100)] 
tests: give more time to lldpd when handling many VLANs

2 years agotests: use prefixlen instead of mask with pyroute2
Vincent Bernat [Thu, 8 Dec 2022 18:08:04 +0000 (19:08 +0100)] 
tests: use prefixlen instead of mask with pyroute2

2 years agotests: upgrade pytest and others to more recent versions
Vincent Bernat [Thu, 8 Dec 2022 17:37:36 +0000 (18:37 +0100)] 
tests: upgrade pytest and others to more recent versions

2 years agotests: fix warnings about format string
Vincent Bernat [Thu, 8 Dec 2022 17:29:42 +0000 (18:29 +0100)] 
tests: fix warnings about format string

2 years agobuild: switch back to apheleia
Vincent Bernat [Wed, 16 Nov 2022 23:54:10 +0000 (00:54 +0100)] 
build: switch back to apheleia

2 years agoMerge pull request #563 from lldpd/dependabot/github_actions/actions/cache-3
dependabot[bot] [Thu, 1 Dec 2022 19:13:58 +0000 (19:13 +0000)] 
Merge pull request #563 from lldpd/dependabot/github_actions/actions/cache-3

2 years agobuild: bump actions/cache from 2 to 3 563/head
dependabot[bot] [Thu, 1 Dec 2022 19:01:50 +0000 (19:01 +0000)] 
build: bump actions/cache from 2 to 3

Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agosrc/client: add two missing commands to manual page
Vincent Bernat [Sat, 12 Nov 2022 08:10:03 +0000 (09:10 +0100)] 
src/client: add two missing commands to manual page

Fix #480

2 years agobuild: update two additional docker actions
Vincent Bernat [Sat, 12 Nov 2022 07:41:44 +0000 (08:41 +0100)] 
build: update two additional docker actions

2 years agobuild: fix release script to work with OOT build dir
Vincent Bernat [Fri, 11 Nov 2022 16:48:04 +0000 (17:48 +0100)] 
build: fix release script to work with OOT build dir

2 years agoosx: update Homebrew recipe
Vincent Bernat [Fri, 11 Nov 2022 16:43:53 +0000 (17:43 +0100)] 
osx: update Homebrew recipe

2 years agobuild: bump docker/build-push-action from 2 to 3
dependabot[bot] [Fri, 11 Nov 2022 14:24:11 +0000 (14:24 +0000)] 
build: bump docker/build-push-action from 2 to 3

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild: bump docker/login-action from 1 to 2
dependabot[bot] [Fri, 11 Nov 2022 14:24:16 +0000 (14:24 +0000)] 
build: bump docker/login-action from 1 to 2

Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild: bump docker/metadata-action from 3 to 4
dependabot[bot] [Fri, 11 Nov 2022 14:24:18 +0000 (14:24 +0000)] 
build: bump docker/metadata-action from 3 to 4

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3 to 4.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild: bump cachix/install-nix-action from 17 to 18
dependabot[bot] [Fri, 11 Nov 2022 14:24:25 +0000 (14:24 +0000)] 
build: bump cachix/install-nix-action from 17 to 18

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 17 to 18.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v18)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild: bump actions/download-artifact from 2 to 3
dependabot[bot] [Fri, 11 Nov 2022 14:24:27 +0000 (14:24 +0000)] 
build: bump actions/download-artifact from 2 to 3

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agobuild: add dependabot
Vincent Bernat [Fri, 11 Nov 2022 14:18:07 +0000 (15:18 +0100)] 
build: add dependabot

2 years agobuild: update some actions to remove warnings
Vincent Bernat [Fri, 11 Nov 2022 14:17:21 +0000 (15:17 +0100)] 
build: update some actions to remove warnings

2 years agobuild: update set-output method for GitHub action
Vincent Bernat [Fri, 11 Nov 2022 14:13:23 +0000 (15:13 +0100)] 
build: update set-output method for GitHub action

2 years agorelease: 1.0.16 1.0.16
Vincent Bernat [Fri, 11 Nov 2022 13:25:30 +0000 (14:25 +0100)] 
release: 1.0.16

2 years agobuild: add .git-blame-ignore-revs file
Vincent Bernat [Sun, 6 Nov 2022 11:42:31 +0000 (12:42 +0100)] 
build: add .git-blame-ignore-revs file

2 years agobuild: reformat code
Vincent Bernat [Sun, 6 Nov 2022 11:39:50 +0000 (12:39 +0100)] 
build: reformat code

2 years agoci: enforce a format style with clang-format and black
Vincent Bernat [Sun, 6 Nov 2022 08:52:00 +0000 (09:52 +0100)] 
ci: enforce a format style with clang-format and black

On PR, we could use git-clang-format instead.

2 years agoci: add an Emacs script to format C files
Vincent Bernat [Sat, 5 Nov 2022 23:40:51 +0000 (00:40 +0100)] 
ci: add an Emacs script to format C files

    git ls-files '*.c' '*.h' \
        | grep -v '^include/' \
        | xargs emacs -Q --batch -l tests/ci/openbsd-knf-style.el

2 years agobuild: move again stuff using libfuzzer
Vincent Bernat [Sat, 5 Nov 2022 19:18:27 +0000 (20:18 +0100)] 
build: move again stuff using libfuzzer

And fix documentation.

2 years agobuild: fix fuzz-decode automake
Vincent Bernat [Fri, 4 Nov 2022 20:26:49 +0000 (21:26 +0100)] 
build: fix fuzz-decode automake

2 years agooss-fuzz and fuzzer files #551
0x34d [Sun, 9 Oct 2022 11:37:02 +0000 (17:07 +0530)] 
oss-fuzz and fuzzer files #551

Signed-off-by: 0x34d <ajsinghyadav00@gmail.com>
2 years agoci: update cross-platform-actions to 0.6.2
Vincent Bernat [Thu, 27 Oct 2022 21:40:01 +0000 (23:40 +0200)] 
ci: update cross-platform-actions to 0.6.2

To get OpenBSD 7.1.

2 years agoci: do not try to compile SNMP on MacOS
Vincent Bernat [Thu, 27 Oct 2022 21:36:50 +0000 (23:36 +0200)] 
ci: do not try to compile SNMP on MacOS

Broken, I don't think anybody is really using it. For some reason, the
Homebrew version does not take over.

2 years agoci: test with OpenBSD 7.1
Vincent Bernat [Thu, 27 Oct 2022 21:11:30 +0000 (23:11 +0200)] 
ci: test with OpenBSD 7.1

Latest is 7.2, but it's good to build with the version before. 6.9 not
available anymore.