summaryrefslogtreecommitdiff
path: root/security/libpreludedb/Makefile
diff options
context:
space:
mode:
authorshannonjr <shannonjr>2006-01-29 15:55:25 +0000
committershannonjr <shannonjr>2006-01-29 15:55:25 +0000
commita3d6998939a42b9eebeecd819b02d0a0e254ad2f (patch)
treeb1ece44ca10276aa04db0d252a16ef6ba40d5f66 /security/libpreludedb/Makefile
parentebdc829f57d7fbf6628cdddb0926117ebd90e3b8 (diff)
downloadpkgsrc-a3d6998939a42b9eebeecd819b02d0a0e254ad2f.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/libpreludedb/Makefile')
-rw-r--r--security/libpreludedb/Makefile33
1 files changed, 33 insertions, 0 deletions
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"