Changeset 1007

Show
Ignore:
Timestamp:
02/18/08 00:57:35 (10 months ago)
Author:
rats
Message:

* Fixed #259: Using Proftpd 1.3.1-r2 option DisplayFirstChdir? give "deprecated and will be removed in a future release"
* Fixed #1049: postfix dict_nis_init warning
* Fixed #1035: Hide "Manage Domains"-icon
* Fixed #1053: awstats path doesnt work
* Dropped support for SLES (9)
* Updated CentOS, Fedora, FreeBSD, Gentoo, OpenBSD, OpenSUSE, RedHat?, SuSE, ubuntu

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r1006 r1007  
    11ispCP ω 1.0.0 Changelog 
    22~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     3 
     42008-02-18 Benedikt Heintel 
     5        - CONFIGS: 
     6                * Fixed #259: Using Proftpd 1.3.1-r2 option DisplayFirstChdir give "deprecated and will be removed in a future release" 
     7                * Fixed #1049: postfix dict_nis_init warning 
     8        - GUI: 
     9                * Fixed #1035: Hide "Manage Domains"-icon 
     10                * Fixed #1053: awstats path doesnt work 
     11        - DISTS: 
     12                * Dropped support for SLES (9) 
     13                * Updated CentOS, Fedora, FreeBSD, Gentoo, OpenBSD, OpenSUSE, RedHat, SuSE, ubuntu 
    314 
    4152008-02-17 Christian Hernmarck 
  • trunk/configs/Makefile

    r885 r1007  
    2525        elif test $(HOST_OS) = redhat ; then \ 
    2626                cd ./dists/redhat && $(MAKE) install ; \ 
    27         elif test $(HOST_OS) = sles9 ; then \ 
    28                 cd ./dists/sles9 && $(MAKE) install ; \ 
    29         elif test $(HOST_OS) = suse100 ; then \ 
     27        elif test $(HOST_OS) = suse10 ; then \ 
    3028                cd ./dists/suse10 && $(MAKE) install ; \ 
    3129        elif test $(HOST_OS) = opensuse10 ; then \ 
     
    5755        elif test $(HOST_OS) = redhat ; then \ 
    5856                cd ./dists/redhat && $(MAKE) uninstall ; \ 
    59         elif test $(HOST_OS) = sles9 ; then \ 
    60                 cd ./dists/sles9 && $(MAKE) uninstall ; \ 
    61         elif test $(HOST_OS) = suse100 ; then \ 
     57        elif test $(HOST_OS) = suse10 ; then \ 
    6258                cd ./dists/suse10 && $(MAKE) uninstall ; \ 
    6359        elif test $(HOST_OS) = opensuse10 ; then \ 
  • trunk/configs/bind/parts/db_e.tpl

    r975 r1007  
    2929; CNAME for web transfer 
    3030ftp             IN              CNAME           www 
    31 pma             IN              CNAME           www 
    32 webmail         IN              CNAME           www 
    3331; sub [{SUB_NAME}] entry BEGIN. 
    3432; sub [{SUB_NAME}] entry END. 
  • trunk/configs/bind/parts/db_master_e.tpl

    r975 r1007  
    2929; CNAME for web transfer 
    3030ftp             IN              CNAME           www 
    31 pma             IN              CNAME           www 
    32 webmail         IN              CNAME           www 
    3331; sub [{SUB_NAME}] entry BEGIN. 
    3432; sub [{SUB_NAME}] entry END. 
  • trunk/configs/dists/centos/apache/parts/dmn_entry.tpl

    r994 r1007  
    1818 
    1919    Alias /errors   {WWW_DIR}/{DMN_NAME}/errors/ 
     20 
     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/ 
    2024 
    2125    ErrorDocument 401 /errors/401.html 
  • trunk/configs/dists/centos/bind/parts/db_e.tpl

    r994 r1007  
    2929; CNAME for web transfer 
    3030ftp             IN              CNAME           www 
    31 pma             IN              CNAME           www 
    32 webmail         IN              CNAME           www 
    3331; sub [{SUB_NAME}] entry BEGIN. 
    3432; sub [{SUB_NAME}] entry END. 
  • trunk/configs/dists/centos/bind/parts/db_master_e.tpl

    r994 r1007  
    2929; CNAME for web transfer 
    3030ftp             IN              CNAME           www 
    31 pma             IN              CNAME           www 
    32 webmail         IN              CNAME           www 
    3331; sub [{SUB_NAME}] entry BEGIN. 
    3432; sub [{SUB_NAME}] entry END. 
  • trunk/configs/dists/centos/cron.d/ispcp

    r994 r1007  
    77# Traffic 
    880,30    *       *       *       *  root {TRAFF_ROOT_DIR}/ispcp-srv-traff &>{LOG_DIR}/ispcp-srv-traff.log 
    9 0,30    *       *       *       *  root {TRAFF_ROOT_DIR}/ispcp-vrl-traff >{LOG_DIR}/ispcp-vrl-traff.log  
     90,30    *       *       *       *  root {TRAFF_ROOT_DIR}/ispcp-vrl-traff &>{LOG_DIR}/ispcp-vrl-traff.log 
    101015,45   *       *       *       *  root {TRAFF_ROOT_DIR}/ispcp-vrl-traff-correction &>{LOG_DIR}/ispcp-vrl-traff-correction.log 
    1111 
     
    2727 
    2828# Rootkit Hunter 
    29 {RK-ENABLED}0   */12    *       *       *       root {RKHUNTER} --scan-knownbad-files --check-deleted --createlogfile --cronjob --createlogfile {RKHUNTER_LOG}>/dev/null 2>&1 
     29{RK-ENABLED}0   */12    *       *       *       root {RKHUNTER} --scan-knownbad-files --check-deleted --createlogfile --cronjob --createlogfile {RKHUNTER_LOG} >/dev/null 2>&1 
    3030 
    3131# Chkrootkit 
  • trunk/configs/dists/centos/database/database.sql

    r994 r1007  
    1 create database {DATABASE_NAME}
     1create database {DATABASE_NAME} CHARACTER SET utf8 COLLATE utf8_unicode_ci
    22 
    33use {DATABASE_NAME}; 
  • trunk/configs/dists/centos/postfix/main.cf

    r994 r1007  
    3838virtual_transport   = virtual 
    3939transport_maps      = hash:{MTA_TRANSPORT_HASH} 
     40alias_maps                      = hash:/etc/aliases 
    4041 
    4142# 
  • trunk/configs/dists/centos/proftpd/proftpd1.3.conf

    r994 r1007  
    2929 
    3030DisplayLogin                    welcome.msg 
    31 DisplayFirstChdir             message 
     31DisplayChdir                  message 
    3232 
    3333#LsDefaultOptions               "-l" 
  • trunk/configs/dists/fedora/apache/fastcgi.conf

    r785 r1007  
    2828        FastCgiWrapper On 
    2929        FastCgiIpcDir /var/lib/apache2/fastcgi 
    30         FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100 
    31                       #-killInterval 300 \ 
    32                       #-autoUpdate \ 
    33                       #-idle-timeout 240 \ 
    34                       #-pass-header HTTP_AUTHORIZATION 
     30 
     31        FastCgiConfig -minProcesses 1 \ 
     32                      -maxProcesses 400 \ 
     33                      -maxClassProcesses 5 \ 
     34                      -multiThreshold 80 \ 
     35                      -killInterval 60 \ 
     36                      -startDelay 5 \ 
     37                      -idle-timeout 300 
     38                      # -singleThreshold 100 \ 
     39                      # -autoUpdate \ 
     40                      # -pass-header HTTP_AUTHORIZATION 
    3541 
    3642        FastCgiServer {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} 
  • trunk/configs/dists/fedora/apache/httpd.conf

    r773 r1007  
    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/fedora/apache/parts/als_entry.tpl

    r878 r1007  
    5252    </Directory> 
    5353 
     54    Include {CUSTOM_SITES_CONFIG_DIR}/{ALS_NAME}.conf 
     55 
    5456</VirtualHost> 
  • trunk/configs/dists/fedora/apache/parts/dmn_awstats_static_entry.tpl

    r878 r1007  
    22 
    33    <Directory "{WWW_DIR}/{DMN_NAME}/statistics"> 
    4         AllowOverride None 
     4        AllowOverride AuthConfig 
    55        DirectoryIndex awstats.{DMN_NAME}.html 
    66        Order allow,deny 
  • trunk/configs/dists/fedora/apache/parts/dmn_entry.tpl

    r878 r1007  
    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/ 
     24 
    2125    ErrorDocument 401 /errors/401.html 
    2226    ErrorDocument 403 /errors/403.html 
     
    2428    ErrorDocument 500 /errors/500.html 
    2529    ErrorDocument 503 /errors/503.html 
    26  
    27     Redirect /ispcp http://{BASE_SERVER_VHOST} 
    2830 
    2931    <IfModule mod_cband.c> 
     
    4951    </Directory> 
    5052 
     53    Include {CUSTOM_SITES_CONFIG_DIR}/{DMN_NAME}.conf 
     54 
    5155</VirtualHost> 
  • trunk/configs/dists/fedora/apache/parts/sub_entry.tpl

    r878 r1007  
    4949    </Directory> 
    5050 
     51    Include {CUSTOM_SITES_CONFIG_DIR}/{SUB_NAME}.conf 
     52 
    5153</VirtualHost> 
  • trunk/configs/dists/fedora/awstats/awstats.ispcp_tpl.conf

    r773 r1007  
    166166# Example: "www.myserver.com localhost 127.0.0.1 REGEX[mydomain\.(net|org)$]" 
    167167# 
    168 HostAliases="www.{DOMAIN_NAME} REGEX[^.*\\{DOMAIN_NAME}$]" 
     168HostAliases="www.{DOMAIN_NAME} REGEX[^.*\.{DOMAIN_NAME}$]" 
    169169 
    170170 
     
    186186# Default: 2 
    187187# 
    188 DNSLookup=2 
     188DNSLookup=1 
    189189 
    190190 
     
    257257# Default: 2 
    258258# 
    259 AllowFullYearView=2 
     259AllowFullYearView=3 
    260260 
    261261 
     
    495495# Default: "" 
    496496# 
    497 SkipFiles="
     497SkipFiles="/stats/
    498498 
    499499 
  • trunk/configs/dists/fedora/bind/parts/db_e.tpl

    r154 r1007  
    1 $TTL 86400 
    2 @       IN      SOA     ns.{DMN_NAME}. root.{DMN_NAME}. ( 
     1$TTL 12H 
     2$ORIGIN {DMN_NAME}. 
     3@               IN              SOA             ns1.{DMN_NAME}. postmaster.{DMN_NAME}. ( 
    34; dmn [{DMN_NAME}] timestamp entry BEGIN. 
    4                         {TIMESTAMP} 
     5                {TIMESTAMP}     ; Serial 
    56; dmn [{DMN_NAME}] timestamp entry END. 
    6                         8H 
    7                         2H 
    8                         4W 
    9                         1D 
     7                8H              ; Refresh 
     8                15M             ; Retry 
     9                4W              ; Expire 
     10                3H              ; Minimum TTL 
    1011) 
    11                IN      NS      ns1.{DMN_NAME}. 
    12                IN      NS      ns2.{DMN_NAME}. 
    13                IN      MX      10 mail.{DMN_NAME}. 
     12                IN              NS              ns1.{DMN_NAME}. 
     13                IN              NS              ns2.{DMN_NAME}. 
     14                IN              MX      10      mail.{DMN_NAME}. 
    1415 
    15 {DMN_NAME}.     IN      A       {DMN_IP} 
    16 {DMN_NAME}.     IN      TXT     "v=spf1 a mx ip4:{DMN_IP} ~all" 
    17 ns1             IN      A       {BASE_SERVER_IP} 
    18 ns2             IN      A       {SECONDARY_DNS_IP} 
    19 mail            IN      A       {BASE_SERVER_IP} 
    20 localhost       IN      A       127.0.0.1 
    21 www             CNAME   {DMN_NAME}. 
    22 ftp             CNAME   {DMN_NAME}. 
     16{DMN_NAME}.     IN              A               {DMN_IP} 
     17www             IN              A               {DMN_IP} 
     18{DMN_NAME}.     IN              TXT             "v=spf1 a mx ip4:{DMN_IP} ~all" 
     19localhost       IN              A               127.0.0.1 
     20mail            IN              A               {BASE_SERVER_IP} 
     21ns1             IN              A               {BASE_SERVER_IP} 
     22ns2             IN              A               {SECONDARY_DNS_IP} 
     23; CNAME for mail transfer 
     24imap            IN              CNAME           mail 
     25pop             IN              CNAME           mail 
     26pop3            IN              CNAME           mail 
     27relay           IN              CNAME           mail 
     28smtp            IN              CNAME           mail 
     29; CNAME for web transfer 
     30ftp             IN              CNAME           www 
    2331; sub [{SUB_NAME}] entry BEGIN. 
    2432; sub [{SUB_NAME}] entry END. 
  • trunk/configs/dists/fedora/bind/parts/db_master_e.tpl

    r878 r1007  
    1 $TTL 86400 
    2 @       IN      SOA     ns.{DMN_NAME}. root.{DMN_NAME}. ( 
     1$TTL 12H 
     2$ORIGIN {DMN_NAME}. 
     3@               IN              SOA             ns1.{DMN_NAME}. postmaster.{DMN_NAME}. ( 
    34; dmn [{DMN_NAME}] timestamp entry BEGIN. 
    4                        {TIMESTAMP}     ; Serial 
     5                {TIMESTAMP}     ; Serial 
    56; dmn [{DMN_NAME}] timestamp entry END. 
    6     &nbs