diff options
author | mef <mef@pkgsrc.org> | 2013-05-09 01:39:42 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2013-05-09 01:39:42 +0000 |
commit | 5a1b5bb5598570753b86c7d7d2b0802ef9e01991 (patch) | |
tree | 99c99dda6dd71b8eab7e8a2be46742f49384b804 /net/lldpd | |
parent | c654bb9fcf59e6aeaac332e2bff5cea1c453b384 (diff) | |
download | pkgsrc-5a1b5bb5598570753b86c7d7d2b0802ef9e01991.tar.gz |
New package lldpd-0.7.2 proposed by yamt@ as PR pkg/47560
LLDP allows you to know exactly on which port is a server
(and reciprocally).
LLDP is an industry standard protocol designed to supplant proprietary
Link-Layer protocols such as EDP or CDP. The goal of LLDP is to provide
an inter-vendor compatible mechanism to deliver Link-Layer notifications
to adjacent network devices.
lldpd is an ISC-licensed implementation of LLDP for various Unixes.
It also supports some proprietary protocols.
Diffstat (limited to 'net/lldpd')
-rw-r--r-- | net/lldpd/DESCR | 10 | ||||
-rw-r--r-- | net/lldpd/Makefile | 33 | ||||
-rw-r--r-- | net/lldpd/PLIST | 15 | ||||
-rw-r--r-- | net/lldpd/distinfo | 5 | ||||
-rw-r--r-- | net/lldpd/files/lldpd.sh | 18 |
5 files changed, 81 insertions, 0 deletions
diff --git a/net/lldpd/DESCR b/net/lldpd/DESCR new file mode 100644 index 00000000000..78f927bca07 --- /dev/null +++ b/net/lldpd/DESCR @@ -0,0 +1,10 @@ +LLDP allows you to know exactly on which port is a server +(and reciprocally). + +LLDP is an industry standard protocol designed to supplant proprietary +Link-Layer protocols such as EDP or CDP. The goal of LLDP is to provide +an inter-vendor compatible mechanism to deliver Link-Layer notifications +to adjacent network devices. + +lldpd is an ISC-licensed implementation of LLDP for various Unixes. +It also supports some proprietary protocols. diff --git a/net/lldpd/Makefile b/net/lldpd/Makefile new file mode 100644 index 00000000000..947086b6736 --- /dev/null +++ b/net/lldpd/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1 2013/05/09 01:39:42 mef Exp $ + +DISTNAME= lldpd-0.7.2 +CATEGORIES= net +MASTER_SITES= http://media.luffy.cx/files/lldpd/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://vincentbernat.github.com/lldpd/ +COMMENT= 802.1ab (LLDP) implementation +LICENSE= isc +# `lldpcli` will be linked to GNU Readline (which is GPL licensed) +# if available. To avoid this, use `--without-readline` as a configure +# option. + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-privsep-chroot=${PKG_HOME._lldpd} + +RCD_SCRIPTS= lldpd +PKG_GROUPS= _lldpd +PKG_USERS= _lldpd:_lldpd +PKG_HOME._lldpd= ${VARBASE}/chroot/lldpd + +OWN_DIRS= ${VARBASE}/chroot/lldpd +AUTO_MKDIRS= yes + +INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 + +.include "../../devel/libevent/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/lldpd/PLIST b/net/lldpd/PLIST new file mode 100644 index 00000000000..1fb1175881c --- /dev/null +++ b/net/lldpd/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1 2013/05/09 01:39:42 mef Exp $ +include/lldp-const.h +include/lldpctl.h +lib/liblldpctl.la +lib/pkgconfig/lldpctl.pc +man/man8/lldpcli.8 +man/man8/lldpctl.8 +man/man8/lldpd.8 +sbin/lldpcli +sbin/lldpctl +sbin/lldpd +share/doc/lldpd/ChangeLog +share/doc/lldpd/NEWS +share/doc/lldpd/README.md +share/examples/rc.d/lldpd diff --git a/net/lldpd/distinfo b/net/lldpd/distinfo new file mode 100644 index 00000000000..b50a0bcee6a --- /dev/null +++ b/net/lldpd/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/05/09 01:39:42 mef Exp $ + +SHA1 (lldpd-0.7.2.tar.gz) = 2c2f9e41ec7accd78a48cd80361cebb3e24ce261 +RMD160 (lldpd-0.7.2.tar.gz) = ec018def05aed186b3e60cbfda67f9bc52750475 +Size (lldpd-0.7.2.tar.gz) = 1415698 bytes diff --git a/net/lldpd/files/lldpd.sh b/net/lldpd/files/lldpd.sh new file mode 100644 index 00000000000..33867f60419 --- /dev/null +++ b/net/lldpd/files/lldpd.sh @@ -0,0 +1,18 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: lldpd.sh,v 1.1 2013/05/09 01:39:43 mef Exp $ +# + +# PROVIDE: lldpd +# REQUIRE: DAEMON +# BEFORE: LOGIN + +. /etc/rc.subr + +name="lldpd" +rcvar="lldpd" +command="@PREFIX@/sbin/${name}" +#required_files="@PKG_SYSCONFDIR@/lldpd.conf" + +load_rc_config $name +run_rc_command "$1" |