pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/ruby-dbm



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Jan 16 13:15:53 UTC 2022

Added Files:
        pkgsrc/databases/ruby-dbm: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.5 pkgsrc/databases/ruby-dbm/DESCR
cvs rdiff -u -r0 -r1.9 pkgsrc/databases/ruby-dbm/Makefile
cvs rdiff -u -r0 -r1.6 pkgsrc/databases/ruby-dbm/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/ruby-dbm/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/databases/ruby-dbm/DESCR
diff -u /dev/null pkgsrc/databases/ruby-dbm/DESCR:1.5
--- /dev/null   Sun Jan 16 13:15:53 2022
+++ pkgsrc/databases/ruby-dbm/DESCR     Sun Jan 16 13:15:52 2022
@@ -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.

Index: pkgsrc/databases/ruby-dbm/Makefile
diff -u /dev/null pkgsrc/databases/ruby-dbm/Makefile:1.9
--- /dev/null   Sun Jan 16 13:15:53 2022
+++ pkgsrc/databases/ruby-dbm/Makefile  Sun Jan 16 13:15:52 2022
@@ -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"

Index: pkgsrc/databases/ruby-dbm/PLIST
diff -u /dev/null pkgsrc/databases/ruby-dbm/PLIST:1.6
--- /dev/null   Sun Jan 16 13:15:53 2022
+++ pkgsrc/databases/ruby-dbm/PLIST     Sun Jan 16 13:15:52 2022
@@ -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

Index: pkgsrc/databases/ruby-dbm/distinfo
diff -u /dev/null pkgsrc/databases/ruby-dbm/distinfo:1.1
--- /dev/null   Sun Jan 16 13:15:53 2022
+++ pkgsrc/databases/ruby-dbm/distinfo  Sun Jan 16 13:15:52 2022
@@ -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