aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/yaf
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-08-28 00:44:30 +0800
committerSteve Wills <swills@FreeBSD.org>2018-08-28 00:44:30 +0800
commit35e3e5eaad4174cf2d43a96cc267249893ab2232 (patch)
tree69a136ad5a76fbd6093af5d4d39e6274d8a10af9 /net-mgmt/yaf
parent292c00f30a747a532b56e0c9d57c8270d372d42f (diff)
downloadfreebsd-ports-gnome-35e3e5eaad4174cf2d43a96cc267249893ab2232.tar.gz
freebsd-ports-gnome-35e3e5eaad4174cf2d43a96cc267249893ab2232.tar.zst
freebsd-ports-gnome-35e3e5eaad4174cf2d43a96cc267249893ab2232.zip
net-mgmt/yaf: Update to 2.10.0
PR: 230632 Submitted by: Nathan <ndowens@yahoo.com> Reported by: Chris Inacio <nacho319+freebsdZilla@gmail.com> Approved by: dikshie@sfc.wide.ad.jp (maintainer)
Diffstat (limited to 'net-mgmt/yaf')
-rw-r--r--net-mgmt/yaf/Makefile12
-rw-r--r--net-mgmt/yaf/distinfo6
-rw-r--r--net-mgmt/yaf/pkg-plist8
3 files changed, 13 insertions, 13 deletions
diff --git a/net-mgmt/yaf/Makefile b/net-mgmt/yaf/Makefile
index 633f7a04740f..b01eac5a7665 100644
--- a/net-mgmt/yaf/Makefile
+++ b/net-mgmt/yaf/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= yaf
-PORTVERSION= 2.9.3
+PORTVERSION= 2.10.0
CATEGORIES= net-mgmt
MASTER_SITES= http://tools.netsa.cert.org/releases/
@@ -14,6 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfixbuf.so:net/libfixbuf \
libltdl.so:devel/libltdl \
+ libpcap.so:net/libpcap \
libpcre.so:devel/pcre
GNU_CONFIGURE= yes
@@ -21,6 +22,7 @@ INSTALL_TARGET= install-strip
USES= libtool pathfix perl5 pkgconfig
USE_GNOME= glib20
USE_LDCONFIG= yes
+CONFIGURE_ARGS= --sysconfdir="${ETCDIR}"
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
@@ -69,14 +71,12 @@ P0FPRINT_LIB_DEPENDS= libp0f.so:net/libp0f
.if defined(WITH_DAG)
CONFIGURE_ARGS+= --with-dag=${LOCALBASE}
-LIB_DEPENDS+= libpcap.so.1:net/libpcap
-.elif exists(${LOCALBASE}/lib/libpcap.so)
-LIB_DEPENDS+= libpcap.so.1:net/libpcap
.endif
post-install:
-.for f in dhcp_fingerprints.conf yafApplabelRules.conf yafDPIRules.conf
- ${MV} ${STAGEDIR}${PREFIX}/etc/$f ${STAGEDIR}${PREFIX}/etc/$f.sample
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/yaf
+.for f in dhcp_fingerprints.conf yafApplabelRules.conf yafDPIRules.conf yaf.conf
+ ${MV} ${STAGEDIR}${PREFIX}/etc/yaf/$f ${STAGEDIR}${PREFIX}/etc/yaf/$f.sample
.endfor
${RM} ${STAGEDIR}${PREFIX}/etc/p0f.fp
diff --git a/net-mgmt/yaf/distinfo b/net-mgmt/yaf/distinfo
index f4d386f95b86..982499c3f46b 100644
--- a/net-mgmt/yaf/distinfo
+++ b/net-mgmt/yaf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1516823381
-SHA256 (yaf-2.9.3.tar.gz) = a0dd7f8f8733b8554ee0b1458a38fad19734899313ed4a4eb9bcf96893d98e02
-SIZE (yaf-2.9.3.tar.gz) = 2119737
+TIMESTAMP = 1534693349
+SHA256 (yaf-2.10.0.tar.gz) = ed13a5d9f4cbbe6e82e2ee894cf3c324b2bb209df7eb95f2be10619bbf13d805
+SIZE (yaf-2.10.0.tar.gz) = 2138460
diff --git a/net-mgmt/yaf/pkg-plist b/net-mgmt/yaf/pkg-plist
index 398bd3cae632..d1f9567eaa4b 100644
--- a/net-mgmt/yaf/pkg-plist
+++ b/net-mgmt/yaf/pkg-plist
@@ -6,9 +6,6 @@ bin/yaf
bin/yafMeta2Pcap
bin/yafcollect
bin/yafscii
-@sample etc/dhcp_fingerprints.conf.sample
-@sample etc/yafApplabelRules.conf.sample
-@sample etc/yafDPIRules.conf.sample
include/airframe/airlock.h
include/airframe/airopt.h
include/airframe/airutil.h
@@ -27,7 +24,6 @@ include/airframe/mio_source_tcp.h
include/airframe/mio_source_udp.h
include/airframe/mio_stdio.h
include/airframe/privconfig.h
-include/yaf/CERT_IE.h
include/yaf/autoinc.h
include/yaf/decode.h
include/yaf/picq.h
@@ -168,6 +164,10 @@ lib/libyaf.so
%%APPLABEL%%lib/yaf/netdgmplugin.so
%%APPLABEL%%lib/yaf/netdgmplugin.so.1
%%APPLABEL%%lib/yaf/netdgmplugin.so.1.0.1
+@sample %%ETCDIR%%/dhcp_fingerprints.conf.sample
+@sample %%ETCDIR%%/yafApplabelRules.conf.sample
+@sample %%ETCDIR%%/yafDPIRules.conf.sample
+@sample %%ETCDIR%%/yaf.conf.sample
libdata/pkgconfig/libairframe.pc
libdata/pkgconfig/libyaf.pc
man/man1/airdaemon.1.gz