BSD Ports

databases/rubygem-gdbm 2.1.0,2 MidnightBSD

Ruby extension to GDBM library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd2
Categories
databases, rubygems

Description

Ruby extension for GNU dbm (gdbm) -- a simple database engine for storing key-value pairs on disk.

GNU dbm is a library for simple databases. A database is a file that stores key-value pairs. Gdbm allows the user to store, retrieve, and delete data by key. It furthermore allows a non-sorted traversal of all key-value pairs. A gdbm database thus provides the same functionality as a hash. As with objects of the Hash class, elements can be accessed with []. Furthermore, GDBM mixes in the Enumerable module, thus providing convenient methods such as #find, #collect, #map, etc.

A process is allowed to open several different databases at the same time. A process can open a database as a "reader" or a "writer". Whereas a reader has only read-access to the database, a writer has read- and write-access. A database can be accessed either by any number of readers or by exactly one writer at the same time.

In the other systems

SystemPortVersion
MidnightBSDdatabases/rubygem-gdbm2.1.0,2
FreeBSDdatabases/rubygem-gdbm2.1.1,2
OpenBSDdatabases/gdbm1.26
NetBSDdatabases/gdbm1.26
DragonFlydatabases/rubygem-gdbm2.1.0,2

Install

Binary package:

mport install gdbm

From mports:

cd /usr/mports/databases/rubygem-gdbm && make install clean

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

RUN_DEPENDS=	gdbm>0:databases/rubygem-gdbm

Dependencies

As this port's Makefile names them.

Library 1

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/gdbm-2.1.0.gem112640b618465946a6e7a630b8dd3d10e30570cbc8fb8710bcb28f2db89058a7bbe77
Master sites 1
  • RG