diff --git a/doc/ChangeLog b/doc/ChangeLog index 6058b064a48a544088e4423e3f266121f3abe301..39939323dc597407773a1c3cb6995ef17748006e 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2009-12-15 Larry Jones <lawrence.jones@siemens.com> + + * cvs.texinfo (commitinfo): Add example. + * cvs.texinfo: Minor tweaks for consistency. + * cvs.1, stamp-vti, version.texi: Regenerated. + 2009-11-11 Derek Price <derek@ximbiot.com> * cvs.texinfo (Updating Commit Files): Update default taginfo string. diff --git a/doc/cvs.texinfo b/doc/cvs.texinfo index 8cece3f447b91239b62c3df22d53711cafc7d9ab..1b348a14d2d28a4e6982ef3c54f1dd4d64937264 100644 --- a/doc/cvs.texinfo +++ b/doc/cvs.texinfo @@ -2663,7 +2663,7 @@ to have @code{inetd} run a shell script which then invokes @sc{cvs} with the necessary arguments: @example -#! /bin/sh +#!/bin/sh exec /usr/local/bin/cvs -f \ --allow-root=/repo1 \ --allow-root=/repo2 \ @@ -14425,6 +14425,41 @@ to the command. @c general CVS security in "Password authentication @c security" (the bit which is not pserver-specific). +The following is a little silly example of a +@file{commitinfo} file and a verification script +that prevents commiting files named @samp{thumbs.db} +(case insensitive). + +The script @file{/usr/cvssupport/names.verify} is used to +evaluate the names of the files being committed. + +@example +#!/bin/sh +# +# names.verify repos file... +# +# Verifies that the file names are all acceptable +# +shift +for file +do + case "$file" in + [Tt][Hh][Uu][Mm][Bb][Ss].[Dd][Bb]) + echo "Disallowed file name: $file" + exit 1 + ;; + esac +done +exit 0 +@end example + +The @file{commitinfo} file contains this line: + +@example +^tc /usr/cvssupport/names.verify +@end example + + @c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @node verifymsg @appendixsubsec Verifying log messages diff --git a/doc/stamp-vti b/doc/stamp-vti index 405edf0a48602b671378f25edfbf770fdca9865a..5aebce8bbd44dfe881afdd879ec80d7c579118a8 100644 --- a/doc/stamp-vti +++ b/doc/stamp-vti @@ -1,4 +1,4 @@ -@set UPDATED 11 November 2009 -@set UPDATED-MONTH November 2009 +@set UPDATED 15 December 2009 +@set UPDATED-MONTH December 2009 @set EDITION 1.12.13.1 @set VERSION 1.12.13.1 diff --git a/doc/version.texi b/doc/version.texi index 405edf0a48602b671378f25edfbf770fdca9865a..5aebce8bbd44dfe881afdd879ec80d7c579118a8 100644 --- a/doc/version.texi +++ b/doc/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 11 November 2009 -@set UPDATED-MONTH November 2009 +@set UPDATED 15 December 2009 +@set UPDATED-MONTH December 2009 @set EDITION 1.12.13.1 @set VERSION 1.12.13.1