Import ports/databases/ksql. ok sthen@

ksql is a "lazy man's" wrapper for the SQLite C-language interface. It
is written to make sure sloppy programming won't cause your SQLite
database to be inconsistent (transactions and statements open on exit
and certain signals). Specifically, it exits on any database errors; and
upon exit (or signal), cleans up open statements, transactions, and
databases. See ksql(3) and friends for details.
This commit is contained in:
jturner 2016-05-24 00:19:43 +00:00
parent 967d8af985
commit 49bfce772c
4 changed files with 47 additions and 0 deletions

22
databases/ksql/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2016/05/24 00:19:43 jturner Exp $
COMMENT = yet another SQLite wrapper
DISTNAME = ksql-0.0.7
CATEGORIES = databases
MAINTAINER = James Turner <james@calminferno.net>
HOMEPAGE = http://kristaps.bsd.lv/ksql/
MASTER_SITES = http://kristaps.bsd.lv/ksql/snapshots/
# ISC
PERMIT_PACKAGE_CDROM = Yes
NO_CONFIGURE = Yes
ALL_TARGET = libksql.a
NO_TEST = Yes
.include <bsd.port.mk>

2
databases/ksql/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (ksql-0.0.7.tar.gz) = zkbHQKbDRP73oIF+WKqJX6PuN+C3dkUKHW4LDLTUzjY=
SIZE (ksql-0.0.7.tar.gz) = 11512

6
databases/ksql/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
ksql is a "lazy man's" wrapper for the SQLite C-language interface. It
is written to make sure sloppy programming won't cause your SQLite
database to be inconsistent (transactions and statements open on exit
and certain signals). Specifically, it exits on any database errors; and
upon exit (or signal), cleans up open statements, transactions, and
databases. See ksql(3) and friends for details.

17
databases/ksql/pkg/PLIST Normal file
View File

@ -0,0 +1,17 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/05/24 00:19:43 jturner Exp $
include/ksql.h
lib/libksql.a
@man man/man3/ksql.3
@man man/man3/ksql_alloc.3
@man man/man3/ksql_bind_double.3
@man man/man3/ksql_close.3
@man man/man3/ksql_exec.3
@man man/man3/ksql_free.3
@man man/man3/ksql_lastid.3
@man man/man3/ksql_open.3
@man man/man3/ksql_stmt_alloc.3
@man man/man3/ksql_stmt_double.3
@man man/man3/ksql_stmt_free.3
@man man/man3/ksql_stmt_reset.3
@man man/man3/ksql_trans_commit.3
@man man/man3/ksql_trans_open.3