# ChangeLog for dev-libs/libprelude
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libprelude/ChangeLog,v 1.69 2010/02/28 22:02:44 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libprelude/ChangeLog,v 1.70 2010/05/27 04:54:46 jer Exp $
+
+*libprelude-1.0.0 (27 May 2010)
+
+ 27 May 2010; Jeroen Roovers <jer@gentoo.org> +libprelude-1.0.0.ebuild:
+ Version bump thanks to Thomas McShane (bug #321251).
28 Feb 2010; Mark Loeser <halcy0n@gentoo.org> metadata.xml:
I no longer use this on any systems, removing myself as the maintainer
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libprelude/libprelude-1.0.0.ebuild,v 1.1 2010/05/27 04:54:46 jer Exp $
+
+inherit perl-module flag-o-matic eutils
+
+DESCRIPTION="Prelude-IDS Framework Library"
+HOMEPAGE="http://www.prelude-technologies.com"
+SRC_URI="${HOMEPAGE}/download/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
+IUSE="doc easy-bindings perl python swig"
+
+RDEPEND=">=net-libs/gnutls-1.0.17
+ !net-analyzer/prelude-nids"
+
+DEPEND="${RDEPEND}
+ sys-devel/flex"
+
+pkg_setup() {
+ use perl && perl-module_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ filter-lfs-flags
+}
+
+src_compile() {
+ econf \
+ $(use_enable doc gtk-doc) \
+ $(use_with swig) \
+ $(use_with perl) \
+ $(use_with python) \
+ $(use_enable easy-bindings) \
+ || die "econf failed"
+
+ emake OTHERLDFLAGS="${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ use perl && fixlocalpod
+}
+
+pkg_preinst() { use perl && perl-module_pkg_preinst ; }
+pkg_postinst() { use perl && perl-module_pkg_postinst ; }
+pkg_prerm() { use perl && perl-module_pkg_prerm ; }
+pkg_postrm() { use perl && perl-module_pkg_postrm ; }
# ChangeLog for dev-libs/libpreludedb
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpreludedb/ChangeLog,v 1.44 2010/02/28 22:03:29 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpreludedb/ChangeLog,v 1.45 2010/05/27 04:55:18 jer Exp $
+
+*libpreludedb-1.0.0 (27 May 2010)
+
+ 27 May 2010; Jeroen Roovers <jer@gentoo.org> +libpreludedb-1.0.0.ebuild:
+ Version bump thanks to Thomas McShane (bug #321251).
28 Feb 2010; Mark Loeser <halcy0n@gentoo.org> metadata.xml:
I no longer use this on any systems, removing myself as the maintainer
--- /dev/null
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpreludedb/libpreludedb-1.0.0.ebuild,v 1.1 2010/05/27 04:55:18 jer Exp $
+
+inherit flag-o-matic eutils perl-module
+
+DESCRIPTION="Prelude-IDS framework for easy access to the Prelude database"
+HOMEPAGE="http://www.prelude-technologies.com"
+SRC_URI="${HOMEPAGE}/download/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc mysql postgres perl python sqlite swig"
+
+RDEPEND=">=dev-libs/libprelude-0.9.9
+ mysql? ( virtual/mysql )
+ postgres? ( virtual/postgresql-server )
+ sqlite? ( =dev-db/sqlite-3* )"
+DEPEND="${RDEPEND}
+ doc? ( dev-util/gtk-doc )"
+
+src_compile() {
+ local myconf
+
+ econf \
+ $(use_with doc gtk-doc) \
+ $(use_with mysql) \
+ $(use_with postgres pgsql) \
+ $(use_with sqlite sqlite3) \
+ $(use_with perl) \
+ $(use_with swig) \
+ $(use_with python) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ use perl && fixlocalpod
+}
+
+pkg_postinst() {
+ elog "For additional installation instructions go to"
+ elog "https://trac.prelude-ids.org/wiki/InstallingLibpreludedb"
+}