BSD Ports

databases/rubygem-dbm 1.1.0 FreeBSD

Wrapper for the UNIX-style Database Manager Library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
databases, rubygems
Package size
9.7 KiB, 42.9 KiB installed

Description

The DBM class provides a wrapper to a Unix-style 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 6, 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.

In the other systems

SystemPortVersion
FreeBSDdatabases/rubygem-dbm1.1.0
DragonFlydatabases/rubygem-dbm1.1.0
MidnightBSDdatabases/rubygem-dbm1.1.0

Install

Binary package:

pkg install rubygem-dbm

From the ports tree:

cd /usr/ports/databases/rubygem-dbm/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-dbm>0:databases/rubygem-dbm

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.01.1.01.1.01.1.01.1.0
FreeBSD:14:quarterly1.1.01.1.0n/a1.1.01.1.0
FreeBSD:15:latest1.1.01.1.0n/a1.1.01.1.0
FreeBSD:15:quarterly1.1.01.1.0n/an/an/a
FreeBSD:16:latest1.1.01.1.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6
Required by 1

Configuration

Options name: databases_dbm

OptionDefaultDescription
BDBoffBerkeley DB support
GDBMoffGNU dbm library support
LIBConlibc ndbm support
QDBMoffQDBM support
USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/dbm-1.1.0.gem143363bbc86d4bd84f464de4c9bcf2c3b897001239c2368e980fe0b797c175ee107fc
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.