opencryptoki/opencryptoki-2.4.1-man.patch
Dan Horák 18aa734070 new upstream release 2.4.2
- add pkcs_slot man page
- don't add root to the pkcs11 group
2012-06-21 13:49:09 +02:00

50 lines
1.3 KiB
Diff

diff --git a/configure.in b/configure.in
index 483a092..083a766 100644
--- a/configure.in
+++ b/configure.in
@@ -663,6 +663,7 @@ AC_CONFIG_FILES([Makefile usr/Makefile \
man/Makefile \
man/man1/Makefile \
man/man1/pkcsconf.1 \
+ man/man1/pkcs_slot.1 \
man/man1/pkcs11_startup.1 \
man/man5/Makefile \
man/man5/pk_config_data.5 \
diff --git a/man/man1/Makefile.am b/man/man1/Makefile.am
index 8f0e5ee..1560fec 100644
--- a/man/man1/Makefile.am
+++ b/man/man1/Makefile.am
@@ -1,2 +1,2 @@
-man1_MANS=pkcs11_startup.1 pkcsconf.1
+man1_MANS=pkcs11_startup.1 pkcs_slot.1 pkcsconf.1
EXTRA_DIST = $(man1_MANS)
diff --git a/man/man1/pkcs_slot.1.in b/man/man1/pkcs_slot.1.in
new file mode 100644
index 0000000..8d55c9a
--- /dev/null
+++ b/man/man1/pkcs_slot.1.in
@@ -0,0 +1,23 @@
+.TH PKCS_SLOT 1 "February 2010" "@PACKAGE_VERSION@" "openCryptoki"
+.SH NAME
+pkcs_slot \- configuration program for opencryptoki
+.SH SYNOPSIS
+.B pkcs_slot
+\fIdevicenumber depth\fR
+.SH DESCRIPTION
+
+This utility is used internal by pkcs11_startup.
+It writes the configuration file to disk as @localstatedir@/lib/opencryptoki/pk_config_data.
+
+.SH "SEE ALSO"
+.PD 0
+.TP
+\fBpkcs11_startup\fP(1),
+.TP
+\fBopencryptoki\fP(7),
+.TP
+\fBpkcsslotd\fP(8),
+.TP
+\fBpk_config_data\fP(5).
+.PD
+