BSD Ports

databases/ruby-dbm 1.1.0 NetBSD

Wrapper for the UNIX-style Database Manager Library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
2-clause-bsd
Categories
databases, ruby
Package size
37.7 KiB, 141.3 KiB installed

Description

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.

Install

Binary package:

pkgin install ruby33-dbm

From pkgsrc:

cd /usr/pkgsrc/databases/ruby-dbm && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-dbm-1.1.0, ruby40-dbm-1.1.0