Changeset 656

Show
Ignore:
Timestamp:
06/17/07 14:16:52 (1 year ago)
Author:
rats
Message:

* Fixed: error on install; PHP Version was not asked

  • Partly fixed #404: new makefile errors
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/BSDmakefile

    r635 r656  
     1#!/usr/bin/make -f 
    12 
    23.include <Makefile.inc> 
  • trunk/CHANGELOG

    r655 r656  
    1010|               * gui: disable stats-alias in client menu         | 
    1111\_________________________________________________________________/ 
     12 
     132007-06-17 Benedikt Heintel 
     14        - SETUP: 
     15                * Fixed: error on install; PHP Version was not asked 
     16                * Partly fixed #404: new makefile errors 
    1217 
    13182007-06-16 Raphael Geissert 
  • trunk/Makefile

    r652 r656  
    11#!/usr/bin/make -f 
    22 
    3 INST_PREF=$(shell \ 
    4         if [ $INST_PREF ]; then \ 
    5                 echo $INST_PREF; \ 
    6         else \ 
    7                 echo "/tmp/ispcp-1.0.0"; \ 
    8         fi; \ 
    9 
     3INST_PREF=/tmp/ispcp-1.0.0 
    104 
    115HOST_OS=debian 
     
    2923SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual 
    3024 
    31 SYSTEM_MAKE_DIRS="/usr/bin/make -p" 
     25SYSTEM_MAKE_DIRS=/bin/mkdir -p 
    3226 
    3327export 
  • trunk/Makefile.fedora

    r652 r656  
     1#!/usr/bin/make -f 
    12 
    23INST_PREF=/tmp/ispcp-1.0.0 
     
    2223SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual 
    2324 
    24 SYSTEM_MAKE_DIRS="/usr/bin/make -p" 
     25SYSTEM_MAKE_DIRS=/bin/mkdir -p 
    2526 
    2627CODE_PHP=/usr/sbin/encode-file 
  • trunk/Makefile.inc

    r652 r656  
    2222SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual 
    2323 
    24 SYSTEM_MAKE_DIRS="/usr/bin/make -p" 
     24SYSTEM_MAKE_DIRS=/bin/mkdir -p 
    2525 
    2626CODE_PHP=/usr/sbin/encode-file 
  • trunk/Makefile.sles9

    r652 r656  
     1#!/usr/bin/make -f 
    12 
    23INST_PREF=/tmp/ispcp-1.0.0 
     
    2223SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual 
    2324 
    24 SYSTEM_MAKE_DIRS="/usr/bin/make -p" 
     25SYSTEM_MAKE_DIRS=/bin/mkdir -p 
    2526 
    2627CODE_PHP=/usr/sbin/encode-file 
  • trunk/Makefile.suse100

    r652 r656  
     1#!/usr/bin/make -f 
    12 
    23INST_PREF=/tmp/ispcp-1.0.0 
     
    2223SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual 
    2324 
    24 SYSTEM_MAKE_DIRS="/usr/bin/make -p" 
     25SYSTEM_MAKE_DIRS=/bin/mkdir -p 
    2526 
    2627CODE_PHP=/usr/sbin/encode-file 
  • trunk/Makefile.suse93

    r652 r656  
     1#!/usr/bin/make -f 
    12 
    23INST_PREF=/tmp/ispcp-1.0.0 
     
    2223SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual 
    2324 
    24 SYSTEM_MAKE_DIRS="/usr/bin/make -p" 
     25SYSTEM_MAKE_DIRS=/bin/mkdir -p 
    2526 
    2627CODE_PHP=/usr/sbin/encode-file 
  • trunk/Makefile.ubuntu

    r652 r656  
     1#!/usr/bin/make -f 
    12 
    23INST_PREF=/tmp/ispcp-1.0.0 
     
    2223SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual 
    2324 
    24 SYSTEM_MAKE_DIRS="/usr/bin/make -p" 
     25SYSTEM_MAKE_DIRS=/bin/mkdir -p 
    2526 
    2627CODE_PHP=/usr/sbin/encode-file 
  • trunk/configs/apache/fastcgi.conf

    r653 r656  
    1 # ISPCP ω (OMEGA) - Virtual Hosting Control System | Omega Version 
     1# ISPCP ω (OMEGA) a Virtual Hosting Control System 
    22# Copyright (c) 2006-2007 by ispCP | http://isp-control.net 
    33# 
     
    2323# 
    2424# @TODO : 
    25 # - Finish PHP5 Support 
    2625# - Finish config Fastcgi 
    2726 
  • trunk/configs/apache/fastcgi2.conf

    r653 r656  
    1 # ISPCP ω (OMEGA) - Virtual Hosting Control System | Omega Version 
     1# ISPCP ω (OMEGA) a Virtual Hosting Control System 
    22# Copyright (c) 2006-2007 by ispCP | http://isp-control.net 
    33# 
     
    2323# 
    2424# @TODO : 
    25 # - Finish PHP5 Support 
    2625# - Finish config Fastcgi 
    2726 
  • trunk/docs/Debian/INSTALL

    r581 r656  
    115115   These are the Variables you have to look at: 
    116116 
    117         AWSTATS_DIR = no                        # Either no or path to the awstats configs dir 
    118117        SECONDARY_DNS = 
    119118        MYSQL_PREFIX_TYPE =                     # '' for MYSQL_PREFIX = yes, 
  • trunk/engine/setup/ispcp-setup

    r653 r656  
    787787        } while ($rs == 1); 
    788788 
     789        # 
     790        # Configuration questions 
     791        # 
     792 
     793        do { 
     794                $rs = ask_php_version(); 
     795        } while ($rs == 1); 
     796 
     797        # 
     798        # AWStats questions 
     799        # 
     800 
    789801        do { 
    790802 
     
    23222334 
    23232335            if ( -e "$main::cfg{'POSTFIX_CONF_FILE'}") { 
    2324      
     2336 
    23252337                    $cmd = "$main::cfg{'CMD_CP'} -p $main::cfg{'POSTFIX_CONF_FILE'} $bk_dir/main.cf.system"; 
    2326      
     2338 
    23272339                    $rs = sys_command($cmd); 
    2328      
     2340 
    23292341                    return $rs if ($rs != 0); 
    2330      
     2342 
    23312343            } 
    2332      
     2344 
    23332345            if ( -e "$main::cfg{'POSTFIX_MASTER_CONF_FILE'}") { 
    2334      
     2346 
    23352347                    $cmd = "$main::cfg{'CMD_CP'} -p $main::cfg{'POSTFIX_MASTER_CONF_FILE'} $bk_dir/master.cf.system"; 
    2336      
     2348 
    23372349                    $rs = sys_command($cmd); 
    2338      
     2350 
    23392351                    return $rs if ($rs != 0); 
    2340      
     2352 
    23412353            } 
    2342      
     2354 
    23432355            ($rs, $cfg_tpl) = get_tpl($cfg_dir, 'main.cf'); 
    2344      
     2356 
    23452357            return $rs if ($rs != 0); 
    2346      
     2358 
    23472359            my %tag_hash = ( 
    23482360                            '{MTA_HOSTNAME}' => $main::cfg{'SERVER_HOSTNAME'},