Hi,

currently lldpd ships lldpctl as a symlink to lldpcli, which is not installed.
This patch fixes this. This in turn triggers dependency warnings, which also
get fixed up.
While we're at it, I also bump the version to the latest release, which contains
several bugfixes.

Regards,
 M. Braun

diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile
index 024116c..d8252c4 100644
--- a/package/network/services/lldpd/Makefile
+++ b/package/network/services/lldpd/Makefile
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lldpd
-PKG_VERSION:=0.7.1
+PKG_VERSION:=0.7.3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://media.luffy.cx/files/lldpd
-PKG_MD5SUM:=cee0e2ae7d4b8bf25ae234d9536052b8
+PKG_MD5SUM:=dcf567779c1b31e8b88e52848160c440
 
 PKG_MAINTAINER:=Jo-Philipp Wich <j...@openwrt.org>
 
@@ -30,7 +30,7 @@ define Package/lldpd
   SUBMENU:=Routing and Redirection
   TITLE:=Link Layer Discovery Protocol daemon
   URL:=https://github.com/vincentbernat/lldpd/wiki
-  DEPENDS:=+libevent2
+  DEPENDS:=+libevent2 +libncurses +libreadline
 endef
 
 define Package/lldpd/description
@@ -46,7 +46,7 @@ define Package/lldpd/install
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_DIR) $(1)/etc/config
        $(INSTALL_DIR) $(1)/usr/lib $(1)/usr/sbin
-       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/lldp{ctl,d} $(1)/usr/sbin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/lldp{ctl,d,cli} $(1)/usr/sbin/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblldpctl.so* $(1)/usr/lib/
        $(INSTALL_BIN) ./files/lldpd.init $(1)/etc/init.d/lldpd
        $(INSTALL_DATA) ./files/lldpd.config $(1)/etc/config/lldpd

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to