mhonarc-commits
[Top] [All Lists]

CVS: mharc Makefile,1.24,1.25 NEWS,1.24,1.25 TODO,1.9,1.10

2002-07-22 21:00:39
Update of /cvsroot/mhonarc/mharc
In directory subversions:/tmp/cvs-serv26349

Modified Files:
	Makefile NEWS TODO 
Log Message:
* bin/mk-procmailrc
  . Added -out option that can be used to specify the name of
    the procmailrc file to generate.  If not specified, the PROCMAILRC
    variable in lib/config.sh is used.  Otherwise, the default value is
    "$SW_ROOT/procmailrc.mharc";

    IMPORTANT NOTE: This implies that the name of the main procmailrc
		    used by mharc has changed from
		    $SW_ROOT/.procmailrc.  This is to avoid potential
		    conflict with environments that use Procmail as a
		    local delivery agent and MHArc has been extracted
		    in the home directory of the archiving account.

		    If upgrading, all you should have to do is
		    invoke "make" to create the procmailrc with
		    the newer filename.  Then, you can remove the
		    old .procmailrc.

* cgi-bin/extract-mesg.cgi.in.dist:
  . NEW: CGI program to extract original raw message.  It is intended
    to be used in HTML archive message pages to allow the reader to
    retrieve the original mail message.

    The file lib/common.mrc.in.dist has been modified to include
    an "[Original]" link on messages pages.  If you would like this
    feature in an existing mharc archive, you will need to edit
    your lib/common.mrc.in an add the link.  Here is the resource
    setting added to lib/common.mrc.in.dist:

    <TopLinks>
    <hr>
    $BUTTON(PREV)$$BUTTON(NEXT)$$BUTTON(TPREV)$$BUTTON(TNEXT)$[<a
    href="$IDXFNAME$#$MSGNUM$">Date Index</a>][<a
    href="$TIDXFNAME$#$MSGNUM$">Thread Index</a>][<a
    href="$EXTRACT-CGI$?a=$LIST-NAME:U$&amp;m=$CUR-PERIOD$&amp;i=$MSGID:U$"
    >Original</a>]
    </TopLinks>

* lib/config.sh.dist:
  . Added EXTRACT_CGI variable that represents URL to extract-mesg.cgi.
  . Added PROCMAILRC variable to define main procmailrc file used
    by bin/mk-procmailrc and bin/filter-spool.
  . Added ORGMAIL_LOCK_TIMEOUT to set lock timeout used by filter-spool.
  . Added LOG_DIR variable to represent location to place log files.

* etc/apache.conf.in.dist, etc/.htaccess.conf.in.dist:
  . Added denial of files starting with "procmail".

* bin/web-archive:
  . Updated to defined $EXTRACT-CGI$ resource variable.

* bin/filter-spool:
  . Rewritten in Perl.  Run program with -man option to view manpage.

* bin/read-mail:
  . Rewritten in Perl.  Run program with -man option to view manpage.


Index: Makefile
===================================================================
RCS file: /cvsroot/mhonarc/mharc/Makefile,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** Makefile	9 Jul 2002 01:53:21 -0000	1.24
--- Makefile	23 Jul 2002 04:00:21 -0000	1.25
***************
*** 53,64 ****
  ##--------------------------------------------------------------------------##
  
! default: $(PROCMAIL_RC)
  
! $(PROCMAIL_RC): $(LIST_DEF)
! 	$(MK_PROCMAILRC) $(LIST_DEF) > $(PROCMAIL_RC).tmp
! 	$(MV) $(PROCMAIL_RC).tmp $(PROCMAIL_RC)
  
  editidx: disable
! 	-$(PERL) $(WEB_ARCHIVE) -debug -editidx -nosearch $(MLISTS)
  	-(_at_)echo "============================================================="
  	-(_at_)echo "!!! Auto-archive processing is DISABLED !!!"
--- 53,63 ----
  ##--------------------------------------------------------------------------##
  
! default: procmailrc
  
! procmailrc: _FORCE
! 	$(MK_PROCMAILRC)
  
  editidx: disable
