databases/rubygem-dbm 1.1.0 MidnightBSD
Wrapper for the UNIX-style Database Manager Library
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd2
- Categories
- databases, rubygems
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
| System | Port | Version |
|---|---|---|
| MidnightBSD | databases/rubygem-dbm | 1.1.0 |
| FreeBSD | databases/rubygem-dbm | 1.1.0 |
| DragonFly | databases/rubygem-dbm | 1.1.0 |
Install
Binary package:
mport install dbm
From mports:
cd /usr/mports/databases/rubygem-dbm && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= dbm>0:databases/rubygem-dbm
Dependencies
No port depends on this one.
Configuration
Options name: databases_dbm
| Option | Default | Description |
|---|---|---|
| BDB | off | |
| GDBM | off | |
| LIBC | on | libc ndbm support |
| QDBM | off | QDBM support |
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/dbm-1.1.0.gem | 14336 | 3bbc86d4bd84f464de4c9bcf2c3b897001239c2368e980fe0b797c175ee107fc |
Master sites 1
- RG