summaryrefslogtreecommitdiff
path: root/security/libpreludedb-pgsql
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-10-02 10:03:08 +0000
committerhasso <hasso@pkgsrc.org>2009-10-02 10:03:08 +0000
commit12df552f6682d4fc7b55c2b30c2442ec1dad6d8f (patch)
treeeda9b23469bad4226e6913cce5d4c1e7d4b41b69 /security/libpreludedb-pgsql
parentc200d17c98af9c0659831094660a40f6b8d4393b (diff)
downloadpkgsrc-12df552f6682d4fc7b55c2b30c2442ec1dad6d8f.tar.gz
Add PostgreSQL plugin for LibPreludeDB. Approved by agc@.
Diffstat (limited to 'security/libpreludedb-pgsql')
-rw-r--r--security/libpreludedb-pgsql/DESCR8
-rw-r--r--security/libpreludedb-pgsql/Makefile23
-rw-r--r--security/libpreludedb-pgsql/PLIST2
-rw-r--r--security/libpreludedb-pgsql/buildlink3.mk13
-rw-r--r--security/libpreludedb-pgsql/distinfo9
5 files changed, 55 insertions, 0 deletions
diff --git a/security/libpreludedb-pgsql/DESCR b/security/libpreludedb-pgsql/DESCR
new file mode 100644
index 00000000000..43ee5edbaa3
--- /dev/null
+++ b/security/libpreludedb-pgsql/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-pgsql/Makefile b/security/libpreludedb-pgsql/Makefile
new file mode 100644
index 00000000000..5d057f10617
--- /dev/null
+++ b/security/libpreludedb-pgsql/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/10/02 10:03:08 hasso Exp $
+#
+
+.include "../../security/libpreludedb/Makefile.common"
+.include "../../mk/bsd.prefs.mk"
+
+PATCHDIR= ${.CURDIR}/../libpreludedb/patches
+PKGNAME= libpreludedb-pgsql-${VERSION}
+COMMENT= PostgreSQL plugin for LibPreludeDB
+
+CONFIGURE_ARGS+= --with-perl=no
+CONFIGURE_ARGS+= --with-python=no
+CONFIGURE_ARGS+= --with-mysql=no
+CONFIGURE_ARGS+= --with-sqlite3=no
+
+BUILD_DIRS= plugins/sql
+
+CONFIGURE_ARGS+= --with-postgresql=${PGSQL_PREFIX}/bin/pg_config
+
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../security/libpreludedb/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/libpreludedb-pgsql/PLIST b/security/libpreludedb-pgsql/PLIST
new file mode 100644
index 00000000000..7c0fe004795
--- /dev/null
+++ b/security/libpreludedb-pgsql/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/02 10:03:08 hasso Exp $
+lib/libpreludedb/plugins/sql/pgsql.la
diff --git a/security/libpreludedb-pgsql/buildlink3.mk b/security/libpreludedb-pgsql/buildlink3.mk
new file mode 100644
index 00000000000..be0c064648e
--- /dev/null
+++ b/security/libpreludedb-pgsql/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/10/02 10:03:08 hasso Exp $
+
+BUILDLINK_TREE+= libpreludedb-pgsql
+
+.if !defined(LIBPRELUDEDB_PGSQL_BUILDLINK3_MK)
+LIBPRELUDEDB_PGSQL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libpreludedb-pgsql+= libpreludedb-pgsql>=0.9.15.3
+BUILDLINK_PKGSRCDIR.libpreludedb-pgsql?= ../../security/libpreludedb-pgsql
+
+.endif # LIBPRELUDEDB_PGSQL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libpreludedb-pgsql
diff --git a/security/libpreludedb-pgsql/distinfo b/security/libpreludedb-pgsql/distinfo
new file mode 100644
index 00000000000..88c9f10f255
--- /dev/null
+++ b/security/libpreludedb-pgsql/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/10/02 10:03:08 hasso Exp $
+
+SHA1 (libpreludedb-0.9.15.3.tar.gz) = 617ca366401f461380ceff5de037efa7743ca1ec
+RMD160 (libpreludedb-0.9.15.3.tar.gz) = 70af1692966a6b31d4b18a2342a74991d3e8bfed
+Size (libpreludedb-0.9.15.3.tar.gz) = 935457 bytes
+SHA1 (patch-aa) = 11cb4f1353a5dbfc046992d862230849aeb21afa
+SHA1 (patch-ab) = 52fe326b51634cdc123d4ccb48ac054c7cf318c4
+SHA1 (patch-ac) = d71fa2d8ec5c84692dc68801e06651bc70628e89
+SHA1 (patch-ad) = abd409d4e955f202796a5cb9da3360a76e8d2855