change config file location to the correct place
PR: 30667 Submitted by: MAINTAINER
This commit is contained in:
parent
d066feed51
commit
35f169df50
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48787
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= ezmlm-web
|
||||
PORTVERSION= 2.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= ftp://rucus.ru.ac.za/pub/mail/ezmlm/
|
||||
|
||||
|
@ -1,6 +1,17 @@
|
||||
--- ezmlm-web.cgi.orig Thu Mar 15 11:48:46 2001
|
||||
+++ ezmlm-web.cgi Thu Mar 15 11:50:47 2001
|
||||
@@ -281,13 +281,13 @@
|
||||
--- ezmlm-web.cgi.orig Mon Sep 25 21:58:08 2000
|
||||
+++ ezmlm-web.cgi Wed Sep 19 09:19:05 2001
|
||||
@@ -76,6 +76,10 @@
|
||||
require "$opt_C"; # Command Line
|
||||
} elsif(-e "$HOME_DIR/.ezmlmwebrc") {
|
||||
require "$HOME_DIR/.ezmlmwebrc"; # User
|
||||
+} elsif(-e "/usr/local/etc/ezmlm/ezmlmwebrc") {
|
||||
+ require "/usr/local/etc/ezmlm/ezmlmwebrc"; # FreeBSD
|
||||
+} elsif(-e "/usr/local/etc/ezmlmwebrc") {
|
||||
+ require "/usr/local/etc/ezmlmwebrc"; # FreeBSD alt
|
||||
} elsif(-e "/etc/ezmlm/ezmlmwebrc") {
|
||||
require "/etc/ezmlm/ezmlmwebrc"; # System
|
||||
} elsif(-e "./ezmlmwebrc") {
|
||||
@@ -281,13 +285,13 @@
|
||||
print $q->startform;
|
||||
print $q->hidden(-name=>'state', -default=>'select');
|
||||
print '<CENTER><TABLE BORDER="0" CELLPADDING="10"><TR><TD ALIGN="center" VALIGN="top" ROWSPAN="2">';
|
||||
@ -18,7 +29,7 @@
|
||||
print '</TD></TR><TR><TD> </TD></TR></TABLE></CENTER>';
|
||||
print $q->endform;
|
||||
}
|
||||
@@ -332,10 +332,10 @@
|
||||
@@ -332,10 +336,10 @@
|
||||
print '<CENTER><TABLE ALIGN="center" CELLPADDING="10"><TR><TD ROWSPAN="2" VALIGN="top" ALIGN="center">';
|
||||
print $q->hidden(-name=>'state', -default=>'edit');
|
||||
print $q->hidden(-name=>'list', -default=>$Q::list);
|
||||
@ -32,7 +43,7 @@
|
||||
print $q->textfield(-name=>'addsubscriber', -size=>'40'), ' <IMG SRC="', $HELP_ICON_URL, '" ALT="', $HELPER{'addaddress'}, '"><BR>';
|
||||
print $q->filefield(-name=>'addfile', -size=>20, -maxlength=>100), ' <IMG SRC="', $HELP_ICON_URL, '" ALT="', $HELPER{'addaddressfile'}, '"><br>' if ($FILE_UPLOAD);
|
||||
print $q->submit(-name=>'action', -value=>"[$BUTTON{'addaddress'}]"), '<P>';
|
||||
@@ -447,7 +447,7 @@
|
||||
@@ -447,7 +451,7 @@
|
||||
die "File upload must be of type text/*" unless($q->uploadInfo($q->param('addfile'))->{'Content-Type'} =~ m{^text/});
|
||||
|
||||
# Handle file uploads of addresses
|
||||
@ -41,7 +52,7 @@
|
||||
return unless (defined($fh));
|
||||
while (<$fh>) {
|
||||
next if (/^\s*$/ or /^#/); # blank, comments
|
||||
@@ -563,9 +563,9 @@
|
||||
@@ -563,9 +567,9 @@
|
||||
print '<CENTER><TABLE ALIGN="center" CELLPADDING="10"><TR><TD ROWSPAN="2" VALIGN="top" ALIGN="center">';
|
||||
print $q->hidden(-name=>'state', -default=>$part);
|
||||
print $q->hidden(-name=>'list', -default=>$Q::list), "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user