pkgsrc/databases/ruby-dbm/Makefile
taca d890c9f177 databases/ruby-dbm: add package version 1.1.0
Add dbm gem as ruby-dbm package version 1.1.0.

Note:

* Ruby 2.6 contains dbm 1.0.0.
* Ruby 2.7 and Ruby 3.0 contains dbm 1.1.0, but no conflict.
* Ruby 3.1 dose not contain dbm.


DBM

The DBM class provides a wrapper to a Unix-style dbm or Database Manager
library.

Dbm databases do not have tables or columns; they are simple key-value data
stores, like a Ruby Hash except not resident in RAM.  Keys and values must
be strings.

The exact library used depends on how Ruby was compiled.  It could be any of
the following:

* The original ndbm library is released in 4.3BSD.  It is based on dbm
  library in Unix Version 7 but has different API to support multiple
  databases in a process.
* Berkeley DB versions 1 thru 5, also known as BDB and Sleepycat DB, now
  owned by Oracle Corporation.
* Berkeley DB 1.x, still found in 4.4BSD derivatives (FreeBSD, OpenBSD,
  etc).
* gdbm, the GNU implementation of dbm.
* qdbm, another open source reimplementation of dbm.

All of these dbm implementations have their own Ruby interfaces available,
which provide richer (but varying) APIs.
2022-01-16 13:15:52 +00:00

13 lines
362 B
Makefile

# $NetBSD: Makefile,v 1.9 2022/01/16 13:15:52 taca Exp $
DISTNAME= dbm-1.1.0
CATEGORIES= databases
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/ruby/dbm
COMMENT= Wrapper for the UNIX-style Database Manager Library
LICENSE= 2-clause-bsd
.include "../../mk/bdb.buildlink3.mk"
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"