debianized ezmlm-web 3.0
This commit is contained in:
parent
102471ea88
commit
f21f5e041b
17 changed files with 371 additions and 142 deletions
|
@ -1,37 +1,6 @@
|
|||
#!/usr/bin/perl
|
||||
#===========================================================================
|
||||
# ezmlm-web.cgi - version 2.3 - 10/06/02005
|
||||
#
|
||||
# Copyright (C) 1999/2000, Guy Antony Halse, All Rights Reserved.
|
||||
# Please send bug reports and comments to guy-ezmlm@rucus.ru.ac.za
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
#
|
||||
# Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the following disclaimer.
|
||||
#
|
||||
# Redistributions in binary form must reproduce the above copyright notice,
|
||||
# this list of conditions and the following disclaimer in the documentation
|
||||
# and/or other materials provided with the distribution.
|
||||
#
|
||||
# Neither name Guy Antony Halse nor the names of any contributors
|
||||
# may be used to endorse or promote products derived from this software
|
||||
# without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
|
||||
# IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
|
||||
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
# ezmlm-web.cgi - version 3.0
|
||||
# ==========================================================================
|
||||
# All user configuration happens in the config file ``ezmlmwebrc''
|
||||
# POD documentation is at the end of this file
|
||||
|
@ -93,8 +62,10 @@ if(defined($opt_C)) {
|
|||
require "$HOME_DIR/.ezmlmwebrc"; # User
|
||||
} elsif(-e "./ezmlmwebrc") {
|
||||
require "./ezmlmwebrc"; # Install
|
||||
} elsif(-e "/etc/ezmlm-web/ezmlmwebrc") {
|
||||
require "/etc/ezmlm-web/ezmlmwebrc"; # System (new style)
|
||||
} elsif(-e "/etc/ezmlm/ezmlmwebrc") {
|
||||
require "/etc/ezmlm/ezmlmwebrc"; # System
|
||||
require "/etc/ezmlm/ezmlmwebrc"; # System (old style)
|
||||
} else {
|
||||
&fatal_error("Unable to read config file");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue