summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boman <mboman@gentoo.org>2003-12-17 07:31:11 +0000
committerMichael Boman <mboman@gentoo.org>2003-12-17 07:31:11 +0000
commit3d9b36acc4011743b198f02bedcab0ed276d1910 (patch)
treeed2283c075b0a0658f6ad6672ee3853fa2a01145 /net-analyzer/prelude-nids
parentNew upstream version (diff)
downloadhistorical-3d9b36acc4011743b198f02bedcab0ed276d1910.tar.gz
historical-3d9b36acc4011743b198f02bedcab0ed276d1910.tar.bz2
historical-3d9b36acc4011743b198f02bedcab0ed276d1910.zip
New upstream version
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.61
-rw-r--r--net-analyzer/prelude-nids/prelude-nids-0.8.6.ebuild46
3 files changed, 49 insertions, 2 deletions
diff --git a/net-analyzer/prelude-nids/Manifest b/net-analyzer/prelude-nids/Manifest
index 4dac58b8d0bd..3b08cf8d52d4 100644
--- a/net-analyzer/prelude-nids/Manifest
+++ b/net-analyzer/prelude-nids/Manifest
@@ -1,10 +1,10 @@
-MD5 92951e9a3ae16f37d1d90170ad9dbcb2 ChangeLog 1413
+MD5 7fd641bec131bc8beb086371153390c5 ChangeLog 1549
MD5 f9eb2fa3b268c82a25ee9eb2fdfaccc9 metadata.xml 311
MD5 9e15744b5d61c11eaa8b7118449e885c prelude-nids-0.8.1-r1.ebuild 1817
MD5 3184bf62118b169b43f60af99665cf5c prelude-nids-0.8.1.ebuild 1536
MD5 e17fd30a82a80e6bf7e6b598a30ad6a0 prelude-nids-0.8.4.ebuild 1365
MD5 1cf7bc698793306cfaf365889347fe0a prelude-nids-0.8.5.ebuild 1413
-MD5 1cf7bc698793306cfaf365889347fe0a prelude-nids-0.8.6.ebuild 1413
+MD5 b845cb4dddc1d6d289add86f6cffab4d prelude-nids-0.8.6.ebuild 1413
MD5 bf55921bc902a6516c4c5844aeb60e87 files/digest-prelude-nids-0.8.1 70
MD5 bf55921bc902a6516c4c5844aeb60e87 files/digest-prelude-nids-0.8.1-r1 70
MD5 50c2103b874c4fbf51bc8cacf321bb1d files/digest-prelude-nids-0.8.4 70
diff --git a/net-analyzer/prelude-nids/files/digest-prelude-nids-0.8.6 b/net-analyzer/prelude-nids/files/digest-prelude-nids-0.8.6
new file mode 100644
index 000000000000..1415c9717b69
--- /dev/null
+++ b/net-analyzer/prelude-nids/files/digest-prelude-nids-0.8.6
@@ -0,0 +1 @@
+MD5 5be38d1cd8085c6a5555b4975ab81345 prelude-nids-0.8.6.tar.gz 818441
diff --git a/net-analyzer/prelude-nids/prelude-nids-0.8.6.ebuild b/net-analyzer/prelude-nids/prelude-nids-0.8.6.ebuild
new file mode 100644
index 000000000000..8e4714492738
--- /dev/null
+++ b/net-analyzer/prelude-nids/prelude-nids-0.8.6.ebuild
@@ -0,0 +1,46 @@
+# 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.6.ebuild,v 1.1 2003/12/17 07:30:35 mboman 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 ~sparc"
+IUSE="doc debug"
+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 MAKEOPTS="" # Doesn't compile if you using make -j
+
+ use doc && myconf="${myconf} --enable-gtk-doc" || myconf="${myconf} --enable-gtk-doc=no"
+ use debug && CFLAGS="$CFLAGS -O0 -ggdb"
+
+ 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
+}