databases/rubygem-gdbm 2.1.1,2 FreeBSD
Ruby extension to GDBM library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- databases, rubygems
- Package size
- 10.9 KiB, 51.6 KiB installed
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
| System | Port | Version |
|---|---|---|
| FreeBSD | databases/rubygem-gdbm | 2.1.1,2 |
| DragonFly | databases/rubygem-gdbm | 2.1.0,2 |
| MidnightBSD | databases/rubygem-gdbm | 2.1.0,2 |
Install
Binary package:
pkg install rubygem-gdbm
From the ports tree:
cd /usr/ports/databases/rubygem-gdbm/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-gdbm>0:databases/rubygem-gdbm
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 | 2.1.1,2 | 2.1.1,2 | 2.1.0,2 | 2.1.1,2 | 2.1.1,2 |
| FreeBSD:14:quarterly | 2.1.1,2 | 2.1.1,2 | n/a | 2.1.0,2 | 2.1.1,2 |
| FreeBSD:15:latest | 2.1.1,2 | 2.1.1,2 | n/a | 2.1.1,2 | 2.1.1,2 |
| FreeBSD:15:quarterly | 2.1.1,2 | 2.1.1,2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.1.1,2 | 2.1.1,2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libgdbm.so: databases/gdbm
The full lists below include those, and their dependencies in turn.
Build dependencies 9
Run dependencies 9
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/gdbm-2.1.1.gem | 11264 | b14a4c7b0d0abbac9a021dc0e85cc9ba90efb2680edd4f80cc35c8752c880fac |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.