pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/ruby-dbm databases/ruby-dbm: add package ver...
details: https://anonhg.NetBSD.org/pkgsrc/rev/053a338b150c
branches: trunk
changeset: 371893:053a338b150c
user: taca <taca%pkgsrc.org@localhost>
date: Sun Jan 16 13:15:52 2022 +0000
description:
databases/ruby-dbm: add package version 1.1.0
Add dbm gem as ruby-dbm package version 1.1.0.
Note:
* Ruby 2.6 contains dbm 1.0.0.
* Ruby 2.7 and Ruby 3.0 contains dbm 1.1.0, but no conflict.
* Ruby 3.1 dose not contain dbm.
DBM
The DBM class provides a wrapper to a Unix-style dbm or 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 5, 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.
diffstat:
databases/ruby-dbm/DESCR | 24 ++++++++++++++++++++++++
databases/ruby-dbm/Makefile | 13 +++++++++++++
databases/ruby-dbm/PLIST | 8 ++++++++
databases/ruby-dbm/distinfo | 5 +++++
4 files changed, 50 insertions(+), 0 deletions(-)
diffs (66 lines):
diff -r c95a97e2dd9f -r 053a338b150c databases/ruby-dbm/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ruby-dbm/DESCR Sun Jan 16 13:15:52 2022 +0000
@@ -0,0 +1,24 @@
+DBM
+
+The DBM class provides a wrapper to a Unix-style dbm or 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 5, 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.
diff -r c95a97e2dd9f -r 053a338b150c databases/ruby-dbm/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ruby-dbm/Makefile Sun Jan 16 13:15:52 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.9 2022/01/16 13:15:52 taca Exp $
+
+DISTNAME= dbm-1.1.0
+CATEGORIES= databases
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/ruby/dbm
+COMMENT= Wrapper for the UNIX-style Database Manager Library
+LICENSE= 2-clause-bsd
+
+.include "../../mk/bdb.buildlink3.mk"
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c95a97e2dd9f -r 053a338b150c databases/ruby-dbm/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ruby-dbm/PLIST Sun Jan 16 13:15:52 2022 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.6 2022/01/16 13:15:52 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_EXTSDIR}/dbm.${RUBY_DLEXT}
+${GEM_EXTSDIR}/gem.build_complete
+${GEM_LIBDIR}/ext/dbm/dbm.c
+${GEM_LIBDIR}/ext/dbm/extconf.rb
+${GEM_LIBDIR}/lib/dbm.${RUBY_DLEXT}
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r c95a97e2dd9f -r 053a338b150c databases/ruby-dbm/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ruby-dbm/distinfo Sun Jan 16 13:15:52 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/01/16 13:15:52 taca Exp $
+
+BLAKE2s (dbm-1.1.0.gem) = 1ec9924f40baff8702efdfa086e4172524f48fef9e010c00bd59c7100d8230e3
+SHA512 (dbm-1.1.0.gem) = 3e331942129cce744fc610b64ae396a4c492c3b089508b5199135c993c34df0eb8dc2097058b708db345093461834c069959ecdea214e7b2048f3f83da07a6d3
+Size (dbm-1.1.0.gem) = 14336 bytes
Home |
Main Index |
Thread Index |
Old Index