summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/tdb/distinfo3
-rw-r--r--databases/tdb/patches/patch-ac45
2 files changed, 47 insertions, 1 deletions
diff --git a/databases/tdb/distinfo b/databases/tdb/distinfo
index adc8246565b..8ce920bddff 100644
--- a/databases/tdb/distinfo
+++ b/databases/tdb/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/11/29 19:19:12 jmmv Exp $
+$NetBSD: distinfo,v 1.2 2003/07/17 20:37:50 jmmv Exp $
SHA1 (tdb-1.0.6.tar.gz) = d1876522f1b8ffa8cf844a1f6605e0c32d387a7a
Size (tdb-1.0.6.tar.gz) = 139948 bytes
SHA1 (patch-aa) = 7af794ccbaeab55f4d44f41212ca881dd169506e
SHA1 (patch-ab) = dbe92ea1facfb3d601a7ce1a9b7f9a25e0c879cc
+SHA1 (patch-ac) = 3a8da4fd18724ba54f593a27adbe9cdfd012f255
diff --git a/databases/tdb/patches/patch-ac b/databases/tdb/patches/patch-ac
new file mode 100644
index 00000000000..9583091b0ef
--- /dev/null
+++ b/databases/tdb/patches/patch-ac
@@ -0,0 +1,45 @@
+$NetBSD: patch-ac,v 1.1 2003/07/17 20:37:51 jmmv Exp $
+
+--- tdbtool.c.orig 2001-12-11 04:45:47.000000000 +0100
++++ tdbtool.c
+@@ -169,23 +169,23 @@ static void print_data(unsigned char *bu
+
+ static void help(void)
+ {
+- printf("
+-tdbtool:
+- create dbname : create a database
+- open dbname : open an existing database
+- erase : erase the database
+- dump dumpname : dump the database as strings
+- insert key data : insert a record
+- store key data : store a record (replace)
+- show key : show a record by key
+- delete key : delete a record by key
+- list : print the database hash table and freelist
+- free : print the database freelist
+- 1 | first : print the first record
+- n | next : print the next record
+- q | quit : terminate
+- \\n : repeat 'next' command
+-");
++ printf("\n" \
++"tdbtool:\n" \
++" create dbname : create a database\n" \
++" open dbname : open an existing database\n" \
++" erase : erase the database\n" \
++" dump dumpname : dump the database as strings\n" \
++" insert key data : insert a record\n" \
++" store key data : store a record (replace)\n" \
++" show key : show a record by key\n" \
++" delete key : delete a record by key\n" \
++" list : print the database hash table and freelist\n" \
++" free : print the database freelist\n" \
++" 1 | first : print the first record\n" \
++" n | next : print the next record\n" \
++" q | quit : terminate\n" \
++" \\n : repeat 'next' command\n" \
++);
+ }
+
+ static void terror(char *why)