Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2023 11:12:29 GMT
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5020a188aa9a - main - net-mgmt/lldpd: tiny flavor
Message-ID:  <202307021112.362BCTXj040388@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eugen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5020a188aa9a4ab20c1f86dc9b245c3acdf8fb1b

commit 5020a188aa9a4ab20c1f86dc9b245c3acdf8fb1b
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2023-07-02 11:09:32 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2023-07-02 11:09:32 +0000

    net-mgmt/lldpd: tiny flavor
    
    Reported by:            marck
    Approved by:            freebsd@simweb.ch (maintainer)
    Differential Revision:  https://reviews.freebsd.org/D40838
---
 net-mgmt/lldpd/Makefile | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/net-mgmt/lldpd/Makefile b/net-mgmt/lldpd/Makefile
index 7905acc0fc5d..09c8565288fe 100644
--- a/net-mgmt/lldpd/Makefile
+++ b/net-mgmt/lldpd/Makefile
@@ -30,6 +30,10 @@ INSTALL_TARGET=	install-strip
 USERS=	_lldpd
 GROUPS=	_lldpd
 
+FLAVORS=        default tiny
+
+CONFLICTS_INSTALL=     ${FLAVORS:N${FLAVOR}:S/^/${PORTNAME}-/}
+
 OPTIONS_DEFINE=		BASH DOCS DTRACE JSON PIE PROPRIETARY READLINE SNMP XML ZSH
 OPTIONS_DEFAULT=	BASH JSON PROPRIETARY SNMP XML ZSH
 # ld(1) fails to link probes: Relocations in generic ELF (EM: 0)
@@ -39,6 +43,12 @@ OPTIONS_EXCLUDE_armv6=		DTRACE
 OPTIONS_EXCLUDE_armv7=		DTRACE
 OPTIONS_SUB=	yes
 
+.if ${FLAVOR:U} == tiny
+PKGNAMESUFFIX=  -tiny
+COMMENT=       LLDP (802.1ab) daemon
+OPTIONS_DEFAULT:=
+.endif
+
 DTRACE_DESC=		DTrace support (BROKEN)
 JSON_DESC=		JSON output support
 PIE_DESC=		Build PIE (position independant executables)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307021112.362BCTXj040388>