From 4b8d1e44adfd49068d9b68db9a2e8f20d26a5a9c Mon Sep 17 00:00:00 2001 From: Ned Ludd Date: Sat, 21 Jun 2003 17:09:12 +0000 Subject: Added initial prelude-manager --- app-admin/prelude-manager/Manifest | 7 +-- .../files/digest-prelude-manager-0.8.7 | 1 + app-admin/prelude-manager/files/gentoo.conf | 5 ++ app-admin/prelude-manager/files/gentoo.init | 22 ++++++++ .../prelude-manager/prelude-manager-0.8.7.ebuild | 62 ++++++++++++++++++++++ 5 files changed, 94 insertions(+), 3 deletions(-) create mode 100644 app-admin/prelude-manager/files/digest-prelude-manager-0.8.7 create mode 100644 app-admin/prelude-manager/files/gentoo.conf create mode 100644 app-admin/prelude-manager/files/gentoo.init create mode 100644 app-admin/prelude-manager/prelude-manager-0.8.7.ebuild diff --git a/app-admin/prelude-manager/Manifest b/app-admin/prelude-manager/Manifest index b2ac14ba70f4..38f6ecaf6e34 100644 --- a/app-admin/prelude-manager/Manifest +++ b/app-admin/prelude-manager/Manifest @@ -1,4 +1,5 @@ -MD5 948c72727ec4bc34b6b5b55d2cadc917 prelude-manager-0.8.7.ebuild 1816 -MD5 d5863fc2b93304651bcfd5ad3e8bdd76 files/gentoo.conf 11 -MD5 616d41ea63d45cb06c4fe369f8582b08 files/gentoo.init 569 +MD5 ca46f2af5e8a27224659d17d3d448ef7 prelude-manager-0.8.7.ebuild 1865 +MD5 cac237e18cc3b70876283435f0bfbb1c ChangeLog 459 +MD5 d212a04ab22cce9080c7ebacfdf148a8 files/gentoo.conf 182 +MD5 6dd98843e1c529f7d5af0d6d4570c5f0 files/gentoo.init 565 MD5 95094c2ef78a16f2c00850441fc605bc files/digest-prelude-manager-0.8.7 73 diff --git a/app-admin/prelude-manager/files/digest-prelude-manager-0.8.7 b/app-admin/prelude-manager/files/digest-prelude-manager-0.8.7 new file mode 100644 index 000000000000..9fb345de2213 --- /dev/null +++ b/app-admin/prelude-manager/files/digest-prelude-manager-0.8.7 @@ -0,0 +1 @@ +MD5 c36667a893abecd731eac5d8b6157e02 prelude-manager-0.8.7.tar.gz 382694 diff --git a/app-admin/prelude-manager/files/gentoo.conf b/app-admin/prelude-manager/files/gentoo.conf new file mode 100644 index 000000000000..ab64f3ca5b05 --- /dev/null +++ b/app-admin/prelude-manager/files/gentoo.conf @@ -0,0 +1,5 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +# Additional Configuration Options for prelude-manager +OPTIONS="" diff --git a/app-admin/prelude-manager/files/gentoo.init b/app-admin/prelude-manager/files/gentoo.init new file mode 100644 index 000000000000..4e7e6b4ffd4c --- /dev/null +++ b/app-admin/prelude-manager/files/gentoo.init @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-admin/prelude-manager/files/gentoo.init,v 1.1 2003/06/21 17:09:01 solar Exp $ + +PROGNAME=`basename $1` + +depend() { + need net +} + +start() { + ebegin "Starting ${PROGNAME}..." + start-stop-daemon --start --quiet --exec /usr/bin/${PROGNAME} -- ${OPTIONS} -d + eend $? +} + +stop() { + ebegin "Stop ${PROGNAME}..." + start-stop-daemon --stop --quiet --exec /usr/bin/${PROGNAME} + eend $? +} diff --git a/app-admin/prelude-manager/prelude-manager-0.8.7.ebuild b/app-admin/prelude-manager/prelude-manager-0.8.7.ebuild new file mode 100644 index 000000000000..9a349b6175ea --- /dev/null +++ b/app-admin/prelude-manager/prelude-manager-0.8.7.ebuild @@ -0,0 +1,62 @@ +# 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-manager/prelude-manager-0.8.7.ebuild,v 1.1 2003/06/21 17:09:01 solar Exp $ + +DESCRIPTION="Prelude-IDS Manager" +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="ssl doc mysql postgres" +DEPEND="virtual/glibc + !dev-libs/libprelude-cvs + !app-admin/prelude-manager-cvs + dev-libs/libprelude + ssl? ( dev-libs/openssl ) + doc? ( dev-util/gtk-doc ) + mysql? ( dev-db/mysql ) + postgres? ( dev-db/postgresql )" + +RDEPEND="${DEPEND}" +S=${WORKDIR}/${P} + +src_compile() { + local myconf + export WANT_AUTOCONF_2_5="1" + export WANT_AUTOMAKE_1_6="1" + + use ssl && myconf="${myconf} --enable-openssl" || myconf="${myconf} --disable-openssl" + use doc && myconf="${myconf} --enable-gtk-doc" || myconf="${myconf} --disable-gtk-doc" + use mysql && myconf="${myconf} --enable-mysql" || myconf="${myconf} --disable-mysql" + use postgres && myconf="${myconf} --enable-postgresql" || myconf="${myconf} --disable-postgresql" + + 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-manager + insinto /etc/conf.d + insopts -m 644 + newins ${FILESDIR}/gentoo.conf prelude-manager +} -- cgit v1.2.3-65-gdbad