From: <di...@us...> - 2007-03-07 16:28:17
|
Revision: 435 http://safekeep.svn.sourceforge.net/safekeep/?rev=435&view=rev Author: dimi Date: 2007-03-07 08:28:08 -0800 (Wed, 07 Mar 2007) Log Message: ----------- Add man page for safekeep.conf Modified Paths: -------------- safekeep/trunk/Makefile safekeep/trunk/debian/rules safekeep/trunk/debian/safekeep-server.docs safekeep/trunk/safekeep.spec.in Added Paths: ----------- safekeep/trunk/doc/safekeep.conf.txt safekeep/trunk/sample.conf Modified: safekeep/trunk/Makefile =================================================================== --- safekeep/trunk/Makefile 2007-03-07 15:23:08 UTC (rev 434) +++ safekeep/trunk/Makefile 2007-03-07 16:28:08 UTC (rev 435) @@ -10,8 +10,8 @@ dirname := $(shell basename $(PWD)) rpmroot := $(shell grep '%_topdir' ~/.rpmmacros | sed 's/^[^ \t]*[ \t]*//') svnroot := $(shell LANG=C svn info | grep Root | cut -c 18-) -MAN_TXT := doc/safekeep.txt doc/safekeep.backup.txt -DOC_MAN := doc/safekeep.1 doc/safekeep.backup.5 +MAN_TXT := doc/safekeep.txt doc/safekeep.conf.txt doc/safekeep.backup.txt +DOC_MAN := doc/safekeep.1 doc/safekeep.conf.5 doc/safekeep.backup.5 DOC_HTML := $(patsubst %.txt,%.html,$(MAN_TXT)) @@ -78,6 +78,7 @@ install: $(DOC_MAN) install -m 755 safekeep "/usr/bin/" install -m 755 doc/safekeep.1 "/usr/share/man/man1/" + install -m 755 doc/safekeep.conf.5 "/usr/share/man/man5/" install -m 755 doc/safekeep.backup.5 "/usr/share/man/man5/" if test -d /etc/safekeep.d; then \ for file in /etc/safekeep.d/*.conf; do \ Modified: safekeep/trunk/debian/rules =================================================================== --- safekeep/trunk/debian/rules 2007-03-07 15:23:08 UTC (rev 434) +++ safekeep/trunk/debian/rules 2007-03-07 16:28:08 UTC (rev 435) @@ -18,6 +18,7 @@ install -d -m 755 $(CURDIR)/debian/safekeep-common/usr/share/man/{man1,man5} install -m 755 safekeep $(CURDIR)/debian/safekeep-common/usr/bin install -m 755 doc/safekeep.1 $(CURDIR)/debian/safekeep-common/usr/share/man/man1 + install -m 755 doc/safekeep.conf.5 $(CURDIR)/debian/safekeep-common/usr/share/man/man5 install -m 755 doc/safekeep.backup.5 $(CURDIR)/debian/safekeep-common/usr/share/man/man5 install -d -m 755 $(CURDIR)/debian/safekeep-server/etc/safekeep/clients.d Modified: safekeep/trunk/debian/safekeep-server.docs =================================================================== --- safekeep/trunk/debian/safekeep-server.docs 2007-03-07 15:23:08 UTC (rev 434) +++ safekeep/trunk/debian/safekeep-server.docs 2007-03-07 16:28:08 UTC (rev 435) @@ -2,4 +2,5 @@ COPYING LICENSE safekeep-test +sample.conf sample.backup Added: safekeep/trunk/doc/safekeep.conf.txt =================================================================== --- safekeep/trunk/doc/safekeep.conf.txt (rev 0) +++ safekeep/trunk/doc/safekeep.conf.txt 2007-03-07 16:28:08 UTC (rev 435) @@ -0,0 +1,44 @@ +safekeep.conf(5) +================ + +NAME +---- +safekeep.conf - Configuration file for 'safekeep(1)' + +SYNOPSIS +-------- +This file resides in `/etc/safekeep/` from where it +will be automatically picked up by 'safekeep(1)'. + +DESCRIPTION +----------- +This configuration file holds safekeep global settings. +The format of the file is a simple key-value pair similar +to Java properties files: lines starting with '#' are ignored +as comments, keys are separated from values by '=', and +leading and trailing spaces are ignored. + +PARAMETERS +---------- +email.to:: + In addition to writing the session logs + on the standard output, `safekeep` can also send the + logs via email to a number of recipients. + This comma-separated list of emails designates + the recipients of the logs. If not specified, + `safekeep` will not attempt to email the logs. + +email.smtp.server:: + Specifies the SMTP server used for sending mails + if the `email.to` specifies any recipients. + If not specified, `safekeep` will just use + `/usr/sbin/sendmail` to deliver the mail. + +FILES +----- + /etc/safekeep/safekeep.conf + +SEE ALSO +-------- +safekeep(1), safekeep.backup(5), rdiff-backup(1), lvcreate(8) + Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2007-03-07 15:23:08 UTC (rev 434) +++ safekeep/trunk/safekeep.spec.in 2007-03-07 16:28:08 UTC (rev 435) @@ -79,6 +79,7 @@ install -d -m 755 "%{buildroot}%{_mandir}/man1/" install -m 755 doc/safekeep.1 "%{buildroot}%{_mandir}/man1/" install -d -m 755 "%{buildroot}%{_mandir}/man5/" +install -m 755 doc/safekeep.conf.5 "%{buildroot}%{_mandir}/man5/" install -m 755 doc/safekeep.backup.5 "%{buildroot}%{_mandir}/man5/" install -d -m 750 "%{buildroot}%{homedir}" install -d -m 700 "%{buildroot}%{homedir}/.ssh" @@ -108,6 +109,7 @@ %defattr(-,root,root,-) %{_bindir}/safekeep %{_mandir}/man1/safekeep.1* +%{_mandir}/man5/safekeep.conf.5* %{_mandir}/man5/safekeep.backup.5* %doc AUTHORS COPYING LICENSE README TODO @@ -119,7 +121,7 @@ %attr(700,%{name},%{name}) %dir %{homedir}/.ssh %dir %{_sysconfdir}/safekeep %config %{_sysconfdir}/cron.daily/safekeep -%doc safekeep-test sample.backup +%doc safekeep-test sample.conf sample.backup %doc AUTHORS COPYING LICENSE %changelog Added: safekeep/trunk/sample.conf =================================================================== --- safekeep/trunk/sample.conf (rev 0) +++ safekeep/trunk/sample.conf 2007-03-07 16:28:08 UTC (rev 435) @@ -0,0 +1,11 @@ +# This is a sample file for safekeep(1) +# The format is similar to Java .properties files: +# - lines starting with '#' are ignored +# - keys are separated from values by '=' +# - leading and trailing blanks are ignored + +# a comma separated list of emails to receive the logs +# email.to=pe...@co...,ro...@co... + +# a SMTP server to use to deliver email if email.to is non-empty +# email.smtp.server=mail.company.com This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |