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

Collapse All | Expand All

(-)net-mgmt/lldpd/Makefile (-15 / +14 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	lldpd
4
PORTNAME=	lldpd
5
PORTVERSION=	1.0.4
5
PORTVERSION=	1.0.8
6
CATEGORIES=	net-mgmt
6
CATEGORIES=	net-mgmt
7
MASTER_SITES=	http://media.luffy.cx/files/${PORTNAME}/ \
7
MASTER_SITES=	http://media.luffy.cx/files/${PORTNAME}/ \
8
		http://mirror.1labs.ch/${PORTNAME}/
8
		http://mirror.1labs.ch/${PORTNAME}/
Lines 16-22 Link Here
16
LIB_DEPENDS=	libevent.so:devel/libevent
16
LIB_DEPENDS=	libevent.so:devel/libevent
17
17
18
USES=		libtool
18
USES=		libtool
19
20
USE_CSTD=	gnu99
19
USE_CSTD=	gnu99
21
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
22
USE_RC_SUBR=	${PORTNAME}
21
USE_RC_SUBR=	${PORTNAME}
Lines 35-49 Link Here
35
34
36
OPTIONS_DEFINE=		BASH DOCS DTRACE JSON PIE PROPRIETARY READLINE SNMP XML ZSH
35
OPTIONS_DEFINE=		BASH DOCS DTRACE JSON PIE PROPRIETARY READLINE SNMP XML ZSH
37
OPTIONS_DEFAULT=	BASH JSON PROPRIETARY SNMP XML ZSH
36
OPTIONS_DEFAULT=	BASH JSON PROPRIETARY SNMP XML ZSH
38
OPTIONS_SUB=	yes
39
40
# ld(1) fails to link probes: Relocations in generic ELF (EM: 0)
37
# ld(1) fails to link probes: Relocations in generic ELF (EM: 0)
41
OPTIONS_EXCLUDE_aarch64=	DTRACE
38
OPTIONS_EXCLUDE_aarch64=	DTRACE
42
# dt_modtext:opensolaris/lib/libdtrace/common/dt_link.c: arm not implemented
39
# dt_modtext:opensolaris/lib/libdtrace/common/dt_link.c: arm not implemented
43
OPTIONS_EXCLUDE_armv6=		DTRACE
40
OPTIONS_EXCLUDE_armv6=		DTRACE
44
OPTIONS_EXCLUDE_armv7=		DTRACE
41
OPTIONS_EXCLUDE_armv7=		DTRACE
42
OPTIONS_SUB=	yes
45
43
46
DTRACE_DESC=		DTrace support
44
DTRACE_DESC=		DTrace support (BROKEN)
47
JSON_DESC=		JSON output support
45
JSON_DESC=		JSON output support
48
PIE_DESC=		Build PIE (position independant executables)
46
PIE_DESC=		Build PIE (position independant executables)
49
PROPRIETARY_DESC=	Support proprietary protocols (CDP/EDP/FDP/SONMP)
47
PROPRIETARY_DESC=	Support proprietary protocols (CDP/EDP/FDP/SONMP)
Lines 51-74 Link Here
51
XML_DESC=		XML output support
49
XML_DESC=		XML output support
52
50
53
DTRACE_CONFIGURE_ENABLE=	dtrace
51
DTRACE_CONFIGURE_ENABLE=	dtrace
52
JSON_LIB_DEPENDS=		libjansson.so:devel/jansson
53
JSON_USES=			pkgconfig
54
JSON_CONFIGURE_WITH=		json
54
JSON_CONFIGURE_WITH=		json
55
PIE_CONFIGURE_ENABLE=		pie
55
PIE_CONFIGURE_ENABLE=		pie
56
PROPRIETARY_CONFIGURE_ENABLE=	cdp edp fdp sonmp
56
READLINE_CONFIGURE_WITH=	readline
57
READLINE_CONFIGURE_WITH=	readline
58
SNMP_LIB_DEPENDS=		libnetsnmp.so:net-mgmt/net-snmp \
59
				libpcre.so:devel/pcre \
60
				libpkg.so:ports-mgmt/pkg \
61
				librpm.so:archivers/rpm4
62
SNMP_USES=			ssl
57
SNMP_CONFIGURE_WITH=		snmp
63
SNMP_CONFIGURE_WITH=		snmp
64
XML_LIB_DEPENDS=		libxml2.so:textproc/libxml2
65
# libedit needed in combination of READLINE and XML
66
XML_USES=			libedit
58
XML_CONFIGURE_WITH=		xml
67
XML_CONFIGURE_WITH=		xml
59
PROPRIETARY_CONFIGURE_ENABLE=	cdp edp fdp sonmp
60
68
61
JSON_LIB_DEPENDS=	libjansson.so:devel/jansson
62
JSON_USES=		pkgconfig
63
SNMP_LIB_DEPENDS=	libnetsnmp.so:net-mgmt/net-snmp
64
SNMP_USES=		ssl
65
XML_LIB_DEPENDS=	libxml2.so:textproc/libxml2
66
67
post-patch:
69
post-patch:
68
	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}|g' ${WRKSRC}/src/daemon/lldpd.8.in
70
	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}|g' ${WRKSRC}/src/daemon/lldpd.8.in
69
	@${REINPLACE_CMD} -e 's|vendor-completions|site-functions|g' \
70
		${WRKSRC}/src/client/Makefile.am \
71
		${WRKSRC}/src/client/Makefile.in
72
71
73
post-install-DOCS-on:
72
post-install-DOCS-on:
74
	${INSTALL_DATA} ${FILESDIR}/README.bsd ${STAGEDIR}${DOCSDIR}
73
	${INSTALL_DATA} ${FILESDIR}/README.bsd ${STAGEDIR}${DOCSDIR}
(-)net-mgmt/lldpd/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1566804210
1
TIMESTAMP = 1613320298
2
SHA256 (lldpd-1.0.4.tar.gz) = 5319bc032fabf1008d5d91e280276aa7f1bbfbb70129d8526cd4526d7c22724f
2
SHA256 (lldpd-1.0.8.tar.gz) = 98d200e76e30f6262c4a4493148c1840827898329146a57a34f8f0f928ca3def
3
SIZE (lldpd-1.0.4.tar.gz) = 1607806
3
SIZE (lldpd-1.0.8.tar.gz) = 1965326
(-)net-mgmt/lldpd/pkg-plist (-1 / +1 lines)
Lines 4-10 Link Here
4
lib/liblldpctl.a
4
lib/liblldpctl.a
5
lib/liblldpctl.so
5
lib/liblldpctl.so
6
lib/liblldpctl.so.4
6
lib/liblldpctl.so.4
7
lib/liblldpctl.so.4.8.0
7
lib/liblldpctl.so.4.9.0
8
libdata/pkgconfig/lldpctl.pc
8
libdata/pkgconfig/lldpctl.pc
9
man/man8/lldpcli.8.gz
9
man/man8/lldpcli.8.gz
10
man/man8/lldpctl.8.gz
10
man/man8/lldpctl.8.gz

Return to bug 253512