summaryrefslogtreecommitdiff
path: root/mail/ezmlm-web
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-15 12:35:32 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-15 12:35:32 +0000
commit35f169df503431f55e533400b50697526ad01780 (patch)
treea7965c3ab87208ec0aee2a8aa75830b695fedc18 /mail/ezmlm-web
parentSince AbiWord 0.9.0, it had been moved from $PREFIX/AbiSuite (diff)
change config file location to the correct place
PR: 30667 Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=48787
Diffstat (limited to 'mail/ezmlm-web')
-rw-r--r--mail/ezmlm-web/Makefile2
-rw-r--r--mail/ezmlm-web/files/patch-aa23
2 files changed, 18 insertions, 7 deletions
diff --git a/mail/ezmlm-web/Makefile b/mail/ezmlm-web/Makefile
index 868f5cb1df8d..6508606fa2a4 100644
--- a/mail/ezmlm-web/Makefile
+++ b/mail/ezmlm-web/Makefile
@@ -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/
diff --git a/mail/ezmlm-web/files/patch-aa b/mail/ezmlm-web/files/patch-aa
index 86924531332e..d4feb9e5b64f 100644
--- a/mail/ezmlm-web/files/patch-aa
+++ b/mail/ezmlm-web/files/patch-aa
@@ -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";