Sync to pkgsrc proper. (options.mk) Add # $NetBSD$

This commit is contained in:
Makoto Fujiwara 2013-11-27 01:02:50 +00:00 committed by Thomas Klausner
parent b919fe18e9
commit dc5ffa4105
5 changed files with 42 additions and 41 deletions

View file

@ -1,5 +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. 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.
It also supports some proprietary protocols.

View file

@ -1,42 +1,35 @@
# $NetBSD: Makefile,v 1.4 2013/05/01 17:24:19 bbartlomiej Exp $
#
# $NetBSD: Makefile,v 1.5 2013/11/27 01:02:51 makoto Exp $
DISTNAME= lldpd-0.7.2
PKGREVISION=2
CATEGORIES= net
MASTER_SITES= http://media.luffy.cx/files/lldpd/
DISTNAME= lldpd-0.7.6
CATEGORIES= net
MASTER_SITES= http://media.luffy.cx/files/lldpd/
MAINTAINER= bbartlomiej@gmail.com
HOMEPAGE= http://http://vincentbernat.github.io/lldpd/
COMMENT= ISC-licensed implementation of LLDP for various Unixes
LICENSE= isc
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.
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES+= c c++
USE_GNU_READLINE= yes
PKG_INSTALLATION_TYPES= overwrite pkgviews
CONFIGURE_ARGS+= --with-privsep-chroot=/nonexistent
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-privsep-chroot=${PKG_HOME._lldpd}
BUILD_DEFS+= VARBASE
LLDPD_USER?= _lldpd
LLDPD_GROUP?= _lldpd
PKG_GROUPS= ${LLDPD_GROUP}
PKG_USERS= ${LLDPD_USER}:${LLDPD_GROUP}
PKG_HOME.${LLDPD_USER}= /nonexistent
PKG_GROUPS_VARS= LLDPD_GROUP
PKG_USERS_VARS= LLDPD_USER
RCD_SCRIPTS= lldpd
PKG_GROUPS= _lldpd
PKG_USERS= _lldpd:_lldpd
PKG_HOME._lldpd= ${VARBASE}/chroot/lldpd
PKGCONFIG_OVERRIDE+= libevent/libevent.pc.in
PKGCONFIG_OVERRIDE+= libevent/libevent_openssl.pc.in
PKGCONFIG_OVERRIDE+= libevent/libevent_pthreads.pc.in
PKGCONFIG_OVERRIDE+= src/lib/lldpctl.pc.in
OWN_DIRS= ${VARBASE}/chroot/lldpd
AUTO_MKDIRS= yes
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.5
INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
.include "options.mk"
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.5
.include "../../devel/libevent/buildlink3.mk"
.include "../../devel/check/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2013/04/29 22:32:12 bbartlomiej Exp $
@comment $NetBSD: PLIST,v 1.2 2013/11/27 01:02:51 makoto Exp $
include/lldp-const.h
include/lldpctl.h
lib/liblldpctl.la
@ -9,6 +9,8 @@ man/man8/lldpd.8
sbin/lldpcli
sbin/lldpctl
sbin/lldpd
share/doc/lldpd/CONTRIBUTE.md
share/doc/lldpd/ChangeLog
share/doc/lldpd/NEWS
share/doc/lldpd/README.md
share/examples/rc.d/lldpd

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1 2013/04/29 22:32:12 bbartlomiej Exp $
$NetBSD: distinfo,v 1.2 2013/11/27 01:02:51 makoto 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
SHA1 (lldpd-0.7.6.tar.gz) = be3d3937b22d14259553f637694f744ed3b8ba79
RMD160 (lldpd-0.7.6.tar.gz) = 659f2a788a6f62b8df559ab3736a43619fe447ea
Size (lldpd-0.7.6.tar.gz) = 1459094 bytes

View file

@ -1,3 +1,4 @@
# $NetBSD: options.mk,v 1.2 2013/11/27 01:02:51 makoto Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.lldpd
PKG_SUPPORTED_OPTIONS= snmp xml
PKG_SUGGESTED_OPTIONS=