# Created by: Mathieu Simon <freebsd@simweb.ch>
PORTNAME= lldpd
PORTVERSION= 1.0.13
PORTVERSION= 1.0.14
PORTREVISION= 2
CATEGORIES= net-mgmt
MASTER_SITES= http://media.luffy.cx/files/${PORTNAME}/
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
TIMESTAMP = 1642499615
TIMESTAMP = 1653940567
SHA256 (lldpd-1.0.13.tar.gz) = d639827fd8a27720d1bfd94bc52eca24af63ddcc3c9d2da60788778889d84701
SHA256 (lldpd-1.0.14.tar.gz) = a74819214f116a5dbc407a3d490caa01ba401a249517ac826a374059c12d12e8
SIZE (lldpd-1.0.13.tar.gz) = 1973988
SIZE (lldpd-1.0.14.tar.gz) = 1979314
--- 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"
lib/liblldpctl.a
lib/liblldpctl.so
lib/liblldpctl.so.4
lib/liblldpctl.so.4.9.0
lib/liblldpctl.so.4.9.1
libdata/pkgconfig/lldpctl.pc
man/man8/lldpcli.8.gz
man/man8/lldpctl.8.gz
-