summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2003-06-28 15:28:02 +0000
committerNed Ludd <solar@gentoo.org>2003-06-28 15:28:02 +0000
commit71187534ce0c013e417feb79674bf2b4bef9003b (patch)
treee65daba5dd85ca68cc277668de41f5187d925027 /app-admin
parentmoved prelude ruleset to /usr/share/prelude/lml/ (diff)
downloadhistorical-71187534ce0c013e417feb79674bf2b4bef9003b.tar.gz
historical-71187534ce0c013e417feb79674bf2b4bef9003b.tar.bz2
historical-71187534ce0c013e417feb79674bf2b4bef9003b.zip
moved prelude ruleset to /usr/share/prelude/lml/
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/prelude-lml/Manifest4
-rw-r--r--app-admin/prelude-lml/files/digest-prelude-lml-0.8.3-r11
-rw-r--r--app-admin/prelude-lml/prelude-lml-0.8.3-r1.ebuild61
3 files changed, 64 insertions, 2 deletions
diff --git a/app-admin/prelude-lml/Manifest b/app-admin/prelude-lml/Manifest
index 262a61cb61d1..3e716b77b84a 100644
--- a/app-admin/prelude-lml/Manifest
+++ b/app-admin/prelude-lml/Manifest
@@ -1,6 +1,6 @@
MD5 13739cf76d54cc389da48670d5c69903 prelude-lml-0.8.3.ebuild 1559
-MD5 62f57d1cc3d38488c12d02c6303f1a49 ChangeLog 433
-MD5 62bc1b9afdd373800cd903a407652bcd prelude-lml-0.8.3-r1.ebuild 1724
+MD5 97cd0abca4f87f5d119d49a385ffeb82 ChangeLog 754
+MD5 f5aa24ea01190faf07b04a5b744c67ce prelude-lml-0.8.3-r1.ebuild 1727
MD5 a2fbb252d4d430de2de0792682d67592 files/gentoo.init 584
MD5 12e66d118e0d88eef9484535150b52f0 files/gentoo.conf 179
MD5 673a9f17641555960c5df2e683149767 files/digest-prelude-lml-0.8.3 69
diff --git a/app-admin/prelude-lml/files/digest-prelude-lml-0.8.3-r1 b/app-admin/prelude-lml/files/digest-prelude-lml-0.8.3-r1
new file mode 100644
index 000000000000..d2f1f20b15f9
--- /dev/null
+++ b/app-admin/prelude-lml/files/digest-prelude-lml-0.8.3-r1
@@ -0,0 +1 @@
+MD5 2dd22a105da2c93a529202d2621e9c1c prelude-lml-0.8.3.tar.gz 267493
diff --git a/app-admin/prelude-lml/prelude-lml-0.8.3-r1.ebuild b/app-admin/prelude-lml/prelude-lml-0.8.3-r1.ebuild
new file mode 100644
index 000000000000..79c84d5c5286
--- /dev/null
+++ b/app-admin/prelude-lml/prelude-lml-0.8.3-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-lml/prelude-lml-0.8.3-r1.ebuild,v 1.1 2003/06/28 15:27:55 solar Exp $
+
+DESCRIPTION="Prelude-IDS Log Monitoring Lackey"
+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
+ !app-admin/prelude-lml-cvs
+ dev-libs/libprelude
+ dev-libs/libpcre
+ 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-lml
+ insinto /etc/conf.d
+ insopts -m 644
+ newins ${FILESDIR}/gentoo.conf prelude-lml
+ into /usr/share/prelude/ruleset
+ mv ${D}/etc/prelude-lml/ruleset ${D}/usr/share/prelude/ruleset/lml
+ dosym /usr/share/prelude/ruleset/lml /etc/prelude-lml/ruleset
+}