aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/yaf/Makefile22
-rw-r--r--net-mgmt/yaf/distinfo4
-rw-r--r--net-mgmt/yaf/pkg-plist8
3 files changed, 20 insertions, 14 deletions
diff --git a/net-mgmt/yaf/Makefile b/net-mgmt/yaf/Makefile
index 3194b1f82968..fc2ecd595ac2 100644
--- a/net-mgmt/yaf/Makefile
+++ b/net-mgmt/yaf/Makefile
@@ -5,30 +5,36 @@
# $FreeBSD$
PORTNAME= yaf
-PORTVERSION= 1.3.1
+PORTVERSION= 2.1.1
CATEGORIES= net-mgmt
MASTER_SITES= http://tools.netsa.cert.org/releases/
MAINTAINER= dikshie@sfc.wide.ad.jp
COMMENT= YAF is Yet Another Flowmeter
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= fixbuf:${PORTSDIR}/net/libfixbuf \
pcre.0:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
USE_GNOME= glib20 gnomehack
USE_LDCONFIG= yes
+USE_PERL5= yes
+MAKE_JOBS_SAFE= yes
+CONFIOGURE_ARGS+= --disable-doxygen
+
+PLIST_SUB+= PORTVERSION="${PORTVERSION}"
MAN1= airdaemon.1 applabel.1 \
filedaemon.1 yaf.1 yafdpi.1 yafscii.1
+.if defined(WITH_DAG)
+CONFIGURE_ARGS+= --with-dag=${LOCALBASE}
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 700042
-BROKEN= does not build on 6.x.
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/yaf/distinfo b/net-mgmt/yaf/distinfo
index 9ac504248357..ed7c889c119e 100644
--- a/net-mgmt/yaf/distinfo
+++ b/net-mgmt/yaf/distinfo
@@ -1,2 +1,2 @@
-SHA256 (yaf-1.3.1.tar.gz) = 0c41dba35abf7d6890817351aacf12b2cb87d4d795a48157c3fb27810c56a097
-SIZE (yaf-1.3.1.tar.gz) = 1220573
+SHA256 (yaf-2.1.1.tar.gz) = 078c7518f6bdc6f9c1a93ec0bc8613be4f9f8090b3ec9cff76f87ddcd54df212
+SIZE (yaf-2.1.1.tar.gz) = 1298770
diff --git a/net-mgmt/yaf/pkg-plist b/net-mgmt/yaf/pkg-plist
index 388971a70cab..700edb40b4ef 100644
--- a/net-mgmt/yaf/pkg-plist
+++ b/net-mgmt/yaf/pkg-plist
@@ -35,8 +35,8 @@ include/yaf/yafcore.h
include/yaf/yafhooks.h
include/yaf/yafrag.h
include/yaf/yaftab.h
-lib/libairframe-1.3.1.so
-lib/libairframe-1.3.1.so.4
+lib/libairframe-%%PORTVERSION%%.so
+lib/libairframe-%%PORTVERSION%%.so.4
lib/libairframe.a
lib/libairframe.la
lib/libairframe.so
@@ -44,8 +44,8 @@ lib/libltdl.a
lib/libltdl.la
lib/libltdl.so
lib/libltdl.so.9
-lib/libyaf-1.3.1.so
-lib/libyaf-1.3.1.so.4
+lib/libyaf-%%PORTVERSION%%.so
+lib/libyaf-%%PORTVERSION%%.so.4
lib/libyaf.a
lib/libyaf.la
lib/libyaf.so