Update of /cvsroot/mhonarc/mharc/bin
In directory subversions:/tmp/cvs-serv21475
Modified Files:
mk-procmailrc
Log Message:
* Fix muliple duplicate CVS archive rules if more than one address defined.
* Documentation additions.
Index: mk-procmailrc
===================================================================
RCS file: /cvsroot/mhonarc/mharc/bin/mk-procmailrc,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** mk-procmailrc 16 Jul 2003 00:58:36 -0000 1.24
--- mk-procmailrc 9 Aug 2003 17:51:04 -0000 1.25
***************
*** 164,168 ****
## Print recipies
my ($name,
- $cvs_prefix,
$check_cvs,
$addr,
--- 164,167 ----
***************
*** 257,264 ****
# check if separating out cvs commits
! if ($check_cvs = $listdef->{$name}{'cvs-commits'}[0]) {
! $cvs_prefix = $listdef->{$name}{'cvs-subject-prefix'}[0] || 'CVS commit';
! foreach $addr (@addr) {
! print $outfh <<EOT;
## $name (CVS)
:0
--- 256,264 ----
# check if separating out cvs commits
! if (($check_cvs = $listdef->{$name}{'cvs-commits'}[0]) &&
! ($pm_conditions =~ /\S/)) {
! my $cvs_prefix = $listdef->{$name}{'cvs-subject-prefix'}[0] ||
! 'CVS commit';
! print $outfh <<EOT;
## $name (CVS)
:0
***************
*** 277,284 ****
EOT
- }
} # End: $check_cvs
! # address receipe
print $outfh <<EOT;
## $name
--- 277,283 ----
EOT
} # End: $check_cvs
! # address recipe
print $outfh <<EOT;
## $name
***************
*** 535,574 ****
The default value for this option is C<0>.
! =item Language
!
! Sets the language of the archive. This option is used by L<web-archive>
! to determine if language-specific resource files will passed to
! MHonArc by default. For example,
!
! Language: en-us
!
! Will cause L<web-archive> to check for the following resource files:
!
! $MHA_RC_DIR/_lang.en_us
! $MHA_RC_DIR/_lang.en
!
! where C<$MHA_RC_DIR> is the C<config.sh> variable that defines
! the directory containing list-specific MHonArc resource files.
!
! The language is specified using a language tag as defined in
! <a href="http://www.faqs.org/rfcs/rfc1766.html">RFC 1766</a>.
! Generally a language tag comprises of a the spoken language with
! an option countries specification. For example,
!
! fr
!
! denotes French, while
!
! fr-ca
!
! denotes Canadian French. The following,
! en
! denotes English, while the following denotes American English and
! British English, respectively,
! en-us
! en-uk
=item MHonArc-Options
--- 534,548 ----
The default value for this option is C<0>.
! =item Lang
! Sets the language/locale of the archive.
! B<CAUTION:> Only set this option if using a version of MHonArc
! (v2.6.7, or later) that supports the LANG resource. Otherwise,
! you will get a runtime error when L<web-archive|web-archive> is
! invoked.
! See the LANG resource reference page of the MHonArc documentation
! for more information.
=item MHonArc-Options
***************
*** 622,626 ****
=item *
! Every archive defined must define at least one C<Address>, C<From>,
or C<Procmail-Condition> option.
--- 596,600 ----
=item *
! Every archive defined must define at least one C<Address>, C<From-Address>,
or C<Procmail-Condition> option.
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV