diff options
author | Ned Ludd <solar@gentoo.org> | 2003-06-28 15:51:51 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2003-06-28 15:51:51 +0000 |
commit | 7c0e51427907defe9287f82ee4b67ca32fcecfaa (patch) | |
tree | 0eda27c591f9a2653aee6c56db8bef713d68da42 /net-analyzer/prelude-nids | |
parent | moved prelude ruleset to /usr/share/prelude/nids/ and added missing convert_r... (diff) | |
download | gentoo-2-7c0e51427907defe9287f82ee4b67ca32fcecfaa.tar.gz gentoo-2-7c0e51427907defe9287f82ee4b67ca32fcecfaa.tar.bz2 gentoo-2-7c0e51427907defe9287f82ee4b67ca32fcecfaa.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/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/prelude-nids/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/prelude-nids/files/digest-prelude-nids-0.8.1-r1 | 1 | ||||
-rw-r--r-- | net-analyzer/prelude-nids/prelude-nids-0.8.1-r1.ebuild | 63 |
4 files changed, 74 insertions, 3 deletions
diff --git a/net-analyzer/prelude-nids/ChangeLog b/net-analyzer/prelude-nids/ChangeLog index 8b57d739465c..5f2f505ea25e 100644 --- a/net-analyzer/prelude-nids/ChangeLog +++ b/net-analyzer/prelude-nids/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-analyzer/prelude-nids # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/prelude-nids/ChangeLog,v 1.1 2003/06/21 17:16:05 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/prelude-nids/ChangeLog,v 1.2 2003/06/28 15:51:44 solar Exp $ + +*prelude-nids-0.8.1-r1 (28 Jun 2003) + + 28 Jun 2003; Ned Ludd <solar@gentoo.org> prelude-nids-0.8.1-r1.ebuild: + convert_ruleset added, ruleset moved to /usr/share/prelude/nids/ with symlink + /etc/prelude-nids/ruleset pointing to it (so we don't need to re-write the + default config) suggested by Michael Boman Closes Bug#: 23487 *prelude-nids-0.8.1 (21 Jun 2003) 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 +} |