Changeset 656
- 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
| r635 |
r656 |
|
| | 1 | #!/usr/bin/make -f |
|---|
| 1 | 2 | |
|---|
| 2 | 3 | .include <Makefile.inc> |
|---|
| r655 |
r656 |
|
| 10 | 10 | | * gui: disable stats-alias in client menu | |
|---|
| 11 | 11 | \_________________________________________________________________/ |
|---|
| | 12 | |
|---|
| | 13 | 2007-06-17 Benedikt Heintel |
|---|
| | 14 | - SETUP: |
|---|
| | 15 | * Fixed: error on install; PHP Version was not asked |
|---|
| | 16 | * Partly fixed #404: new makefile errors |
|---|
| 12 | 17 | |
|---|
| 13 | 18 | 2007-06-16 Raphael Geissert |
|---|
| r652 |
r656 |
|
| 1 | 1 | #!/usr/bin/make -f |
|---|
| 2 | 2 | |
|---|
| 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 | | ) |
|---|
| | 3 | INST_PREF=/tmp/ispcp-1.0.0 |
|---|
| 10 | 4 | |
|---|
| 11 | 5 | HOST_OS=debian |
|---|
| … | … | |
| 29 | 23 | SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual |
|---|
| 30 | 24 | |
|---|
| 31 | | SYSTEM_MAKE_DIRS="/usr/bin/make -p" |
|---|
| | 25 | SYSTEM_MAKE_DIRS=/bin/mkdir -p |
|---|
| 32 | 26 | |
|---|
| 33 | 27 | export |
|---|
| r652 |
r656 |
|
| | 1 | #!/usr/bin/make -f |
|---|
| 1 | 2 | |
|---|
| 2 | 3 | INST_PREF=/tmp/ispcp-1.0.0 |
|---|
| … | … | |
| 22 | 23 | SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual |
|---|
| 23 | 24 | |
|---|
| 24 | | SYSTEM_MAKE_DIRS="/usr/bin/make -p" |
|---|
| | 25 | SYSTEM_MAKE_DIRS=/bin/mkdir -p |
|---|
| 25 | 26 | |
|---|
| 26 | 27 | CODE_PHP=/usr/sbin/encode-file |
|---|
| r652 |
r656 |
|
| 22 | 22 | SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual |
|---|
| 23 | 23 | |
|---|
| 24 | | SYSTEM_MAKE_DIRS="/usr/bin/make -p" |
|---|
| | 24 | SYSTEM_MAKE_DIRS=/bin/mkdir -p |
|---|
| 25 | 25 | |
|---|
| 26 | 26 | CODE_PHP=/usr/sbin/encode-file |
|---|
| r652 |
r656 |
|
| | 1 | #!/usr/bin/make -f |
|---|
| 1 | 2 | |
|---|
| 2 | 3 | INST_PREF=/tmp/ispcp-1.0.0 |
|---|
| … | … | |
| 22 | 23 | SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual |
|---|
| 23 | 24 | |
|---|
| 24 | | SYSTEM_MAKE_DIRS="/usr/bin/make -p" |
|---|
| | 25 | SYSTEM_MAKE_DIRS=/bin/mkdir -p |
|---|
| 25 | 26 | |
|---|
| 26 | 27 | CODE_PHP=/usr/sbin/encode-file |
|---|
| r652 |
r656 |
|
| | 1 | #!/usr/bin/make -f |
|---|
| 1 | 2 | |
|---|
| 2 | 3 | INST_PREF=/tmp/ispcp-1.0.0 |
|---|
| … | … | |
| 22 | 23 | SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual |
|---|
| 23 | 24 | |
|---|
| 24 | | SYSTEM_MAKE_DIRS="/usr/bin/make -p" |
|---|
| | 25 | SYSTEM_MAKE_DIRS=/bin/mkdir -p |
|---|
| 25 | 26 | |
|---|
| 26 | 27 | CODE_PHP=/usr/sbin/encode-file |
|---|
| r652 |
r656 |
|
| | 1 | #!/usr/bin/make -f |
|---|
| 1 | 2 | |
|---|
| 2 | 3 | INST_PREF=/tmp/ispcp-1.0.0 |
|---|
| … | … | |
| 22 | 23 | SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual |
|---|
| 23 | 24 | |
|---|
| 24 | | SYSTEM_MAKE_DIRS="/usr/bin/make -p" |
|---|
| | 25 | SYSTEM_MAKE_DIRS=/bin/mkdir -p |
|---|
| 25 | 26 | |
|---|
| 26 | 27 | CODE_PHP=/usr/sbin/encode-file |
|---|
| r652 |
r656 |
|
| | 1 | #!/usr/bin/make -f |
|---|
| 1 | 2 | |
|---|
| 2 | 3 | INST_PREF=/tmp/ispcp-1.0.0 |
|---|
| … | … | |
| 22 | 23 | SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual |
|---|
| 23 | 24 | |
|---|
| 24 | | SYSTEM_MAKE_DIRS="/usr/bin/make -p" |
|---|
| | 25 | SYSTEM_MAKE_DIRS=/bin/mkdir -p |
|---|
| 25 | 26 | |
|---|
| 26 | 27 | CODE_PHP=/usr/sbin/encode-file |
|---|
| r653 |
r656 |
|
| 1 | | # ISPCP ω (OMEGA) - Virtual Hosting Control System | Omega Version |
|---|
| | 1 | # ISPCP ω (OMEGA) a Virtual Hosting Control System |
|---|
| 2 | 2 | # Copyright (c) 2006-2007 by ispCP | http://isp-control.net |
|---|
| 3 | 3 | # |
|---|
| … | … | |
| 23 | 23 | # |
|---|
| 24 | 24 | # @TODO : |
|---|
| 25 | | # - Finish PHP5 Support |
|---|
| 26 | 25 | # - Finish config Fastcgi |
|---|
| 27 | 26 | |
|---|
| r653 |
r656 |
|
| 1 | | # ISPCP ω (OMEGA) - Virtual Hosting Control System | Omega Version |
|---|
| | 1 | # ISPCP ω (OMEGA) a Virtual Hosting Control System |
|---|
| 2 | 2 | # Copyright (c) 2006-2007 by ispCP | http://isp-control.net |
|---|
| 3 | 3 | # |
|---|
| … | … | |
| 23 | 23 | # |
|---|
| 24 | 24 | # @TODO : |
|---|
| 25 | | # - Finish PHP5 Support |
|---|
| 26 | 25 | # - Finish config Fastcgi |
|---|
| 27 | 26 | |
|---|
| r581 |
r656 |
|
| 115 | 115 | These are the Variables you have to look at: |
|---|
| 116 | 116 | |
|---|
| 117 | | AWSTATS_DIR = no # Either no or path to the awstats configs dir |
|---|
| 118 | 117 | SECONDARY_DNS = |
|---|
| 119 | 118 | MYSQL_PREFIX_TYPE = # '' for MYSQL_PREFIX = yes, |
|---|
| r653 |
r656 |
|
| 787 | 787 | } while ($rs == 1); |
|---|
| 788 | 788 | |
|---|
| | 789 | # |
|---|
| | 790 | # Configuration questions |
|---|
| | 791 | # |
|---|
| | 792 | |
|---|
| | 793 | do { |
|---|
| | 794 | $rs = ask_php_version(); |
|---|
| | 795 | } while ($rs == 1); |
|---|
| | 796 | |
|---|
| | 797 | # |
|---|
| | 798 | # AWStats questions |
|---|
| | 799 | # |
|---|
| | 800 | |
|---|
| 789 | 801 | do { |
|---|
| 790 | 802 | |
|---|
| … | … | |
| 2322 | 2334 | |
|---|
| 2323 | 2335 | if ( -e "$main::cfg{'POSTFIX_CONF_FILE'}") { |
|---|
| 2324 | | |
|---|
| | 2336 | |
|---|
| 2325 | 2337 | $cmd = "$main::cfg{'CMD_CP'} -p $main::cfg{'POSTFIX_CONF_FILE'} $bk_dir/main.cf.system"; |
|---|
| 2326 | | |
|---|
| | 2338 | |
|---|
| 2327 | 2339 | $rs = sys_command($cmd); |
|---|
| 2328 | | |
|---|
| | 2340 | |
|---|
| 2329 | 2341 | return $rs if ($rs != 0); |
|---|
| 2330 | | |
|---|
| | 2342 | |
|---|
| 2331 | 2343 | } |
|---|
| 2332 | | |
|---|
| | 2344 | |
|---|
| 2333 | 2345 | if ( -e "$main::cfg{'POSTFIX_MASTER_CONF_FILE'}") { |
|---|
| 2334 | | |
|---|
| | 2346 | |
|---|
| 2335 | 2347 | $cmd = "$main::cfg{'CMD_CP'} -p $main::cfg{'POSTFIX_MASTER_CONF_FILE'} $bk_dir/master.cf.system"; |
|---|
| 2336 | | |
|---|
| | 2348 | |
|---|
| 2337 | 2349 | $rs = sys_command($cmd); |
|---|
| 2338 | | |
|---|
| | 2350 | |
|---|
| 2339 | 2351 | return $rs if ($rs != 0); |
|---|
| 2340 | | |
|---|
| | 2352 | |
|---|
| 2341 | 2353 | } |
|---|
| 2342 | | |
|---|
| | 2354 | |
|---|
| 2343 | 2355 | ($rs, $cfg_tpl) = get_tpl($cfg_dir, 'main.cf'); |
|---|
| 2344 | | |
|---|
| | 2356 | |
|---|
| 2345 | 2357 | return $rs if ($rs != 0); |
|---|
| 2346 | | |
|---|
| | 2358 | |
|---|
| 2347 | 2359 | my %tag_hash = ( |
|---|
| 2348 | 2360 | '{MTA_HOSTNAME}' => $main::cfg{'SERVER_HOSTNAME'}, |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>