pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libpreludedb-python Add python bindings for L...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d002661c12b9
branches:  trunk
changeset: 399782:d002661c12b9
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Fri Oct 02 10:04:48 2009 +0000

description:
Add python bindings for LibPreludeDB libraries. Approved by agc@.

diffstat:

 security/libpreludedb-python/DESCR         |   8 ++++++++
 security/libpreludedb-python/Makefile      |  25 +++++++++++++++++++++++++
 security/libpreludedb-python/PLIST         |   4 ++++
 security/libpreludedb-python/buildlink3.mk |  13 +++++++++++++
 security/libpreludedb-python/distinfo      |   9 +++++++++
 5 files changed, 59 insertions(+), 0 deletions(-)

diffs (79 lines):

diff -r 818f7c648112 -r d002661c12b9 security/libpreludedb-python/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libpreludedb-python/DESCR        Fri Oct 02 10:04:48 2009 +0000
@@ -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 -r 818f7c648112 -r d002661c12b9 security/libpreludedb-python/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libpreludedb-python/Makefile     Fri Oct 02 10:04:48 2009 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/10/02 10:04:48 hasso Exp $
+#
+
+.include "../../security/libpreludedb/Makefile.common"
+.include "../../mk/bsd.prefs.mk"
+
+PATCHDIR=              ${.CURDIR}/../libpreludedb/patches
+PKGNAME=               libpreludedb-python-${VERSION}
+COMMENT=               Python bindings for LibPreludeDB libraries
+
+CONFIGURE_ARGS+=       --with-perl=no
+CONFIGURE_ARGS+=       --with-mysql=no
+CONFIGURE_ARGS+=       --with-postgresql=no
+CONFIGURE_ARGS+=       --with-sqlite3=no
+
+CONFIGURE_ENV+=                PYTHON=${PYTHONBIN:Q}
+PYBINMODULE=           yes
+PY_PATCHPLIST=         yes
+BUILD_DIRS=            bindings
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../security/libpreludedb/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 818f7c648112 -r d002661c12b9 security/libpreludedb-python/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libpreludedb-python/PLIST        Fri Oct 02 10:04:48 2009 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/02 10:04:48 hasso Exp $
+${PYSITELIB}/_preludedb.so
+${PYSITELIB}/preludedb.py
+${PYSITELIB}/preludedb.pyc
diff -r 818f7c648112 -r d002661c12b9 security/libpreludedb-python/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libpreludedb-python/buildlink3.mk        Fri Oct 02 10:04:48 2009 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/10/02 10:04:48 hasso Exp $
+
+BUILDLINK_TREE+=       libpreludedb-python
+
+.if !defined(LIBPRELUDEDB_PYTHON_BUILDLINK3_MK)
+LIBPRELUDEDB_PYTHON_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libpreludedb-python+=    libpreludedb-python>=0.9.15.3
+BUILDLINK_PKGSRCDIR.libpreludedb-python?=      ../../security/libpreludedb-python
+
+.endif # LIBPRELUDEDB_PYTHON_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libpreludedb-python
diff -r 818f7c648112 -r d002661c12b9 security/libpreludedb-python/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libpreludedb-python/distinfo     Fri Oct 02 10:04:48 2009 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/10/02 10:04:48 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



Home | Main Index | Thread Index | Old Index