summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2005-07-29 04:06:18 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2005-07-29 04:06:18 +0000
commitc4dea2fc7d4b38b268c9aaaad69abcc1994d5aeb (patch)
treeedc7829686c1e919cb656629c1423c52249e9400 /net-analyzer/snort/files
parentadding 0.4.0-rc5 post patch from svn upstream that fixes some 64bit vs. 32bit... (diff)
downloadgentoo-2-c4dea2fc7d4b38b268c9aaaad69abcc1994d5aeb.tar.gz
gentoo-2-c4dea2fc7d4b38b268c9aaaad69abcc1994d5aeb.tar.bz2
gentoo-2-c4dea2fc7d4b38b268c9aaaad69abcc1994d5aeb.zip
removing a lot of old ebuilds and files, version bump to 2.4.0
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-analyzer/snort/files')
-rw-r--r--net-analyzer/snort/files/2.0.6-libnet-1.0.patch57
-rw-r--r--net-analyzer/snort/files/2.1.2-libnet-1.0.patch57
-rw-r--r--net-analyzer/snort/files/digest-snort-2.0.62
-rw-r--r--net-analyzer/snort/files/digest-snort-2.1.32
-rw-r--r--net-analyzer/snort/files/digest-snort-2.2.02
-rw-r--r--net-analyzer/snort/files/digest-snort-2.3.03
-rw-r--r--net-analyzer/snort/files/digest-snort-2.3.0_rc23
-rw-r--r--net-analyzer/snort/files/digest-snort-2.4.03
-rw-r--r--net-analyzer/snort/files/digest-snort-2.4.200505083
-rw-r--r--net-analyzer/snort/files/snort-2.0.6-gcc3.patch12
-rw-r--r--net-analyzer/snort/files/snort-2.1.2-gcc3.patch12
-rw-r--r--net-analyzer/snort/files/snort-2.1.3-gcc3.patch12
-rw-r--r--net-analyzer/snort/files/snort-drop-calculation.diff87
13 files changed, 3 insertions, 252 deletions
diff --git a/net-analyzer/snort/files/2.0.6-libnet-1.0.patch b/net-analyzer/snort/files/2.0.6-libnet-1.0.patch
deleted file mode 100644
index c26fa717ba1c..000000000000
--- a/net-analyzer/snort/files/2.0.6-libnet-1.0.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- configure.orig 2003-08-19 01:19:05.948824752 -0400
-+++ configure 2003-08-19 01:19:06.212784624 -0400
-@@ -6376 +6376 @@
-- CPPFLAGS="${CPPFLAGS} -DENABLE_RESPONSE `libnet-config --defines --cflags`" LDFLAGS="${LDFLAGS} `libnet-config --libs`"
-+ CPPFLAGS="${CPPFLAGS} -DENABLE_RESPONSE `libnet-1.0-config --defines --cflags`" LDFLAGS="${LDFLAGS} `libnet-1.0-config --libs`"
-@@ -6382 +6382 @@
-- if test `libnet-config --cflags | wc -c` = "1"; then
-+ if test `libnet-1.0-config --cflags | wc -c` = "1"; then
-@@ -6387,3 +6387,3 @@
-- if test `libnet-config --libs | wc -c` = "1"; then
-- { echo "$as_me:$LINENO: WARNING: libnet-config --libs is broken on your system. If you" >&5
--echo "$as_me: WARNING: libnet-config --libs is broken on your system. If you" >&2;}
-+ if test `libnet-1.0-config --libs | wc -c` = "1"; then
-+ { echo "$as_me:$LINENO: WARNING: libnet-1.0-config --libs is broken on your system. If you" >&5
-+echo "$as_me: WARNING: libnet-1.0-config --libs is broken on your system. If you" >&2;}
-@@ -6395 +6395 @@
-- LIBS="${LIBS} -lnet"
-+ LIBS="${LIBS} -lnet-1.0"
-@@ -6400 +6400 @@
--for ac_header in libnet.h
-+for ac_header in libnet-1.0.h
-@@ -6533 +6533 @@
-- libnet_dir=`libnet-config --cflags | cut -dI -f2`
-+ libnet_dir=`libnet-1.0-config --cflags | cut -dI -f2`
-@@ -6538 +6538 @@
-- if test -r $i/libnet.h; then
-+ if test -r $i/libnet-1.0.h; then
-@@ -6544 +6544 @@
-- if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet.h | grep -v 1.0.2a >/dev/null"; then
-+ if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet-1.0.h | grep -v 1.0.2a >/dev/null"; then
-@@ -6555 +6555 @@
-- echo " ERROR: unable to find" "libnet 1.0.2a (libnet.h)"
-+ echo " ERROR: unable to find" "libnet 1.0.2a (libnet-1.0.h)"
-@@ -6574 +6574 @@
-- echo " ERROR: unable to find" "libnet 1.0.2a (libnet.h)"
-+ echo " ERROR: unable to find" "libnet 1.0.2a (libnet-1.0.h)"
-@@ -6587,2 +6587,2 @@
--echo "$as_me:$LINENO: checking for libnet_build_ip in -lnet" >&5
--echo $ECHO_N "checking for libnet_build_ip in -lnet... $ECHO_C" >&6
-+echo "$as_me:$LINENO: checking for libnet_build_ip in -lnet-1.0" >&5
-+echo $ECHO_N "checking for libnet_build_ip in -lnet-1.0... $ECHO_C" >&6
-@@ -6593 +6593 @@
--LIBS="-lnet $LIBS"
-+LIBS="-lnet-1.0 $LIBS"
-@@ -6647 +6647 @@
-- LIBS="-lnet $LIBS"
-+ LIBS="-lnet-1.0 $LIBS"
---- src/detection-plugins/sp_react.c.orig 2003-08-19 01:19:06.106800736 -0400
-+++ src/detection-plugins/sp_react.c 2003-08-19 01:19:06.220783408 -0400
-@@ -56 +56 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- src/detection-plugins/sp_respond.c.orig 2003-08-19 01:19:06.111799976 -0400
-+++ src/detection-plugins/sp_respond.c 2003-08-19 01:19:06.225782648 -0400
-@@ -33 +33 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
diff --git a/net-analyzer/snort/files/2.1.2-libnet-1.0.patch b/net-analyzer/snort/files/2.1.2-libnet-1.0.patch
deleted file mode 100644
index c26fa717ba1c..000000000000
--- a/net-analyzer/snort/files/2.1.2-libnet-1.0.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- configure.orig 2003-08-19 01:19:05.948824752 -0400
-+++ configure 2003-08-19 01:19:06.212784624 -0400
-@@ -6376 +6376 @@
-- CPPFLAGS="${CPPFLAGS} -DENABLE_RESPONSE `libnet-config --defines --cflags`" LDFLAGS="${LDFLAGS} `libnet-config --libs`"
-+ CPPFLAGS="${CPPFLAGS} -DENABLE_RESPONSE `libnet-1.0-config --defines --cflags`" LDFLAGS="${LDFLAGS} `libnet-1.0-config --libs`"
-@@ -6382 +6382 @@
-- if test `libnet-config --cflags | wc -c` = "1"; then
-+ if test `libnet-1.0-config --cflags | wc -c` = "1"; then
-@@ -6387,3 +6387,3 @@
-- if test `libnet-config --libs | wc -c` = "1"; then
-- { echo "$as_me:$LINENO: WARNING: libnet-config --libs is broken on your system. If you" >&5
--echo "$as_me: WARNING: libnet-config --libs is broken on your system. If you" >&2;}
-+ if test `libnet-1.0-config --libs | wc -c` = "1"; then
-+ { echo "$as_me:$LINENO: WARNING: libnet-1.0-config --libs is broken on your system. If you" >&5
-+echo "$as_me: WARNING: libnet-1.0-config --libs is broken on your system. If you" >&2;}
-@@ -6395 +6395 @@
-- LIBS="${LIBS} -lnet"
-+ LIBS="${LIBS} -lnet-1.0"
-@@ -6400 +6400 @@
--for ac_header in libnet.h
-+for ac_header in libnet-1.0.h
-@@ -6533 +6533 @@
-- libnet_dir=`libnet-config --cflags | cut -dI -f2`
-+ libnet_dir=`libnet-1.0-config --cflags | cut -dI -f2`
-@@ -6538 +6538 @@
-- if test -r $i/libnet.h; then
-+ if test -r $i/libnet-1.0.h; then
-@@ -6544 +6544 @@
-- if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet.h | grep -v 1.0.2a >/dev/null"; then
-+ if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet-1.0.h | grep -v 1.0.2a >/dev/null"; then
-@@ -6555 +6555 @@
-- echo " ERROR: unable to find" "libnet 1.0.2a (libnet.h)"
-+ echo " ERROR: unable to find" "libnet 1.0.2a (libnet-1.0.h)"
-@@ -6574 +6574 @@
-- echo " ERROR: unable to find" "libnet 1.0.2a (libnet.h)"
-+ echo " ERROR: unable to find" "libnet 1.0.2a (libnet-1.0.h)"
-@@ -6587,2 +6587,2 @@
--echo "$as_me:$LINENO: checking for libnet_build_ip in -lnet" >&5
--echo $ECHO_N "checking for libnet_build_ip in -lnet... $ECHO_C" >&6
-+echo "$as_me:$LINENO: checking for libnet_build_ip in -lnet-1.0" >&5
-+echo $ECHO_N "checking for libnet_build_ip in -lnet-1.0... $ECHO_C" >&6
-@@ -6593 +6593 @@
--LIBS="-lnet $LIBS"
-+LIBS="-lnet-1.0 $LIBS"
-@@ -6647 +6647 @@
-- LIBS="-lnet $LIBS"
-+ LIBS="-lnet-1.0 $LIBS"
---- src/detection-plugins/sp_react.c.orig 2003-08-19 01:19:06.106800736 -0400
-+++ src/detection-plugins/sp_react.c 2003-08-19 01:19:06.220783408 -0400
-@@ -56 +56 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- src/detection-plugins/sp_respond.c.orig 2003-08-19 01:19:06.111799976 -0400
-+++ src/detection-plugins/sp_respond.c 2003-08-19 01:19:06.225782648 -0400
-@@ -33 +33 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
diff --git a/net-analyzer/snort/files/digest-snort-2.0.6 b/net-analyzer/snort/files/digest-snort-2.0.6
deleted file mode 100644
index 8667ace13fcd..000000000000
--- a/net-analyzer/snort/files/digest-snort-2.0.6
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 51123744b4e5952e2bb4156c912adacc snort-2.0.6.tar.gz 1960326
-MD5 7fd78d7bb755227c5acec7bfecdb94f7 snort-prelude-reporting-patch-0.2.5.tar.gz 39277
diff --git a/net-analyzer/snort/files/digest-snort-2.1.3 b/net-analyzer/snort/files/digest-snort-2.1.3
deleted file mode 100644
index 02f5f6b2ba3a..000000000000
--- a/net-analyzer/snort/files/digest-snort-2.1.3
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 76a538d27c23d51dbed43b04c06114e1 snort-2.1.3.tar.gz 2379344
-MD5 b515ee767b9889303e4a9b14dee5b078 snortsam-patch.tar.gz 29496
diff --git a/net-analyzer/snort/files/digest-snort-2.2.0 b/net-analyzer/snort/files/digest-snort-2.2.0
deleted file mode 100644
index da125d9c3643..000000000000
--- a/net-analyzer/snort/files/digest-snort-2.2.0
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 6194278217e4e3f733b046256a31f0e6 snort-2.2.0.tar.gz 2498466
-MD5 b515ee767b9889303e4a9b14dee5b078 snortsam-patch.tar.gz 29496
diff --git a/net-analyzer/snort/files/digest-snort-2.3.0 b/net-analyzer/snort/files/digest-snort-2.3.0
deleted file mode 100644
index bb07b37ca084..000000000000
--- a/net-analyzer/snort/files/digest-snort-2.3.0
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 89cdc22af9516cbafc359b452819947e snort-2.3.0.tar.gz 2633245
-MD5 2eeef1a7a040d67c3afaf9d749905e47 snortsam-20050110.tar.gz 29395
-MD5 323ab2956a59de113aa13099917f0d3a snort-prelude-reporting-patch-0.3.6.tar.gz 21964
diff --git a/net-analyzer/snort/files/digest-snort-2.3.0_rc2 b/net-analyzer/snort/files/digest-snort-2.3.0_rc2
deleted file mode 100644
index 2507641b7486..000000000000
--- a/net-analyzer/snort/files/digest-snort-2.3.0_rc2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 0c980ae53823305bd58e651cb5fd1a41 snort-2.3.0RC2.tar.gz 2251772
-MD5 2eeef1a7a040d67c3afaf9d749905e47 snortsam-20050110.tar.gz 29395
-MD5 323ab2956a59de113aa13099917f0d3a snort-prelude-reporting-patch-0.3.6.tar.gz 21964
diff --git a/net-analyzer/snort/files/digest-snort-2.4.0 b/net-analyzer/snort/files/digest-snort-2.4.0
new file mode 100644
index 000000000000..ee0e4b0dcc9a
--- /dev/null
+++ b/net-analyzer/snort/files/digest-snort-2.4.0
@@ -0,0 +1,3 @@
+MD5 033e21190c5308fe69857908285feed1 snort-2.4.0.tar.gz 2126176
+MD5 316f28cf52efeddfd899552f3b26cd8d snort-2.4.0-genpatches.tar.bz2 6475
+MD5 2eeef1a7a040d67c3afaf9d749905e47 snortsam-20050110.tar.gz 29395
diff --git a/net-analyzer/snort/files/digest-snort-2.4.20050508 b/net-analyzer/snort/files/digest-snort-2.4.20050508
deleted file mode 100644
index 3104a65adb0e..000000000000
--- a/net-analyzer/snort/files/digest-snort-2.4.20050508
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 c83a4ef61f462ff83c6da922b5d4784a snort-2.4.20050508.tar.gz 2090957
-MD5 2eeef1a7a040d67c3afaf9d749905e47 snortsam-20050110.tar.gz 29395
-MD5 681fa7e99aa674c0e2be4788ef503d69 sguil-sensor-0.5.3.tar.gz 89816
diff --git a/net-analyzer/snort/files/snort-2.0.6-gcc3.patch b/net-analyzer/snort/files/snort-2.0.6-gcc3.patch
deleted file mode 100644
index 972aee39c74a..000000000000
--- a/net-analyzer/snort/files/snort-2.0.6-gcc3.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur snort-2.0.2/src/util.h snort-2.0.2-gentoo/src/util.h
---- snort-2.0.2/src/util.h 2003-03-27 09:59:30.000000000 +1200
-+++ snort-2.0.2-gentoo/src/util.h 2003-10-10 02:11:41.000000000 +1300
-@@ -39,6 +39,8 @@
- #include "strlcpyu.h"
- #endif
-
-+#include <sys/types.h>
-+
- extern u_long netmasks[33];
-
- /* Self preservation memory control struct */
diff --git a/net-analyzer/snort/files/snort-2.1.2-gcc3.patch b/net-analyzer/snort/files/snort-2.1.2-gcc3.patch
deleted file mode 100644
index 972aee39c74a..000000000000
--- a/net-analyzer/snort/files/snort-2.1.2-gcc3.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur snort-2.0.2/src/util.h snort-2.0.2-gentoo/src/util.h
---- snort-2.0.2/src/util.h 2003-03-27 09:59:30.000000000 +1200
-+++ snort-2.0.2-gentoo/src/util.h 2003-10-10 02:11:41.000000000 +1300
-@@ -39,6 +39,8 @@
- #include "strlcpyu.h"
- #endif
-
-+#include <sys/types.h>
-+
- extern u_long netmasks[33];
-
- /* Self preservation memory control struct */
diff --git a/net-analyzer/snort/files/snort-2.1.3-gcc3.patch b/net-analyzer/snort/files/snort-2.1.3-gcc3.patch
deleted file mode 100644
index 972aee39c74a..000000000000
--- a/net-analyzer/snort/files/snort-2.1.3-gcc3.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur snort-2.0.2/src/util.h snort-2.0.2-gentoo/src/util.h
---- snort-2.0.2/src/util.h 2003-03-27 09:59:30.000000000 +1200
-+++ snort-2.0.2-gentoo/src/util.h 2003-10-10 02:11:41.000000000 +1300
-@@ -39,6 +39,8 @@
- #include "strlcpyu.h"
- #endif
-
-+#include <sys/types.h>
-+
- extern u_long netmasks[33];
-
- /* Self preservation memory control struct */
diff --git a/net-analyzer/snort/files/snort-drop-calculation.diff b/net-analyzer/snort/files/snort-drop-calculation.diff
deleted file mode 100644
index f246155611dd..000000000000
--- a/net-analyzer/snort/files/snort-drop-calculation.diff
+++ /dev/null
@@ -1,87 +0,0 @@
---- src/util.orig 2003-10-01 16:17:50.000000000 +0200
-+++ src/util.c 2003-10-01 16:20:27.000000000 +0200
-@@ -916,13 +916,13 @@
- LogMessage("\n\n===================================="
- "===========================================\n");
- LogMessage("Snort analyzed %d out of %d packets, ",
-- ps.ps_recv, ps.ps_recv+ps.ps_drop);
-+ ps.ps_recv - ps.ps_drop, ps.ps_recv);
-
- if(ps.ps_recv)
- {
- LogMessage("dropping %d(%.3f%%) packets\n\n",
- ps.ps_drop,
-- CalcPct( (float) ps.ps_drop, (float) (ps.ps_recv+ps.ps_drop) ));
-+ CalcPct( (float) ps.ps_drop, (float) ps.ps_recv ));
- }
- else
- {
-@@ -931,44 +931,44 @@
-
- LogMessage("Breakdown by protocol: Action Stats:\n");
- LogMessage(" TCP: %-10ld (%.3f%%)%-*sALERTS: %-10ld\n",
-- pc.tcp, CalcPct((float) pc.tcp, recv + drop),
-+ pc.tcp, CalcPct((float) pc.tcp, recv),
- CalcPct((float)pc.tcp,recv + drop)<10?10:9 , " ", pc.alert_pkts);
- LogMessage(" UDP: %-10ld (%.3f%%)%-*sLOGGED: %-10ld\n",
-- pc.udp, CalcPct((float) pc.udp, recv + drop),
-+ pc.udp, CalcPct((float) pc.udp, recv),
- CalcPct((float)pc.udp,recv + drop)<10?10:9, " ", pc.log_pkts);
- LogMessage(" ICMP: %-10ld (%.3f%%)%-*sPASSED: %-10ld\n",
-- pc.icmp, CalcPct((float) pc.icmp, recv + drop),
-+ pc.icmp, CalcPct((float) pc.icmp, recv),
- CalcPct((float)pc.icmp,recv + drop)<10?10:9, " ", pc.pass_pkts);
- LogMessage(" ARP: %-10ld (%.3f%%)\n",
-- pc.arp, CalcPct((float) pc.arp, recv + drop));
-+ pc.arp, CalcPct((float) pc.arp, recv));
- LogMessage(" EAPOL: %-10ld (%.3f%%)\n",
-- pc.eapol, CalcPct((float) pc.eapol, recv + drop));
-+ pc.eapol, CalcPct((float) pc.eapol, recv));
- LogMessage(" IPv6: %-10ld (%.3f%%)\n",
-- pc.ipv6, CalcPct((float) pc.ipv6, recv + drop));
-+ pc.ipv6, CalcPct((float) pc.ipv6, recv));
- LogMessage(" IPX: %-10ld (%.3f%%)\n",
-- pc.ipx, CalcPct((float) pc.ipx, recv + drop));
-+ pc.ipx, CalcPct((float) pc.ipx, recv));
- LogMessage(" OTHER: %-10ld (%.3f%%)\n",
-- pc.other, CalcPct((float) pc.other, recv + drop));
-+ pc.other, CalcPct((float) pc.other, recv));
- LogMessage("DISCARD: %-10ld (%.3f%%)\n",
-- pc.discards, CalcPct((float) pc.discards, recv + drop));
-+ pc.discards, CalcPct((float) pc.discards, recv));
- LogMessage("================================================"
- "===============================\n");
- LogMessage("Wireless Stats:\n");
- LogMessage("Breakdown by type:\n");
- LogMessage(" Management Packets: %-10ld (%.3f%%)\n",
- pc.wifi_mgmt, CalcPct((float) pc.wifi_mgmt
-- , recv + drop));
-+ , recv));
- LogMessage(" Control Packets: %-10ld (%.3f%%)\n",
- pc.wifi_control, CalcPct((float) pc.wifi_control
-- , recv + drop));
-+ , recv));
- LogMessage(" Data Packets: %-10ld (%.3f%%)\n",
- pc.wifi_data, CalcPct((float) pc.wifi_data
-- , recv + drop));
-+ , recv));
- LogMessage("================================================"
- "===============================\n");
- LogMessage("Fragmentation Stats:\n");
- LogMessage("Fragmented IP Packets: %-10ld (%.3f%%)\n",
-- pc.frags, CalcPct((float) pc.frags, recv + drop));
-+ pc.frags, CalcPct((float) pc.frags, recv));
- LogMessage(" Fragment Trackers: %-10ld\n",
- pc.frag_trackers);
- LogMessage(" Rebuilt IP Packets: %-10ld\n",
-@@ -987,7 +987,7 @@
- LogMessage("TCP Stream Reassembly Stats:\n");
- LogMessage(" TCP Packets Used: %-10ld (%-3.3f%%)\n",
- pc.tcp_stream_pkts,
-- CalcPct((float) pc.tcp_stream_pkts, recv + drop));
-+ CalcPct((float) pc.tcp_stream_pkts, recv));
- LogMessage(" Stream Trackers: %-10ld\n", pc.tcp_streams);
- LogMessage(" Stream flushes: %-10ld\n", pc.rebuilt_tcp);
- LogMessage(" Segments used: %-10ld\n", pc.rebuilt_segs);
-
-