DESCR

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.

Makefile

# $NetBSD: Makefile,v 1.3 2008/07/14 12:56:00 joerg Exp $

DISTNAME= ipa_sdb-1.0.1
PKGREVISION= 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

PKG_DESTDIR_SUPPORT= user-destdir

GNU_CONFIGURE= yes
USE_LANGUAGES= c
USE_LIBTOOL= yes

SHLIBTOOL_OVERRIDE= # empty

CONFIGURE_ARGS+= --with-mandir-ru=ru

.include "options.mk"

.include "../../sysutils/ipa/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

PLIST

@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

distinfo

$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

options.mk

# $NetBSD: options.mk,v 1.2 2007/01/22 12:23:39 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:Mipa-without-autorules)
CONFIGURE_ARGS+= --disable-autorules
.endif

###
### Disable limits support
###
.if !empty(PKG_OPTIONS:Mipa-without-limits)
CONFIGURE_ARGS+= --disable-limits
.endif

###
### Disable static rules support
###
.if !empty(PKG_OPTIONS:Mipa-without-rules)
CONFIGURE_ARGS+= --disable-rules
.endif

###
### Disable thresholds support
###
.if !empty(PKG_OPTIONS:Mipa-without-thresholds)
CONFIGURE_ARGS+= --disable-thresholds
.endif