summaryrefslogtreecommitdiff
path: root/net/lldpd
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2018-08-08 14:10:16 +0000
committerprlw1 <prlw1@pkgsrc.org>2018-08-08 14:10:16 +0000
commit6f5bd93a991460073a97a861f5fe9c457042fc51 (patch)
tree38bac658bde76733e1417877ab43f68771bc61b5 /net/lldpd
parent87395fa501bf81f2587f0dc30eed9b033e9df514 (diff)
downloadpkgsrc-6f5bd93a991460073a97a861f5fe9c457042fc51.tar.gz
Update lldpd to 1.0.1
From Mike Pumford on pkgsrc-users@ Three years of changes including + lldpcli can now display local interfaces with LLDP data sent on each of them ("show interfaces"). + Attach remote TTL to port instead of chassis. + Maximum number of neighbors for an interface is increased from 4 to 32. + Fix 100% CPU on some rare error condition. + Ability to change multicast MAC address to two additional values to reach customer bridges. + Ensure large netlink messages can be received. + Update LLDP-MED policy L2 priority values to match 802.1Q-2005. This may be a breaking change.
Diffstat (limited to 'net/lldpd')
-rw-r--r--net/lldpd/Makefile17
-rw-r--r--net/lldpd/PLIST9
-rw-r--r--net/lldpd/distinfo10
3 files changed, 16 insertions, 20 deletions
diff --git a/net/lldpd/Makefile b/net/lldpd/Makefile
index 888823804a5..10e5ee9a30f 100644
--- a/net/lldpd/Makefile
+++ b/net/lldpd/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2018/02/02 13:55:04 jperkin Exp $
+# $NetBSD: Makefile,v 1.20 2018/08/08 14:10:16 prlw1 Exp $
-DISTNAME= lldpd-0.7.15
-PKGREVISION= 4
+DISTNAME= lldpd-1.0.1
CATEGORIES= net
MASTER_SITES= http://media.luffy.cx/files/lldpd/
@@ -27,10 +26,8 @@ CONFIGURE_ARGS+= --disable-hardening
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
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
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+CONF_FILES= ${EGDIR}/README.conf ${PKG_SYSCONFDIR}/lldpd.d/README.conf
# CCLD lldpd
# ld: cannot find -lperl
@@ -46,14 +43,12 @@ AUTO_MKDIRS= yes
TEST_TARGET= check
INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
-INSTALLATION_DIRS+= share/${PKGBASE}/conf
+INSTALLATION_DIRS+= ${EGDIR}
.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}${EGDIR}
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.5
.include "../../devel/libevent/buildlink3.mk"
diff --git a/net/lldpd/PLIST b/net/lldpd/PLIST
index 7e3140a0335..c640c7ba1ce 100644
--- a/net/lldpd/PLIST
+++ b/net/lldpd/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2014/12/13 14:14:49 mef Exp $
+@comment $NetBSD: PLIST,v 1.6 2018/08/08 14:10:16 prlw1 Exp $
include/lldp-const.h
include/lldpctl.h
lib/liblldpctl.la
@@ -9,10 +9,11 @@ man/man8/lldpd.8
sbin/lldpcli
sbin/lldpctl
sbin/lldpd
+share/bash-completion/completions/lldpcli
share/doc/lldpd/CONTRIBUTE.md
share/doc/lldpd/ChangeLog
+share/doc/lldpd/LICENSE
share/doc/lldpd/NEWS
share/doc/lldpd/README.md
-share/lldpd/conf/README.conf
-share/lldpd/conf/lldpcli.bash-completion
-share/zsh/vendor-completions/_lldpcli
+share/examples/lldpd/README.conf
+share/zsh/site-functions/_lldpcli
diff --git a/net/lldpd/distinfo b/net/lldpd/distinfo
index b7812c09404..70965b7b8c7 100644
--- a/net/lldpd/distinfo
+++ b/net/lldpd/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2015/11/04 00:35:10 agc Exp $
+$NetBSD: distinfo,v 1.13 2018/08/08 14:10:16 prlw1 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