pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Patch to update lldpd to 1.0.1
This patch actually makes lldpd function on NetBSD as this version
includes an upstream fix that stops the daemon hanging at boot.
Output from the system where I tested it against a Netgear managed switch:
#lldpcli show neighbors details
-------------------------------------------------------------------------------
LLDP neighbors:
-------------------------------------------------------------------------------
Interface: wm0, via: LLDP, RID: 1, Time: 0 day, 00:07:48
Chassis:
ChassisID: mac 10:da:43:20:3b:25
MgmtIP: 192.168.1.254
Port:
PortID: local g8
TTL: 120
#
I'll raise a PR with the patch if that makes it easier to get integrated.
I'm also planing on bringing jansson up to date (its a dependency of
lldpd) which should get rid of the security warning against the current
2.7 version.
Mike
Index: net/lldpd/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/lldpd/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- net/lldpd/Makefile 2 Feb 2018 13:55:04 -0000 1.19
+++ net/lldpd/Makefile 3 Aug 2018 20:08:14 -0000
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.19 2018/02/02 13:55:04 jperkin Exp $
-DISTNAME= lldpd-0.7.15
-PKGREVISION= 4
+DISTNAME= lldpd-1.0.1
CATEGORIES= net
MASTER_SITES= http://media.luffy.cx/files/lldpd/
@@ -28,8 +27,6 @@
BUILD_DEFS+= VARBASE
CONF_FILES= ${EXAMPLE_DIR}/README.conf etc/lldpd.d/README.conf
-CONF_FILES+= ${EXAMPLE_DIR}/lldpcli.bash-completion \
- etc/bash_completion.d/lldpcli.bash-completion
EXAMPLE_DIR= ${PREFIX}/share/${PKGBASE}/conf
# CCLD lldpd
@@ -51,9 +48,7 @@
.include "options.mk"
post-install:
-.for i in etc/lldpd.d/README.conf etc/bash_completion.d/lldpcli.bash-completion
- ${MV} ${DESTDIR}${PREFIX}/${i} ${DESTDIR}${EXAMPLE_DIR}
-.endfor
+ ${MV} ${DESTDIR}${PREFIX}/etc/lldpd.d/README.conf ${DESTDIR}${EXAMPLE_DIR}
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.5
.include "../../devel/libevent/buildlink3.mk"
Index: net/lldpd/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/net/lldpd/PLIST,v
retrieving revision 1.5
diff -u -r1.5 PLIST
--- net/lldpd/PLIST 13 Dec 2014 14:14:49 -0000 1.5
+++ net/lldpd/PLIST 3 Aug 2018 20:08:14 -0000
@@ -12,7 +12,8 @@
share/doc/lldpd/CONTRIBUTE.md
share/doc/lldpd/ChangeLog
share/doc/lldpd/NEWS
+share/doc/lldpd/LICENSE
share/doc/lldpd/README.md
share/lldpd/conf/README.conf
-share/lldpd/conf/lldpcli.bash-completion
-share/zsh/vendor-completions/_lldpcli
+share/bash-completion/completions/lldpcli
+share/zsh/site-functions/_lldpcli
Index: net/lldpd/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/lldpd/distinfo,v
retrieving revision 1.12
diff -u -r1.12 distinfo
--- net/lldpd/distinfo 4 Nov 2015 00:35:10 -0000 1.12
+++ net/lldpd/distinfo 3 Aug 2018 20:08:14 -0000
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.12 2015/11/04 00:35:10 agc Exp $
-SHA1 (lldpd-0.7.15.tar.gz) = 59044b44e449610b150fe5f82688e3685fe06b58
-RMD160 (lldpd-0.7.15.tar.gz) = 8a099b3da799e3b4d06c2bea032dc974bf417400
-SHA512 (lldpd-0.7.15.tar.gz) = cd1a897c364aed953ed737827018accfb7d6cfba32606e3843d52a81a85694fa947cbe5385b5c703ba6a80edc620a402d419ecba196bbae24beef28b2c943016
-Size (lldpd-0.7.15.tar.gz) = 1529127 bytes
+SHA1 (lldpd-1.0.1.tar.gz) = ffae3bd667f7edae300b0c63a5f0103eb8c1118f
+RMD160 (lldpd-1.0.1.tar.gz) = df4ad2ff8badda0cfef602090be5d2e1a80453b4
+SHA512 (lldpd-1.0.1.tar.gz) = 61b2a7a3a78276c613c6d0b34eb625e69e5c8a206b6658a167d6a09ac6d0e1c943e46c0ff6fc3538a791d9947f193185b65848da581b3d6ecb9bc0befadde8dd
+Size (lldpd-1.0.1.tar.gz) = 1590903 bytes
Home |
Main Index |
Thread Index |
Old Index