summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-08 07:45:03 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-08 07:45:03 +0000
commit04418ae41fe97c4333a2f9d9698fb4661942faca (patch)
tree0203ad258651503299cdb19dc0fd29f3548d1cfc /net-analyzer
parentbump to stable (diff)
downloadhistorical-04418ae41fe97c4333a2f9d9698fb4661942faca.tar.gz
historical-04418ae41fe97c4333a2f9d9698fb4661942faca.tar.bz2
historical-04418ae41fe97c4333a2f9d9698fb4661942faca.zip
old
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/snort/files/digest-snort-1.9.1-r11
-rw-r--r--net-analyzer/snort/files/digest-snort-1.9.1-r21
-rw-r--r--net-analyzer/snort/snort-1.9.1-r1.ebuild106
-rw-r--r--net-analyzer/snort/snort-1.9.1-r2.ebuild106
-rw-r--r--net-analyzer/snort/snort-1.9.1-r3.ebuild4
5 files changed, 2 insertions, 216 deletions
diff --git a/net-analyzer/snort/files/digest-snort-1.9.1-r1 b/net-analyzer/snort/files/digest-snort-1.9.1-r1
deleted file mode 100644
index 33016cb62406..000000000000
--- a/net-analyzer/snort/files/digest-snort-1.9.1-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 50bb526b41f48fb7689bb8342b27e44d snort-1.9.1.tar.gz 146615
diff --git a/net-analyzer/snort/files/digest-snort-1.9.1-r2 b/net-analyzer/snort/files/digest-snort-1.9.1-r2
deleted file mode 100644
index 33016cb62406..000000000000
--- a/net-analyzer/snort/files/digest-snort-1.9.1-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 50bb526b41f48fb7689bb8342b27e44d snort-1.9.1.tar.gz 146615
diff --git a/net-analyzer/snort/snort-1.9.1-r1.ebuild b/net-analyzer/snort/snort-1.9.1-r1.ebuild
deleted file mode 100644
index 1b2ebb3df5b4..000000000000
--- a/net-analyzer/snort/snort-1.9.1-r1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2003 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-r1.ebuild,v 1.3 2003/11/24 15:40:18 vapier 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.0.2a
- 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
-
- # Following patch contributed in bug #18258
- use alpha && epatch ${FILESDIR}/${P}-alpha.patch
-}
-
-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
- touch ${D}/var/log/snort/.keep
-
- 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() {
-
- 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-1.9.1-r2.ebuild b/net-analyzer/snort/snort-1.9.1-r2.ebuild
deleted file mode 100644
index b782fdfecc8b..000000000000
--- a/net-analyzer/snort/snort-1.9.1-r2.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2003 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-r2.ebuild,v 1.3 2003/11/24 15:40:18 vapier 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="alpha"
-
-DEPEND="virtual/glibc
- >=net-libs/libpcap-0.6.2-r1
- ~net-libs/libnet-1.0.2a
- 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
-
- # Fixes for alpha, and GLSA 200304-05
- use alpha && epatch ${FILESDIR}/${P}-alpha-core_vuln.diff
-}
-
-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
- touch ${D}/var/log/snort/.keep
-
- 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() {
-
- 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-1.9.1-r3.ebuild b/net-analyzer/snort/snort-1.9.1-r3.ebuild
index 61ca09c3308a..1be3cb7dc213 100644
--- a/net-analyzer/snort/snort-1.9.1-r3.ebuild
+++ b/net-analyzer/snort/snort-1.9.1-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 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.4 2003/11/24 15:40:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-1.9.1-r3.ebuild,v 1.5 2003/12/08 07:45:03 vapier Exp $
inherit eutils
@@ -10,7 +10,7 @@ SRC_URI="http://www.snort.org/dl/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~sparc ~alpha"
+KEYWORDS="x86 sparc alpha"
IUSE="ssl postgres mysql snmp"
DEPEND="virtual/glibc