! 	-$(PERL) $(WEB_ARCHIVE) -verbose -editidx -nosearch $(MLISTS)
  	-(_at_)echo "============================================================="
  	-(_at_)echo "!!! Auto-archive processing is DISABLED !!!"
***************
*** 66,70 ****
  
  editidxonly: disable
! 	-$(PERL) $(WEB_ARCHIVE) -debug -editidxonly -nosearch $(MLISTS)
  	-(_at_)echo "============================================================="
  	-(_at_)echo "!!! Auto-archive processing is DISABLED !!!"
--- 65,69 ----
  
  editidxonly: disable
! 	-$(PERL) $(WEB_ARCHIVE) -verbose -editidxonly -nosearch $(MLISTS)
  	-(_at_)echo "============================================================="
  	-(_at_)echo "!!! Auto-archive processing is DISABLED !!!"
***************
*** 72,76 ****
  
  editrootidx: disable
! 	-$(PERL) $(WEB_ARCHIVE) -debug -editrootidx -nosearch $(MLISTS)
  	-(_at_)echo "============================================================="
  	-(_at_)echo "!!! Auto-archive processing is DISABLED !!!"
--- 71,75 ----
  
  editrootidx: disable
! 	-$(PERL) $(WEB_ARCHIVE) -verbose -editrootidx -nosearch $(MLISTS)
  	-(_at_)echo "============================================================="
  	-(_at_)echo "!!! Auto-archive processing is DISABLED !!!"
***************
*** 78,90 ****
  
  rebuild: disable
! 	-$(PERL) $(WEB_ARCHIVE) -debug -rebuild $(MLISTS)
  	-(_at_)echo "============================================================="
  	-(_at_)echo "!!! Auto-archive processing is DISABLED !!!"
  	-(_at_)echo "============================================================="
  
! rootidx:
! 	-$(PERL) $(WEB_ARCHIVE) -debug -editrootidx $(MLISTS)
  
! enable:
  	@$(RM) -f $(NO_ARCHIVE)
  	-(_at_)echo "============================================================="
--- 77,89 ----
  
  rebuild: disable
! 	-$(PERL) $(WEB_ARCHIVE) -verbose -rebuild $(MLISTS)
  	-(_at_)echo "============================================================="
  	-(_at_)echo "!!! Auto-archive processing is DISABLED !!!"
  	-(_at_)echo "============================================================="
  
! rootidx: _FORCE
! 	-$(PERL) $(WEB_ARCHIVE) -verbose -editrootidx $(MLISTS)
  
! enable: _FORCE
  	@$(RM) -f $(NO_ARCHIVE)
  	-(_at_)echo "============================================================="
***************
*** 92,96 ****
  	-(_at_)echo "============================================================="
  
! disable:
  	@$(TOUCH) $(NO_ARCHIVE)
  	-(_at_)echo "============================================================="
--- 91,95 ----
  	-(_at_)echo "============================================================="
  
! disable: _FORCE
  	@$(TOUCH) $(NO_ARCHIVE)
  	-(_at_)echo "============================================================="
***************
*** 98,103 ****
  	-(_at_)echo "============================================================="
  
! readmail:
! 	WA_DEBUG=1 $(READ_MAIL)
  
  configure: mhonarc-check
--- 97,102 ----
  	-(_at_)echo "============================================================="
  
! readmail: _FORCE
! 	$(READ_MAIL) -verbose -force
  
  configure: mhonarc-check
***************
*** 117,121 ****
  	-(_at_)echo "============================================================="
  
! mhonarc-check:
  	@$(MHA_CHECK)
  
--- 116,120 ----
  	-(_at_)echo "============================================================="
  
! mhonarc-check: _FORCE
  	@$(MHA_CHECK)
  
***************
*** 144,147 ****
--- 143,150 ----
  	-(_at_)echo "WARNING: The 'dist' and 'distclean' targets should only be"
  	-(_at_)echo "         invoked IF YOU KNOW WHAT YOU ARE DOING!"
