pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/ipa_sdb Import ipa_sdb version 1.0.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de3e6e4c8405
branches:  trunk
changeset: 523205:de3e6e4c8405
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Jan 03 15:06:02 2007 +0000

description:
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:

 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(+), 0 deletions(-)

diffs (108 lines):

diff -r 29104a0b649e -r de3e6e4c8405 databases/ipa_sdb/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ipa_sdb/DESCR   Wed Jan 03 15:06:02 2007 +0000
@@ -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 -r 29104a0b649e -r de3e6e4c8405 databases/ipa_sdb/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ipa_sdb/Makefile        Wed Jan 03 15:06:02 2007 +0000
@@ -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@localhost
+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 -r 29104a0b649e -r de3e6e4c8405 databases/ipa_sdb/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ipa_sdb/PLIST   Wed Jan 03 15:06:02 2007 +0000
@@ -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 -r 29104a0b649e -r de3e6e4c8405 databases/ipa_sdb/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ipa_sdb/distinfo        Wed Jan 03 15:06:02 2007 +0000
@@ -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 -r 29104a0b649e -r de3e6e4c8405 databases/ipa_sdb/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ipa_sdb/options.mk      Wed Jan 03 15:06:02 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index