git: 99a5f6d49b15 - main - net-mgmt/lldpd: update 1.0.8 -> 1.0.13

From: Kurt Jaeger <pi_at_FreeBSD.org>
Date: Sun, 13 Mar 2022 19:19:38 UTC
The branch main has been updated by pi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=99a5f6d49b156b90dddbe435286c7d50eaae93ea

commit 99a5f6d49b156b90dddbe435286c7d50eaae93ea
Author:     Luiz Amaral <email@luiz.eng.br>
AuthorDate: 2022-03-13 19:14:05 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2022-03-13 19:19:10 +0000

    net-mgmt/lldpd: update 1.0.8 -> 1.0.13
    
    PR:             260904
    Approved by:    Mathieu Simon <freebsd@simweb.ch> (maintainer)
    Relnotes:       https://github.com/lldpd/lldpd/releases/tag/1.0.9
                    https://github.com/lldpd/lldpd/releases/tag/1.0.10
                    https://github.com/lldpd/lldpd/releases/tag/1.0.11
                    https://github.com/lldpd/lldpd/releases/tag/1.0.12
                    https://github.com/lldpd/lldpd/releases/tag/1.0.13
---
 net-mgmt/lldpd/Makefile                       |  9 +++++----
 net-mgmt/lldpd/distinfo                       |  6 +++---
 net-mgmt/lldpd/files/patch-src_daemon_lldpd.h | 13 +++++++++++++
 3 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/net-mgmt/lldpd/Makefile b/net-mgmt/lldpd/Makefile
index af85267ec472..e319f796f0a8 100644
--- a/net-mgmt/lldpd/Makefile
+++ b/net-mgmt/lldpd/Makefile
@@ -1,11 +1,9 @@
 # Created by: Mathieu Simon <freebsd@simweb.ch>
 
 PORTNAME=	lldpd
-PORTVERSION=	1.0.8
-PORTREVISION=	1
+PORTVERSION=	1.0.13
 CATEGORIES=	net-mgmt
-MASTER_SITES=	http://media.luffy.cx/files/${PORTNAME}/ \
-		http://mirror.1labs.ch/${PORTNAME}/
+MASTER_SITES=	http://media.luffy.cx/files/${PORTNAME}/
 
 MAINTAINER=	freebsd@simweb.ch
 COMMENT=	LLDP (802.1ab)/CDP/EDP/SONMP/FDP daemon and SNMP subagent
@@ -64,6 +62,9 @@ XML_LIB_DEPENDS=		libxml2.so:textproc/libxml2
 XML_USES=			libedit
 XML_CONFIGURE_WITH=		xml
 
+post-extract:
+	${RM} ${WRKSRC}/include/netinet/if_ether.h
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}|g' ${WRKSRC}/src/daemon/lldpd.8.in
 
diff --git a/net-mgmt/lldpd/distinfo b/net-mgmt/lldpd/distinfo
index 7f58bcde7c0f..ab10b72594c5 100644
--- a/net-mgmt/lldpd/distinfo
+++ b/net-mgmt/lldpd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1613320298
-SHA256 (lldpd-1.0.8.tar.gz) = 98d200e76e30f6262c4a4493148c1840827898329146a57a34f8f0f928ca3def
-SIZE (lldpd-1.0.8.tar.gz) = 1965326
+TIMESTAMP = 1642499615
+SHA256 (lldpd-1.0.13.tar.gz) = d639827fd8a27720d1bfd94bc52eca24af63ddcc3c9d2da60788778889d84701
+SIZE (lldpd-1.0.13.tar.gz) = 1973988
diff --git a/net-mgmt/lldpd/files/patch-src_daemon_lldpd.h b/net-mgmt/lldpd/files/patch-src_daemon_lldpd.h
new file mode 100644
index 000000000000..69457047aa55
--- /dev/null
+++ b/net-mgmt/lldpd/files/patch-src_daemon_lldpd.h
@@ -0,0 +1,13 @@
+--- src/daemon/lldpd.h.orig    2022-03-09 14:30:41 UTC
++++ src/daemon/lldpd.h
+@@ -33,8 +33,9 @@
+ #include <string.h>
+ #include <sys/queue.h>
+ #include <sys/types.h>
+-#include <netinet/if_ether.h>
++#include <sys/socket.h>
+ #include <netinet/in.h>
++#include <netinet/if_ether.h>
+ #include <sys/un.h>
+ 
+ #include "lldp-tlv.h"