+ 
+ 
+ # Dummy target to force building of other targets
+ _FORCE:
  
  ##--------------------------------------------------------------------------##

Index: NEWS
===================================================================
RCS file: /cvsroot/mhonarc/mharc/NEWS,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** NEWS	20 Jul 2002 04:04:57 -0000	1.24
--- NEWS	23 Jul 2002 04:00:21 -0000	1.25
***************
*** 1,3 ****
--- 1,63 ----
  ===========================================================================
+ 2002/MM/DD: v0.5.0
+ 
+ * bin/mk-procmailrc
+   . Added -out option that can be used to specify the name of
+     the procmailrc file to generate.  If not specified, the PROCMAILRC
+     variable in lib/config.sh is used.  Otherwise, the default value is
+     "$SW_ROOT/procmailrc.mharc";
+ 
+     IMPORTANT NOTE: This implies that the name of the main procmailrc
+ 		    used by mharc has changed from
+ 		    $SW_ROOT/.procmailrc.  This is to avoid potential
+ 		    conflict with environments that use Procmail as a
+ 		    local delivery agent and MHArc has been extracted
+ 		    in the home directory of the archiving account.
+ 
+ 		    If upgrading, all you should have to do is
+ 		    invoke "make" to create the procmailrc with
+ 		    the newer filename.  Then, you can remove the
+ 		    old .procmailrc.
+ 
+ * cgi-bin/extract-mesg.cgi.in.dist:
+   . NEW: CGI program to extract original raw message.  It is intended
+     to be used in HTML archive message pages to allow the reader to
+     retrieve the original mail message.
+ 
+     The file lib/common.mrc.in.dist has been modified to include
+     an "[Original]" link on messages pages.  If you would like this
+     feature in an existing mharc archive, you will need to edit
+     your lib/common.mrc.in an add the link.  Here is the resource
+     setting added to lib/common.mrc.in.dist:
+ 
+     <TopLinks>
+     <hr>
+     $BUTTON(PREV)$$BUTTON(NEXT)$$BUTTON(TPREV)$$BUTTON(TNEXT)$[<a
+     href="$IDXFNAME$#$MSGNUM$">Date Index</a>][<a
+     href="$TIDXFNAME$#$MSGNUM$">Thread Index</a>][<a
+     href="$EXTRACT-CGI$?a=$LIST-NAME:U$&amp;m=$CUR-PERIOD$&amp;i=$MSGID:U$"
+     >Original</a>]
+     </TopLinks>
+ 
+ * lib/config.sh.dist:
+   . Added EXTRACT_CGI variable that represents URL to extract-mesg.cgi.
+   . Added PROCMAILRC variable to define main procmailrc file used
+     by bin/mk-procmailrc and bin/filter-spool.
+   . Added ORGMAIL_LOCK_TIMEOUT to set lock timeout used by filter-spool.
+   . Added LOG_DIR variable to represent location to place log files.
+ 
+ * etc/apache.conf.in.dist, etc/.htaccess.conf.in.dist:
+   . Added denial of files starting with "procmail".
+ 
+ * bin/web-archive:
+   . Updated to defined $EXTRACT-CGI$ resource variable.
+ 
+ * bin/filter-spool:
+   . Rewritten in Perl.  Run program with -man option to view manpage.
+ 
+ * bin/read-mail:
+   . Rewritten in Perl.  Run program with -man option to view manpage.
+ 
+ ===========================================================================
  2002/07/19: v0.4.0
  

Index: TODO
===================================================================
RCS file: /cvsroot/mhonarc/mharc/TODO,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** TODO	17 Jul 2002 21:59:36 -0000	1.9
--- TODO	23 Jul 2002 04:00:21 -0000	1.10
***************
*** 7,14 ****
   => Better documentation.
  
-  => Change all scripts to be in Perl: Useful if ever want to
-     port to non-Unix-like platforms.  Perl does have the benefit
-     of POD to self-document the scripts.
- 
   => Have a log-capture script that can be piped to capture script
      output and prepend time stamp information for cron.log.
--- 7,10 ----

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV