aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorLuiz Amaral <email@luiz.eng.br>2022-03-13 19:14:05 +0000
committerKurt Jaeger <pi@FreeBSD.org>2022-03-13 19:19:10 +0000
commit99a5f6d49b156b90dddbe435286c7d50eaae93ea (patch)
tree6a69b96b74e635cae6dfb4387a5ae5a8074cb46a /net-mgmt
parentac57f8233dc934025baec27fd69373b9fad26838 (diff)
downloadports-99a5f6d49b156b90dddbe435286c7d50eaae93ea.tar.gz
ports-99a5f6d49b156b90dddbe435286c7d50eaae93ea.zip
net-mgmt/lldpd: update 1.0.8 -> 1.0.13
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/lldpd/Makefile9
-rw-r--r--net-mgmt/lldpd/distinfo6
-rw-r--r--net-mgmt/lldpd/files/patch-src_daemon_lldpd.h13
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"