From cdf206e0b13dc4835c6efa943dd5f8651d94e06c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 24 May 2016 09:02:08 +0200 Subject: manpage .1 -> .8 --- Makefile | 6 ++-- crypt-expiry-check.1.in | 73 +++++++++++++++++++++++++++++++++++++++++++++++++ crypt-expiry-check.8.in | 73 ------------------------------------------------- 3 files changed, 76 insertions(+), 76 deletions(-) create mode 100644 crypt-expiry-check.1.in delete mode 100644 crypt-expiry-check.8.in diff --git a/Makefile b/Makefile index 96a2cae..cca660a 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ MANDIR = /usr/share/man VERSION = 4.0.4 -all: crypt-expiry-check crypt-expiry-check.cron crypt-expiry-check.8 +all: crypt-expiry-check crypt-expiry-check.cron crypt-expiry-check.1 %: %.in sed "s/#VERSION#/$(VERSION)/; s@#CRONDIR#@$(CRONDIR)@; s@#BINDIR#@$(BINDIR)@; s@#ETCDIR#@$(ETCDIR)@" $< > $@ @@ -37,11 +37,11 @@ all: crypt-expiry-check crypt-expiry-check.cron crypt-expiry-check.8 install: all install -D -m0755 crypt-expiry-check.cron $(DESTDIR)$(CRONDIR)/crypt-expiry-check install -D -m0755 -t $(DESTDIR)$(BINDIR) crypt-expiry-check - install -D -m0644 -t $(DESTDIR)$(MANDIR)/man8 crypt-expiry-check.8 + install -D -m0644 -t $(DESTDIR)$(MANDIR)/man1 crypt-expiry-check.1 install -D -m0644 -t $(DESTDIR)$(ETCDIR) crypt-expiry.checks clean: - rm -f crypt-expiry-check{,.cron,.8} + rm -f crypt-expiry-check{,.cron,.1} dist: clean git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true diff --git a/crypt-expiry-check.1.in b/crypt-expiry-check.1.in new file mode 100644 index 0000000..216f7ba --- /dev/null +++ b/crypt-expiry-check.1.in @@ -0,0 +1,73 @@ +.TH crypt-expiry-check 8 "" "crypt-expiry-check #VERSION#" "" +.SH NAME +crypt-expiry-check \- check expiry of gpg-keys and X.509 certificates +.SH SYNOPSIS +\fBcrypt-expiry-check [options]\fP +.SH DESCRIPTION +\fBcrypt-expiry-check\fP checks expiration of gpg keys and X.509 certificates and sends emails if keys are about to expire. +.SH OPTIONS +.TP +.B "\-a" +send a warning message through e-mail +.TP +.B "\-b" +will not print header +.TP +.B "\-c cert file" +print the expiration date for the PEM or PKCS12 formatted certificate in cert file +.TP +.B "\-e e\-mail address" +e-mail address to send expiration notices to +.TP +.B "\-f cert file" +file with a list of (FQDN;port)s, gpg keys and certificate files to check +.TP +.B "\-g e\-mail address" +e-mail address to check expiry of gpg-key of +.TP +.B "\-h" +print this screen +.TP +.B "\-i" +print the issuer of the certificate +.TP +.B "\-k password" +PKCS12 file password +.TP +.B "\-n" +run as a Nagios plugin +.TP +.B "\-s commmon_name:port" +server and port to connect to (interactive mode) +.TP +.B "\-t type" +specify the certificate type +.TP +.B "\-q" +don't print anything on the console +.TP +.B "\-v" +specify a specific protocol version to use (tls, ssl2, ssl3) +.TP +.B "\-V" +only print validation data +.TP +.B "\-x days" +certificate expiration interval (eg. if cert_date < days) +.SH FILES +.TP +.B "#BINDIR#/crypt-expiry-check" +program file +.TP +.B "#ETCDIR#/crypt-expiry.checks" +contains keys to surveil +.TP +.B "#CRONDIR#/crypt-expiry-check.cron" +cronfile to initiate daily checks +.SH CONTRIBUTION +Heavily based on \fBssl-cert-check\fP from \fBMatty < matty91 at gmail dot com >\fP. +The original source can be found here: \fBhttp://prefetch.net/code/ssl-cert-check\fP +.SH AUTHOR +.nf +Erich Eckner +.fi diff --git a/crypt-expiry-check.8.in b/crypt-expiry-check.8.in deleted file mode 100644 index 216f7ba..0000000 --- a/crypt-expiry-check.8.in +++ /dev/null @@ -1,73 +0,0 @@ -.TH crypt-expiry-check 8 "" "crypt-expiry-check #VERSION#" "" -.SH NAME -crypt-expiry-check \- check expiry of gpg-keys and X.509 certificates -.SH SYNOPSIS -\fBcrypt-expiry-check [options]\fP -.SH DESCRIPTION -\fBcrypt-expiry-check\fP checks expiration of gpg keys and X.509 certificates and sends emails if keys are about to expire. -.SH OPTIONS -.TP -.B "\-a" -send a warning message through e-mail -.TP -.B "\-b" -will not print header -.TP -.B "\-c cert file" -print the expiration date for the PEM or PKCS12 formatted certificate in cert file -.TP -.B "\-e e\-mail address" -e-mail address to send expiration notices to -.TP -.B "\-f cert file" -file with a list of (FQDN;port)s, gpg keys and certificate files to check -.TP -.B "\-g e\-mail address" -e-mail address to check expiry of gpg-key of -.TP -.B "\-h" -print this screen -.TP -.B "\-i" -print the issuer of the certificate -.TP -.B "\-k password" -PKCS12 file password -.TP -.B "\-n" -run as a Nagios plugin -.TP -.B "\-s commmon_name:port" -server and port to connect to (interactive mode) -.TP -.B "\-t type" -specify the certificate type -.TP -.B "\-q" -don't print anything on the console -.TP -.B "\-v" -specify a specific protocol version to use (tls, ssl2, ssl3) -.TP -.B "\-V" -only print validation data -.TP -.B "\-x days" -certificate expiration interval (eg. if cert_date < days) -.SH FILES -.TP -.B "#BINDIR#/crypt-expiry-check" -program file -.TP -.B "#ETCDIR#/crypt-expiry.checks" -contains keys to surveil -.TP -.B "#CRONDIR#/crypt-expiry-check.cron" -cronfile to initiate daily checks -.SH CONTRIBUTION -Heavily based on \fBssl-cert-check\fP from \fBMatty < matty91 at gmail dot com >\fP. -The original source can be found here: \fBhttp://prefetch.net/code/ssl-cert-check\fP -.SH AUTHOR -.nf -Erich Eckner -.fi -- cgit v1.2.3