Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2018 16:44:31 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478225 - head/net-mgmt/yaf
Message-ID:  <201808271644.w7RGiVbg098502@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Aug 27 16:44:30 2018
New Revision: 478225
URL: https://svnweb.freebsd.org/changeset/ports/478225

Log:
  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)

Modified:
  head/net-mgmt/yaf/Makefile   (contents, props changed)
  head/net-mgmt/yaf/distinfo   (contents, props changed)
  head/net-mgmt/yaf/pkg-plist   (contents, props changed)

Modified: head/net-mgmt/yaf/Makefile
==============================================================================
--- head/net-mgmt/yaf/Makefile	Mon Aug 27 16:43:24 2018	(r478224)
+++ head/net-mgmt/yaf/Makefile	Mon Aug 27 16:44:30 2018	(r478225)
@@ -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
 

Modified: head/net-mgmt/yaf/distinfo
==============================================================================
--- head/net-mgmt/yaf/distinfo	Mon Aug 27 16:43:24 2018	(r478224)
+++ head/net-mgmt/yaf/distinfo	Mon Aug 27 16:44:30 2018	(r478225)
@@ -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

Modified: head/net-mgmt/yaf/pkg-plist
==============================================================================
--- head/net-mgmt/yaf/pkg-plist	Mon Aug 27 16:43:24 2018	(r478224)
+++ head/net-mgmt/yaf/pkg-plist	Mon Aug 27 16:44:30 2018	(r478225)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808271644.w7RGiVbg098502>