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
| System | Port | Version |
|---|---|---|
| FreeBSD | databases/rubygem-dbm | 1.1.0 |
| DragonFly | databases/rubygem-dbm | 1.1.0 |
| MidnightBSD | databases/rubygem-dbm | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.1.0 | 1.1.0 | 1.1.0 | 1.1.0 | 1.1.0 |
| FreeBSD:14:quarterly | 1.1.0 | 1.1.0 | n/a | 1.1.0 | 1.1.0 |
| FreeBSD:15:latest | 1.1.0 | 1.1.0 | n/a | 1.1.0 | 1.1.0 |
| FreeBSD:15:quarterly | 1.1.0 | 1.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.1.0 | 1.1.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| Option | Default | Description |
|---|---|---|
| BDB | off | Berkeley DB support |
| GDBM | off | GNU dbm library support |
| 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
Commit history 0
No commits in the history this site was built from.