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)
This commit is contained in:
Steve Wills 2018-08-27 16:44:30 +00:00
parent 292c00f30a
commit 35e3e5eaad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478225
3 changed files with 13 additions and 13 deletions

View file

@ -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

View file

@ -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

View file

@ -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