From edae27083dd4a70b1b7b8c968949ffb7dc11c508 Mon Sep 17 00:00:00 2001
From: Jonathan McDowell <noodles@earth.li>
Date: Fri, 28 Dec 2007 22:28:33 +0000
Subject: [PATCH] Add man page for keyd, even though it's not currently
 recommended for general use.

---
 Makefile.in |  2 ++
 keyd.8      | 29 +++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 keyd.8

diff --git a/Makefile.in b/Makefile.in
index 39007d5..a7a5c08 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -53,10 +53,12 @@ install: $(PROGS) onak.conf $(BACKENDS)
 	install -d $(DESTDIR)/@libdir@/onak/backends
 	install -d $(DESTDIR)/@localstatedir@/lib/onak
 	install -d $(DESTDIR)/@mandir@/man1
+	install -d $(DESTDIR)/@mandir@/man8
 	install -d $(DESTDIR)/@sysconfdir@
 	install onak-mail.pl $(DESTDIR)/@libdir@/onak
 	install onak splitkeys $(DESTDIR)/@bindir@
 	install onak.1 splitkeys.1 $(DESTDIR)/@mandir@/man1
+	install keyd.8 onak-mail.pl.8 $(DESTDIR)/@mandir@/man8
 ifeq (x@DBTYPE@, xdynamic)
 	install $(BACKENDS) $(DESTDIR)/@libdir@/onak/backends
 	install -d $(DESTDIR)/@sbindir@
diff --git a/keyd.8 b/keyd.8
new file mode 100644
index 0000000..3f575b2
--- /dev/null
+++ b/keyd.8
@@ -0,0 +1,29 @@
+.TH KEYD 8
+.SH NAME
+keyd \- Backend key serving daemon for the onak PGP keyserver 
+.SH SYNOPSIS
+.PP
+.B keyd
+.SH DESCRIPTION
+.PP
+keyd is a backend daemon for the onak PGP keyserver. It listens on a Unix
+socket for connections from the various CGI and mail front ends and
+handles talking to the backend database. It is intended to be of use in
+high load keyservers to reduce the time spent in connecting and
+disconnecting from the key database.
+.PP
+keyd is currently fairly alpha code; it is only recommended that you use
+it if you know what you are doing.
+.SH FILES
+.br
+.nf
+.\" set tabstop to longest possible filename, plus a wee bit
+.ta \w'/usr/lib/perl/getopts.pl   'u
+\fI/etc/onak.conf\fR	default configuration file
+.SH NOTES
+This man page could probably do with some more details.
+.SH "SEE ALSO"
+.BR onak (1)
+.SH AUTHOR
+onak was written by Jonathan McDowell <noodles@earth.li>. It can be found at
+http://www.earth.li/projectpurple/progs/onak.html
-- 
2.39.5