summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldad Zack <eldad@gentoo.org>2004-10-30 16:08:58 +0000
committerEldad Zack <eldad@gentoo.org>2004-10-30 16:08:58 +0000
commit5fcad91609ea307e88d8ab43cd60678c3ac0d439 (patch)
tree96c96eee952dacaae68e00fede1297fcff69b494 /net-analyzer
parentstable on ppc64, bug #68405 (Manifest recommit) (diff)
downloadgentoo-2-5fcad91609ea307e88d8ab43cd60678c3ac0d439.tar.gz
gentoo-2-5fcad91609ea307e88d8ab43cd60678c3ac0d439.tar.bz2
gentoo-2-5fcad91609ea307e88d8ab43cd60678c3ac0d439.zip
removed 2.1.2 , marked 2.2.0 x86 stable
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/snort/ChangeLog6
-rw-r--r--net-analyzer/snort/files/digest-snort-2.1.21
-rw-r--r--net-analyzer/snort/snort-2.1.2.ebuild117
-rw-r--r--net-analyzer/snort/snort-2.2.0.ebuild4
4 files changed, 7 insertions, 121 deletions
diff --git a/net-analyzer/snort/ChangeLog b/net-analyzer/snort/ChangeLog
index d2c0ceed5952..a69f3cc29363 100644
--- a/net-analyzer/snort/ChangeLog
+++ b/net-analyzer/snort/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/snort
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/ChangeLog,v 1.49 2004/10/29 19:47:51 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/ChangeLog,v 1.50 2004/10/30 16:08:57 eldad Exp $
+
+ 30 Oct 2004; Eldad Zack <eldad@gentoo.org> -snort-2.1.2.ebuild,
+ snort-2.2.0.ebuild:
+ x86 stable.
29 Oct 2004; Eldad Zack <eldad@gentoo.org> snort-2.1.3.ebuild,
snort-2.2.0.ebuild:
diff --git a/net-analyzer/snort/files/digest-snort-2.1.2 b/net-analyzer/snort/files/digest-snort-2.1.2
deleted file mode 100644
index dc10d1d50486..000000000000
--- a/net-analyzer/snort/files/digest-snort-2.1.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 f01ae080f1571fd3e8d282dcae51f528 snort-2.1.2.tar.gz 2315827
diff --git a/net-analyzer/snort/snort-2.1.2.ebuild b/net-analyzer/snort/snort-2.1.2.ebuild
deleted file mode 100644
index c4e70ffdf740..000000000000
--- a/net-analyzer/snort/snort-2.1.2.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.1.2.ebuild,v 1.6 2004/07/01 20:18:32 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 ~ppc"
-IUSE="ssl postgres mysql flexresp selinux"
-# snort 2.1.x does not have prelude patches yet
-# IUSE="${IUSE} prelude"
-# snort 2.1.x has discontinued smb alert output, and no 3rd party have done them yet
-# IUSE="${IUSE} samba"
-# snort 2.0.x does not support snmp yet Bug #26310 (2.1.x doesn't have SNMP either)
-# IUSE="${IUSE} snmp"
-
-
-DEPEND="virtual/libc
- >=dev-libs/libpcre-4.2-r1
- >=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/libc
- >=dev-libs/libpcre-4.2-r1
- 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 )
- selinux? ( sec-policy/selinux-snort )"
-# 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 -i "s:var RULE_PATH ../rules:var RULE_PATH /etc/snort:" etc/snort.conf
-
- # Prelude patch currently not compatible with 2.1.0
- #use prelude && (
- # epatch ../${P/.1.0/.0.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
-# `use_with prelude` \
-
- econf \
- `use_with postgres postgresql` \
- `use_with mysql` \
- `use_with ssl openssl` \
- --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 etc/threshold.conf
- #use prelude && doins etc/prelude-classification.config
- 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.2.0.ebuild b/net-analyzer/snort/snort-2.2.0.ebuild
index 87422d3f4f71..dfb7689f4906 100644
--- a/net-analyzer/snort/snort-2.2.0.ebuild
+++ b/net-analyzer/snort/snort-2.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.2.0.ebuild,v 1.3 2004/10/29 19:47:51 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.2.0.ebuild,v 1.4 2004/10/30 16:08:57 eldad Exp $
inherit eutils gnuconfig
@@ -12,7 +12,7 @@ SRC_URI="http://www.snort.org/dl/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~sparc -alpha ~amd64 ~ppc"
+KEYWORDS="x86 ~sparc -alpha ~amd64 ~ppc"
IUSE="ssl postgres mysql flexresp selinux snortsam"
# Local useflag snortsam: patch snort for use with snortsam package.