diff options
author | Bart Verwilst <verwilst@gentoo.org> | 2002-04-10 12:35:52 +0000 |
---|---|---|
committer | Bart Verwilst <verwilst@gentoo.org> | 2002-04-10 12:35:52 +0000 |
commit | b078fb30249b2d4f64def7a7d8b34496a42e8535 (patch) | |
tree | 12bf67d5a3b9b178f31c0e8483f53a054763a472 /net-misc | |
parent | initial ebuild (diff) | |
download | historical-b078fb30249b2d4f64def7a7d8b34496a42e8535.tar.gz historical-b078fb30249b2d4f64def7a7d8b34496a42e8535.tar.bz2 historical-b078fb30249b2d4f64def7a7d8b34496a42e8535.zip |
new version, removed old ones
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/snort/files/digest-snort-1.8.3-r1 | 1 | ||||
-rw-r--r-- | net-misc/snort/files/digest-snort-1.8.5 | 1 | ||||
-rw-r--r-- | net-misc/snort/files/digest-snort-1.8.6 | 1 | ||||
-rw-r--r-- | net-misc/snort/snort-1.8.3-r1.ebuild | 81 | ||||
-rw-r--r-- | net-misc/snort/snort-1.8.6.ebuild (renamed from net-misc/snort/snort-1.8.5.ebuild) | 8 |
5 files changed, 5 insertions, 87 deletions
diff --git a/net-misc/snort/files/digest-snort-1.8.3-r1 b/net-misc/snort/files/digest-snort-1.8.3-r1 deleted file mode 100644 index 4b2d8e0fd2d1..000000000000 --- a/net-misc/snort/files/digest-snort-1.8.3-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 21ea22cae02d639b21f8082b47cad27a snort-1.8.3.tar.gz 1706939 diff --git a/net-misc/snort/files/digest-snort-1.8.5 b/net-misc/snort/files/digest-snort-1.8.5 deleted file mode 100644 index 4e028f28f9cf..000000000000 --- a/net-misc/snort/files/digest-snort-1.8.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 c577770b2c347232f4007f138132bab0 snort-1.8.5.tar.gz 1755381 diff --git a/net-misc/snort/files/digest-snort-1.8.6 b/net-misc/snort/files/digest-snort-1.8.6 new file mode 100644 index 000000000000..af191dca1aff --- /dev/null +++ b/net-misc/snort/files/digest-snort-1.8.6 @@ -0,0 +1 @@ +MD5 6bba7e1cbc837a5c7404d7c0b496780b snort-1.8.6.tar.gz 1770604 diff --git a/net-misc/snort/snort-1.8.3-r1.ebuild b/net-misc/snort/snort-1.8.3-r1.ebuild deleted file mode 100644 index addea94bb314..000000000000 --- a/net-misc/snort/snort-1.8.3-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Achim Gottinger achim@gentoo.org -# $Header: /var/cvsroot/gentoo-x86/net-misc/snort/snort-1.8.3-r1.ebuild,v 1.1 2002/02/09 00:00:40 woodchip Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="Libpcap-based packet sniffer/logger/lightweight IDS" -SRC_URI="http://www.snort.org/releases/${P}.tar.gz" -HOMEPAGE="http://www.snort.org" - -DEPEND="virtual/glibc >=net-libs/libpcap-0.6.2-r1 - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b )" - -RDEPEND="virtual/glibc sys-devel/perl - >=net-libs/libnet-1.0.2a - mysql? ( >=dev-db/mysql-3.23.26 ) - ssl? ( >=dev-libs/openssl-0.9.6b )" - -src_compile() { - - local myconf - use postgres && myconf="${myconf} --with-postgresql" - use postgres || myconf="${myconf} --without-postgresql" - use mysql && myconf="${myconf} --with-mysql" - use mysql || myconf="${myconf} --without-mysql" - use ssl && myconf="${myconf} --with-openssl" - use ssl || myconf="${myconf} --without-openssl" - - ./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 - - insinto /usr/lib/snort/bin - doins contrib/{create_mysql,snortlog,*.pl} - - dodoc AUTHORS BUGS COPYING CREDITS ChangeLog FAQ INSTALL LICENSE - dodoc NEWS README* RULES.SAMPLE SnortUsersManual.pdf USAGE - docinto contrib ; dodoc contrib/* - - insinto /etc/snort - doins classification.config *.rules - newins 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 root.snort /var/log/snort - chmod 0770 /var/log/snort -} diff --git a/net-misc/snort/snort-1.8.5.ebuild b/net-misc/snort/snort-1.8.6.ebuild index d444404a537b..23066c524e28 100644 --- a/net-misc/snort/snort-1.8.5.ebuild +++ b/net-misc/snort/snort-1.8.6.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Achim Gottinger achim@gentoo.org -# $Header: /var/cvsroot/gentoo-x86/net-misc/snort/snort-1.8.5.ebuild,v 1.1 2002/04/07 06:59:54 mkennedy Exp $ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/snort/snort-1.8.6.ebuild,v 1.1 2002/04/10 12:35:52 verwilst Exp $ S=${WORKDIR}/${P} DESCRIPTION="Libpcap-based packet sniffer/logger/lightweight IDS" |