From 6a61b33fdf07b665d9393efff6ca47c71c0bd4db Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 4 Jul 2002 20:03:29 +0000 Subject: Initial import of gdbm_primitive: A collection of small binaries to access and modify GDBM databases. Supplied by Ola Eriksson in pkg/15521, with buildlinking and some cleanup by me. --- databases/gdbm_primitive/DESCR | 1 + databases/gdbm_primitive/Makefile | 19 +++++++++++++++++++ databases/gdbm_primitive/PLIST | 22 ++++++++++++++++++++++ databases/gdbm_primitive/distinfo | 5 +++++ databases/gdbm_primitive/patches/patch-aa | 27 +++++++++++++++++++++++++++ 5 files changed, 74 insertions(+) create mode 100644 databases/gdbm_primitive/DESCR create mode 100644 databases/gdbm_primitive/Makefile create mode 100644 databases/gdbm_primitive/PLIST create mode 100644 databases/gdbm_primitive/distinfo create mode 100644 databases/gdbm_primitive/patches/patch-aa (limited to 'databases/gdbm_primitive') diff --git a/databases/gdbm_primitive/DESCR b/databases/gdbm_primitive/DESCR new file mode 100644 index 00000000000..58277b55bb0 --- /dev/null +++ b/databases/gdbm_primitive/DESCR @@ -0,0 +1 @@ +A collection of small binaries to access and modify GDBM databases. diff --git a/databases/gdbm_primitive/Makefile b/databases/gdbm_primitive/Makefile new file mode 100644 index 00000000000..ff604040eeb --- /dev/null +++ b/databases/gdbm_primitive/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/07/04 20:03:29 wiz Exp $ +# + +DISTNAME= gdbm-prim-1.15 +PKGNAME= ${DISTNAME:S/-prim/_primitive/} +CATEGORIES= databases +MASTER_SITES= http://homepage.mac.com/leffert/.cv/leffert/Public/ +EXTRACT_SUFX= .tar.gz-link.gz + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://homepage.mac.com/leffert/FileSharing.html +COMMENT= Shell primitives for working with GDBMs + +EXTRACT_CMD= ${_DFLT_EXTRACT_CMD} +USE_BUILDLINK_ONLY= YES +WRKSRC= ${WRKDIR}/${PKGNAME} + +.include "../../databases/gdbm/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/gdbm_primitive/PLIST b/databases/gdbm_primitive/PLIST new file mode 100644 index 00000000000..ccd7f31e448 --- /dev/null +++ b/databases/gdbm_primitive/PLIST @@ -0,0 +1,22 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/04 20:03:29 wiz Exp $ +bin/gdbm-clear +bin/gdbm-create +bin/gdbm-dump +bin/gdbm-exists +bin/gdbm-get +bin/gdbm-keys +bin/gdbm-load +bin/gdbm-put +bin/gdbm-remove +bin/gdbm-revget +man/man1/gdbm-clear.1 +man/man1/gdbm-create.1 +man/man1/gdbm-dump.1 +man/man1/gdbm-exists.1 +man/man1/gdbm-get.1 +man/man1/gdbm-keys.1 +man/man1/gdbm-load.1 +man/man1/gdbm-put.1 +man/man1/gdbm-remove.1 +man/man1/gdbm-revget.1 +man/man1/gdbm_primitive.1 diff --git a/databases/gdbm_primitive/distinfo b/databases/gdbm_primitive/distinfo new file mode 100644 index 00000000000..74adb5b4ee0 --- /dev/null +++ b/databases/gdbm_primitive/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/07/04 20:03:29 wiz Exp $ + +SHA1 (gdbm-prim-1.15.tar.gz-link.gz) = 40c8802ccd8fa66b858ff5059771780b1e28f43a +Size (gdbm-prim-1.15.tar.gz-link.gz) = 10532 bytes +SHA1 (patch-aa) = 94243a804813ee61c1384fdc9e24e630e48bfcf3 diff --git a/databases/gdbm_primitive/patches/patch-aa b/databases/gdbm_primitive/patches/patch-aa new file mode 100644 index 00000000000..15e7c4e200d --- /dev/null +++ b/databases/gdbm_primitive/patches/patch-aa @@ -0,0 +1,27 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/07/04 20:03:30 wiz Exp $ + +--- Makefile.orig Thu Nov 30 07:44:57 2000 ++++ Makefile +@@ -9,17 +9,19 @@ + # Copyright (c) 2000 Jonathan B. Leffert + # All rights reserved. + ++prefix = ${PREFIX} ++ + VERSION=1.15 + PKG=gdbm_primitive + + CC = gcc +-CFLAGS = -O2 -pedantic -Wall -I/opt/include -DVERSION=$(VERSION) ++CFLAGS = -O2 -pedantic -Wall -DVERSION=$(VERSION) -I${BUILDLINK_DIR}/include + + PROGS = gdbm-clear gdbm-create gdbm-dump gdbm-exists gdbm-keys gdbm-load \ + gdbm-get gdbm-put gdbm-remove gdbm-revget +-LIBS = -L/opt/lib -lgdbm ++LIBS = -L${BUILDLINK_DIR}/lib -Wl,-R${PREFIX}/lib -lgdbm + +-INSTALL_PREFIX=/opt/pkgs/gdbm_primitive-$(VERSION) ++INSTALL_PREFIX=${prefix} + + .c.o: + $(CC) $(CFLAGS) -c $< -- cgit v1.2.3