summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/ipa_sdb/Makefile68
-rw-r--r--databases/ipa_sdb/distinfo3
-rw-r--r--databases/ipa_sdb/pkg-descr19
4 files changed, 91 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index c24265fcf2c7..52b706a5a308 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -68,6 +68,7 @@
SUBDIR += grass-i18n
SUBDIR += gtksql
SUBDIR += hk_classes
+ SUBDIR += ipa_sdb
SUBDIR += isql-viewer
SUBDIR += jasperreports
SUBDIR += java-sqlrelay
diff --git a/databases/ipa_sdb/Makefile b/databases/ipa_sdb/Makefile
new file mode 100644
index 000000000000..4f0ca6128a55
--- /dev/null
+++ b/databases/ipa_sdb/Makefile
@@ -0,0 +1,68 @@
+# New ports collection makefile for: ipa_sdb
+# Date created: 27 December 2005
+# Whom: Andrey Simonenko
+#
+# $FreeBSD$
+#
+
+PORTNAME= ipa_sdb
+PORTVERSION= 1.0
+CATEGORIES= databases
+MASTER_SITES= http://ipa-system.sourceforge.net/modules/ipa_sdb/
+
+MAINTAINER= simon@comsys.ntu-kpi.kiev.ua
+COMMENT= IPA simple database module
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+
+OPTIONS= AUTORULES "Enable dynamic rules support" on \
+ RULES "Enable static rules support" on \
+ LIMITS "Enable limits support" on \
+ THRESHOLDS "Enable thresholds support" on \
+ DEBUG_INFO "Produce debugging information" off \
+ MAN_KOI8_R "Install Russian manual pages" off
+
+.include <bsd.port.pre.mk>
+
+BUILD_DEPENDS= ${PREFIX}/include/ipa_mod.h:${PORTSDIR}/sysutils/ipa
+
+PLIST_FILES= bin/ipa_sdb_dump lib/ipa_db_sdb.so lib/ipa_st_sdb.so \
+ include/ipa_sdb.h lib/ipa_db_sdb.la lib/ipa_st_sdb.la
+
+.ifdef WITHOUT_AUTORULES
+CONFIGURE_ARGS+= --disable-autorules
+.endif
+
+.ifdef WITHOUT_RULES
+CONFIGURE_ARGS+= --disable-rules
+.endif
+
+.ifdef WITHOUT_LIMITS
+CONFIGURE_ARGS+= --disable-limits
+.endif
+
+.ifdef WITHOUT_THRESHOLDS
+CONFIGURE_ARGS+= --disable-thresholds
+.endif
+
+.ifdef WITH_DEBUG_INFO
+STRIP= # empty
+CFLAGS+= -g
+.endif
+
+MAN5= ipa_sdb.5
+MAN8= ipa_db_sdb.8 ipa_st_sdb.8 ipa_sdb_dump.8
+MANLANG= ""
+.ifdef WITH_MAN_KOI8_R
+MANLANG+= ru.KOI8-R
+.endif
+
+do-install:
+ cd ${WRKSRC}/src && make install
+ cd ${WRKSRC}/man && make install-am
+.ifdef WITH_MAN_KOI8_R
+ cd ${WRKSRC}/man/ru.KOI8-R && make install
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/ipa_sdb/distinfo b/databases/ipa_sdb/distinfo
new file mode 100644
index 000000000000..bf2d94d22c93
--- /dev/null
+++ b/databases/ipa_sdb/distinfo
@@ -0,0 +1,3 @@
+MD5 (ipa_sdb-1.0.tar.bz2) = e3ea6625f26840e25ad20d75845cc394
+SHA256 (ipa_sdb-1.0.tar.bz2) = d2f69d53294d37276ff38d4599c53c22fa1dc7f7896c926c339a65f37e848b46
+SIZE (ipa_sdb-1.0.tar.bz2) = 228948
diff --git a/databases/ipa_sdb/pkg-descr b/databases/ipa_sdb/pkg-descr
new file mode 100644
index 000000000000..5ca056e5af7d
--- /dev/null
+++ b/databases/ipa_sdb/pkg-descr
@@ -0,0 +1,19 @@
+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.
+
+WWW: http://ipa-system.sourceforge.net/modules/ipa_sdb/
+
+- Andrey Simonenko
+simon@comsys.ntu-kpi.kiev.ua