summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-08-23 19:05:56 +0000
committerhasso <hasso@pkgsrc.org>2009-08-23 19:05:56 +0000
commit1669d74e3d665748e1722f9040f613cddbf84182 (patch)
tree6ccbd59230dbe73ae2fe84c8d0da93d0c1d084e3 /security
parentbf796987e2b4dddc3d0acee5e3f23c1e74e35a1f (diff)
downloadpkgsrc-1669d74e3d665748e1722f9040f613cddbf84182.tar.gz
Import python bindings to libprelude.
Diffstat (limited to 'security')
-rw-r--r--security/libprelude-python/DESCR8
-rw-r--r--security/libprelude-python/Makefile33
-rw-r--r--security/libprelude-python/PLIST7
-rw-r--r--security/libprelude-python/buildlink3.mk12
-rw-r--r--security/libprelude-python/distinfo14
5 files changed, 74 insertions, 0 deletions
diff --git a/security/libprelude-python/DESCR b/security/libprelude-python/DESCR
new file mode 100644
index 00000000000..247f0c33961
--- /dev/null
+++ b/security/libprelude-python/DESCR
@@ -0,0 +1,8 @@
+Prelude is a hybrid IDS consisting of multiple
+sensors, managers, and a display console. LibPrelude
+is the glue that binds all aspects of Prelude together.
+LibPrelude is a library which enables Prelude
+components to communicate in a standard IDMEF method.
+
+This package installs low-level and easy bindings for
+python.
diff --git a/security/libprelude-python/Makefile b/security/libprelude-python/Makefile
new file mode 100644
index 00000000000..fea6f8b995b
--- /dev/null
+++ b/security/libprelude-python/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/23 19:05:56 hasso Exp $
+
+.include "../../security/libprelude/Makefile.common"
+.include "../../mk/bsd.prefs.mk"
+
+PATCHDIR= ${.CURDIR}/../libprelude/patches
+PKGNAME= libprelude-python-${VERSION}
+
+COMMENT= Python bindings to LibPrelude
+
+CONFIGURE_ARGS+= --with-python
+CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
+PY_PATCHPLIST= yes
+
+BUILD_DIRS= bindings/low-level/python bindings/python
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude
+PKG_SUPPORTED_OPTIONS= debug
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CFLAGS= -O0 -ggdb
+.endif
+
+.include "../../devel/libltdl/convenience.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../security/gnutls/buildlink3.mk"
+.include "../../security/gnutls/libgnutls-config.mk"
+.include "../../security/libprelude/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/libprelude-python/PLIST b/security/libprelude-python/PLIST
new file mode 100644
index 00000000000..9234deae4e2
--- /dev/null
+++ b/security/libprelude-python/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/23 19:05:56 hasso Exp $
+${PYSITELIB}/_prelude.so
+${PYSITELIB}/prelude.py
+${PYSITELIB}/prelude.pyc
+${PYSITELIB}/PreludeEasy.py
+${PYSITELIB}/PreludeEasy.pyc
+${PYSITELIB}/_PreludeEasy.so
diff --git a/security/libprelude-python/buildlink3.mk b/security/libprelude-python/buildlink3.mk
new file mode 100644
index 00000000000..003c4580cc5
--- /dev/null
+++ b/security/libprelude-python/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/08/23 19:05:56 hasso Exp $
+
+BUILDLINK_TREE+= libprelude-python
+
+.if !defined(LIBPRELUDE_PYTHON_BUILDLINK3_MK)
+LIBPRELUDE_PYTHON_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libprelude-python+= libprelude-python>=0.9.24
+BUILDLINK_PKGSRCDIR.libprelude-python?= ../../security/libprelude-python
+.endif # LIBPRELUDE_PYTHON_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libprelude-python
diff --git a/security/libprelude-python/distinfo b/security/libprelude-python/distinfo
new file mode 100644
index 00000000000..a3084afdf5a
--- /dev/null
+++ b/security/libprelude-python/distinfo
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/23 19:05:56 hasso Exp $
+
+SHA1 (libprelude-0.9.24.tar.gz) = 0b9e73f94c30dc92a430de618ad3913034e25258
+RMD160 (libprelude-0.9.24.tar.gz) = a06493f130387c6b06a0ef7928d2e1ec1fcbeb6c
+Size (libprelude-0.9.24.tar.gz) = 2580548 bytes
+SHA1 (patch-aa) = 4781d5d5f726b74e3e2179217ff2db9672c12158
+SHA1 (patch-ab) = 96418b2ce697bdfef83780e0dbc47d95568d3a16
+SHA1 (patch-ac) = 7474b2cf8cbb7fca81d85fe7c575f8ca99f90a43
+SHA1 (patch-ad) = 195228e1e04918275a3ab1cccb838de081a9ec98
+SHA1 (patch-ae) = d8b22cea826727a41108d65f84b594d0879397b2
+SHA1 (patch-af) = a484d36e26ca5aee225aca369c884f285c6ba15c
+SHA1 (patch-ag) = 684bf8a217950b0a7fb38140b20643f81d464431
+SHA1 (patch-ah) = df9293d56869bcc20c4be12f9922160d8f2aa01e
+SHA1 (patch-ai) = 53a16f270a9048f74849c0cd02b517e821bdf08a