Show
Ignore:
Timestamp:
03/01/08 19:49:54 (9 months ago)
Author:
rats
Message:

* Updated all Docs. Some are still with ToDo?
* Fixed #1070: FreeBSD, ispcp-setup uses group which does not exist
* Updated all languages
* Inproved: Update SQL with IGNORE statement
* Update PHPmyAdmin to version 2.11.5
* Updated all distributions
* Dropped support of Suse Enterprise Linux Server (SELS) - Please use OpenSuse? files

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/configs/dists/opensuse/apache/00_master.conf

    r1007 r1026  
    5353    <IfModule mod_php4.c> 
    5454        <Directory {ROOT_DIR}/gui> 
    55             php_admin_value open_basedir "{ROOT_DIR}/gui/:/etc/ispcp/:/proc/:{APACHE_WWW_DIR}/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
     55            php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}/:{CONF_DIR}/:{MR_LOCK_FILE}:/proc/:/bin/df:/bin/mount:{RKHUNTER_LOG}:{CHKROOTKIT_LOG}:{PEAR_DIR}/{OTHER_ROOTKIT_LOG}
    5656            php_admin_value session.save_path "{ROOT_DIR}/gui/phptmp/" 
    5757        </Directory> 
     
    5959    <IfModule mod_php5.c> 
    6060        <Directory {ROOT_DIR}/gui> 
    61             php_admin_value open_basedir "{ROOT_DIR}/gui/:/etc/ispcp/:/proc/:{APACHE_WWW_DIR}/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
     61            php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}/:{CONF_DIR}/:{MR_LOCK_FILE}:/proc/:/bin/df:/bin/mount:{RKHUNTER_LOG}:{CHKROOTKIT_LOG}:{PEAR_DIR}/{OTHER_ROOTKIT_LOG}
    6262            php_admin_value session.save_path "{ROOT_DIR}/gui/phptmp/" 
    6363        </Directory> 
  • trunk/configs/dists/opensuse/apache/httpd.conf

    r885 r1026  
    2727 
    2828# 
     29# let the customer decide what charset he likes to use 
     30# 
     31 
     32AddDefaultCharset Off 
     33 
     34# 
    2935# Header End 
    3036# 
  • trunk/configs/dists/opensuse/apache/parts/dmn_entry.tpl

    r1002 r1026  
    1919    Alias /errors   {WWW_DIR}/{DMN_NAME}/errors/ 
    2020 
    21     Redirect permanent /ftp           http://{BASE_SERVER_VHOST}/ftp/ 
    22     Redirect permanent /pma           http://{BASE_SERVER_VHOST}/pma/ 
    23     Redirect permanent /webmail       http://{BASE_SERVER_VHOST}/webmail/ 
     21    RedirectMatch permanent /ftp([\/]?)               http://{BASE_SERVER_VHOST}/ftp/ 
     22    RedirectMatch permanent /pma([\/]?)               http://{BASE_SERVER_VHOST}/pma/ 
     23    RedirectMatch permanent /webmail([\/]?)   http://{BASE_SERVER_VHOST}/webmail/ 
    2424 
    2525    ErrorDocument 401 /errors/401.html 
  • trunk/configs/dists/opensuse/database/database.sql

    r1002 r1026  
    100100'PORT_POLICYD-WEIGHT', '12525;tcp;POLICYD-WEIGHT;1;1' 
    101101),( 
    102 'DATABASE_REVISION', '3
     102'DATABASE_REVISION', '2
    103103); 
    104104 
  • trunk/configs/dists/opensuse/init.d/ispcp_network

    r998 r1026  
    9292        ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 80 2>> "$LOGFILE" 
    9393 
     94        ${IPTABLES} -I ISPCP_INPUT -p tcp --dport 443 2>> "$LOGFILE" 
     95        ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 443 2>> "$LOGFILE" 
     96 
    9497        # pop3 traffic 
    9598 
     
    106109        ${IPTABLES} -I ISPCP_INPUT  -p tcp --dport 25 2>> "$LOGFILE" 
    107110        ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 25 2>> "$LOGFILE" 
     111 
     112        ${IPTABLES} -I ISPCP_INPUT  -p tcp --dport 587 2>> "$LOGFILE" 
     113        ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 587 2>> "$LOGFILE" 
     114 
     115        ${IPTABLES} -I ISPCP_INPUT  -p tcp --dport 995 2>> "$LOGFILE" 
     116        ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 995 2>> "$LOGFILE" 
     117 
     118        ${IPTABLES} -I ISPCP_INPUT  -p tcp --dport 993 2>> "$LOGFILE" 
     119        ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 993 2>> "$LOGFILE" 
    108120 
    109121        # Explicit return once done 
     
    168180 
    169181        log_end_msg $? 
    170          
     182 
    171183        ;; 
    172184  status) 
  • trunk/configs/dists/opensuse/ispcp.conf

    r1007 r1026  
    99# 
    1010 
    11 BuildDate = 20080207 
     11BuildDate = 20080301 
    1212 
    1313Version = 1.0.0 RC4 OMEGA 
    1414 
    15 VersionH = 1.0 Priamos 
     15CodeName = Priamos 
    1616 
    1717DEFAULT_ADMIN_ADDRESS = 
    1818 
    19 SERVER_HOSTNAME = opensuse_10.3 
     19SERVER_HOSTNAME = suse_10.3 
    2020 
    2121BASE_SERVER_IP = 127.0.0.1 
     
    121121 
    122122ROOT_DIR = /srv/www/ispcp 
     123 
     124ROOT_USER = root 
     125 
     126ROOT_GROUP = root 
    123127 
    124128GUI_ROOT_DIR = /srv/www/ispcp/gui 
     
    247251MTA_MAILBOX_GID_NAME = mail 
    248252 
    249 #MTA_SASLDB_LOCAL_DOMAIN = isp-control.net 
    250  
    251253MTA_SASLDB_FILE = /var/spool/postfix/etc/sasldb2 
    252254 
     
    349351USER_INITIAL_THEME = omega_original 
    350352 
    351 ISPCP_LICENSE = ispCP 1.0rc4 OMEGA<br />build: 2008-02-07<br />Priamos 
    352  
    353353FTP_USERNAME_SEPARATOR = @ 
    354354 
    355355FTP_HOMEDIR = /srv/www/virtual 
    356  
    357 FTP_SHELL = /bin/bash 
    358356 
    359357IPS_LOGO_PATH = ../themes/user_logos 
  • trunk/configs/dists/opensuse/logrotate/ispcp

    r885 r1026  
    1212        endscript 
    1313        postrotate 
    14         if [ -f /var/run/httpd.pid ]; then 
    15                 /etc/init.d/apache2 reload > /dev/null 
    16         fi 
     14        for i in `seq 1 10`; do 
     15                if [ -f /var/run/httpd.pid ]; then 
     16                        /etc/init.d/apache2 stop > /dev/null 
     17                        sleep 5 
     18                        /etc/init.d/apache2 start > /dev/null 
     19                fi 
     20        done 
    1721        endscript 
    1822} 
     23 
     24/var/log/proftpd/xferlog { 
     25  daily 
     26  rotate 7 
     27  missingok 
     28  compress 
     29  delaycompress 
     30  postrotate 
     31    /srv/bin/killall -HUP syslogd 
     32  endscript 
     33} 
     34 
     35/var/log/proftpd/ftp_traff.log { 
     36  daily 
     37  rotate 7 
     38  missingok 
     39  compress 
     40  delaycompress 
     41  prerotate 
     42    /var/www/ispcp/engine/traffic/ispcp-vrl-traff > /var/log/ispcp/ispcp-vrl-traff.log 
     43  endscript 
     44  postrotate 
     45    /srv/bin/killall -HUP syslogd 
     46  endscript 
     47} 
  • trunk/configs/dists/opensuse/postfix/main.cf

    r1007 r1026  
    2525myorigin   = $myhostname 
    2626 
    27 smtpd_banner = $myhostname ESMTP ispCP {MTA_VERSION} Managed {MTA_HOST_TYPE} 
     27smtpd_banner = $myhostname ESMTP ispCP {MTA_VERSION} Managed 
    2828setgid_group = maildrop 
    2929 
  • trunk/configs/dists/opensuse/postfix/mta-cfg-setup.sh

    r885 r1026  
    11#!/bin/bash 
     2 
     3# ispCP ω (OMEGA) a Virtual Hosting Control Panel 
     4# Copyright (c) 2001-2006 by moleSoftware GmbH 
     5# http://www.molesoftware.com 
     6# Copyright (c) 2006-2007 by isp Control Panel 
     7# http://isp-control.net 
     8# 
     9# 
     10# License: 
     11#    This program is free software; you can redistribute it and/or 
     12#    modify it under the terms of the MPL Mozilla Public License 
     13#    as published by the Free Software Foundation; either version 1.1 
     14#    of the License, or (at your option) any later version. 
     15# 
     16#    This program is distributed in the hope that it will be useful, 
     17#    but WITHOUT ANY WARRANTY; without even the implied warranty of 
     18#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     19#    MPL Mozilla Public License for more details. 
     20# 
     21#    You may have received a copy of the MPL Mozilla Public License 
     22#    along with this program. 
     23# 
     24#    An on-line copy of the MPL Mozilla Public License can be found 
     25#    http://www.mozilla.org/MPL/MPL-1.1.html 
     26# 
     27# 
     28# The ispCP ω Home Page is at: 
     29# 
     30#    http://isp-control.net 
     31# 
    232 
    333MTA_CONF_DIR=/etc/postfix 
    434 
    535MTA_SYSTEM_CONF_DIR=/etc/postfix/ispcp 
    6  
    736 
    837 
     
    1645 
    1746 
    18  
    1947${CMD_CP} ./main.cf ${MTA_CONF_DIR} 
    2048 
     
    2351${CMD_MKDIR} -p ${MTA_SYSTEM_CONF_DIR} 
    2452 
    25 ${CMD_CP} ./working/{aliases,domains,mailboxes,transport} ${MTA_SYSTEM_CONF_DIR} 
     53${CMD_CP} ./working/aliases ${MTA_SYSTEM_CONF_DIR} 
     54${CMD_CP} ./working/domains ${MTA_SYSTEM_CONF_DIR} 
     55${CMD_CP} ./working/mailboxes ${MTA_SYSTEM_CONF_DIR} 
     56${CMD_CP} ./working/sender-access ${MTA_SYSTEM_CONF_DIR} 
     57${CMD_CP} ./working/transport ${MTA_SYSTEM_CONF_DIR} 
    2658 
    27 ${CMD_POSTMAP} ${MTA_SYSTEM_CONF_DIR}/{aliases,domains,mailboxes,transport} 
     59${CMD_POSTMAP} ${MTA_SYSTEM_CONF_DIR}/aliases 
     60${CMD_POSTMAP} ${MTA_SYSTEM_CONF_DIR}/domains 
     61${CMD_POSTMAP} ${MTA_SYSTEM_CONF_DIR}/mailboxes 
     62${CMD_POSTMAP} ${MTA_SYSTEM_CONF_DIR}/sender-access 
     63${CMD_POSTMAP} ${MTA_SYSTEM_CONF_DIR}/transport 
    2864 
    2965${CMD_NEWALIASES} 
    30