aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-11-15 01:07:08 +0800
committersem <sem@FreeBSD.org>2005-11-15 01:07:08 +0800
commit35435d1f9d93e76e05b29c4fb94f5a9eb6b97f0b (patch)
treee8a63ec5e69747bc60a66ae6393226de6a3cf329 /security
parentb56264adbb1e79205d6439c49991712e0aec4a6d (diff)
downloadfreebsd-ports-gnome-35435d1f9d93e76e05b29c4fb94f5a9eb6b97f0b.tar.gz
freebsd-ports-gnome-35435d1f9d93e76e05b29c4fb94f5a9eb6b97f0b.tar.zst
freebsd-ports-gnome-35435d1f9d93e76e05b29c4fb94f5a9eb6b97f0b.zip
libnet update:
- move 1.0 obsoleted version to net/libnet10 net/libnet is latest Stable Version net/libnet is latest Beta Version - Fix all depended ports with a new DEPENDS scheme - While I'm here fix security/yersinia build on 4.x (getopt_long and ncurses issues) PR: ports/85519 (based on) Submitted by: Stas Yakovlev <stas.yakovlev_at_gmail.com>
Diffstat (limited to 'security')
-rw-r--r--security/dsniff/Makefile3
-rw-r--r--security/firewalk/Makefile4
-rw-r--r--security/ipguard/Makefile3
-rw-r--r--security/labrea/Makefile3
-rw-r--r--security/sasp/Makefile3
-rw-r--r--security/snort/Makefile3
-rw-r--r--security/snort_inline/Makefile3
-rw-r--r--security/unicornscan/Makefile4
-rw-r--r--security/vida/Makefile3
-rw-r--r--security/yersinia/Makefile6
-rw-r--r--security/yersinia/files/patch-src-ncurses-gui.c15
-rw-r--r--security/zombiezapper/Makefile3
12 files changed, 39 insertions, 14 deletions
diff --git a/security/dsniff/Makefile b/security/dsniff/Makefile
index fe1f92c6f6b3..118d195e18a8 100644
--- a/security/dsniff/Makefile
+++ b/security/dsniff/Makefile
@@ -7,13 +7,14 @@
PORTNAME= dsniff
PORTVERSION= 2.3
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://naughty.monkey.org/~dugsong/dsniff/
MAINTAINER= kris@FreeBSD.org
COMMENT= Various sniffing utilities for penetration testing
-BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet \
+BUILD_DEPENDS= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10 \
${LOCALBASE}/lib/libnids.a:${PORTSDIR}/net/libnids
GNU_CONFIGURE= yes
diff --git a/security/firewalk/Makefile b/security/firewalk/Makefile
index 39dff95283ea..dd8e73049871 100644
--- a/security/firewalk/Makefile
+++ b/security/firewalk/Makefile
@@ -7,7 +7,7 @@
PORTNAME= firewalk
PORTVERSION= 5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.packetfactory.net/firewalk/dist/
EXTRACT_SUFX= .tgz
@@ -16,7 +16,7 @@ MAINTAINER= onatan@gmail.com
COMMENT= A remote firewall auditing tool
BUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \
- ${LOCALBASE}/include/libnet/libnet-types.h:${PORTSDIR}/net/libnet-devel
+ libnet*>=1.1.2,1:${PORTSDIR}/net/libnet
RUN_DEPENDS= ${BUILD_DEPENDS}
WRKSRC= ${WRKDIR}/Firewalk
diff --git a/security/ipguard/Makefile b/security/ipguard/Makefile
index 82057ab281ba..fa681c7543de 100644
--- a/security/ipguard/Makefile
+++ b/security/ipguard/Makefile
@@ -7,13 +7,14 @@
PORTNAME= ipguard
PORTVERSION= 0.04
+PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= http://ipguard.deep.perm.ru/files/
MAINTAINER= sead@mail.ru
COMMENT= Tool designed to protect LAN IP adress space by ARP spoofing
-BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
+BUILD_DEPENDS= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10
MAN8= ipguard.8
diff --git a/security/labrea/Makefile b/security/labrea/Makefile
index dacca6687a0a..883d3e05dab7 100644
--- a/security/labrea/Makefile
+++ b/security/labrea/Makefile
@@ -7,6 +7,7 @@
PORTNAME= LaBrea
PORTVERSION= 2.4
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://freebsd.rogness.net/ports/labrea/
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/g}
@@ -15,7 +16,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= nick@rogness.net
COMMENT= Security tarpit defense tool
-BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
+BUILD_DEPENDS= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/LaBrea ${PREFIX}/bin
diff --git a/security/sasp/Makefile b/security/sasp/Makefile
index 0b32a3e72f29..ebe373c6e3bc 100644
--- a/security/sasp/Makefile
+++ b/security/sasp/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sasp
PORTVERSION= 0.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://people.freebsd.org/~ahze/distfiles/
@@ -15,7 +16,7 @@ MASTER_SITE_SUBDIR= ahze
MAINTAINER= sviat@OpenGEEKS.it
COMMENT= A tool that permits to use a gateway whatever IP we have
-BUILD_DEPENDS= ${LOCALBASE}/include/libnet/libnet-types.h:${PORTSDIR}/net/libnet-devel
+BUILD_DEPENDS= libnet*>=1.1.2,1:${PORTSDIR}/net/libnet
NO_WRKSUBDIR= yes
PLIST_FILES= sbin/sasp
diff --git a/security/snort/Makefile b/security/snort/Makefile
index e03ff8c14033..c6197fc24f99 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -7,6 +7,7 @@
PORTNAME= snort
PORTVERSION= 2.4.3
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.snort.org/dl/current/
@@ -41,7 +42,7 @@ DOCS= RELEASE.NOTES doc/AUTHORS doc/BUGS doc/CREDITS \
.include <bsd.port.pre.mk>
.if defined(WITH_FLEXRESP)
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
+BUILD_DEPENDS+= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10
CONFIGURE_ARGS+= --enable-flexresp \
--with-libnet-includes=${LOCALBASE}/include \
--with-libnet-libraries=${LOCALBASE}/lib
diff --git a/security/snort_inline/Makefile b/security/snort_inline/Makefile
index 5df25f5e2bde..fed2c388280b 100644
--- a/security/snort_inline/Makefile
+++ b/security/snort_inline/Makefile
@@ -7,6 +7,7 @@
PORTNAME= snort_inline
PORTVERSION= 2.3.0
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://freebsd.rogness.net/ports/snort_inline/
DISTNAME= snort_inline-2.3.0-RC1
@@ -26,7 +27,7 @@ CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --enable-inline --enable-ipfw
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
+BUILD_DEPENDS+= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10
CONFIGURE_ARGS+= --with-libnet-includes=${LOCALBASE}/include \
--with-libnet-libraries=${LOCALBASE}/lib
diff --git a/security/unicornscan/Makefile b/security/unicornscan/Makefile
index 548ef0e817ea..066540de552d 100644
--- a/security/unicornscan/Makefile
+++ b/security/unicornscan/Makefile
@@ -7,14 +7,14 @@
PORTNAME= unicornscan
PORTVERSION= 0.4.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.dyadsecurity.com/unicornscan/
MAINTAINER= cykyc@yahoo.com
COMMENT= Next-generation of udpscan plus a high-speed TCP scanner
-BUILD_DEPENDS= ${LOCALBASE}/include/libnet/libnet-types.h:${PORTSDIR}/net/libnet-devel
+BUILD_DEPENDS= libnet*>=1.1.2,1:${PORTSDIR}/net/libnet
USE_GMAKE= yes
USE_REINPLACE= yes
diff --git a/security/vida/Makefile b/security/vida/Makefile
index 1d409130bfc9..3e8635cd9308 100644
--- a/security/vida/Makefile
+++ b/security/vida/Makefile
@@ -7,13 +7,14 @@
PORTNAME= vida
PORTVERSION= 0.7.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://vidatapipe.sourceforge.net/
MAINTAINER= mich@FreeBSD.org
COMMENT= Vida is a multi-datapipe handler
-BUILD_DEPENDS= ${LOCALBASE}/include/libnet.h:${PORTSDIR}/net/libnet
+BUILD_DEPENDS= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10
LDFLAGS+= -pthread -lncurses -lpcap -lnet
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
diff --git a/security/zombiezapper/Makefile b/security/zombiezapper/Makefile
index 571ff771e9b1..f0fac0011c24 100644
--- a/security/zombiezapper/Makefile
+++ b/security/zombiezapper/Makefile
@@ -7,6 +7,7 @@
PORTNAME= zombiezapper
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://razor.bindview.com/tools/files/
DISTNAME= zombie-${PORTVERSION}
@@ -15,7 +16,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= roam@FreeBSD.org
COMMENT= Send a terminate command to Trinoo/TFN/Stacheldracht DDoS agents
-BUILD_DEPENDS= ${LOCALBASE}/bin/libnet-config:${PORTSDIR}/net/libnet/
+BUILD_DEPENDS= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10/
LIBNETCONF= ${LOCALBASE}/bin/libnet-config