2005-07-26 19:13:00 +02:00
|
|
|
# New ports collection makefile for: yersinia
|
|
|
|
# Date created: Sun Jul 24 10:43:13 CEST 2005
|
|
|
|
# Whom: se
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= yersinia
|
2006-06-25 12:15:37 +02:00
|
|
|
PORTVERSION= 0.7
|
2005-07-26 19:13:00 +02:00
|
|
|
CATEGORIES= security
|
2006-06-25 12:15:37 +02:00
|
|
|
MASTER_SITES= http://www.yersinia.net/download/
|
2005-07-26 19:13:00 +02:00
|
|
|
|
|
|
|
MAINTAINER= se@FreeBSD.org
|
|
|
|
COMMENT= Layer 2 vulnerability scanner (switches, spanning tree, 802.1q ...)
|
|
|
|
|
2005-11-14 18:07:08 +01:00
|
|
|
BUILD_DEPENDS= libnet*>=1.1.2,1:${PORTSDIR}/net/libnet
|
2005-07-26 19:13:00 +02:00
|
|
|
|
2006-07-10 18:10:59 +02:00
|
|
|
.if !defined(WITHOUT_GTK)
|
|
|
|
.if exists(${X11BASE}/include/gtk-2.0/gtk/gtk.h)
|
|
|
|
WITH_GTK= true
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
.if defined(WITH_GTK)
|
|
|
|
USE_GNOME+= pkgconfig gtk20
|
|
|
|
PKGNAMESUFFIX= -gtk
|
|
|
|
CONFLICTS= yersinia-[0-9]*
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk
|
|
|
|
CONFLICTS= yersinia-gtk-[0-9]*
|
|
|
|
.endif
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-09-02 18:25:29 +02:00
|
|
|
.if ${OSVERSION} < 500000
|
2005-09-19 20:16:02 +02:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
|
2005-09-02 18:25:29 +02:00
|
|
|
.endif
|
|
|
|
|
2006-07-10 18:10:59 +02:00
|
|
|
#NOT_FOR_ARCHS= ia64 sparc64
|
2005-07-26 19:13:00 +02:00
|
|
|
MAN8= yersinia.8
|
|
|
|
PLIST_FILES= sbin/yersinia
|
|
|
|
|
|
|
|
do-install:
|
2006-08-12 17:16:47 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/yersinia ${TARGETDIR}/sbin/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/yersinia.8 ${TARGETDIR}/man/man8/
|
2005-07-26 19:13:00 +02:00
|
|
|
|
2005-09-02 18:25:29 +02:00
|
|
|
.include <bsd.port.post.mk>
|