summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2003-06-28 15:51:51 +0000
committerNed Ludd <solar@gentoo.org>2003-06-28 15:51:51 +0000
commitadedf6358589179db49cdcef73de8791acf8c7b8 (patch)
tree5284d5a50036a5c3324e6c7aa63cc7054f0e1c85 /net-analyzer/prelude-nids
parentmoved prelude ruleset to /usr/share/prelude/nids/ and added missing convert_r... (diff)
downloadhistorical-adedf6358589179db49cdcef73de8791acf8c7b8.tar.gz
historical-adedf6358589179db49cdcef73de8791acf8c7b8.tar.bz2
historical-adedf6358589179db49cdcef73de8791acf8c7b8.zip
moved prelude ruleset to /usr/share/prelude/nids/ and added missing convert_ruleset script
Diffstat (limited to 'net-analyzer/prelude-nids')
-rw-r--r--net-analyzer/prelude-nids/Manifest4
-rw-r--r--net-analyzer/prelude-nids/files/digest-prelude-nids-0.8.1-r11
-rw-r--r--net-analyzer/prelude-nids/prelude-nids-0.8.1-r1.ebuild63
3 files changed, 66 insertions, 2 deletions
diff --git a/net-analyzer/prelude-nids/Manifest b/net-analyzer/prelude-nids/Manifest
index a1f60c83940f..61b0c6eb840e 100644
--- a/net-analyzer/prelude-nids/Manifest
+++ b/net-analyzer/prelude-nids/Manifest
@@ -1,6 +1,6 @@
MD5 de5759cc161e6c75ab24ae4da0046474 prelude-nids-0.8.1.ebuild 1535
-MD5 1b41a8c02fba9d0cc6d5e298fe93fdd3 ChangeLog 453
-MD5 9083cfe67ed1944a84e74febbc1b260c prelude-nids-0.8.1-r1.ebuild 1804
+MD5 443eadebd78a9de15dc0eebdd63a1638 ChangeLog 786
+MD5 876adf37247197fff9d6465dedd5c4f5 prelude-nids-0.8.1-r1.ebuild 1807
MD5 5c85fcf0a618f64ab70c726d71746d84 files/gentoo.conf 186
MD5 f3ea23f4c20e8e2569fedb08386e8ba7 files/gentoo.init 588
MD5 bf55921bc902a6516c4c5844aeb60e87 files/digest-prelude-nids-0.8.1 70
diff --git a/net-analyzer/prelude-nids/files/digest-prelude-nids-0.8.1-r1 b/net-analyzer/prelude-nids/files/digest-prelude-nids-0.8.1-r1
new file mode 100644
index 000000000000..8c402c395ac6
--- /dev/null
+++ b/net-analyzer/prelude-nids/files/digest-prelude-nids-0.8.1-r1
@@ -0,0 +1 @@
+MD5 ffaa17e6694f12b8d5ede91c1fbdf22d prelude-nids-0.8.1.tar.gz 658730
diff --git a/net-analyzer/prelude-nids/prelude-nids-0.8.1-r1.ebuild b/net-analyzer/prelude-nids/prelude-nids-0.8.1-r1.ebuild
new file mode 100644
index 000000000000..c41c9f1193d7
--- /dev/null
+++ b/net-analyzer/prelude-nids/prelude-nids-0.8.1-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/prelude-nids/prelude-nids-0.8.1-r1.ebuild,v 1.1 2003/06/28 15:51:44 solar Exp $
+
+DESCRIPTION="Prelude-IDS NIDS"
+HOMEPAGE="http://www.prelude-ids.org"
+SRC_URI="http://www.prelude-ids.org/download/releases/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+DEPEND="virtual/glibc
+ !dev-libs/libprelude-cvs
+ !net-analyzer/prelude-nids-cvs
+ dev-libs/libprelude
+ doc? ( dev-util/gtk-doc )"
+
+RDEPEND="${DEPEND}"
+S=${WORKDIR}/${P}
+
+src_compile() {
+ local myconf
+ export WANT_AUTOCONF_2_5="1"
+ export WANT_AUTOMAKE_1_6="1"
+ export MAKEOPTS="" # Doesn't compile if you using make -j
+
+ use doc && myconf="${myconf} --enable-gtk-doc" || myconf="${myconf} --disable-gtk-doc"
+
+ aclocal -I /usr/share/aclocal
+ autoconf
+ autoheader
+ libtoolize -c --force --ltdl --automake
+ automake --gnu -a -c
+ cd libltdl
+ mv configure.in configure.in.tmp
+ echo "AC_PREREQ(2.50)" > configure.in
+ cat configure.in.tmp >> configure.in
+ rm -f configure.in.tmp
+ aclocal -I /usr/share/aclocal
+ autoconf
+ autoheader
+ libtoolize -c --force --ltdl --automake
+ automake --gnu -a -c
+ cd ..
+ econf ${myconf} || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ insinto /etc/init.d
+ insopts -m 755
+ newins ${FILESDIR}/gentoo.init prelude-nids
+ insinto /etc/conf.d
+ insopts -m 644
+ newins ${FILESDIR}/gentoo.conf prelude-nids
+ into /usr/libexec/prelude
+ insopts -m 755
+ doins plugins/detects/snortrules/ruleset/convert_ruleset
+ into /usr/share/prelude/ruleset
+ mv ${D}/etc/prelude-nids/ruleset ${D}/usr/share/prelude/ruleset/nids
+ dosym /usr/share/prelude/ruleset/nids /etc/prelude-nids/ruleset
+}