diff options
author | shannonjr <shannonjr@pkgsrc.org> | 2006-01-29 15:55:25 +0000 |
---|---|---|
committer | shannonjr <shannonjr@pkgsrc.org> | 2006-01-29 15:55:25 +0000 |
commit | 8586b15a4eece63338e76e8de737f235d53e08df (patch) | |
tree | b1ece44ca10276aa04db0d252a16ef6ba40d5f66 /security | |
parent | 33cbcbfe6317b588e4fb18225ea7f93a5f3751ea (diff) | |
download | pkgsrc-8586b15a4eece63338e76e8de737f235d53e08df.tar.gz |
Prelude is a hybrid IDS consisting of multiple
sensors, managers, and a display console. This
is Prelude DB Library. It allow the interface
allowing Prelude to use a DBMS for alert storage.
While libprelude support a choice of MySQL or
postgreSQL, this package uses MySQL because it
was nearly an order of magnitude faster during
test operation.
This is one of several new packages in the Prelude family.
Diffstat (limited to 'security')
-rw-r--r-- | security/libpreludedb/DESCR | 8 | ||||
-rw-r--r-- | security/libpreludedb/Makefile | 33 | ||||
-rw-r--r-- | security/libpreludedb/PLIST | 59 | ||||
-rw-r--r-- | security/libpreludedb/buildlink3.mk | 21 | ||||
-rw-r--r-- | security/libpreludedb/distinfo | 5 |
5 files changed, 126 insertions, 0 deletions
diff --git a/security/libpreludedb/DESCR b/security/libpreludedb/DESCR new file mode 100644 index 00000000000..43ee5edbaa3 --- /dev/null +++ b/security/libpreludedb/DESCR @@ -0,0 +1,8 @@ +Prelude is a hybrid IDS consisting of multiple +sensors, managers, and a display console. This +is Prelude DB Library. It allow the interface +allowing Prelude to use a DBMS for alert storage. +While libprelude support a choice of MySQL or +postgreSQL, this package uses MySQL because it +was nearly an order of magnitude faster during +test operation. diff --git a/security/libpreludedb/Makefile b/security/libpreludedb/Makefile new file mode 100644 index 00000000000..2c381c5db6b --- /dev/null +++ b/security/libpreludedb/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/01/29 15:55:25 shannonjr Exp $ +# + +DISTNAME= libpreludedb-0.9.2 +CATEGORIES= security +MASTER_SITES= http://www.prelude-ids.org/download/releases/ + +MAINTAINER= shannonjr@NetBSD.org +HOMEPAGE= http://www.prelude-ids.org/download/releases/ +COMMENT= Provides an interface to the database used to store IDMEF alerts + +.include "../../mk/mysql.buildlink3.mk" + +USE_PKGLOCALEDIR= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +USE_GNU_TOOLS+= make +CONFIGURE_ARGS+= -enable-mysql +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} +CONFIGURE_ARGS+= --enable-python +CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} +CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client} +LDFLAGS+= ${BUILDLINK_LDFLAGS.mysql-client} +PYBINMODULE= yes +PY_PATCHPLIST= yes + + +.include "../../security/libprelude/buildlink3.mk" +.include "../../lang/python/application.mk" +.include "../../lang/python/extension.mk" +.include "../../lang/perl5/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/libpreludedb/PLIST b/security/libpreludedb/PLIST new file mode 100644 index 00000000000..3dec636d3f2 --- /dev/null +++ b/security/libpreludedb/PLIST @@ -0,0 +1,59 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/29 15:55:25 shannonjr Exp $ +bin/libpreludedb-config +bin/preludedb-admin +include/libpreludedb/preludedb-error.h +include/libpreludedb/preludedb-path-selection.h +include/libpreludedb/preludedb-plugin-format.h +include/libpreludedb/preludedb-plugin-sql.h +include/libpreludedb/preludedb-sql-settings.h +include/libpreludedb/preludedb-sql.h +include/libpreludedb/preludedb-version.h +include/libpreludedb/preludedb.h +lib/libpreludedb.la +lib/libpreludedb/plugins/formats/classic.la +lib/libpreludedb/plugins/sql/mysql.la +lib/perl5/5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/perllocal.pod +lib/perl5/site_perl/5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto/PreludeDB/.packlist +lib/perl5/site_perl/5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto/PreludeDB/PreludeDB.bs +lib/perl5/site_perl/5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto/PreludeDB/PreludeDB.so +${PYSITELIB}/_preludedb.so +share/aclocal/libpreludedb.m4 +share/gtk-doc/html/libpreludedb/ch01.html +share/gtk-doc/html/libpreludedb/home.png +share/gtk-doc/html/libpreludedb/index.html +share/gtk-doc/html/libpreludedb/index.sgml +share/gtk-doc/html/libpreludedb/left.png +share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-error.html +share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-path-selection.html +share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-plugin-format.html +share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-plugin-sql.html +share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-sql-settings.html +share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-sql.html +share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-version.html +share/gtk-doc/html/libpreludedb/libpreludedb-preludedb.html +share/gtk-doc/html/libpreludedb/libpreludedb.devhelp +share/gtk-doc/html/libpreludedb/right.png +share/gtk-doc/html/libpreludedb/style.css +share/gtk-doc/html/libpreludedb/up.png +share/libpreludedb/classic/mysql-update-14-1.sql +share/libpreludedb/classic/mysql-update-14-2.sql +share/libpreludedb/classic/mysql-update-14-3.sql +share/libpreludedb/classic/mysql.sql +share/libpreludedb/classic/pgsql-update-14-1.sql +share/libpreludedb/classic/pgsql-update-14-2.sql +share/libpreludedb/classic/pgsql-update-14-3.sql +share/libpreludedb/classic/pgsql.sql +@dirrm share/libpreludedb/classic +@dirrm share/libpreludedb +@dirrm share/gtk-doc/html/libpreludedb +@dirrm share/gtk-doc/html +@dirrm share/gtk-doc +@dirrm lib/perl5/site_perl/5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto/PreludeDB +@dirrm lib/perl5/site_perl/5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto +@dirrm lib/perl5/site_perl/5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi +@dirrm lib/perl5/5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi +@dirrm lib/libpreludedb/plugins/sql +@dirrm lib/libpreludedb/plugins/formats +@dirrm lib/libpreludedb/plugins +@dirrm lib/libpreludedb +@dirrm include/libpreludedb diff --git a/security/libpreludedb/buildlink3.mk b/security/libpreludedb/buildlink3.mk new file mode 100644 index 00000000000..d75af9fec9d --- /dev/null +++ b/security/libpreludedb/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/01/29 15:55:25 shannonjr Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBPRELUDEDB_BUILDLINK3_MK:= ${LIBPRELUDEDB_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libpreludedb +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibpreludedb} +BUILDLINK_PACKAGES+= libpreludedb + +.if !empty(LIBPRELUDEDB_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libpreludedb+= libpreludedb>=0.9.2 +BUILDLINK_PKGSRCDIR.libpreludedb?= ../../security/libpreludedb +.endif # LIBPRELUDEDB_BUILDLINK3_MK + +.include "../../security/libprelude/buildlink3.mk" +.include "../../lang/perl5/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/security/libpreludedb/distinfo b/security/libpreludedb/distinfo new file mode 100644 index 00000000000..c3b80fa1dcc --- /dev/null +++ b/security/libpreludedb/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/01/29 15:55:25 shannonjr Exp $ + +SHA1 (libpreludedb-0.9.2.tar.gz) = 51cd6a29ad1a4932e2e84a672e92381a1404a495 +RMD160 (libpreludedb-0.9.2.tar.gz) = ceb5e6015e0288efa45c6fbf7fa12ca18369cc32 +Size (libpreludedb-0.9.2.tar.gz) = 565906 bytes |