diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-10-15 20:35:32 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-10-15 20:35:32 +0800 |
commit | e53d4504c005be89cc94adf18b913e984fb11512 (patch) | |
tree | cddec4bb83ac54a66aa1026e53e4c10ae466b61e /mail | |
parent | dfbf79c9d15c4df2792021aa380e7546213c9e60 (diff) | |
download | freebsd-ports-gnome-e53d4504c005be89cc94adf18b913e984fb11512.tar.gz freebsd-ports-gnome-e53d4504c005be89cc94adf18b913e984fb11512.tar.zst freebsd-ports-gnome-e53d4504c005be89cc94adf18b913e984fb11512.zip |
change config file location to the correct place
PR: 30667
Submitted by: MAINTAINER
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ezmlm-web/Makefile | 2 | ||||
-rw-r--r-- | mail/ezmlm-web/files/patch-aa | 23 |
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"; |