Update of /cvsroot/mhonarc/mharc/lib/MHArc
In directory subversions:/tmp/cvs-serv31959/lib/MHArc
Modified Files:
Config.pm
Added Files:
MailUtil.pm
Log Message:
* lib/config.sh.dist:
. FIX: Default PROCMAIL_PATH setting uses $SW_ROOT/bin instead of
$HOME/bin. Installations should update local config.sh
to reflect change.
. Added MHONARC_LIB: Directory pathname to where MHonArc libraries
are installed. If MHonArc libraries are in a location not included
in perl's library search path, this variable should be set to
that location.
. Added MSGID_CACHE_SIZE: Maximum size, in bytes, of msgid cache
for detecting duplicate messages.
. Reorganized file to put key variables at top of file and to
provide a comment description before each variable.
* bin/mk-procmailrc:
. "Cleaned-up" the procmailrc file generated. The "Extraneous
copy flag" warnings should be gone. Also, rules changed to
use new bin/extract-mesg-date to determine which raw mailbox
to file to instead of the current time. This insures that
messages go into the proper period mailbox regardless of when
incoming mail is processed.
* bin/extract-mesg-date:
. NEW: New utility to print out the date of a message. This
program is mainly used in newer procmailrc format generated
by mk-procmailrc.
***** Error reading new file: [Errno 2] No such file or directory: 'MailUtil.pm'
Index: Config.pm
===================================================================
RCS file: /cvsroot/mhonarc/mharc/lib/MHArc/Config.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** Config.pm 6 Mar 2002 22:57:38 -0000 1.5
--- Config.pm 17 Jul 2002 21:59:36 -0000 1.6
***************
*** 69,72 ****
--- 69,77 ----
close($fh) if $fh_close;
+
+ # Check for MHONARC_LIB, and if defined, add to perl's @INC
+ if ($self->{'MHONARC_LIB'}) {
+ unshift(@INC, $self->{'MHONARC_LIB'});
+ }
$self;
}
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV