View | Details | Raw Unified | Return to bug 189824 | Differences between
and this patch

Collapse All | Expand All

(-)b/GIDs (+1 lines)
Lines 267-272 bbs:*:944: Link Here
267
dbxml:*:945:
267
dbxml:*:945:
268
gnokii:*:947:
268
gnokii:*:947:
269
dnrd:*:948:
269
dnrd:*:948:
270
_lldpd:*:949:
270
conquest:*:950:
271
conquest:*:950:
271
openerpd:*:951:
272
openerpd:*:951:
272
bitten-slave:*:952:
273
bitten-slave:*:952:
(-)b/UIDs (+1 lines)
Lines 271-276 bbs:*:944:944::0:0:& user:/nonexistent:/usr/sbin/nologin Link Here
271
dbxml:*:945:945::0:0:& user:/nonexistent:/usr/sbin/nologin
271
dbxml:*:945:945::0:0:& user:/nonexistent:/usr/sbin/nologin
272
mapred:*:947:955::0:0:Hadoop MapReduce user:/nonexistent:/usr/sbin/nologin
272
mapred:*:947:955::0:0:Hadoop MapReduce user:/nonexistent:/usr/sbin/nologin
273
dnrd:*:948:948::0:0:& user:/nonexistent:/usr/sbin/nologin
273
dnrd:*:948:948::0:0:& user:/nonexistent:/usr/sbin/nologin
274
_lldpd:*:949:949::0:0:lldpd user:/nonexistent:/usr/sbin/nologin
274
openerpd:*:951:951::0:0:Openerpd user:/nonexistent:/usr/sbin/nologin
275
openerpd:*:951:951::0:0:Openerpd user:/nonexistent:/usr/sbin/nologin
275
bitten-slave:*:952:952:daemon:0:0:Bitten slave user:/var/lib/bitten-slave:/usr/sbin/nologin
276
bitten-slave:*:952:952:daemon:0:0:Bitten slave user:/var/lib/bitten-slave:/usr/sbin/nologin
276
_neubot:*:953:953::0:0:neubot daemon:/nonexistent:/usr/sbin/nologin
277
_neubot:*:953:953::0:0:neubot daemon:/nonexistent:/usr/sbin/nologin
(-)b/net-mgmt/lldpd/Makefile (+68 lines)
Added Link Here
1
# Created by: Mathieu Simon <freebsd@simweb.ch>
2
# $FreeBSD$
3
4
PORTNAME=	lldpd
5
PORTVERSION=	0.7.13
6
CATEGORIES=	net-mgmt
7
MASTER_SITES=	http://media.luffy.cx/files/${PORTNAME}/
8
9
MAINTAINER=	freebsd@simweb.ch
10
COMMENT=	LLDP (802.1ab)/CDP/EDP/SONMP/FDP daemon and SNMP subagent
11
12
LICENSE=	ISCL
13
14
LIB_DEPENDS=	libevent.so:${PORTSDIR}/devel/libevent2
15
16
OPTIONS_SUB=	yes
17
18
USE_RC_SUBR=	lldpd
19
20
USES=		libtool
21
USE_LDCONFIG=	yes
22
GNU_CONFIGURE=	yes
23
CONFIGURE_ARGS=	--enable-privsep \
24
		--with-privsep-chroot=/var/run/lldpd \
25
		--with-lldpd-ctl-socket=/var/run/lldpd.socket \
26
		--with-lldpd-pid-file=/var/run/lldpd.pid \
27
		--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
28
INSTALL_TARGET=	install-strip
29
30
USERS=	_lldpd
31
GROUPS=	_lldpd
32
33
OPTIONS_DEFINE=		BASH DOCS DTRACE JSON PROPRIETARY READLINE SNMP XML ZSH
34
OPTIONS_DEFAULT=	PROPRIETARY
35
36
DTRACE_DESC=		DTrace support
37
JSON_DESC=		JSON output support
38
PROPRIETARY_DESC=	Support proprietary protocols (CDP/EDP/FDP/SONMP)
39
SNMP_DESC=		Enable the use of SNMP
40
XML_DESC=		XML output support
41
42
DTRACE_CONFIGURE_ENABLE=	dtrace
43
JSON_CONFIGURE_WITH=		json
44
READLINE_CONFIGURE_WITH=	readline
45
SNMP_CONFIGURE_ENABLE=		snmp
46
XML_CONFIGURE_WITH=		xml
47
48
BASH_RUN_DEPENDS=	${LOCALBASE}/etc/bash-completion:${PORTSDIR}/shells/bash-completion
49
JSON_BUILD_DEPENDS=	pkgconf:${PORTSDIR}/devel/pkgconf \
50
			jansson:${PORTSDIR}/devel/jansson
51
JSON_RUN_DEPENDS=	libjansson.so>=2:${PORTSDIR}/devel/jansson
52
SNMP_RUN_DEPENDS=	net-snmp:${PORTSDIR}/net-mgmt/net-snmp
53
XML_BUILD_DEPENDS=	libxml2:${PORTSDIR}/textproc/libxml2
54
XML_LIB_DEPENDS=	libxml2.so:${PORTSDIR}/textproc/libxml2
55
56
post-stage:
57
	@${MKDIR} ${STAGEDIR}/var/run/lldpd
58
	@${CP} ${FILESDIR}/README.bsd ${STAGEDIR}${DOCSDIR}
59
60
.include <bsd.port.options.mk>
61
62
.if ${PORT_OPTIONS:MPROPRIETARY}
63
CONFIGURE_ARGS+=--enable-cdp --enable-edp --enable-fdp --enable-sonmp
64
.else
65
CONFIGURE_ARGS+=--disable-cdp --disable-edp --disable-fdp --disable-sonmp
66
.endif
67
68
.include <bsd.port.mk>
(-)b/net-mgmt/lldpd/distinfo (+2 lines)
Added Link Here
1
SHA256 (lldpd-0.7.13.tar.gz) = bbba3ef922f6b6cc6d2c0f008066dc882750557661c54dd1b97ae7936678d92d
2
SIZE (lldpd-0.7.13.tar.gz) = 1523864
(-)b/net-mgmt/lldpd/files/README.bsd (+3 lines)
Added Link Here
1
An normal user has to be member of the _lldpd group in order to run lldpcli.
2
3
-- Mathieu Simon <freebsd@simweb.ch>, Tue, 10 Dec 2014 13:40:00 +01:00
(-)b/net-mgmt/lldpd/files/lldpd.in (+32 lines)
Added Link Here
1
#!/bin/sh
2
3
# $FreeBSD$
4
#
5
# PROVIDE: lldpd
6
# REQUIRE: LOGIN
7
# KEYWORD: shutdown
8
#
9
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
10
# to enable this service:
11
#
12
# lldpd_enable (bool):	Set to NO by default.
13
#			Set it to YES to enable lldpd.
14
# lldpd_flags (str):	Flags passed to lldpd on startup.
15
#			Default is "".
16
17
. /etc/rc.subr
18
19
name=lldpd
20
rcvar=lldpd_enable
21
22
load_rc_config $name
23
24
: ${lldpd_enable:="NO"}
25
: ${lldpd_flags=""}
26
27
command=/usr/local/sbin/${name}
28
pidfile=/var/run/${name}.pid
29
30
command_args=${lldpd_flags}
31
32
run_rc_command "$1"
(-)b/net-mgmt/lldpd/pkg-descr (+18 lines)
Added Link Here
1
LLDP (Link Layer Discovery Protocol) is an industry standard protocol
2
designed to supplant proprietary Link-Layer protocols such as
3
Extreme's EDP (Extreme Discovery Protocol) and CDP (Cisco Discovery
4
Protocol). The goal of LLDP is to provide an inter-vendor compatible
5
mechanism to deliver Link-Layer notifications to adjacent network
6
devices.
7
8
lldpd implements both reception and sending. It also implements an
9
SNMP subagent for net-snmp to get local and remote LLDP
10
information. The LLDP MIB is partially implemented but the most useful
11
tables are here. lldpd also partially implements LLDP-MED.
12
13
lldpd supports bridge, vlan and bonding. bonding need to be done on
14
real physical devices, not on bridges, vlans, etc. However, vlans can
15
be mapped on the bonding device. You can bridge vlan but not add vlans
16
on bridges. More complex setups may give false results.
17
18
WWW: http://vincentbernat.github.io/lldpd/
(-)b/net-mgmt/lldpd/pkg-message (+2 lines)
Added Link Here
1
To run lldpd from startup, add lldpd_enable="YES" to your rc.conf.
2
Extra options can be found in startup script.
(-)b/net-mgmt/lldpd/pkg-plist (+22 lines)
Added Link Here
1
%%BASH%%etc/bash_completion.d/lldpcli.bash-completion
2
%%ETCDIR%%.d/README.conf
3
include/lldp-const.h
4
include/lldpctl.h
5
lib/liblldpctl.a
6
lib/liblldpctl.so
7
lib/liblldpctl.so.4
8
lib/liblldpctl.so.4.4.0
9
libdata/pkgconfig/lldpctl.pc
10
man/man8/lldpcli.8.gz
11
man/man8/lldpctl.8.gz
12
man/man8/lldpd.8.gz
13
sbin/lldpcli
14
sbin/lldpctl
15
sbin/lldpd
16
%%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTE.md
17
%%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
18
%%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/NEWS
19
%%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/README.bsd
20
%%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/README.md
21
%%ZSH%%share/zsh/vendor-completions/_lldpcli
22
@dir /var/run/lldpd

Return to bug 189824