From 17f28552af10e72a221a0be16417249852774f1b Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 3 Jan 2010 12:01:19 +0200 Subject: Update docs. * etc/wydawca.rc: Update. * doc/wydawca.texi: Update. --- doc/wydawca.texi | 2 +- etc/wydawca.rc | 157 ++++++++++++++++++++++++++++++++++--------------------- 2 files changed, 97 insertions(+), 62 deletions(-) diff --git a/doc/wydawca.texi b/doc/wydawca.texi index c3a91f8..ab18e47 100644 --- a/doc/wydawca.texi +++ b/doc/wydawca.texi @@ -1930,7 +1930,7 @@ all the directories below the build tree to 777 before creating the tarball. This constitutes a security hole (see CVE-2009-4029[1], for more details). -Please, rebuild the package using a newer Automake (v. 1.11.2 or newer) +Please, rebuild the package using a newer Automake (at least v. 1.11.1) and resubmit. _EOF_ cat <<_EOF_ diff --git a/etc/wydawca.rc b/etc/wydawca.rc index e4e7b47..04e7be9 100644 --- a/etc/wydawca.rc +++ b/etc/wydawca.rc @@ -15,7 +15,7 @@ with wydawca. If not, see . */ /* Configure logging via syslog. - For more info, run `info wydawca syslog'. + * For more info, run `info wydawca syslog'. */ syslog { facility local1; @@ -24,7 +24,7 @@ syslog { } /* Enable statistics output at the end of the run. - For more info, run `info wydawca statistics'. + * For more info, run `info wydawca statistics'. */ statistics all; @@ -35,7 +35,7 @@ file-sweep-time "1 hour"; umask 022; /* Set the name of the tar binary. This is optional. - See `info wydawca archivation', for more info. + * See `info wydawca archivation', for more info. */ tar-program "/bin/tar"; @@ -50,8 +50,8 @@ sql default { } /* Configure dictionaries. - Run `info wydawca dictionaries', for the detailed description of these. - The provided ones use Savane database structure. + * Run `info wydawca dictionaries', for the detailed description of these. + * The provided ones use Savane database structure. */ dictionary project-owner { @@ -80,7 +80,7 @@ dictionary project-uploader { } /* Configure email notifications - See `info wydawca notification', for a description. + * See `info wydawca notification', for a description. */ admin-address "root@localhost"; @@ -119,13 +119,13 @@ EOT; # Notify the user about successful uploads notify-event { event success; - recipient user; message < + +Your upload of ${triplet:dist} has been rejected by the distribution +verification procedure with the following diagnostics: + +${check:diagn}$- + +Please fix the tarball and resubmit. - See `info wydawca spool', for a detailed explanation. +Regards, +Wydawca +The Project Submission Robot +EOT; +} + +/* Make sure the distributed tarball does not contain a security hole + * described in CVE-2009-4029. Reject it, if it does. + * See `info wydawca verification', for a description of check-script. + * + * Note: this script relies on GNU tar and grep. + */ +check-script <