diff options
author | hasso <hasso@pkgsrc.org> | 2009-10-02 10:02:08 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-10-02 10:02:08 +0000 |
commit | c200d17c98af9c0659831094660a40f6b8d4393b (patch) | |
tree | bd87e0afefedfd0716cf545fcf25d485739940fa /security/libpreludedb-mysql | |
parent | b8e8d9a0f554a01dc20afe5dbd4816110e5691d7 (diff) | |
download | pkgsrc-c200d17c98af9c0659831094660a40f6b8d4393b.tar.gz |
Add MySQL plugin for LibPreludeDB. Approved by agc@.
Diffstat (limited to 'security/libpreludedb-mysql')
-rw-r--r-- | security/libpreludedb-mysql/DESCR | 8 | ||||
-rw-r--r-- | security/libpreludedb-mysql/Makefile | 23 | ||||
-rw-r--r-- | security/libpreludedb-mysql/PLIST | 2 | ||||
-rw-r--r-- | security/libpreludedb-mysql/buildlink3.mk | 13 | ||||
-rw-r--r-- | security/libpreludedb-mysql/distinfo | 9 |
5 files changed, 55 insertions, 0 deletions
diff --git a/security/libpreludedb-mysql/DESCR b/security/libpreludedb-mysql/DESCR new file mode 100644 index 00000000000..43ee5edbaa3 --- /dev/null +++ b/security/libpreludedb-mysql/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-mysql/Makefile b/security/libpreludedb-mysql/Makefile new file mode 100644 index 00000000000..6e2ea55680b --- /dev/null +++ b/security/libpreludedb-mysql/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/10/02 10:02:08 hasso Exp $ +# + +.include "../../security/libpreludedb/Makefile.common" +.include "../../mk/bsd.prefs.mk" + +PATCHDIR= ${.CURDIR}/../libpreludedb/patches +PKGNAME= libpreludedb-mysql-${VERSION} +COMMENT= MySQL plugin for LibPreludeDB + +CONFIGURE_ARGS+= --with-perl=no +CONFIGURE_ARGS+= --with-python=no +CONFIGURE_ARGS+= --with-sqlite3=no +CONFIGURE_ARGS+= --with-postgresql=no + +BUILD_DIRS= plugins/sql + +CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}/bin/mysql_config + +.include "../../mk/mysql.buildlink3.mk" +.include "../../security/libpreludedb/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/libpreludedb-mysql/PLIST b/security/libpreludedb-mysql/PLIST new file mode 100644 index 00000000000..e331f228b4f --- /dev/null +++ b/security/libpreludedb-mysql/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/02 10:02:08 hasso Exp $ +lib/libpreludedb/plugins/sql/mysql.la diff --git a/security/libpreludedb-mysql/buildlink3.mk b/security/libpreludedb-mysql/buildlink3.mk new file mode 100644 index 00000000000..5c7edeebcf4 --- /dev/null +++ b/security/libpreludedb-mysql/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/10/02 10:02:08 hasso Exp $ + +BUILDLINK_TREE+= libpreludedb-mysql + +.if !defined(LIBPRELUDEDB_MYSQL_BUILDLINK3_MK) +LIBPRELUDEDB_MYSQL_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libpreludedb-mysql+= libpreludedb-mysql>=0.9.15.3 +BUILDLINK_PKGSRCDIR.libpreludedb-mysql?= ../../security/libpreludedb-mysql + +.endif # LIBPRELUDEDB_MYSQL_BUILDLINK3_MK + +BUILDLINK_TREE+= -libpreludedb-mysql diff --git a/security/libpreludedb-mysql/distinfo b/security/libpreludedb-mysql/distinfo new file mode 100644 index 00000000000..6b12399d727 --- /dev/null +++ b/security/libpreludedb-mysql/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/10/02 10:02: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 |