Index: head/net/packetdrill/Makefile =================================================================== --- head/net/packetdrill/Makefile +++ head/net/packetdrill/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= packetdrill -PORTVERSION= 0.0.20161117 +PORTVERSION= 0.0.2018012501 CATEGORIES= net ipv6 MAINTAINER= gnn@FreeBSD.org @@ -12,7 +12,7 @@ USES= bison uidfix USE_GITHUB= yes GH_ACCOUNT= freebsd-net -GH_TAGNAME= 570c391 +GH_TAGNAME= c046f1a WRKSRC_SUBDIR= gtests/net/packetdrill PLIST_FILES= bin/${PORTNAME} PORTDATA= packetdrill.el packetdrill.vim Index: head/net/packetdrill/distinfo =================================================================== --- head/net/packetdrill/distinfo +++ head/net/packetdrill/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1479423409 -SHA256 (freebsd-net-packetdrill-0.0.20161117-570c391_GH0.tar.gz) = d17e94c51a1710b1f14ce1ad17b799dc44859e5f49f0c5f31bcef3c02b30e50f -SIZE (freebsd-net-packetdrill-0.0.20161117-570c391_GH0.tar.gz) = 316668 +TIMESTAMP = 1519652245 +SHA256 (freebsd-net-packetdrill-0.0.2018012501-c046f1a_GH0.tar.gz) = d33c82c146083c0ea6df47b848d938d79e0cf47171dcbae47edf05f6dd95a383 +SIZE (freebsd-net-packetdrill-0.0.2018012501-c046f1a_GH0.tar.gz) = 326345 Index: head/net/packetdrill/files/patch-platforms.h =================================================================== --- head/net/packetdrill/files/patch-platforms.h +++ head/net/packetdrill/files/patch-platforms.h @@ -1,16 +0,0 @@ ---- platforms.h.orig 2016-10-01 08:55:57 UTC -+++ platforms.h -@@ -50,11 +50,12 @@ - - #include - #include -+#include - #if __FreeBSD_version >= 1001000 - #include - #endif - #define USE_LIBPCAP 1 --#define TUN_PATH "/dev/tun0" -+#define TUN_PATH _PATH_DEV "tun0" - #define TUN_DEV "tun0" - #define HAVE_TCP_INFO 1 - #if (__FreeBSD_version < 1000000 && __FreeBSD_version > 902000) || __FreeBSD_version > 1000028 Index: head/net/packetdrill/files/patch-symbols_freebsd.c =================================================================== --- head/net/packetdrill/files/patch-symbols_freebsd.c +++ head/net/packetdrill/files/patch-symbols_freebsd.c @@ -1,22 +0,0 @@ ---- symbols_freebsd.c.orig 2016-10-01 08:55:57 UTC -+++ symbols_freebsd.c -@@ -76,7 +76,9 @@ struct int_symbol platform_symbols_table - { SO_LISTENQLEN, "SO_LISTENQLEN" }, - { SO_LISTENINCQLEN, "SO_LISTENINCQLEN" }, - { SO_SETFIB, "SO_SETFIB" }, -+#ifdef SO_USER_COOKIE - { SO_USER_COOKIE, "SO_USER_COOKIE" }, -+#endif - - /* /usr/include/netinet/sctp.h and /usr/include/netinet/sctp_uio.h */ - { SCTP_RTOINFO, "SCTP_RTOINFO" }, -@@ -525,7 +527,9 @@ struct int_symbol platform_symbols_table - { ENOLINK, "ENOLINK" }, - { EPROTO, "EPROTO" }, - { ENOTCAPABLE, "ENOTCAPABLE" }, -+#ifdef ECAPMODE - { ECAPMODE, "ECAPMODE" }, -+#endif - - /* Sentinel marking the end of the table. */ - { 0, NULL },