pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/lldpd Update lldpd to 1.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a2b83fe4e175
branches:  trunk
changeset: 383704:a2b83fe4e175
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Wed Aug 08 14:10:16 2018 +0000

description:
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:

 net/lldpd/Makefile |  17 ++++++-----------
 net/lldpd/PLIST    |   9 +++++----
 net/lldpd/distinfo |  10 +++++-----
 3 files changed, 16 insertions(+), 20 deletions(-)

diffs (82 lines):

diff -r ea8c13c76bc3 -r a2b83fe4e175 net/lldpd/Makefile
--- a/net/lldpd/Makefile        Wed Aug 08 14:09:21 2018 +0000
+++ b/net/lldpd/Makefile        Wed Aug 08 14:10:16 2018 +0000
@@ -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+=       --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 @@
 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 -r ea8c13c76bc3 -r a2b83fe4e175 net/lldpd/PLIST
--- a/net/lldpd/PLIST   Wed Aug 08 14:09:21 2018 +0000
+++ b/net/lldpd/PLIST   Wed Aug 08 14:10:16 2018 +0000
@@ -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 @@
 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 -r ea8c13c76bc3 -r a2b83fe4e175 net/lldpd/distinfo
--- a/net/lldpd/distinfo        Wed Aug 08 14:09:21 2018 +0000
+++ b/net/lldpd/distinfo        Wed Aug 08 14:10:16 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index