diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-11-14 17:07:08 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-11-14 17:07:08 +0000 |
commit | e1c4707bab49a445d286c16116d18d54e213b1c0 (patch) | |
tree | 04c85b031b3bfa837bea4ce1098f07e265147ebb /security/yersinia | |
parent | 13c002e952c5963263b7c7f75c08b2907aa79d9e (diff) |
Notes
Diffstat (limited to 'security/yersinia')
-rw-r--r-- | security/yersinia/Makefile | 6 | ||||
-rw-r--r-- | security/yersinia/files/patch-src-ncurses-gui.c | 15 |
2 files changed, 19 insertions, 2 deletions
diff --git a/security/yersinia/Makefile b/security/yersinia/Makefile index 0414c9b833b5..e41b627832c9 100644 --- a/security/yersinia/Makefile +++ b/security/yersinia/Makefile @@ -7,6 +7,7 @@ PORTNAME= yersinia PORTVERSION= 0.5.4 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,10 +15,11 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= se@FreeBSD.org COMMENT= Layer 2 vulnerability scanner (switches, spanning tree, 802.1q ...) +USE_GETOPT_LONG= yes + .include <bsd.port.pre.mk> -# Dependency on file that is not also installed by libnet (1.0.2) port! -BUILD_DEPENDS= ${LOCALBASE}/share/examples/libnet/ip_raw.c:${PORTSDIR}/net/libnet-devel +BUILD_DEPENDS= libnet*>=1.1.2,1:${PORTSDIR}/net/libnet .if ${OSVERSION} < 500000 BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap diff --git a/security/yersinia/files/patch-src-ncurses-gui.c b/security/yersinia/files/patch-src-ncurses-gui.c new file mode 100644 index 000000000000..0fc407a9964d --- /dev/null +++ b/security/yersinia/files/patch-src-ncurses-gui.c @@ -0,0 +1,15 @@ +--- src/ncurses-gui.c.orig Mon Nov 14 17:49:42 2005 ++++ src/ncurses-gui.c Mon Nov 14 18:01:48 2005 +@@ -87,6 +87,12 @@ + #include "ncurses-gui.h" + + ++#ifdef __FreeBSD__ ++#include <sys/param.h> ++#if __FreeBSD_version < 500037 ++#define resize_term resizeterm ++#endif ++#endif + + /* + * Initialization routines for the GUI |