aboutsummaryrefslogtreecommitdiffstats
path: root/security/yersinia/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/yersinia/Makefile')
-rw-r--r--security/yersinia/Makefile29
1 files changed, 12 insertions, 17 deletions
diff --git a/security/yersinia/Makefile b/security/yersinia/Makefile
index f4756f5888b6..3db23e4e24a0 100644
--- a/security/yersinia/Makefile
+++ b/security/yersinia/Makefile
@@ -2,30 +2,25 @@
# $FreeBSD$
PORTNAME= yersinia
-PORTVERSION= 0.7.1
-PORTREVISION= 2
+PORTVERSION= 0.8.2
CATEGORIES= security
-MASTER_SITES= http://www.yersinia.net/download/
+MASTER_SITES= GH
+# MASTER_SITES= http://www.yersinia.net/download/
MAINTAINER= ayu@commun.jp
COMMENT= Layer 2 vulnerability scanner (switches, spanning tree, 802.1q ...)
-LIB_DEPENDS= libnet.so:net/libnet
+LICENSE= GPLv2
-.if !defined(WITHOUT_GTK)
-.if exists(${LOCALBASE}/include/gtk-2.0/gtk/gtk.h)
-WITH_GTK= true
-.endif
-.endif
-.if defined(WITH_GTK)
-USES= pkgconfig
-USE_GNOME+= gtk20
+LIB_DEPENDS= libnet.so:net/libnet \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2
+
+USES= autoreconf ncurses pkgconfig
+USE_GNOME+= cairo gdkpixbuf2 gtk20
PKGNAMESUFFIX= -gtk
-CONFLICTS= yersinia-[0-9]*
-.else
-CONFIGURE_ARGS+= --disable-gtk
-CONFLICTS= yersinia-gtk-[0-9]*
-.endif
+USE_GITHUB= yes
+GH_TUPLE= tomac:yersinia:8c0d7c5
GNU_CONFIGURE= yes
PLIST_FILES= sbin/yersinia \