summaryrefslogtreecommitdiff
path: root/net/lldpd
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2014-12-13 14:14:49 +0000
committermef <mef@pkgsrc.org>2014-12-13 14:14:49 +0000
commitea041abaa875155f663cd7660487bd7f634d7659 (patch)
treed50086aca4bbd48b1d6e9c60be0b4fe46c2bca17 /net/lldpd
parent7d989c89a0c90b5e045a246edc82b92cafe001d6 (diff)
downloadpkgsrc-ea041abaa875155f663cd7660487bd7f634d7659.tar.gz
(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 (limited to 'net/lldpd')
-rw-r--r--net/lldpd/Makefile15
-rw-r--r--net/lldpd/PLIST5
-rw-r--r--net/lldpd/distinfo8
3 files changed, 21 insertions, 7 deletions
diff --git a/net/lldpd/Makefile b/net/lldpd/Makefile
index 30d6d9f99c3..da6468677c2 100644
--- a/net/lldpd/Makefile
+++ b/net/lldpd/Makefile
@@ -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+= --with-privsep-chroot=${PKG_HOME._lldpd}
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 @@ OWN_DIRS= ${VARBASE}/chroot/lldpd
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 --git a/net/lldpd/PLIST b/net/lldpd/PLIST
index 1e3a7aa3537..7e3140a0335 100644
--- a/net/lldpd/PLIST
+++ b/net/lldpd/PLIST
@@ -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/CONTRIBUTE.md
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 --git a/net/lldpd/distinfo b/net/lldpd/distinfo
index 649270c5e87..e41af6188f5 100644
--- a/net/lldpd/distinfo
+++ b/net/lldpd/distinfo
@@ -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