From nobody Fri Jul 26 02:07:47 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WVWNz6BhDz5RmhR; Fri, 26 Jul 2024 02:07:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVWNz5gyXz4n7j; Fri, 26 Jul 2024 02:07:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721959667; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BFsMiVJfckFHzM8HssEWiLa21nAS7lr5dUtnQ6Pr1Eo=; b=fpBrdqm++uZtXCwZbaEw/ja5jY69B2POoAKgm88RykRPHc4qsu14F0VUgabmHG+5RqVnGG 5Pp34VDD+qNWTkaLlQ3GBhBCI9EVOLtQiaV4XKbvl29jQt/HVwk3OUf2qJo4XSRWhXTyeb 2efyIxbTcRAhDeMl7wqxMGDg/z1En7OAn8yEijhMAbrDj9nWtYu7vB2jX7CivzLVU2lZek yE5bFsR+vMWe8CuXTfHVmLvVKbWRZTANim61v048KQq76mX63aPOFpzmUvaEVhniYQB+ck 7Aj3UzJ2rtzIu8YJwDjGdk5bIdFOmvJFIBoWDxPLkaSMjWRBk+YS8qUywBMUMA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721959667; a=rsa-sha256; cv=none; b=Dzw16AjtTQ2HHY8qv4pOIzqsSSUMD4KMC5e9u5/U1fIgTNabAZa0kmRltGl4JGG3/7DYIn R0C25JnsOb4rCXMfVftAWoqLjJQAA0emGHFGwOf+Ml+no7BEsy3VQHXdTOSeoeD3kA+x0i WLBC65Wyk/kSw017yGCZSDhNdvIU/agoxRDc7bKSWFFPLbUj0GnBIqIo6m6RMsuw9Q8MH6 OXBPKExnP+bUaJTjPfYqEoGfBL6E8oHCQ49cyA27iXasZACrHB0I8MX9wJwI9oMUTNxugx iwDEhprC/mgntDVdjpx0/AfbZu1XfzkQGHW2iEwMHM5OKy8PuGG1x/oY+Amy9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721959667; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BFsMiVJfckFHzM8HssEWiLa21nAS7lr5dUtnQ6Pr1Eo=; b=F/IcRipZtseg6gb5g18zLoOFncGPkIuI3Aiown7Ez818BaJIJTMOaFbGMBhnQBMMI++N3N hfK7MdgZo8iL4OPIzn0xmaEWStdnMYD2VeA6vLDJtMIQJmJZaRLH7QoT5CnPSUC74f7xi/ 3+ynxDUm4APqqghHmA+W16+0AiYa7LqOB6WEe7wzzZYeiZyCATnC9byE2qOFc9WgnYjvZA pm0KpM1t4LsBRCxDGPShSMd4X2mHs9EycDUtZrr1kCdRpNr0hOPfvnrcdSi14//pLjQt17 kan8FRdYUFO5Kwsj2gk2UbshLQf/+q3ElNmRtO5CTWnJh6aXHHaV4ovcBlcQsQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WVWNz5HK4z1Jg6; Fri, 26 Jul 2024 02:07:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46Q27lWv002852; Fri, 26 Jul 2024 02:07:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46Q27l4b002849; Fri, 26 Jul 2024 02:07:47 GMT (envelope-from git) Date: Fri, 26 Jul 2024 02:07:47 GMT Message-Id: <202407260207.46Q27l4b002849@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Charlie Li Subject: git: 1000579bdada - main - net-mgmt/lldpd: Update to 1.0.18 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vishwin X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1000579bdadac0138ab1e8cae05325d5726465a9 Auto-Submitted: auto-generated The branch main has been updated by vishwin: URL: https://cgit.FreeBSD.org/ports/commit/?id=1000579bdadac0138ab1e8cae05325d5726465a9 commit 1000579bdadac0138ab1e8cae05325d5726465a9 Author: John W. O'Brien AuthorDate: 2024-07-26 01:55:11 +0000 Commit: Charlie Li CommitDate: 2024-07-26 02:07:21 +0000 net-mgmt/lldpd: Update to 1.0.18 - Use writable chroot for timezone file - USES=pkgconfig to detect system libevent - Remove obsolete (since 0.9.7) JSON option - Remove unnecessary USES=libedit with XML option - Pet portlint and other minor improvements Changelogs: - https://github.com/lldpd/lldpd/releases/tag/1.0.15 - https://github.com/lldpd/lldpd/releases/tag/1.0.16 - https://github.com/lldpd/lldpd/releases/tag/1.0.17 - https://github.com/lldpd/lldpd/releases/tag/1.0.18 PR: 277851 Reported by: ngie Reviewed by: ngie Approved by: maintainer timeout (three months) Sponsored by: Saltant Solutions LLC Differential Revision: https://reviews.freebsd.org/D45168 --- net-mgmt/lldpd/Makefile | 34 +++++++++++++--------------------- net-mgmt/lldpd/distinfo | 6 +++--- net-mgmt/lldpd/files/README.bsd | 9 +-------- net-mgmt/lldpd/pkg-plist | 1 + 4 files changed, 18 insertions(+), 32 deletions(-) diff --git a/net-mgmt/lldpd/Makefile b/net-mgmt/lldpd/Makefile index 27f8394569db..1ae18df1dd9e 100644 --- a/net-mgmt/lldpd/Makefile +++ b/net-mgmt/lldpd/Makefile @@ -1,11 +1,10 @@ PORTNAME= lldpd -PORTVERSION= 1.0.14 -PORTREVISION= 1 +PORTVERSION= 1.0.18 CATEGORIES= net-mgmt MASTER_SITES= http://media.luffy.cx/files/${PORTNAME}/ MAINTAINER= freebsd@simweb.ch -COMMENT= LLDP (802.1ab)/CDP/EDP/SONMP/FDP daemon and SNMP subagent +COMMENT= Link-Layer Discovery Protocol (LLDP 802.1ab) daemon WWW= https://lldpd.github.io/ LICENSE= ISCL @@ -13,7 +12,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libevent.so:devel/libevent -USES= cpe libtool +FLAVORS= default tiny +tiny_PKGNAMESUFFIX= -tiny + +USES= cpe libtool pkgconfig CPE_VENDOR= ${PORTNAME}_project USE_CSTD= gnu99 USE_LDCONFIG= yes @@ -23,7 +25,7 @@ GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-doxygen-doc \ --enable-hardening \ --enable-privsep \ - --with-privsep-chroot=/var/empty \ + --with-privsep-chroot=/var/run/lldpd \ --with-lldpd-ctl-socket=/var/run/lldpd.socket \ --with-lldpd-pid-file=/var/run/lldpd.pid \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig @@ -32,12 +34,10 @@ INSTALL_TARGET= install-strip USERS= _lldpd GROUPS= _lldpd -FLAVORS= default tiny - -CONFLICTS_INSTALL= ${FLAVORS:N${FLAVOR}:S/^/${PORTNAME}-/} +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 +OPTIONS_DEFINE= BASH DOCS DTRACE PIE PROPRIETARY READLINE SNMP XML ZSH +OPTIONS_DEFAULT= BASH PROPRIETARY SNMP XML ZSH # ld(1) fails to link probes: Relocations in generic ELF (EM: 0) OPTIONS_EXCLUDE_aarch64= DTRACE # dt_modtext:opensolaris/lib/libdtrace/common/dt_link.c: arm not implemented @@ -46,22 +46,16 @@ 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) PROPRIETARY_DESC= Support proprietary protocols (CDP/EDP/FDP/SONMP) -SNMP_DESC= Enable the use of SNMP +SNMP_DESC= Enable SNMP sub-agent (AgentX) XML_DESC= XML output support DTRACE_CONFIGURE_ENABLE= dtrace -JSON_LIB_DEPENDS= libjansson.so:devel/jansson -JSON_USES= pkgconfig -JSON_CONFIGURE_WITH= json PIE_CONFIGURE_ENABLE= pie PROPRIETARY_CONFIGURE_ENABLE= cdp edp fdp sonmp READLINE_CONFIGURE_WITH= readline @@ -69,12 +63,10 @@ SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_USES= ssl SNMP_CONFIGURE_WITH= snmp XML_LIB_DEPENDS= libxml2.so:textproc/libxml2 -# libedit needed in combination of READLINE and XML -XML_USES= libedit XML_CONFIGURE_WITH= xml -post-patch: - @${REINPLACE_CMD} -e 's|/etc|${PREFIX}|g' ${WRKSRC}/src/daemon/lldpd.8.in +post-install: + ${MKDIR} ${STAGEDIR}/var/run/lldpd post-install-DOCS-on: ${INSTALL_DATA} ${FILESDIR}/README.bsd ${STAGEDIR}${DOCSDIR} diff --git a/net-mgmt/lldpd/distinfo b/net-mgmt/lldpd/distinfo index 4b0b01c8fbbc..8969b0b93699 100644 --- a/net-mgmt/lldpd/distinfo +++ b/net-mgmt/lldpd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1653940567 -SHA256 (lldpd-1.0.14.tar.gz) = a74819214f116a5dbc407a3d490caa01ba401a249517ac826a374059c12d12e8 -SIZE (lldpd-1.0.14.tar.gz) = 1979314 +TIMESTAMP = 1715532062 +SHA256 (lldpd-1.0.18.tar.gz) = 4b320675d608901a4a0d4feff8f96bb846d4913d914b0cf75b7d0ae80490f2f7 +SIZE (lldpd-1.0.18.tar.gz) = 1988753 diff --git a/net-mgmt/lldpd/files/README.bsd b/net-mgmt/lldpd/files/README.bsd index 069583854e20..9310f0b3275b 100644 --- a/net-mgmt/lldpd/files/README.bsd +++ b/net-mgmt/lldpd/files/README.bsd @@ -14,12 +14,5 @@ Short examples: * Listen on all interfaces, except em0: lldpd_flags="-I *,!em0" -A whitelisted interface beats a blacklisted interface which beats a simple +An allowlisted interface beats a blocklisted interface which beats a simple matched interface. See lldpd(8), which contains the complete documentation. - -## Compatibility - -This port should work equally well on both FreeBSD and DragonFly BSD, though -the later might be a bit less regularly tested. - --- Mathieu Simon , Tue, 06 Oct 2015 13:20:00 +02:00 diff --git a/net-mgmt/lldpd/pkg-plist b/net-mgmt/lldpd/pkg-plist index 00af41872d22..8b80edcb75ef 100644 --- a/net-mgmt/lldpd/pkg-plist +++ b/net-mgmt/lldpd/pkg-plist @@ -20,3 +20,4 @@ sbin/lldpd %%PORTDOCS%%%%DOCSDIR%%/README.bsd %%PORTDOCS%%%%DOCSDIR%%/README.md %%ZSH%%share/zsh/site-functions/_lldpcli +@dir(_llpd,_lldpd,750) /var/run/lldpd