From a86412ddaf47386c8ae421b66ed6ea9972970fe1 Mon Sep 17 00:00:00 2001 From: obache Date: Wed, 3 Jan 2007 15:06:02 +0000 Subject: 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. --- databases/ipa_sdb/DESCR | 14 ++++++++++++++ databases/ipa_sdb/Makefile | 21 +++++++++++++++++++++ databases/ipa_sdb/PLIST | 13 +++++++++++++ databases/ipa_sdb/distinfo | 5 +++++ databases/ipa_sdb/options.mk | 35 +++++++++++++++++++++++++++++++++++ 5 files changed, 88 insertions(+) create mode 100644 databases/ipa_sdb/DESCR create mode 100644 databases/ipa_sdb/Makefile create mode 100644 databases/ipa_sdb/PLIST create mode 100644 databases/ipa_sdb/distinfo create mode 100644 databases/ipa_sdb/options.mk (limited to 'databases') 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 -- cgit v1.2.3