Thu May 9 01:39:43 2013 UTC ()
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.


(mef)
diff -r0 -r1.1 pkgsrc/net/lldpd/DESCR
diff -r0 -r1.1 pkgsrc/net/lldpd/Makefile
diff -r0 -r1.1 pkgsrc/net/lldpd/PLIST
diff -r0 -r1.1 pkgsrc/net/lldpd/distinfo
diff -r0 -r1.1 pkgsrc/net/lldpd/files/lldpd.sh

File Added: pkgsrc/net/lldpd/DESCR
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.

File Added: pkgsrc/net/lldpd/Makefile
# $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"

File Added: pkgsrc/net/lldpd/PLIST
@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

File Added: pkgsrc/net/lldpd/distinfo
$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

File Added: pkgsrc/net/lldpd/files/lldpd.sh
#!@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"