diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2021-03-12 01:10:07 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2021-04-05 18:20:48 +0300 |
commit | c935c6ffb6ccf435fda543dd4ba91b7981f0285b (patch) | |
tree | 50f53323ab358639045177f8fd9237ac02209e95 /package/network/services/lldpd/Makefile | |
parent | 0f7f4de6ba9ae4d97c03f36b37ba37251b32dc3e (diff) | |
download | upstream-c935c6ffb6ccf435fda543dd4ba91b7981f0285b.tar.gz upstream-c935c6ffb6ccf435fda543dd4ba91b7981f0285b.tar.bz2 upstream-c935c6ffb6ccf435fda543dd4ba91b7981f0285b.zip |
lldpd: add libcap dependency
Now that libcap is in OpenWrt base, we can drop our custom patch to
disable libcap support and have lldpd depend on it instead. This will
allow the monitor process to drop its privileges instead of running as
root, improving security.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'package/network/services/lldpd/Makefile')
-rw-r--r-- | package/network/services/lldpd/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index 74d6791091..1329abe874 100644 --- a/package/network/services/lldpd/Makefile +++ b/package/network/services/lldpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lldpd PKG_VERSION:=1.0.7 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://media.luffy.cx/files/lldpd @@ -30,7 +30,7 @@ define Package/lldpd SUBMENU:=Routing and Redirection TITLE:=Link Layer Discovery Protocol daemon URL:=https://vincentbernat.github.io/lldpd/ - DEPENDS:=+libevent2 +USE_GLIBC:libbsd +LLDPD_WITH_JSON:libjson-c +LLDPD_WITH_SNMP:libnetsnmp + DEPENDS:=+libcap +libevent2 +USE_GLIBC:libbsd +LLDPD_WITH_JSON:libjson-c +LLDPD_WITH_SNMP:libnetsnmp USERID:=lldp=121:lldp=129 MENU:=1 endef |