summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-01-03 15:06:02 +0000
committerobache <obache@pkgsrc.org>2007-01-03 15:06:02 +0000
commita86412ddaf47386c8ae421b66ed6ea9972970fe1 (patch)
tree66a6ff8a7f590fa12305a297a2b2e0b2a2590659 /databases
parentea15012be8ebf637b14fdf55b0de237f42f9e4a5 (diff)
downloadpkgsrc-a86412ddaf47386c8ae421b66ed6ea9972970fe1.tar.gz
Import ipa_sdb version 1.0.1.
Based on PR 34860 by Andrey Simonenko and I made some modification. IPA_SDB -- IPA simple database module Main features: - Distribution consists of database ipa_db_sdb(8) and statistics ipa_st_mod(8) modules; - Modules completely support dynamic and static rules, limits and thresholds; - All database files are stored in own record based database formats; - Formats of database files are machine architecture independent; - Sizes of database records are relatively small (binary data formats); - Access to statistics can be granted accordingly to the user group; - There is the ipa_sdb_dump(8) utility for dumping database files to text format and back.
Diffstat (limited to 'databases')
-rw-r--r--databases/ipa_sdb/DESCR14
-rw-r--r--databases/ipa_sdb/Makefile21
-rw-r--r--databases/ipa_sdb/PLIST13
-rw-r--r--databases/ipa_sdb/distinfo5
-rw-r--r--databases/ipa_sdb/options.mk35
5 files changed, 88 insertions, 0 deletions
diff --git a/databases/ipa_sdb/DESCR b/databases/ipa_sdb/DESCR
new file mode 100644
index 00000000000..15fe485da08
--- /dev/null
+++ b/databases/ipa_sdb/DESCR
@@ -0,0 +1,14 @@
+IPA_SDB -- IPA simple database module
+
+Main features:
+
+- Distribution consists of database ipa_db_sdb(8) and statistics
+ ipa_st_mod(8) modules;
+- Modules completely support dynamic and static rules, limits and
+ thresholds;
+- All database files are stored in own record based database formats;
+- Formats of database files are machine architecture independent;
+- Sizes of database records are relatively small (binary data formats);
+- Access to statistics can be granted accordingly to the user group;
+- There is the ipa_sdb_dump(8) utility for dumping database files to
+ text format and back.
diff --git a/databases/ipa_sdb/Makefile b/databases/ipa_sdb/Makefile
new file mode 100644
index 00000000000..bdcb6c0dbbe
--- /dev/null
+++ b/databases/ipa_sdb/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/01/03 15:06:02 obache Exp $
+
+DISTNAME= ipa_sdb-1.0.1
+CATEGORIES= databases
+MASTER_SITES= http://ipa-system.sourceforge.net/modules/ipa_sdb/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= simon@comsys.ntu-kpi.kiev.ua
+HOMEPAGE= http://ipa-system.sourceforge.net/modules/ipa_sdb/
+COMMENT= IPA simple database module
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c
+USE_LIBTOOL= yes
+
+CONFIGURE_ARGS+=-with-mandir-ru=ru
+
+.include "options.mk"
+
+.include "../../sysutils/ipa/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ipa_sdb/PLIST b/databases/ipa_sdb/PLIST
new file mode 100644
index 00000000000..d85e7e0d97c
--- /dev/null
+++ b/databases/ipa_sdb/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/03 15:06:02 obache Exp $
+bin/ipa_sdb_dump
+include/ipa_sdb.h
+lib/ipa_db_sdb.la
+lib/ipa_st_sdb.la
+man/man5/ipa_sdb.5
+man/man8/ipa_db_sdb.8
+man/man8/ipa_sdb_dump.8
+man/man8/ipa_st_sdb.8
+man/ru/man5/ipa_sdb.5
+man/ru/man8/ipa_db_sdb.8
+man/ru/man8/ipa_sdb_dump.8
+man/ru/man8/ipa_st_sdb.8
diff --git a/databases/ipa_sdb/distinfo b/databases/ipa_sdb/distinfo
new file mode 100644
index 00000000000..50df0393833
--- /dev/null
+++ b/databases/ipa_sdb/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/01/03 15:06:02 obache Exp $
+
+SHA1 (ipa_sdb-1.0.1.tar.bz2) = 3babf4d20e2ae0fd1c8958fdc34bff5e3d9e2db2
+RMD160 (ipa_sdb-1.0.1.tar.bz2) = 6824e8f0d11620d1e42912679dcb61e69e48b75e
+Size (ipa_sdb-1.0.1.tar.bz2) = 228701 bytes
diff --git a/databases/ipa_sdb/options.mk b/databases/ipa_sdb/options.mk
new file mode 100644
index 00000000000..c7fb4cefea9
--- /dev/null
+++ b/databases/ipa_sdb/options.mk
@@ -0,0 +1,35 @@
+# $NetBSD: options.mk,v 1.1.1.1 2007/01/03 15:06:02 obache Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ipa_sdb
+PKG_SUPPORTED_OPTIONS= ipa-without-autorules ipa-without-limits \
+ ipa-without-rules ipa-without-thresholds
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Disable dynamic rules support
+###
+.if !empty(PKG_OPTIONS:Mwithout_autorules)
+CONFIGURE_ARGS+= --disable-autorules
+.endif
+
+###
+### Disable limits support
+###
+.if !empty(PKG_OPTIONS:Mwithout_limits)
+CONFIGURE_ARGS+= --disable-limits
+.endif
+
+###
+### Disable static rules support
+###
+.if !empty(PKG_OPTIONS:Mwithout_rules)
+CONFIGURE_ARGS+= --disable-rules
+.endif
+
+###
+### Disable thresholds support
+###
+.if !empty(PKG_OPTIONS:Mwithout_thresholds)
+CONFIGURE_ARGS+= --disable-thresholds
+.endif