PORTNAME= softflowd
PORTVERSION= 0.9.9
PORTREVISION= 1
CATEGORIES= net-mgmt ipv6
MASTER_SITES= http://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/softflowd/
MAINTAINER= jmohacsi@bsd.hu
COMMENT= Flow-based network traffic analyzer and exporter
LICENSE= BSD2CLAUSE
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= irino
GH_PROJECT= softflowd
GH_TAGNAME= 3aa2af5
USES= gmake autoreconf
GNU_CONFIGURE= yes
USE_RC_SUBR= ${PORTNAME}
TIMESTAMP = 1329097555
TIMESTAMP = 1494777006
SHA256 (softflowd-0.9.9.tar.gz) = 2313f2c50ea9b3f2db3524e38ec7cd71f9a6e885ac2e3b55ab037bccf8173612
SHA256 (irino-softflowd-0.9.9-3aa2af5_GH0.tar.gz) = be6b742b5b62d27742ca79db5f9aacf88e58626f3952742449a41b92b8a92231
SIZE (softflowd-0.9.9.tar.gz) = 91939
SIZE (irino-softflowd-0.9.9-3aa2af5_GH0.tar.gz) = 57901
--- softflowd.c.orig
+++ softflowd.c
@@ -91,6 +91,9 @@
#ifdef DLT_LOOP
{ DLT_LOOP, 4, 0, 4, 1, 0xffffffff, AF_INET, AF_INET6 },
#endif
+#ifdef DLT_PFLOG
+ { DLT_PFLOG, 48, 1, 1, 0, 0x000000ff, AF_INET, AF_INET6 },
+#endif
{ -1, -1, -1, -1, -1, 0x00000000, 0xffff, 0xffff },
};