aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2011-09-26 09:51:10 +0800
committerzi <zi@FreeBSD.org>2011-09-26 09:51:10 +0800
commitd0ca8b334cf86f267f89d92496693f6d7f04d645 (patch)
tree199c7ab25dff916abcbab7572d642ef39cda440c /net-mgmt
parentdb95a752bd443f1bb0613bd4fe9f49d5b8046a1f (diff)
downloadfreebsd-ports-gnome-d0ca8b334cf86f267f89d92496693f6d7f04d645.tar.gz
freebsd-ports-gnome-d0ca8b334cf86f267f89d92496693f6d7f04d645.tar.zst
freebsd-ports-gnome-d0ca8b334cf86f267f89d92496693f6d7f04d645.zip
- Update to 2.1.1 [1]
- Add LICENSE - Add Endace DAG support - Mark MAKE_JOBS_SAFE - Remove unneeded 6.x check PR: ports/160863 Submitted by: dikshie <dikshie@sfc.wide.ad.jp> (maintainer) [1]
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