summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/openlldp/openlldp_1.1.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-protocols/openlldp/openlldp_1.1.1.bb')
-rw-r--r--meta-networking/recipes-protocols/openlldp/openlldp_1.1.1.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/openlldp/openlldp_1.1.1.bb b/meta-networking/recipes-protocols/openlldp/openlldp_1.1.1.bb
new file mode 100644
index 0000000000..010cd5af84
--- /dev/null
+++ b/meta-networking/recipes-protocols/openlldp/openlldp_1.1.1.bb
@@ -0,0 +1,32 @@
1SUMMARY = "Open-LLDP"
2DESCRIPTION = "Link Layer Discovery Protocol for Linux that includes support for DCBX"
3HOMEPAGE = "http://open-lldp.org/start"
4
5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=8c2bc283e65df398ced5f5b747e78162"
7
8S = "${WORKDIR}/git"
9
10inherit pkgconfig autotools
11inherit ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}
12
13DEPENDS = "libnl libconfig readline"
14
15SRCREV = "f1dd9eb961fab06723d2bedb2f7e2b81e45ee9ab"
16PV .= "+git"
17SRC_URI = "git://github.com/intel/openlldp.git;protocol=https;branch=branch-1.1 \
18 file://0001-Fix-musl-libc-build-issue.patch \
19 file://0001-autotools-Add-include-path-to-generated-version.h.patch \
20 file://0001-autotools-Add-option-to-disable-installation-of-syst.patch \
21 file://0004-clif-Include-string.h-for-mem-function-prototypes.patch \
22 "
23
24# Enable install of systemd conf files.
25EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_system_unitdir}', '', d)}"
26
27SYSTEMD_SERVICE:${PN} = "lldpad.service lldpad.socket"
28
29# To enable service at boot set to enable in local.conf.
30SYSTEMD_AUTO_ENABLE ?= "disable"
31
32RRECOMMENDS:${PN} = "iproute2-tc"