View | Details | Raw Unified | Return to bug 164560 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +2 lines)
Lines 7-18 Link Here
7
7
8
PORTNAME=	mhonarc
8
PORTNAME=	mhonarc
9
PORTVERSION=	2.6.18
9
PORTVERSION=	2.6.18
10
PORTREVISION=	1
10
CATEGORIES=	www mail
11
CATEGORIES=	www mail
11
MASTER_SITES=	http://www.mhonarc.org/release/MHonArc/tar/ \
12
MASTER_SITES=	http://www.mhonarc.org/release/MHonArc/tar/ \
12
		http://www.oac.uci.edu/indiv/ehood/tar/
13
		http://www.oac.uci.edu/indiv/ehood/tar/
13
DISTNAME=	MHonArc-${PORTVERSION}
14
DISTNAME=	MHonArc-${PORTVERSION}
14
15
15
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	kerndtr@kerndt.com
16
COMMENT=	WWW front end for mail archives
17
COMMENT=	WWW front end for mail archives
17
18
18
USE_BZIP2=	Yes
19
USE_BZIP2=	Yes
(-)./lib/mhamain.pl (-1 / +1 lines)
Lines 1561-1567 Link Here
1561
##	Create Index2MsgId if not defined
1561
##	Create Index2MsgId if not defined
1562
##
1562
##
1563
sub defineIndex2MsgId {
1563
sub defineIndex2MsgId {
1564
    if (!defined(%Index2MsgId)) {
1564
    if (!(%Index2MsgId)) {
1565
	foreach (keys %MsgId) {
1565
	foreach (keys %MsgId) {
1566
	    $Index2MsgId{$MsgId{$_}} = $_;
1566
	    $Index2MsgId{$MsgId{$_}} = $_;
1567
	}
1567
	}
(-)./lib/mhopt.pl (-1 / +1 lines)
Lines 864-870 Link Here
864
##
864
##
865
sub update_data_2_1_to_later {
865
sub update_data_2_1_to_later {
866
    # we can preserve filter arguments
866
    # we can preserve filter arguments
867
    if (defined(%main::MIMEFiltersArgs)) {
867
    if (%main::MIMEFiltersArgs) {
868
	warn qq/         preserving MIMEARGS...\n/;
868
	warn qq/         preserving MIMEARGS...\n/;
869
	%readmail::MIMEFiltersArgs = %main::MIMEFiltersArgs;
869
	%readmail::MIMEFiltersArgs = %main::MIMEFiltersArgs;
870
	$IsDefault{'MIMEARGS'} = 0;
870
	$IsDefault{'MIMEARGS'} = 0;
(-)./lib/readmail.pl (-10 / +10 lines)
Lines 117-125 Link Here
117
##  set to true.
117
##  set to true.
118
118
119
%MIMEDecoders			= ()
119
%MIMEDecoders			= ()
120
    unless defined(%MIMEDecoders);
120
    unless (%MIMEDecoders);
121
%MIMEDecodersSrc		= ()
121
%MIMEDecodersSrc		= ()
122
    unless defined(%MIMEDecodersSrc);
122
    unless (%MIMEDecodersSrc);
123
123
124
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
124
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
125
##  %MIMECharSetConverters is the associative array for storing functions
125
##  %MIMECharSetConverters is the associative array for storing functions
Lines 153-161 Link Here
153
##  string.
153
##  string.
154
154
155
%MIMECharSetConverters			= ()
155
%MIMECharSetConverters			= ()
156
    unless defined(%MIMECharSetConverters);
156
    unless (%MIMECharSetConverters);
157
%MIMECharSetConvertersSrc		= ()
157
%MIMECharSetConvertersSrc		= ()
158
    unless defined(%MIMECharSetConvertersSrc);
158
    unless (%MIMECharSetConvertersSrc);
159
159
160
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
160
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
161
##  %MIMEFilters is the associative array for storing functions that
161
##  %MIMEFilters is the associative array for storing functions that
Lines 180-188 Link Here
180
##  that all functions are defined before invoking MAILread_body.
180
##  that all functions are defined before invoking MAILread_body.
181
181
182
%MIMEFilters	= ()
182
%MIMEFilters	= ()
183
    unless defined(%MIMEFilters);
183
    unless (%MIMEFilters);
184
%MIMEFiltersSrc	= ()
184
%MIMEFiltersSrc	= ()
185
    unless defined(%MIMEFiltersSrc);
185
    unless (%MIMEFiltersSrc);
186
186
187
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
187
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
188
##  %MIMEFiltersArgs is the associative array for storing any optional
188
##  %MIMEFiltersArgs is the associative array for storing any optional
Lines 196-202 Link Here
196
##  listed for a function if both are applicable.
196
##  listed for a function if both are applicable.
197
197
198
%MIMEFiltersArgs	= ()
198
%MIMEFiltersArgs	= ()
199
    unless defined(%MIMEFiltersArgs);
199
    unless (%MIMEFiltersArgs);
200
200
201
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
201
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
202
##  %MIMEExcs is the associative array listing which data types
202
##  %MIMEExcs is the associative array listing which data types
Lines 206-212 Link Here
206
##	Values => <should evaluate to a true expression>
206
##	Values => <should evaluate to a true expression>
207
207
208
%MIMEExcs			= ()
208
%MIMEExcs			= ()
209
    unless defined(%MIMEExcs);
209
    unless (%MIMEExcs);
210
210
211
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
211
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
212
##  %MIMEIncs is the associative array listing which data types
212
##  %MIMEIncs is the associative array listing which data types
Lines 220-226 Link Here
220
##  be used to only allow a well-defined set of content-types.
220
##  be used to only allow a well-defined set of content-types.
221
221
222
%MIMEIncs			= ()
222
%MIMEIncs			= ()
223
    unless defined(%MIMEIncs);
223
    unless (%MIMEIncs);
224
224
225
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
225
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
226
##  %MIMECharsetAliases is a mapping of charset names to charset names.
226
##  %MIMECharsetAliases is a mapping of charset names to charset names.
Lines 231-237 Link Here
231
##	Values => real charset name
231
##	Values => real charset name
232
##
232
##
233
%MIMECharsetAliases = ()
233
%MIMECharsetAliases = ()
234
    unless defined(%MIMECharsetAliases);
234
    unless (%MIMECharsetAliases);
235
235
236
##---------------------------------------------------------------------------
236
##---------------------------------------------------------------------------
237
##	Text entity-related variables
237
##	Text entity-related variables

Return to bug 164560