summaryrefslogtreecommitdiff
path: root/security/libpreludedb-perl
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-10-02 09:59:40 +0000
committerhasso <hasso@pkgsrc.org>2009-10-02 09:59:40 +0000
commitb8e8d9a0f554a01dc20afe5dbd4816110e5691d7 (patch)
treeb6f397ecf337dd006610c819b05c10bb9fbade9e /security/libpreludedb-perl
parent66e0a443d8683783975732614a1cf0d907d3366e (diff)
downloadpkgsrc-b8e8d9a0f554a01dc20afe5dbd4816110e5691d7.tar.gz
Add perl bindings for LibPreludeDB libraries. Approved by agc@.
Diffstat (limited to 'security/libpreludedb-perl')
-rw-r--r--security/libpreludedb-perl/DESCR8
-rw-r--r--security/libpreludedb-perl/Makefile28
-rw-r--r--security/libpreludedb-perl/buildlink3.mk13
-rw-r--r--security/libpreludedb-perl/distinfo9
4 files changed, 58 insertions, 0 deletions
diff --git a/security/libpreludedb-perl/DESCR b/security/libpreludedb-perl/DESCR
new file mode 100644
index 00000000000..43ee5edbaa3
--- /dev/null
+++ b/security/libpreludedb-perl/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-perl/Makefile b/security/libpreludedb-perl/Makefile
new file mode 100644
index 00000000000..d0f9da560fc
--- /dev/null
+++ b/security/libpreludedb-perl/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/10/02 09:59:40 hasso Exp $
+#
+
+.include "../../security/libpreludedb/Makefile.common"
+.include "../../mk/bsd.prefs.mk"
+
+PATCHDIR= ${.CURDIR}/../libpreludedb/patches
+PKGNAME= libpreludedb-perl-${VERSION}
+COMMENT= Perl bindings for LibPreludeDB libraries
+
+CONFIGURE_ARGS+= --with-python=no
+CONFIGURE_ARGS+= --with-mysql=no
+CONFIGURE_ARGS+= --with-postgresql=no
+CONFIGURE_ARGS+= --with-sqlite3=no
+
+BUILD_DIRS= bindings
+
+CONFIGURE_ARGS+= --with-perl=${PERL5:Q} --with-perl-installdirs=vendor
+USE_TOOLS+= perl:run
+
+PERL5_PACKLIST= ${PERL5_VENDORARCH}auto/PreludeDB/.packlist
+PERL5_CONFIGURE= no
+
+.include "../../lang/perl5/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../security/libpreludedb/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/libpreludedb-perl/buildlink3.mk b/security/libpreludedb-perl/buildlink3.mk
new file mode 100644
index 00000000000..0700488169f
--- /dev/null
+++ b/security/libpreludedb-perl/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/10/02 09:59:40 hasso Exp $
+
+BUILDLINK_TREE+= libpreludedb-perl
+
+.if !defined(LIBPRELUDEDB_PERL_BUILDLINK3_MK)
+LIBPRELUDEDB_PERL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libpreludedb-perl+= libpreludedb-perl>=0.9.15.3
+BUILDLINK_PKGSRCDIR.libpreludedb-perl?= ../../security/libpreludedb-perl
+
+.endif # LIBPRELUDEDB_PERL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libpreludedb-perl
diff --git a/security/libpreludedb-perl/distinfo b/security/libpreludedb-perl/distinfo
new file mode 100644
index 00000000000..fb2b81acb2e
--- /dev/null
+++ b/security/libpreludedb-perl/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/10/02 09:59:40 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