summaryrefslogtreecommitdiff
path: root/databases/sdbm
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-12-10 15:35:15 +0000
committertv <tv@pkgsrc.org>1998-12-10 15:35:15 +0000
commit70c9c1432e6675cd02acce7bfc528593fbab270d (patch)
tree02a0c938c5cecd0966ee5383483d33afdc847ae0 /databases/sdbm
parent028ad7c9f2ade7e6dd8b1d63b2f948f3e1541ec1 (diff)
downloadpkgsrc-70c9c1432e6675cd02acce7bfc528593fbab270d.tar.gz
Add sdbm, a reimplementation of the classic ndbm library. Good for
`small' applications that cannot use DB 1.85.
Diffstat (limited to 'databases/sdbm')
-rw-r--r--databases/sdbm/Makefile27
-rw-r--r--databases/sdbm/files/md53
-rw-r--r--databases/sdbm/pkg/COMMENT1
-rw-r--r--databases/sdbm/pkg/DESCR11
-rw-r--r--databases/sdbm/pkg/PLIST4
5 files changed, 46 insertions, 0 deletions
diff --git a/databases/sdbm/Makefile b/databases/sdbm/Makefile
new file mode 100644
index 00000000000..434a8e9ffbc
--- /dev/null
+++ b/databases/sdbm/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/12/10 15:35:15 tv Exp $
+#
+
+DISTNAME= sdbm
+# this is the Dec. 1990 release with some race condition fixes from an
+# unknown outside source:
+PKGNAME= sdbm-90.12.1
+NO_WRKSUBDIR= yes
+CATEGORIES= databases
+MASTER_SITES= ftp://tsx-11.mit.edu/pub/linux/sources/libs/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= packages@netbsd.org
+
+MAKEFILE= makefile
+ALL_TARGET= sdbm
+MAKE_FLAGS= CFLAGS="${CFLAGS} -DSDBM -DDUFF"
+
+post-extract:
+ @cd ${WRKDIR} && ${SH} sdbm.shar >/dev/null
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/libsdbm.a ${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/sdbm.h ${PREFIX}/include/
+ ${INSTALL_MAN} ${WRKSRC}/sdbm.3 ${PREFIX}/man/man3/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/sdbm/files/md5 b/databases/sdbm/files/md5
new file mode 100644
index 00000000000..f58cb4737d8
--- /dev/null
+++ b/databases/sdbm/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1998/12/10 15:35:16 tv Exp $
+
+MD5 (sdbm.tar.Z) = b897b677cc666e298cc1f943e71e6286
diff --git a/databases/sdbm/pkg/COMMENT b/databases/sdbm/pkg/COMMENT
new file mode 100644
index 00000000000..6ad7f01a02d
--- /dev/null
+++ b/databases/sdbm/pkg/COMMENT
@@ -0,0 +1 @@
+Substitute DBM, an implementation of the `real' ndbm library
diff --git a/databases/sdbm/pkg/DESCR b/databases/sdbm/pkg/DESCR
new file mode 100644
index 00000000000..8a043a41a3b
--- /dev/null
+++ b/databases/sdbm/pkg/DESCR
@@ -0,0 +1,11 @@
+The sources accompanying this notice -- sdbm -- constitute the first
+public release (Dec. 1990) of a complete clone of the Berkeley UN*X ndbm
+library. The sdbm library is meant to clone the proven functionality of
+ndbm as closely as possible, including a few improvements. It is
+practical, easy to understand, and compatible. The sdbm library is not
+derived from any licensed, proprietary or copyrighted software.
+
+The sdbm programming interface is totally compatible with ndbm and
+includes a slight improvement in database initialization. It is also
+expected to be binary-compatible under most UN*X versions that support the
+ndbm library.
diff --git a/databases/sdbm/pkg/PLIST b/databases/sdbm/pkg/PLIST
new file mode 100644
index 00000000000..92026fed0d5
--- /dev/null
+++ b/databases/sdbm/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/12/10 15:35:16 tv Exp $
+include/sdbm.h
+lib/libsdbm.a
+man/man3/sdbm.3