diff options
author | 2004-05-19 03:49:48 +0000 | |
---|---|---|
committer | 2004-05-19 03:49:48 +0000 | |
commit | e4ff79ce310076ad608c0134d3da907861ab0ba8 (patch) | |
tree | d7f0be4eb5acbb426939480cd613cc1d68b7c2a7 /net-analyzer | |
parent | Fix typo in source uri. (diff) | |
download | historical-e4ff79ce310076ad608c0134d3da907861ab0ba8.tar.gz historical-e4ff79ce310076ad608c0134d3da907861ab0ba8.tar.bz2 historical-e4ff79ce310076ad608c0134d3da907861ab0ba8.zip |
Cleaning out old ebuilds
Diffstat (limited to 'net-analyzer')
27 files changed, 13 insertions, 1440 deletions
diff --git a/net-analyzer/snort/ChangeLog b/net-analyzer/snort/ChangeLog index f02a996eef95..1c8aa4035016 100644 --- a/net-analyzer/snort/ChangeLog +++ b/net-analyzer/snort/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for net-analyzer/snort # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/ChangeLog,v 1.40 2004/05/17 14:50:20 mboman Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/ChangeLog,v 1.41 2004/05/19 03:49:48 mboman Exp $ + + 19 May 2004; Michael Boman <mboman@gentoo.org> snort-1.9.1-r3.ebuild, + snort-2.0.0.ebuild, snort-2.0.1-r1.ebuild, snort-2.0.2.ebuild, + snort-2.0.5-r1.ebuild, snort-2.0.5-r2.ebuild, snort-2.0.5.ebuild, + files/1.9.1-libnet-1.0.patch, files/2.0.0-libnet-1.0.patch, + files/2.0.1-libnet-1.0.patch, files/2.0.2-libnet-1.0.patch, + files/2.0.5-libnet-1.0.patch, files/snort-1.9.0-gentoo.diff, + files/snort-1.9.1-alpha-core_vuln.diff, files/snort-1.9.1-alpha.patch, + files/snort-1.9.1-configure.patch, files/snort-2.0.2-gcc3.patch, + files/snort-2.0.5-gcc3.patch: + Cleaning out old ebuilds 17 May 2004; Michael Boman <mboman@gentoo.org> snort-2.1.2.ebuild: Mark 2.1.2 stable on x86 diff --git a/net-analyzer/snort/Manifest b/net-analyzer/snort/Manifest index f7d4e94c52dc..2e51b36ee7e6 100644 --- a/net-analyzer/snort/Manifest +++ b/net-analyzer/snort/Manifest @@ -1,44 +1,19 @@ -MD5 cd9d5fa3d73bacc8e00574f90b14d861 ChangeLog 8120 +MD5 20b9cb6e64b02462c6b6157b515d6dab ChangeLog 8712 MD5 f629e6b9c8a922659de794d67f0cd115 metadata.xml 928 -MD5 51b288810a6fdcc5cce3f7ab2a5945a7 snort-1.9.1-r3.ebuild 2283 -MD5 03c287fe6ca2ab40814f12608b76d96a snort-2.0.0.ebuild 3035 -MD5 d0243fa346143e030c5fe251ca78e6d8 snort-2.0.1-r1.ebuild 2722 -MD5 07a597c9eb16d5d35587bd93bde7f9f7 snort-2.0.2.ebuild 2638 -MD5 c692e9896d16b7cb8693287a03db20a6 snort-2.0.5-r1.ebuild 2998 -MD5 9fa3f3ef9cfd1f0c5228e972b664dbb6 snort-2.0.5-r2.ebuild 3149 -MD5 d668166df3d6facc2279cdd681c108ae snort-2.0.5.ebuild 2638 MD5 6b11ef1508669652a616528841ab6204 snort-2.0.6.ebuild 3141 MD5 51ee9de48d3300ec9fd8cae6a3a9f254 snort-2.1.0-r1.ebuild 3677 MD5 38f50d2214776f9d9919c8dbcf742bc5 snort-2.1.0.ebuild 3475 MD5 faf59c0762ba0e03a99a40332312a903 snort-2.1.1.ebuild 3521 MD5 9de4539f676c3d771d6cfa23b974bc08 snort-2.1.2.ebuild 3522 -MD5 a45c40b1fd8165ed1e9616808d8f4d41 files/1.9.1-libnet-1.0.patch 2907 -MD5 79f3f73bc2f906d80d46bbb2e5816c81 files/2.0.0-libnet-1.0.patch 2679 -MD5 fe6a25fdd3c6d4b527d89c51d78b8f36 files/2.0.1-libnet-1.0.patch 2753 -MD5 fe6a25fdd3c6d4b527d89c51d78b8f36 files/2.0.2-libnet-1.0.patch 2753 -MD5 fe6a25fdd3c6d4b527d89c51d78b8f36 files/2.0.5-libnet-1.0.patch 2753 MD5 fe6a25fdd3c6d4b527d89c51d78b8f36 files/2.0.6-libnet-1.0.patch 2753 MD5 fe6a25fdd3c6d4b527d89c51d78b8f36 files/2.1.0-libnet-1.0.patch 2753 MD5 fe6a25fdd3c6d4b527d89c51d78b8f36 files/2.1.1-libnet-1.0.patch 2753 MD5 fe6a25fdd3c6d4b527d89c51d78b8f36 files/2.1.2-libnet-1.0.patch 2753 -MD5 4a957dd6316ffe54d0a8c3f5780aac10 files/digest-snort-1.9.1-r3 63 -MD5 c57b7870750dc2c7d6e78af937fefc4b files/digest-snort-2.0.0 64 -MD5 6892a20ff14df4a1de3a08e966d2f106 files/digest-snort-2.0.1-r1 136 -MD5 108c39f03b69a47daeb6d7d066830f15 files/digest-snort-2.0.2 136 -MD5 72fcf2ac8274916456a4b43269692a69 files/digest-snort-2.0.5 136 -MD5 f0da97d8f9acc787973aa956caebb66c files/digest-snort-2.0.5-r1 150 -MD5 f0da97d8f9acc787973aa956caebb66c files/digest-snort-2.0.5-r2 150 MD5 202dd3be05b16c852303a04284eba720 files/digest-snort-2.0.6 150 MD5 7c11e6d5a07263b09e86572d96222d09 files/digest-snort-2.1.0 150 MD5 37a67a034efff43a090ca4c84bc65251 files/digest-snort-2.1.0-r1 64 MD5 a0a2702875fd25016f4e627cf801edb9 files/digest-snort-2.1.1 64 MD5 cfa70b4b7a18ef0615bd6a8681ace3e2 files/digest-snort-2.1.2 64 -MD5 891c0d6b2028a15a44c40ba3f131192d files/snort-1.9.0-gentoo.diff 384 -MD5 20eeb720d24e091ead1b128bc4981748 files/snort-1.9.1-alpha-core_vuln.diff 9864 -MD5 121c260ad08b288811994e7b3d78d098 files/snort-1.9.1-alpha.patch 1614 -MD5 c9c8c46d1a7e6847025090e76d9a9f64 files/snort-1.9.1-configure.patch 375 -MD5 513637a4fadce14177bf85e97e5931f8 files/snort-2.0.2-gcc3.patch 350 -MD5 513637a4fadce14177bf85e97e5931f8 files/snort-2.0.5-gcc3.patch 350 MD5 513637a4fadce14177bf85e97e5931f8 files/snort-2.0.6-gcc3.patch 350 MD5 513637a4fadce14177bf85e97e5931f8 files/snort-2.1.0-gcc3.patch 350 MD5 5379f2b178725088a8757ef25c77775c files/snort-2.1.0-pgsql.patch 645 diff --git a/net-analyzer/snort/files/1.9.1-libnet-1.0.patch b/net-analyzer/snort/files/1.9.1-libnet-1.0.patch deleted file mode 100644 index c547388a74f4..000000000000 --- a/net-analyzer/snort/files/1.9.1-libnet-1.0.patch +++ /dev/null @@ -1,57 +0,0 @@ ---- configure.orig 2003-08-19 01:15:46.481148448 -0400 -+++ configure 2003-08-19 01:15:46.645123520 -0400 -@@ -3756 +3756 @@ -- 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`" -@@ -3764,2 +3764,2 @@ -- if test -z `libnet-config --cflags | grep "\-I"`; then -- echo "configure: warning: libnet-config --cflags is broken on your system. If you" 1>&2 -+ if test -z `libnet-1.0-config --cflags | grep "\-I"`; then -+ echo "configure: warning: libnet-1.0-config --cflags is broken on your system. If you" 1>&2 -@@ -3770,2 +3770,2 @@ -- if eval "libnet-config --libs | grep -C1 -v \"\-L\" >/dev/null"; then -- echo "configure: warning: libnet-config --libs is broken on your system. If you" 1>&2 -+ if eval "libnet-1.0-config --libs | grep -C1 -v \"\-L\" >/dev/null"; then -+ echo "configure: warning: libnet-1.0-config --libs is broken on your system. If you" 1>&2 -@@ -3777 +3777 @@ -- for ac_hdr in libnet.h -+ for ac_hdr in libnet-1.0.h -@@ -3829 +3829 @@ -- if test -z `libnet-config --cflags | grep "\-I"`; then -+ if test -z `libnet-1.0-config --cflags | grep "\-I"`; then -@@ -3836 +3836 @@ -- libnet_dir=`libnet-config --cflags | cut -dI -f2` -+ libnet_dir=`libnet-1.0-config --cflags | cut -dI -f2` -@@ -3841 +3841 @@ -- if test -r $i/libnet.h; then -+ if test -r $i/libnet-1.0.h; then -@@ -3847 +3847 @@ -- 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 -@@ -3852 +3852 @@ -- echo " ERROR: unable to find" "libnet 1.0.2a (libnet.h)" -+ echo " ERROR: unable to find" "libnet 1.0.2a (libnet-1.0.h)" -@@ -3873 +3873 @@ -- echo " ERROR: unable to find" "libnet 1.0.2a (libnet.h)" -+ echo " ERROR: unable to find" "libnet 1.0.2a (libnet-1.0.h)" -@@ -3885,2 +3885,2 @@ -- echo $ac_n "checking for libnet_build_ip in -lnet""... $ac_c" 1>&6 --echo "configure:3887: checking for libnet_build_ip in -lnet" >&5 -+ echo $ac_n "checking for libnet_build_ip in -lnet-1.0 "... $ac_c" 1>&6 -+echo "configure:3887: checking for libnet_build_ip in -lnet-1.0 >&5 -@@ -3892 +3892 @@ --LIBS="-lnet $LIBS" -+LIBS="-lnet-1.0 $LIBS" -@@ -3926 +3926 @@ -- LIBS="-lnet $LIBS" -+ LIBS="-lnet-1.0 $LIBS" ---- src/detection-plugins/sp_react.c.orig 2003-08-19 01:15:46.577133856 -0400 -+++ src/detection-plugins/sp_react.c 2003-08-19 01:15:46.652122456 -0400 -@@ -56 +56 @@ --#include <libnet.h> -+#include <libnet-1.0.h> ---- src/detection-plugins/sp_respond.c.orig 2003-08-19 01:15:46.582133096 -0400 -+++ src/detection-plugins/sp_respond.c 2003-08-19 01:15:46.657121696 -0400 -@@ -33 +33 @@ --#include <libnet.h> -+#include <libnet-1.0.h> diff --git a/net-analyzer/snort/files/2.0.0-libnet-1.0.patch b/net-analyzer/snort/files/2.0.0-libnet-1.0.patch deleted file mode 100644 index df3ec1fc2d89..000000000000 --- a/net-analyzer/snort/files/2.0.0-libnet-1.0.patch +++ /dev/null @@ -1,54 +0,0 @@ ---- configure.orig 2003-12-16 19:24:37.835720000 -0500 -+++ configure 2003-12-16 19:25:58.933391280 -0500 -@@ -6258 +6258 @@ -- 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`" -@@ -6264 +6264 @@ -- if test `libnet-config --cflags | wc -c` = "1"; then -+ if test `libnet-1.0-config --cflags | wc -c` = "1"; then -@@ -6269,3 +6269,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;} -@@ -6281 +6281 @@ --for ac_header in libnet.h -+for ac_header in libnet-1.0.h -@@ -6414 +6414 @@ -- libnet_dir=`libnet-config --cflags | cut -dI -f2` -+ libnet_dir=`libnet-1.0-config --cflags | cut -dI -f2` -@@ -6419 +6419 @@ -- if test -r $i/libnet.h; then -+ if test -r $i/libnet-1.0.h; then -@@ -6425 +6425 @@ -- 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 -@@ -6436 +6436 @@ -- echo " ERROR: unable to find" "libnet 1.0.2a (libnet.h)" -+ echo " ERROR: unable to find" "libnet 1.0.2a (libnet-1.0.h)" -@@ -6455 +6455 @@ -- echo " ERROR: unable to find" "libnet 1.0.2a (libnet.h)" -+ echo " ERROR: unable to find" "libnet 1.0.2a (libnet-1.0.h)" -@@ -6468,2 +6468,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 -@@ -6474 +6474 @@ --LIBS="-lnet $LIBS" -+LIBS="-lnet-1.0 $LIBS" -@@ -6528 +6528 @@ -- LIBS="-lnet $LIBS" -+ LIBS="-lnet-1.0 $LIBS" ---- src/detection-plugins/sp_respond.c.orig 2003-12-16 19:26:32.043357800 -0500 -+++ src/detection-plugins/sp_respond.c 2003-12-16 19:26:41.158972016 -0500 -@@ -33 +33 @@ --#include <libnet.h> -+#include <libnet-1.0.h> ---- src/detection-plugins/sp_react.c.orig 2003-12-16 19:26:28.034967168 -0500 -+++ src/detection-plugins/sp_react.c 2003-12-16 19:26:45.993237096 -0500 -@@ -56 +56 @@ --#include <libnet.h> -+#include <libnet-1.0.h> diff --git a/net-analyzer/snort/files/2.0.1-libnet-1.0.patch b/net-analyzer/snort/files/2.0.1-libnet-1.0.patch deleted file mode 100644 index c26fa717ba1c..000000000000 --- a/net-analyzer/snort/files/2.0.1-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.0.2-libnet-1.0.patch b/net-analyzer/snort/files/2.0.2-libnet-1.0.patch deleted file mode 100644 index c26fa717ba1c..000000000000 --- a/net-analyzer/snort/files/2.0.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/2.0.5-libnet-1.0.patch b/net-analyzer/snort/files/2.0.5-libnet-1.0.patch deleted file mode 100644 index c26fa717ba1c..000000000000 --- a/net-analyzer/snort/files/2.0.5-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-1.9.1-r3 b/net-analyzer/snort/files/digest-snort-1.9.1-r3 deleted file mode 100644 index 33016cb62406..000000000000 --- a/net-analyzer/snort/files/digest-snort-1.9.1-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 50bb526b41f48fb7689bb8342b27e44d snort-1.9.1.tar.gz 146615 diff --git a/net-analyzer/snort/files/digest-snort-2.0.0 b/net-analyzer/snort/files/digest-snort-2.0.0 deleted file mode 100644 index 524b1b60aa16..000000000000 --- a/net-analyzer/snort/files/digest-snort-2.0.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 b7d374655c4390c07b2e38a2d381c2bd snort-2.0.0.tar.gz 1556540 diff --git a/net-analyzer/snort/files/digest-snort-2.0.1-r1 b/net-analyzer/snort/files/digest-snort-2.0.1-r1 deleted file mode 100644 index 210682acbfc7..000000000000 --- a/net-analyzer/snort/files/digest-snort-2.0.1-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 ab5bdd0cab96fe521d11d2c6d804518f snort-2.0.1.tar.gz 1817646 -MD5 ae55efd9ad3cddaf563a9bdbedae6c4a snort-2.0.1+prelude.patch.gz 94867 diff --git a/net-analyzer/snort/files/digest-snort-2.0.2 b/net-analyzer/snort/files/digest-snort-2.0.2 deleted file mode 100644 index 5a0cb43051d8..000000000000 --- a/net-analyzer/snort/files/digest-snort-2.0.2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 21b14d90e2a323831d85f3d845d64b23 snort-2.0.2.tar.gz 1885220 -MD5 ae55efd9ad3cddaf563a9bdbedae6c4a snort-2.0.1+prelude.patch.gz 94867 diff --git a/net-analyzer/snort/files/digest-snort-2.0.5 b/net-analyzer/snort/files/digest-snort-2.0.5 deleted file mode 100644 index 6aa85c0c7191..000000000000 --- a/net-analyzer/snort/files/digest-snort-2.0.5 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 f129ee00a3d6e7b7c1ff4a1e1fba3a08 snort-2.0.5.tar.gz 1951308 -MD5 ae55efd9ad3cddaf563a9bdbedae6c4a snort-2.0.1+prelude.patch.gz 94867 diff --git a/net-analyzer/snort/files/digest-snort-2.0.5-r1 b/net-analyzer/snort/files/digest-snort-2.0.5-r1 deleted file mode 100644 index 4351b0787e07..000000000000 --- a/net-analyzer/snort/files/digest-snort-2.0.5-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 f129ee00a3d6e7b7c1ff4a1e1fba3a08 snort-2.0.5.tar.gz 1951308 -MD5 7fd78d7bb755227c5acec7bfecdb94f7 snort-prelude-reporting-patch-0.2.5.tar.gz 39277 diff --git a/net-analyzer/snort/files/digest-snort-2.0.5-r2 b/net-analyzer/snort/files/digest-snort-2.0.5-r2 deleted file mode 100644 index 4351b0787e07..000000000000 --- a/net-analyzer/snort/files/digest-snort-2.0.5-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 f129ee00a3d6e7b7c1ff4a1e1fba3a08 snort-2.0.5.tar.gz 1951308 -MD5 7fd78d7bb755227c5acec7bfecdb94f7 snort-prelude-reporting-patch-0.2.5.tar.gz 39277 diff --git a/net-analyzer/snort/files/snort-1.9.0-gentoo.diff b/net-analyzer/snort/files/snort-1.9.0-gentoo.diff deleted file mode 100644 index 29eee963f9fa..000000000000 --- a/net-analyzer/snort/files/snort-1.9.0-gentoo.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- configure 2002-10-24 13:59:23.000000000 +0000 -+++ configure 2002-10-24 14:00:24.000000000 +0000 -@@ -3304,7 +3304,7 @@ - else - echo "$ac_t""yes" 1>&6 - LDFLAGS="${LDFLAGS} -L${SNMP_LIB_DIR} " -- CPPFLAGS="${CPPFLAGS} -I${SNMP_INC_DIR} -DENABLE_SNMP" -+ CPPFLAGS="${CPPFLAGS} -DENABLE_SNMP" - LIBS="${LIBS} -lnetsnmp" - fi - fi - diff --git a/net-analyzer/snort/files/snort-1.9.1-alpha-core_vuln.diff b/net-analyzer/snort/files/snort-1.9.1-alpha-core_vuln.diff deleted file mode 100644 index 2fbc280a3195..000000000000 --- a/net-analyzer/snort/files/snort-1.9.1-alpha-core_vuln.diff +++ /dev/null @@ -1,319 +0,0 @@ -diff -ruN snort-1.9.1-orig/src/bounds.h snort-1.9.1/src/bounds.h ---- snort-1.9.1-orig/src/bounds.h 1970-01-01 01:00:00.000000000 +0100 -+++ snort-1.9.1/src/bounds.h 2003-04-22 12:55:32.000000000 +0100 -@@ -0,0 +1,127 @@ -+#ifndef _BOUNDS_H -+#define _BOUNDS_H -+/* -+** Copyright (C) 2003, Sourcefire, Inc. -+** Chris Green <cmg@sourcefire.com> -+** -+** This program is free software; you can redistribute it and/or modify -+** it under the terms of the GNU General Public License as published by -+** the Free Software Foundation; either version 2 of the License, or -+** (at your option) any later version. -+** -+** This program is distributed in the hope that it will be useful, -+** but WITHOUT ANY WARRANTY; without even the implied warranty of -+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+** GNU General Public License for more details. -+** -+** You should have received a copy of the GNU General Public License -+** along with this program; if not, write to the Free Software -+** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -+** -+*/ -+ -+ -+#ifdef HAVE_CONFIG_H -+#include "config.h" -+#endif -+ -+#include "snort.h" -+ -+#include <string.h> -+#include <stdio.h> -+#include <stdlib.h> -+#include <assert.h> -+#include <unistd.h> -+ -+/* This INLINE is conflicting with the INLINE defined in bitop.h. -+ * So, let's just add a little sanity check here. -+ */ -+#ifndef DEBUG -+ #ifndef INLINE -+ #define INLINE inline -+ #endif -+ #define ERRORRET return 0; -+#else -+ #ifdef INLINE -+ #undef INLINE -+ #endif -+ #define INLINE -+ #define ERRORRET assert(0==1) -+#endif /* DEBUG */ -+ -+/* -+ * Check to make sure that p is less than or equal to the ptr range -+ * pointers -+ * -+ * 1 means it's in bounds, 0 means it's not -+ */ -+static INLINE int inBounds(u_int8_t *start, u_int8_t *end, u_int8_t *p) -+{ -+ if(p >= start && p < end) -+ { -+ return 1; -+ } -+ -+ return 0; -+} -+ -+/** -+ * A Safer Memcpy -+ * -+ * @param dst where to copy to -+ * @param src where to copy from -+ * @param n number of bytes to copy -+ * @param start start of the dest buffer -+ * @param end end of the dst buffer -+ * -+ * @return 0 on failure, 1 on success -+ */ -+static INLINE int SafeMemcpy(void *dst, void *src, size_t n, void *start, void *end) -+{ -+ if(n < 1) -+ { -+ ERRORRET; -+ } -+ -+ if(!inBounds(start,end, dst) || !inBounds(start,end,((u_int8_t*)dst)+n)) -+ { -+ ERRORRET; -+ } -+ -+ memcpy(dst, src, n); -+ return 1; -+} -+ -+/** -+ * A Safer *a = *b -+ * -+ * @param start start of the dst buffer -+ * @param end end of the dst buffer -+ * @param dst the location to write to -+ * @param src the source to read from -+ * -+ * @return 0 on failure, 1 on success -+ */ -+static INLINE int SafeWrite(u_int8_t *start, u_int8_t *end, u_int8_t *dst, u_int8_t *src) -+{ -+ if(!inBounds(start, end, dst)) -+ { -+ ERRORRET; -+ } -+ -+ *dst = *src; -+ return 1; -+} -+ -+static inline int SafeRead(u_int8_t *start, u_int8_t *end, u_int8_t *src, u_int8_t *read) -+{ -+ if(!inBounds(start,end, src)) -+ { -+ ERRORRET; -+ } -+ -+ *read = *start; -+ return 1; -+} -+ -+#endif /* _BOUNDS_H */ -diff -ruN snort-1.9.1-orig/src/decode.h snort-1.9.1/src/decode.h ---- snort-1.9.1-orig/src/decode.h 2003-02-14 19:32:26.000000000 +0000 -+++ snort-1.9.1/src/decode.h 2003-04-22 12:55:32.000000000 +0100 -@@ -165,6 +165,10 @@ - #define UDP_HEADER_LEN 8 - #define ICMP_HEADER_LEN 4 - -+#ifndef IP_MAXPACKET -+#define IP_MAXPACKET 65535 /* maximum packet size */ -+#endif /* IP_MAXPACKET */ -+ - #define TH_FIN 0x01 - #define TH_SYN 0x02 - #define TH_RST 0x04 -diff -ruN snort-1.9.1-orig/src/preprocessors/spp_http_decode.c snort-1.9.1/src/preprocessors/spp_http_decode.c ---- snort-1.9.1-orig/src/preprocessors/spp_http_decode.c 2003-02-23 22:46:04.000000000 +0000 -+++ snort-1.9.1/src/preprocessors/spp_http_decode.c 2003-04-22 12:59:45.000000000 +0100 -@@ -444,11 +444,11 @@ - psize = (u_int16_t) (p->dsize); - - /* first skip past the HTTP method */ -- while(index < end && !lookup_whitespace[(u_int)(*index)]) -+ while(index < end && !lookup_whitespace[(u_char)(*index)]) - index++; - - /* skip over whitespace seperator */ -- while(index < end && lookup_whitespace[(u_int)(*index)]) -+ while(index < end && lookup_whitespace[(u_char)(*index)]) - index++; - - /* evilness check */ -@@ -562,8 +562,8 @@ - "Double hex encoding received\n");); - } - -- hex1=lookup_hexvalue[(u_int)(*(index+1))]; -- hex2=lookup_hexvalue[(u_int)(*(index+2))]; -+ hex1=lookup_hexvalue[(u_char)(*(index+1))]; -+ hex2=lookup_hexvalue[(u_char)(*(index+2))]; - - if(hex1 != -1 && hex2 != -1) - { -@@ -612,7 +612,7 @@ - } - - } -- else if(lookup_whitespace[(u_int)(*index)]) -+ else if(lookup_whitespace[(u_char)(*index)]) - { - /* we've reached the delimiting whitespace */ - /* UriBufs[0].http_version = (u_int8_t *) index; */ -@@ -629,7 +629,7 @@ - while(index < end && - ((cur - (char *) UriBufs[0].uri) < URI_LENGTH)) - { -- if(lookup_whitespace[(u_int)(*index)]) -+ if(lookup_whitespace[(u_char)(*index)]) - { - /* we've reached the delimiting whitespace */ - /* Time to get HTTP version? */ -diff -ruN snort-1.9.1-orig/src/preprocessors/spp_stream4.c snort-1.9.1/src/preprocessors/spp_stream4.c ---- snort-1.9.1-orig/src/preprocessors/spp_stream4.c 2003-02-14 19:32:27.000000000 +0000 -+++ snort-1.9.1/src/preprocessors/spp_stream4.c 2003-04-22 12:58:44.000000000 +0100 -@@ -37,6 +37,17 @@ - #include "config.h" - #endif - -+#ifndef DEBUG -+ #ifndef INLINE -+ #define INLINE inline -+ #endif -+#else -+ #ifdef INLINE -+ #undef INLINE -+ #endif -+ #define INLINE··· -+#endif /* DEBUG */ -+ - #include <sys/types.h> - #include <stdlib.h> - #include <string.h> -@@ -65,6 +76,7 @@ - #include "generators.h" - #include "detect.h" - #include "perf.h" -+#include "bounds.h" - - #include "ubi_SplayTree.h" - -@@ -143,6 +155,8 @@ - #define SPARC_TWIDDLE 0 - #endif - -+#define MAX_STREAM_SIZE (IP_MAXPACKET - IP_HEADER_LEN - TCP_HEADER_LEN) -+ - /* random array of flush points */ - - #define FCOUNT 64 -@@ -325,6 +339,7 @@ - void WriteSsnStats(BinStats *); - void OpenStatsFile(); - static int RetransTooFast(struct timeval *a, struct timeval *b); -+static INLINE int isBetween(u_int32_t low, u_int32_t high, u_int32_t cur); - - /* - Here is where we separate which functions will be called in the -@@ -340,6 +355,10 @@ - static void TcpActionAsync(Session *ssn, Packet *p, int action, int direction, - u_int32_t pkt_seq, u_int32_t pkt_ack); - -+static INLINE int isBetween(u_int32_t low, u_int32_t high, u_int32_t cur) -+{ -+ return (cur - low) <= (high - low); -+} - - - -@@ -462,7 +481,7 @@ - /* don't reassemble if we're before the start sequence number or - * after the last ack'd byte - */ -- if(spd->seq_num < s->base_seq || spd->seq_num > s->last_ack) { -+ if(!isBetween(s->base_seq, s->last_ack, spd->seq_num)) { - DEBUG_WRAP(DebugMessage(DEBUG_STREAM, - "not reassembling because" - " we're (%u) before isn(%u) or after last_ack(%u)\n", -@@ -471,8 +490,8 @@ - } - - /* if it's in bounds... */ -- if(spd->seq_num >= s->base_seq && spd->seq_num >= s->next_seq && -- (spd->seq_num+spd->payload_size) <= s->last_ack) -+ if(isBetween(s->base_seq, s->last_ack, spd->seq_num) && -+ isBetween(s->base_seq, s->last_ack, (spd->seq_num+spd->payload_size))) - { - offset = spd->seq_num - s->base_seq; - -@@ -487,16 +506,16 @@ - spd->seq_num, s->last_ack, s->base_seq, - spd->payload_size, s->next_seq, offset)); - -- memcpy(buf+offset, spd->payload, spd->payload_size); -+ SafeMemcpy(buf+offset, spd->payload, spd->payload_size, -+ stream_pkt->data, stream_pkt->data + MAX_STREAM_SIZE); - - pc.rebuilt_segs++; - - spd->chuck = 1; - bd->total_size += spd->payload_size; - } -- else if(spd->seq_num >= s->base_seq && -- spd->seq_num < s->last_ack && -- spd->seq_num + spd->payload_size > s->last_ack) -+ else if(isBetween(s->base_seq, s->last_ack, spd->seq_num) && -+ ((spd->seq_num + spd->payload_size) > s->last_ack)) - { - /* - * if it starts in bounds and hasn't been completely ack'd, -@@ -518,7 +537,8 @@ - DEBUG_WRAP(DebugMessage(DEBUG_STREAM, "Copying %d bytes into buffer, " - "offset %d, buf %p\n", trunc_size, offset, - buf);); -- memcpy(buf+offset, spd->payload, trunc_size); -+ SafeMemcpy(buf+offset, spd->payload, trunc_size, -+ stream_pkt->data, stream_pkt->data + MAX_STREAM_SIZE); - pc.rebuilt_segs++; - bd->total_size += trunc_size; - } -@@ -530,8 +550,7 @@ - - spd->chuck = 1; - } -- else if(spd->seq_num < s->base_seq && -- spd->seq_num+spd->payload_size > s->base_seq) -+ else if(isBetween(s->base_seq, s->last_ack, (spd->seq_num+spd->payload_size))) - { - /* case where we've got a segment that wasn't completely ack'd - * last time it was processed, do a partial copy into the buffer -@@ -550,7 +569,8 @@ - DEBUG_WRAP(DebugMessage(DEBUG_STREAM, "Copying %d bytes into buffer, " - "offset %d, buf %p\n", trunc_size, offset, - buf);); -- memcpy(buf, spd->payload+offset, trunc_size); -+ SafeMemcpy(buf, spd->payload+offset, trunc_size, -+ stream_pkt->data, stream_pkt->data + MAX_STREAM_SIZE); - pc.rebuilt_segs++; - bd->total_size += trunc_size; - } diff --git a/net-analyzer/snort/files/snort-1.9.1-alpha.patch b/net-analyzer/snort/files/snort-1.9.1-alpha.patch deleted file mode 100644 index b8b7b2fccb0b..000000000000 --- a/net-analyzer/snort/files/snort-1.9.1-alpha.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff -ur --minimal snort-1.9.1.orig/src/preprocessors/spp_http_decode.c snort-1.9.1/src/preprocessors/spp_http_decode.c ---- snort-1.9.1.orig/src/preprocessors/spp_http_decode.c 2003-02-23 22:46:04.000000000 +0000 -+++ snort-1.9.1/src/preprocessors/spp_http_decode.c 2003-03-26 22:36:33.000000000 +0000 -@@ -444,11 +444,11 @@ - psize = (u_int16_t) (p->dsize); - - /* first skip past the HTTP method */ -- while(index < end && !lookup_whitespace[(u_int)(*index)]) -+ while(index < end && !lookup_whitespace[(u_char)(*index)]) - index++; - - /* skip over whitespace seperator */ -- while(index < end && lookup_whitespace[(u_int)(*index)]) -+ while(index < end && lookup_whitespace[(u_char)(*index)]) - index++; - - /* evilness check */ -@@ -562,8 +562,8 @@ - "Double hex encoding received\n");); - } - -- hex1=lookup_hexvalue[(u_int)(*(index+1))]; -- hex2=lookup_hexvalue[(u_int)(*(index+2))]; -+ hex1=lookup_hexvalue[(u_char)(*(index+1))]; -+ hex2=lookup_hexvalue[(u_char)(*(index+2))]; - - if(hex1 != -1 && hex2 != -1) - { -@@ -612,7 +612,7 @@ - } - - } -- else if(lookup_whitespace[(u_int)(*index)]) -+ else if(lookup_whitespace[(u_char)(*index)]) - { - /* we've reached the delimiting whitespace */ - /* UriBufs[0].http_version = (u_int8_t *) index; */ -@@ -629,7 +629,7 @@ - while(index < end && - ((cur - (char *) UriBufs[0].uri) < URI_LENGTH)) - { -- if(lookup_whitespace[(u_int)(*index)]) -+ if(lookup_whitespace[(u_char)(*index)]) - { - /* we've reached the delimiting whitespace */ - /* Time to get HTTP version? */ diff --git a/net-analyzer/snort/files/snort-1.9.1-configure.patch b/net-analyzer/snort/files/snort-1.9.1-configure.patch deleted file mode 100644 index 921cc954aeb4..000000000000 --- a/net-analyzer/snort/files/snort-1.9.1-configure.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- /tmp/configure 2003-03-05 10:17:44.000000000 +0000 -+++ configure 2003-03-05 10:18:00.000000000 +0000 -@@ -3334,7 +3334,7 @@ - else - echo "$ac_t""yes" 1>&6 - LDFLAGS="${LDFLAGS} -L${SNMP_LIB_DIR} " -- CPPFLAGS="${CPPFLAGS} -I${SNMP_INC_DIR} -DENABLE_SNMP" -+ CPPFLAGS="${CPPFLAGS} -DENABLE_SNMP" - LIBS="${LIBS} -lnetsnmp" - fi - fi diff --git a/net-analyzer/snort/files/snort-2.0.2-gcc3.patch b/net-analyzer/snort/files/snort-2.0.2-gcc3.patch deleted file mode 100644 index 972aee39c74a..000000000000 --- a/net-analyzer/snort/files/snort-2.0.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.0.5-gcc3.patch b/net-analyzer/snort/files/snort-2.0.5-gcc3.patch deleted file mode 100644 index 972aee39c74a..000000000000 --- a/net-analyzer/snort/files/snort-2.0.5-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/snort-1.9.1-r3.ebuild b/net-analyzer/snort/snort-1.9.1-r3.ebuild deleted file mode 100644 index e1c3b8fba1dc..000000000000 --- a/net-analyzer/snort/snort-1.9.1-r3.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-1.9.1-r3.ebuild,v 1.7 2004/04/14 17:59:00 squinky86 Exp $ - -inherit eutils - -DESCRIPTION="Libpcap-based packet sniffer/logger/lightweight IDS" -HOMEPAGE="http://www.snort.org/" -SRC_URI="http://www.snort.org/dl/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 sparc alpha" -IUSE="ssl postgres mysql snmp" - -DEPEND="virtual/glibc - >=net-libs/libpcap-0.6.2-r1 - <net-libs/libnet-1.1 - >=net-libs/libnet-1.0.2a-r3 - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - snmp? ( >=net-analyzer/net-snmp-5.0 )" -RDEPEND="virtual/glibc - dev-lang/perl - >=net-libs/libpcap-0.6.2-r1 - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b )" - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-configure.patch - epatch ${FILESDIR}/${PV}-libnet-1.0.patch - - # Fixes for alpha, and GLSA 200304-05 - use alpha && epatch ${FILESDIR}/${P}-alpha-core_vuln.diff -} - -src_compile() { - econf \ - `use_with postgres postgresql` \ - `use_with mysql` \ - `use_with ssl openssl` \ - `use_with snmp` \ - --without-odbc \ - --without-oracle \ - --enable-pthreads \ - --enable-flexresp \ - --enable-smbalerts \ - || die "bad ./configure" - - emake || die "compile problem" -} - -src_install() { - make DESTDIR=${D} install || die - - dodir /var/log/snort - keepdir /var/log/snort - - insinto /usr/lib/snort/bin - doins contrib/{create_mysql,snortlog,*.pl} - - dodoc COPYING LICENSE doc/* - docinto contrib ; dodoc contrib/* - - insinto /etc/snort - doins etc/classification.config rules/*.rules - newins etc/snort.conf snort.conf.distrib - - exeinto /etc/init.d ; newexe ${FILESDIR}/snort.rc6 snort - insinto /etc/conf.d ; newins ${FILESDIR}/snort.confd snort -} - -pkg_postinst() { - enewgroup snort - enewuser snort -1 /dev/null /var/log/snort snort - usermod -d "/var/log/snort" snort || die "usermod problem" - usermod -g "snort" snort || die "usermod problem" - usermod -s "/dev/null" snort || die "usermod problem" - echo "ignore any message about CREATE_HOME above..." - - chown snort:snort ${ROOT}/var/log/snort - chmod 0770 ${ROOT}/var/log/snort -} diff --git a/net-analyzer/snort/snort-2.0.0.ebuild b/net-analyzer/snort/snort-2.0.0.ebuild deleted file mode 100644 index e876c9d91031..000000000000 --- a/net-analyzer/snort/snort-2.0.0.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.0.0.ebuild,v 1.9 2004/03/16 01:51:07 mboman Exp $ - -inherit eutils - -IUSE="ssl postgres mysql snmp" -S=${WORKDIR}/${P} -DESCRIPTION="Libpcap-based packet sniffer/logger/lightweight IDS" -SRC_URI="http://www.snort.org/dl/${P}.tar.gz" -HOMEPAGE="http://www.snort.org" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 sparc -alpha" - -DEPEND="virtual/glibc - >=net-libs/libpcap-0.6.2-r1 - <net-libs/libnet-1.1 - >=net-libs/libnet-1.0.2a-r3 - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - snmp? ( >=net-analyzer/net-snmp-5.0 )" - -RDEPEND="virtual/glibc - dev-lang/perl - >=net-libs/libpcap-0.6.2-r1 - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b )" - -src_unpack() { - unpack ${A} - - cd ${S} - #is this needed in 2.0? -Method - #epatch ${FILESDIR}/${P}-configure.patch - - # Following patch contributed in bug #18258 - #is this needed in 2.0? -Method - #use alpha && epatch ${FILESDIR}/${P}-alpha.patch - - epatch ${FILESDIR}/${PV}-libnet-1.0.patch - - sed -i "s:var RULE_PATH ../rules:var RULE_PATH /etc/snort:" etc/snort.conf -} - -src_compile() { - - local myconf - - use postgres && myconf="${myconf} --with-postgresql" \ - || myconf="${myconf} --without-postgresql" - use mysql && myconf="${myconf} --with-mysql" \ - || myconf="${myconf} --without-mysql" - use ssl && myconf="${myconf} --with-openssl" \ - || myconf="${myconf} --without-openssl" - use snmp && myconf="${myconf} --with-snmp" \ - || myconf="${myconf} --without-snmp" - - ./configure \ - --prefix=/usr \ - --without-odbc \ - --without-oracle \ - --enable-pthreads \ - --enable-flexresp \ - --enable-smbalerts \ - --mandir=/usr/share/man \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - emake || die "compile problem" -} - -src_install () { - - make DESTDIR=${D} install || die - - dodir /var/log/snort - keepdir /var/log/snort - - insinto /usr/lib/snort/bin - doins contrib/{create_mysql,snortlog,*.pl} - - dodoc COPYING LICENSE doc/* - docinto contrib ; dodoc contrib/* - - insinto /etc/snort - doins etc/reference.config etc/classification.config rules/*.rules - newins etc/snort.conf snort.conf.distrib - - exeinto /etc/init.d ; newexe ${FILESDIR}/snort.rc6 snort - insinto /etc/conf.d ; newins ${FILESDIR}/snort.confd snort -} - -pkg_postinst() { - - if ! grep -q ^snort: /etc/group ; then - groupadd snort || die "problem adding group snort" - fi - if ! grep -q ^snort: /etc/passwd ; then - useradd -g snort -s /dev/null -d /var/log/snort -c "snort" snort - assert "problem adding user snort" - fi - usermod -c "snort" snort || die "usermod problem" - usermod -d "/var/log/snort" snort || die "usermod problem" - usermod -g "snort" snort || die "usermod problem" - usermod -s "/dev/null" snort || die "usermod problem" - echo "ignore any message about CREATE_HOME above..." - - chown snort:snort /var/log/snort - chmod 0770 /var/log/snort -} diff --git a/net-analyzer/snort/snort-2.0.1-r1.ebuild b/net-analyzer/snort/snort-2.0.1-r1.ebuild deleted file mode 100644 index 3a03dcefee43..000000000000 --- a/net-analyzer/snort/snort-2.0.1-r1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.0.1-r1.ebuild,v 1.5 2004/03/16 01:51:07 mboman Exp $ - -inherit eutils - -DESCRIPTION="Libpcap-based packet sniffer/logger/lightweight IDS" -HOMEPAGE="http://www.snort.org/" -SRC_URI="http://www.snort.org/dl/${P}.tar.gz - prelude? ( mirror://gentoo/${P}+prelude.patch.gz )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~sparc -alpha" -IUSE="ssl postgres mysql prelude" -# snort 2.0.x does not support snmp yet Bug #26310 -# IUSE="${IUSE} snmp" - -DEPEND="virtual/glibc - >=net-libs/libpcap-0.6.2-r1 - <net-libs/libnet-1.1 - >=net-libs/libnet-1.0.2a-r3 - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - prelude? ( >=dev-libs/libprelude-0.8 )" -# snmp? ( >=net-analyzer/net-snmp-5.0 ) -RDEPEND="virtual/glibc - dev-lang/perl - >=net-libs/libpcap-0.6.2-r1 - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - prelude? ( >=dev-libs/libprelude-0.8 )" - -src_unpack() { - unpack ${A} - - cd ${S} - #is this needed in 2.0? -Method - #epatch ${FILESDIR}/${P}-configure.patch - epatch ${FILESDIR}/${PV}-libnet-1.0.patch - - # Following patch contributed in bug #18258 - #is this needed in 2.0? -Method - #use alpha && epatch ${FILESDIR}/${P}-alpha.patch - - sed -i "s:var RULE_PATH ../rules:var RULE_PATH /etc/snort:" etc/snort.conf - - use prelude && epatch ../${P}+prelude.patch -} - -src_compile() { -# `use_with snmp` \ - econf \ - `use_with postgres postgresql` \ - `use_with mysql` \ - `use_with ssl openssl` \ - `use_with prelude` \ - --without-odbc \ - --without-oracle \ - --enable-pthreads \ - --enable-flexresp \ - --enable-smbalerts \ - || die "bad ./configure" - - emake || die "compile problem" -} - -src_install() { - make DESTDIR=${D} install || die - - dodir /var/log/snort - keepdir /var/log/snort/ - - insinto /usr/lib/snort/bin - doins contrib/{create_mysql,snortlog,*.pl} - - dodoc COPYING LICENSE doc/* - docinto contrib ; dodoc contrib/* - - insinto /etc/snort - doins etc/reference.config etc/classification.config rules/*.rules etc/*.map - newins etc/snort.conf snort.conf.distrib - - exeinto /etc/init.d ; newexe ${FILESDIR}/snort.rc6 snort - insinto /etc/conf.d ; newins ${FILESDIR}/snort.confd snort -} - -pkg_postinst() { - enewgroup snort - enewuser snort -1 /dev/null /var/log/snort snort - usermod -d "/var/log/snort" snort || die "usermod problem" - usermod -g "snort" snort || die "usermod problem" - usermod -s "/dev/null" snort || die "usermod problem" - echo "ignore any message about CREATE_HOME above..." - - chown snort:snort /var/log/snort - chmod 0770 /var/log/snort -} diff --git a/net-analyzer/snort/snort-2.0.2.ebuild b/net-analyzer/snort/snort-2.0.2.ebuild deleted file mode 100644 index 4535f7a95c7a..000000000000 --- a/net-analyzer/snort/snort-2.0.2.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.0.2.ebuild,v 1.6 2004/03/16 01:51:07 mboman Exp $ - -inherit eutils - -DESCRIPTION="Libpcap-based packet sniffer/logger/lightweight IDS" -HOMEPAGE="http://www.snort.org/" -SRC_URI="http://www.snort.org/dl/${P}.tar.gz - prelude? ( mirror://gentoo/${P/.2/.1}+prelude.patch.gz )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~sparc -alpha" -IUSE="ssl postgres mysql prelude" -# snort 2.0.x does not support snmp yet Bug #26310 -# IUSE="${IUSE} snmp" - -DEPEND="virtual/glibc - >=net-libs/libpcap-0.6.2-r1 - <net-libs/libnet-1.1 - >=net-libs/libnet-1.0.2a-r3 - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - prelude? ( >=dev-libs/libprelude-0.8 )" -# snmp? ( >=net-analyzer/net-snmp-5.0 ) -RDEPEND="virtual/glibc - dev-lang/perl - >=net-libs/libpcap-0.6.2-r1 - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - prelude? ( >=dev-libs/libprelude-0.8 )" - -src_unpack() { - unpack ${A} - - cd ${S} - #is this needed in 2.0? -Method - #epatch ${FILESDIR}/${P}-configure.patch - epatch ${FILESDIR}/${PV}-libnet-1.0.patch - - epatch ${FILESDIR}/${P}-gcc3.patch - - sed -i "s:var RULE_PATH ../rules:var RULE_PATH /etc/snort:" etc/snort.conf - - use prelude && epatch ../${P/.2/.1}+prelude.patch -} - -src_compile() { -# `use_with snmp` \ - econf \ - `use_with postgres postgresql` \ - `use_with mysql` \ - `use_with ssl openssl` \ - `use_with prelude` \ - --without-odbc \ - --without-oracle \ - --enable-pthreads \ - --enable-flexresp \ - --enable-smbalerts \ - || die "bad ./configure" - - emake || die "compile problem" -} - -src_install() { - make DESTDIR=${D} install || die - - dodir /var/log/snort - keepdir /var/log/snort/ - - insinto /usr/lib/snort/bin - doins contrib/{create_mysql,snortlog,*.pl} - - dodoc COPYING LICENSE doc/* - docinto contrib ; dodoc contrib/* - - insinto /etc/snort - doins etc/reference.config etc/classification.config rules/*.rules etc/*.map - newins etc/snort.conf snort.conf.distrib - - exeinto /etc/init.d ; newexe ${FILESDIR}/snort.rc6 snort - insinto /etc/conf.d ; newins ${FILESDIR}/snort.confd snort -} - -pkg_postinst() { - enewgroup snort - enewuser snort -1 /dev/null /var/log/snort snort - usermod -d "/var/log/snort" snort || die "usermod problem" - usermod -g "snort" snort || die "usermod problem" - usermod -s "/dev/null" snort || die "usermod problem" - echo "ignore any message about CREATE_HOME above..." - - chown snort:snort /var/log/snort - chmod 0770 /var/log/snort -} diff --git a/net-analyzer/snort/snort-2.0.5-r1.ebuild b/net-analyzer/snort/snort-2.0.5-r1.ebuild deleted file mode 100644 index cd5a9599fea8..000000000000 --- a/net-analyzer/snort/snort-2.0.5-r1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.0.5-r1.ebuild,v 1.2 2004/03/16 01:51:07 mboman Exp $ - -inherit eutils - -DESCRIPTION="Libpcap-based packet sniffer/logger/lightweight IDS" -HOMEPAGE="http://www.snort.org/" -SRC_URI="http://www.snort.org/dl/${P}.tar.gz - prelude? ( http://www.prelude-ids.org/download/releases/snort-prelude-reporting-patch-0.2.5.tar.gz )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~sparc -alpha" -IUSE="ssl postgres mysql prelude flexresp samba" -# snort 2.0.x does not support snmp yet Bug #26310 -# IUSE="${IUSE} snmp" - -DEPEND="virtual/glibc - >=net-libs/libpcap-0.6.2-r1 - flexresp? ( <net-libs/libnet-1.1 - >=net-libs/libnet-1.0.2a-r3 ) - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - prelude? ( >=dev-libs/libprelude-0.8 )" -# snmp? ( >=net-analyzer/net-snmp-5.0 ) -RDEPEND="virtual/glibc - dev-lang/perl - >=net-libs/libpcap-0.6.2-r1 - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - samba? ( net-fs/samba ) - prelude? ( >=dev-libs/libprelude-0.8 )" - -src_unpack() { - unpack ${A} - - cd ${S} - #is this needed in 2.0? -Method - #epatch ${FILESDIR}/${P}-configure.patch - use flexresp && epatch ${FILESDIR}/${PV}-libnet-1.0.patch - - epatch ${FILESDIR}/${P}-gcc3.patch - - sed -i "s:var RULE_PATH ../rules:var RULE_PATH /etc/snort:" etc/snort.conf - - use prelude && epatch ../${P/.5/.2}-prelude.diff -} - -src_compile() { - local myconf - use flexresp && myconf="$myconf --enable-flexresp" # There is no --diable-flexresp, can't use use_enable - use samba && myconf="$myconf --enable-smbalerts" # There is no --diable-smbalerts, can't use use_enable - -# `use_with snmp` \ -# --enable-pthreads \ # Not supported, never was, and now also removed - - econf \ - `use_with postgres postgresql` \ - `use_with mysql` \ - `use_with ssl openssl` \ - `use_with prelude` \ - --without-odbc \ - --without-oracle \ - $myconf || die "bad ./configure" - - emake || die "compile problem" -} - -src_install() { - make DESTDIR=${D} install || die - - dodir /var/log/snort - keepdir /var/log/snort/ - - insinto /usr/lib/snort/bin - doins contrib/{create_mysql,snortlog,*.pl} - - dodoc COPYING LICENSE doc/* - docinto contrib ; dodoc contrib/* - - insinto /etc/snort - doins etc/reference.config etc/classification.config rules/*.rules etc/*.map - newins etc/snort.conf snort.conf.distrib - - exeinto /etc/init.d ; newexe ${FILESDIR}/snort.rc6 snort - insinto /etc/conf.d ; newins ${FILESDIR}/snort.confd snort -} - -pkg_postinst() { - enewgroup snort - enewuser snort -1 /dev/null /var/log/snort snort - usermod -d "/var/log/snort" snort || die "usermod problem" - usermod -g "snort" snort || die "usermod problem" - usermod -s "/dev/null" snort || die "usermod problem" - echo "ignore any message about CREATE_HOME above..." - - chown snort:snort /var/log/snort - chmod 0770 /var/log/snort -} diff --git a/net-analyzer/snort/snort-2.0.5-r2.ebuild b/net-analyzer/snort/snort-2.0.5-r2.ebuild deleted file mode 100644 index 33cd8d968732..000000000000 --- a/net-analyzer/snort/snort-2.0.5-r2.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.0.5-r2.ebuild,v 1.3 2004/04/14 17:59:00 squinky86 Exp $ - -inherit eutils - -DESCRIPTION="Libpcap-based packet sniffer/logger/lightweight IDS" -HOMEPAGE="http://www.snort.org/" -SRC_URI="http://www.snort.org/dl/${P}.tar.gz - prelude? ( http://www.prelude-ids.org/download/releases/snort-prelude-reporting-patch-0.2.5.tar.gz )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~sparc -alpha ~amd64" -IUSE="ssl postgres mysql prelude flexresp samba" -# snort 2.0.x does not support snmp yet Bug #26310 -# IUSE="${IUSE} snmp" - -DEPEND="virtual/glibc - >=net-libs/libpcap-0.6.2-r1 - flexresp? ( <net-libs/libnet-1.1 - >=net-libs/libnet-1.0.2a-r3 ) - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - prelude? ( >=dev-libs/libprelude-0.8 )" -# snmp? ( >=net-analyzer/net-snmp-5.0 ) -RDEPEND="virtual/glibc - dev-lang/perl - >=net-libs/libpcap-0.6.2-r1 - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - samba? ( net-fs/samba ) - prelude? ( >=dev-libs/libprelude-0.8 )" - -src_unpack() { - unpack ${A} - - cd ${S} - #is this needed in 2.0? -Method - #epatch ${FILESDIR}/${P}-configure.patch - use flexresp && epatch ${FILESDIR}/${PV}-libnet-1.0.patch - - epatch ${FILESDIR}/${P}-gcc3.patch - - epatch ${FILESDIR}/snort-drop-calculation.diff - - sed "s:var RULE_PATH ../rules:var RULE_PATH /etc/snort:" < etc/snort.conf > etc/snort.conf.distrib - - use prelude && ( - epatch ../${P/.5/.2}-prelude.diff - sh ./autogen.sh - ) -} - -src_compile() { - local myconf - use flexresp && myconf="$myconf --enable-flexresp" # There is no --diable-flexresp, can't use use_enable - use samba && myconf="$myconf --enable-smbalerts" # There is no --diable-smbalerts, can't use use_enable - -# `use_with snmp` \ -# --enable-pthreads \ # Not supported, never was, and now also removed - - econf \ - `use_with postgres postgresql` \ - `use_with mysql` \ - `use_with ssl openssl` \ - `use_with prelude` \ - --without-odbc \ - --without-oracle \ - $myconf || die "bad ./configure" - - emake || die "compile problem" -} - -src_install() { - make DESTDIR=${D} install || die - - dodir /var/log/snort - keepdir /var/log/snort/ - - insinto /usr/lib/snort/bin - doins contrib/{create_mysql,snortlog,*.pl} - - dodoc COPYING LICENSE doc/* - docinto contrib ; dodoc contrib/* - - insinto /etc/snort - doins etc/reference.config etc/classification.config rules/*.rules etc/*.map - use prelude && doins etc/prelude-classification.config - doins etc/snort.conf.distrib - - exeinto /etc/init.d ; newexe ${FILESDIR}/snort.rc6 snort - insinto /etc/conf.d ; newins ${FILESDIR}/snort.confd snort -} - -pkg_postinst() { - enewgroup snort - enewuser snort -1 /dev/null /var/log/snort snort - usermod -d "/var/log/snort" snort || die "usermod problem" - usermod -g "snort" snort || die "usermod problem" - usermod -s "/dev/null" snort || die "usermod problem" - echo "ignore any message about CREATE_HOME above..." - - chown snort:snort /var/log/snort - chmod 0770 /var/log/snort -} diff --git a/net-analyzer/snort/snort-2.0.5.ebuild b/net-analyzer/snort/snort-2.0.5.ebuild deleted file mode 100644 index f31ffd3be1ea..000000000000 --- a/net-analyzer/snort/snort-2.0.5.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.0.5.ebuild,v 1.3 2004/03/16 01:51:07 mboman Exp $ - -inherit eutils - -DESCRIPTION="Libpcap-based packet sniffer/logger/lightweight IDS" -HOMEPAGE="http://www.snort.org/" -SRC_URI="http://www.snort.org/dl/${P}.tar.gz - prelude? ( mirror://gentoo/${P/.5/.1}+prelude.patch.gz )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~sparc -alpha" -IUSE="ssl postgres mysql prelude" -# snort 2.0.x does not support snmp yet Bug #26310 -# IUSE="${IUSE} snmp" - -DEPEND="virtual/glibc - >=net-libs/libpcap-0.6.2-r1 - <net-libs/libnet-1.1 - >=net-libs/libnet-1.0.2a-r3 - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - prelude? ( >=dev-libs/libprelude-0.8 )" -# snmp? ( >=net-analyzer/net-snmp-5.0 ) -RDEPEND="virtual/glibc - dev-lang/perl - >=net-libs/libpcap-0.6.2-r1 - postgres? ( >=dev-db/postgresql-7.2 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - prelude? ( >=dev-libs/libprelude-0.8 )" - -src_unpack() { - unpack ${A} - - cd ${S} - #is this needed in 2.0? -Method - #epatch ${FILESDIR}/${P}-configure.patch - epatch ${FILESDIR}/${PV}-libnet-1.0.patch - - epatch ${FILESDIR}/${P}-gcc3.patch - - sed -i "s:var RULE_PATH ../rules:var RULE_PATH /etc/snort:" etc/snort.conf - - use prelude && epatch ../${P/.5/.1}+prelude.patch -} - -src_compile() { -# `use_with snmp` \ - econf \ - `use_with postgres postgresql` \ - `use_with mysql` \ - `use_with ssl openssl` \ - `use_with prelude` \ - --without-odbc \ - --without-oracle \ - --enable-pthreads \ - --enable-flexresp \ - --enable-smbalerts \ - || die "bad ./configure" - - emake || die "compile problem" -} - -src_install() { - make DESTDIR=${D} install || die - - dodir /var/log/snort - keepdir /var/log/snort/ - - insinto /usr/lib/snort/bin - doins contrib/{create_mysql,snortlog,*.pl} - - dodoc COPYING LICENSE doc/* - docinto contrib ; dodoc contrib/* - - insinto /etc/snort - doins etc/reference.config etc/classification.config rules/*.rules etc/*.map - newins etc/snort.conf snort.conf.distrib - - exeinto /etc/init.d ; newexe ${FILESDIR}/snort.rc6 snort - insinto /etc/conf.d ; newins ${FILESDIR}/snort.confd snort -} - -pkg_postinst() { - enewgroup snort - enewuser snort -1 /dev/null /var/log/snort snort - usermod -d "/var/log/snort" snort || die "usermod problem" - usermod -g "snort" snort || die "usermod problem" - usermod -s "/dev/null" snort || die "usermod problem" - echo "ignore any message about CREATE_HOME above..." - - chown snort:snort /var/log/snort - chmod 0770 /var/log/snort -} |