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
|
|
|
|
PORTVERSION= 0.5.4
|
2005-11-14 18:07:08 +01:00
|
|
|
PORTREVISION= 1
|
2005-07-26 19:13:00 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= se@FreeBSD.org
|
|
|
|
COMMENT= Layer 2 vulnerability scanner (switches, spanning tree, 802.1q ...)
|
|
|
|
|
2005-11-14 18:07:08 +01:00
|
|
|
USE_GETOPT_LONG= yes
|
|
|
|
|
2005-09-02 18:25:29 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
2005-07-26 19:13:00 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2005-09-02 18:23:28 +02:00
|
|
|
NOT_FOR_ARCHS= ia64 sparc64
|
2005-07-26 19:13:00 +02:00
|
|
|
MAN8= yersinia.8
|
|
|
|
CFLAGS+= -DNEED_GETOPT_H
|
|
|
|
PLIST_FILES= sbin/yersinia
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/yersinia ${PREFIX}/sbin/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/yersinia.8 ${PREFIX}/man/man8/
|
|
|
|
|
2005-09-02 18:25:29 +02:00
|
|
|
.include <bsd.port.post.mk>
|