path: root/package/lldpd
Commit message (Collapse)AuthorAgeFilesLines
* lldpd: remove check on CXX compilerGravatar Damien Riegel2017-12-192-1/+36
| | | | | | | | | | | | | | | | | | | | lldpd currently depends on a C++ compiler to configure properly, but the package doesn't select that option, so builds fail if BR2_TOOLCHAIN_BUILDROOT_CXX is not selected with following errors: checking how to run the C++ preprocessor... /lib/cpp configure: error: in `/home/dkc/src/buildroot/build-zii/build/lldpd-0.9.4': configure: error: C++ preprocessor "/lib/cpp" fails sanity check This package actually builds fine without C++, so drop this check in configure.ac. Attached patch has already been accepted upstream [1]. [1] https://github.com/vincentbernat/lldpd/pull/261 [Peter: adjust autoreconf comment] Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com> Reviewed-by: Julien Floret <julien.floret@6wind.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/lldpd: disable use of libbsdGravatar Yann E. MORIN2016-08-242-1/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | libbsd installs at least one .pc file that contains a -isystem include path (-isystem /usr.include/bsd), but -isystem is not munged by pkg-config, so we end up using /usr/include/bsd which is not suitable for the target. And breaks big time (see failures, below). But using libbsd is completely optional. In fact, our lldpd.mk did not even express the dependency on libbsd, so we may well have had builds without libbsd. The functionality brought in by using libbsd is very minor (just setting the neighbour name in /proc/self/cmdline), so we just make lldpd not use libbsd at all. There is no --disable-libbsd or such, so we just patch it out of configure.ac. Fixes: http://autobuild.buildroot.org/results/6b7/6b70fa379e834ec71cc260ba6af771b531ca3511/ http://autobuild.buildroot.org/results/769/769074c4bb67336ae6679f2c1cd2a8220d2bec24/ http://autobuild.buildroot.org/results/c8a/c8a6001f437701ecc75f6c9252935645bda8a8c8/ [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/lldpd: explicit optional dependenciesGravatar Yann E. MORIN2016-08-181-0/+8
| | | | | | | | | | check and valgrind are optional depenencies of lldpd, so we must depend on them when either is enabled. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lldpd: bump version to 0.9.4Gravatar Vivien Didelot2016-08-023-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | With this new version, the generation of atom-glue fails with the following error: Making all in src/lib make[3]: Entering directory '/mnt/data/src/sfl/zodiac/buildroot/output/build/lldpd-0.9.4/src/lib' GEN atom-glue.c arm-buildroot-linux-uclibcgnueabi-cpp.br_real: fatal error: too many input files compilation terminated. arm-buildroot-linux-uclibcgnueabi-cpp.br_real: fatal error: too many input files compilation terminated. make[3]: *** [Makefile:899: atom-glue.c] Error 1 There is an upstream patch pushed after 0.9.4 which fixes the corresponding Makefile.am, included in this commit. Note that since the provided tarball ships the related Makefile.in file, we need to tell Buildroot to autoreconfigure the package. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> [Thomas: add comment about AUTORECONF=YES in .mk file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lldpd: add sysv init scriptGravatar Vivien Didelot2016-08-022-0/+30
| | | | | | | | Add a simple sysv init script to start the lldpd daemon at boot. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> [Thomas: cosmetic improvements.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lldpd: new packageGravatar Julien Floret2016-01-203-0/+113
lldpd is a 802.1ab implementation (LLDP) to help you locate neighbors of all your equipments. LLDP is an industry standard protocol designed to supplant proprietary Link-Layer protocols such as EDP or CDP. The goal of LLDP is to provide an inter-vendor compatible mechanism to deliver Link-Layer notifications to adjacent network devices. https://vincentbernat.github.io/lldpd/ [Thomas: - add depends on BR2_USE_MMU, since fork() is used - rewrap Config.in help text] Signed-off-by: Julien Floret <julien.floret@6wind.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>