pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/lldpd (pkgsrc)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/78d729db81a5
branches:  trunk
changeset: 643283:78d729db81a5
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Dec 13 14:14:49 2014 +0000

description:
(pkgsrc)
 - Add two files as CONF_FILES:
   etc/lldpd.d/README.conf
   etc/bash_completion.d/lldpcli.bash-completion

(upstream)
 - Update 0.7.10 to 0.7.12
lldpd (0.7.12)
  * Features:
    + Interface pattern, management pattern, system description,
      system platform and system hostname can be unconfigured to their
      default values.
  * Fix:
    + Don't complain when parsing a commented line.
    + Correctly persist configuration changes for "system interface
      promiscuous", "system interface description" "med fast-start
      enable", "pause" and "resume".
    + Fix listening on bond devices for old kernels (< 2.6.27).

lldpd (0.7.11)
  * Features:
    + Ship bash and zsh completion.
    + Abort when some command-line options are repeated.
  * Fix:
    + Handle correctly read failures in liblldpctl.

diffstat:

 net/lldpd/Makefile |  15 +++++++++++++--
 net/lldpd/PLIST    |   5 ++++-
 net/lldpd/distinfo |   8 ++++----
 3 files changed, 21 insertions(+), 7 deletions(-)

diffs (69 lines):

diff -r 31458d3c5bfa -r 78d729db81a5 net/lldpd/Makefile
--- a/net/lldpd/Makefile        Sat Dec 13 11:16:26 2014 +0000
+++ b/net/lldpd/Makefile        Sat Dec 13 14:14:49 2014 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2014/10/09 14:06:45 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2014/12/13 14:14:49 mef Exp $
 
-DISTNAME=              lldpd-0.7.10
+DISTNAME=              lldpd-0.7.12
 CATEGORIES=            net
 MASTER_SITES=          http://media.luffy.cx/files/lldpd/
 
@@ -24,6 +24,11 @@
 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
+
 #  CCLD     lldpd
 #  ld: cannot find -lperl
 LDFLAGS+=              -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE
@@ -37,9 +42,15 @@
 AUTO_MKDIRS=           yes
 
 INSTALLATION_DIRS+=    sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
+INSTALLATION_DIRS+=    share/${PKGBASE}/conf
 
 .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
+
 BUILDLINK_API_DEPENDS.libevent+=       libevent>=2.0.5
 .include "../../devel/libevent/buildlink3.mk"
 .include "../../mk/readline.buildlink3.mk"
diff -r 31458d3c5bfa -r 78d729db81a5 net/lldpd/PLIST
--- a/net/lldpd/PLIST   Sat Dec 13 11:16:26 2014 +0000
+++ b/net/lldpd/PLIST   Sat Dec 13 14:14:49 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2014/06/13 03:06:09 mef Exp $
+@comment $NetBSD: PLIST,v 1.5 2014/12/13 14:14:49 mef Exp $
 include/lldp-const.h
 include/lldpctl.h
 lib/liblldpctl.la
@@ -13,3 +13,6 @@
 share/doc/lldpd/ChangeLog
 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
diff -r 31458d3c5bfa -r 78d729db81a5 net/lldpd/distinfo
--- a/net/lldpd/distinfo        Sat Dec 13 11:16:26 2014 +0000
+++ b/net/lldpd/distinfo        Sat Dec 13 14:14:49 2014 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2014/10/07 14:35:16 mef Exp $
+$NetBSD: distinfo,v 1.8 2014/12/13 14:14:49 mef Exp $
 
-SHA1 (lldpd-0.7.10.tar.gz) = d0593dd989d619c9249258fe0c409c6f6cd3f061
-RMD160 (lldpd-0.7.10.tar.gz) = e65fbcaf70d3c5f1ddf7be1ef621208bebb8fb47
-Size (lldpd-0.7.10.tar.gz) = 1504912 bytes
+SHA1 (lldpd-0.7.12.tar.gz) = 2d602aaaad01d1f76f8e1c87e48dca1c6725ba78
+RMD160 (lldpd-0.7.12.tar.gz) = 1a0ae7752b937bcfedb62ded6a8a89a88cea8ec5
+Size (lldpd-0.7.12.tar.gz) = 1521773 bytes



Home | Main Index | Thread Index | Old Index