Changeset 433
- Timestamp:
- 03/21/07 08:51:57
(2 years ago)
- Author:
- rats
- Message:
* added: RedHat? config files
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r401 |
r433 |
|
| 28 | 28 | cd ./bind && $(MAKE) uninstall ; cd .. ; \ |
|---|
| 29 | 29 | cd ./crontab && $(MAKE) uninstall ; cd .. ; \ |
|---|
| 30 | | cd ./cron.d && $(MAKE) uninstall ; cd .. ; \ |
|---|
| | 30 | cd ./cron.d && $(MAKE) uninstall ; cd .. ; \ |
|---|
| 31 | 31 | cd ./database && $(MAKE) uninstall ; cd .. ; \ |
|---|
| 32 | 32 | cd ./init.d && $(MAKE) uninstall ; cd .. ; \ |
|---|
| r401 |
r433 |
|
| 4 | 4 | install: |
|---|
| 5 | 5 | |
|---|
| 6 | | if [[ $(HOST_OS) == debian ]] ; then \ |
|---|
| | 6 | if [[ $(HOST_OS) == redhat ]] ; then \ |
|---|
| 7 | 7 | cp ./vhcs2.conf $(SYSTEM_CONF) ; \ |
|---|
| 8 | 8 | cd ./apache && $(MAKE) install ; cd .. ; \ |
|---|
| … | … | |
| 18 | 18 | cd ./proftpd && $(MAKE) install ; cd .. ; \ |
|---|
| 19 | 19 | cd ./logrotate && $(MAKE) install ; cd .. ; \ |
|---|
| 20 | | elif [[ $(HOST_OS) == fedora ]] ; then \ |
|---|
| 21 | | cd ./dists/fedora && $(MAKE) install ; \ |
|---|
| 22 | | elif [[ $(HOST_OS) == gentoo ]] ; then \ |
|---|
| 23 | | cd ./dists/gentoo && $(MAKE) install ; \ |
|---|
| 24 | | elif [[ $(HOST_OS) == redhat ]] ; then \ |
|---|
| 25 | | cd ./dists/redhat && $(MAKE) install ; \ |
|---|
| 26 | | elif [[ $(HOST_OS) == sles9 ]] ; then \ |
|---|
| 27 | | cd ./dists/sles9 && $(MAKE) install ; \ |
|---|
| 28 | | elif [[ $(HOST_OS) == suse100 ]] ; then \ |
|---|
| 29 | | cd ./dists/suse100 && $(MAKE) install ; \ |
|---|
| 30 | | elif [[ $(HOST_OS) == suse93 ]] ; then \ |
|---|
| 31 | | cd ./dists/suse93 && $(MAKE) install ; \ |
|---|
| 32 | | elif [[ $(HOST_OS) == ubuntu ]] ; then \ |
|---|
| 33 | | cd ./dists/ubuntu && $(MAKE) install ; \ |
|---|
| 34 | 20 | fi |
|---|
| 35 | 21 | |
|---|
| 36 | 22 | uninstall: |
|---|
| 37 | 23 | |
|---|
| 38 | | if [[ $(HOST_OS) == debian ]] ; then \ |
|---|
| | 24 | if [[ $(HOST_OS) == redhat ]] ; then \ |
|---|
| 39 | 25 | rm -rf $(SYSTEM_CONF)/vhcs2.conf ; \ |
|---|
| 40 | 26 | cd ./apache && $(MAKE) uninstall ; cd .. ; \ |
|---|
| … | … | |
| 49 | 35 | cd ./proftpd && $(MAKE) uninstall ; cd .. ; \ |
|---|
| 50 | 36 | cd ./logrotate && $(MAKE) uninstall ; cd .. ; \ |
|---|
| 51 | | elif [[ $(HOST_OS) == fedora ]] ; then \ |
|---|
| 52 | | cd ./dists/fedora && $(MAKE) uninstall ; \ |
|---|
| 53 | | elif [[ $(HOST_OS) == gentoo ]] ; then \ |
|---|
| 54 | | cd ./dists/gentoo && $(MAKE) uninstall ; \ |
|---|
| 55 | | elif [[ $(HOST_OS) == redhat ]] ; then \ |
|---|
| 56 | | cd ./dists/redhat && $(MAKE) uninstall ; \ |
|---|
| 57 | | elif [[ $(HOST_OS) == sles9 ]] ; then \ |
|---|
| 58 | | cd ./dists/sles9 && $(MAKE) uninstall ; \ |
|---|
| 59 | | elif [[ $(HOST_OS) == suse93 ]] ; then \ |
|---|
| 60 | | cd ./dists/suse93 && $(MAKE) uninstall ; \ |
|---|
| 61 | | elif [[ $(HOST_OS) == suse100 ]] ; then \ |
|---|
| 62 | | cd ./dists/suse100 && $(MAKE) uninstall ; \ |
|---|
| 63 | | elif [[ $(HOST_OS) == ubuntu ]] ; then \ |
|---|
| 64 | | cd ./dists/ubuntu && $(MAKE) uninstall ; \ |
|---|
| 65 | 37 | fi |
|---|
| 66 | 38 | |
|---|
| r423 |
r433 |
|
| 1 | | ROOT_APACHE_CONF=$(ROOT_CONF)/apache2 |
|---|
| 2 | | |
|---|
| 3 | | RELEASE=`cat /etc/debian_version | awk '{print $1}'` |
|---|
| | 1 | ROOT_APACHE_CONF=$(ROOT_CONF)/apache2/ |
|---|
| 4 | 2 | |
|---|
| 5 | 3 | export |
|---|
| … | … | |
| 14 | 12 | cp ./httpd.conf ./working/vhcs2.conf |
|---|
| 15 | 13 | |
|---|
| 16 | | # Debian 4.0 "Etch"? |
|---|
| 17 | | if [[ $(RELEASE) == '4.0' ]] ; then \ |
|---|
| 18 | | cp ./fastcgi2.conf ./working/fastcgi.conf ; \ |
|---|
| 19 | | else \ |
|---|
| 20 | | cp ./fastcgi.conf ./working/fastcgi.conf ; \ |
|---|
| 21 | | fi \ |
|---|
| 22 | | |
|---|
| | 14 | cp ./fastcgi.conf ./working/fastcgi.conf |
|---|
| 23 | 15 | cp ./httpd.conf $(SYSTEM_CONF)/apache |
|---|
| 24 | 16 | cp ./master.conf $(SYSTEM_CONF)/apache |
|---|
| r409 |
r433 |
|
| 1 | | RELEASE=`cat /etc/debian_version | awk '{print $1}'` |
|---|
| 2 | | |
|---|
| 3 | 1 | export |
|---|
| 4 | 2 | |
|---|
| … | … | |
| 7 | 5 | $(SYSTEM_MAKE_DIRS) $(SYSTEM_CONF)/proftpd |
|---|
| 8 | 6 | cp -R ./backup $(SYSTEM_CONF)/proftpd |
|---|
| 9 | | |
|---|
| 10 | | # Debian 4.0 "Etch"? |
|---|
| 11 | | if [[ $(RELEASE) == '4.0' ]] ; then \ |
|---|
| 12 | | if [[ -e /etc/proftpd.conf ]] ; then \ |
|---|
| 13 | | mv /etc/proftpd.conf /etc/proftpd.conf.bak ; \ |
|---|
| 14 | | fi ; \ |
|---|
| 15 | | $(SYSTEM_MAKE_DIRS) $(ROOT_CONF)/proftpd ; \ |
|---|
| 16 | | cp ./proftpd3.conf $(SYSTEM_CONF)/proftpd/proftpd.conf ; \ |
|---|
| 17 | | cp ./proftpd3.conf $(ROOT_CONF)/proftpd/proftpd.conf ; \ |
|---|
| 18 | | else \ |
|---|
| 19 | | cp ./proftpd.conf $(ROOT_CONF) ; \ |
|---|
| 20 | | cp ./proftpd.conf $(SYSTEM_CONF)/proftpd ; \ |
|---|
| 21 | | fi \ |
|---|
| 22 | | |
|---|
| | 7 | cp ./proftpd.conf $(ROOT_CONF) ; \ |
|---|
| | 8 | cp ./proftpd.conf $(SYSTEM_CONF)/proftpd ; \ |
|---|
| 23 | 9 | |
|---|
| 24 | 10 | uninstall: |
|---|
| r432 |
r433 |
|
| 84 | 84 | # |
|---|
| 85 | 85 | |
|---|
| 86 | | BIND_CONF_FILE = /etc/bind/named.conf |
|---|
| 87 | | |
|---|
| 88 | | BIND_DB_DIR = /var/cache/bind |
|---|
| | 86 | BIND_CONF_FILE = /etc/named.conf |
|---|
| | 87 | |
|---|
| | 88 | BIND_DB_DIR = /var/named |
|---|
| 89 | 89 | |
|---|
| 90 | 90 | SECONDARY_DNS = |
|---|
| … | … | |
| 108 | 108 | # |
|---|
| 109 | 109 | |
|---|
| 110 | | APACHE_CMD = /usr/sbin/apache2 |
|---|
| 111 | | |
|---|
| 112 | | APACHE_NAME = apache2 |
|---|
| | 110 | APACHE_CMD = /usr/sbin/httpd |
|---|
| | 111 | |
|---|
| | 112 | APACHE_NAME = apache |
|---|
| 113 | 113 | |
|---|
| 114 | 114 | APACHE_RESTART_TRY = 3 |
|---|
| … | … | |
| 116 | 116 | APACHE_WWW_DIR = /var/www/virtual |
|---|
| 117 | 117 | |
|---|
| 118 | | APACHE_LOG_DIR = /var/log/apache2 |
|---|
| 119 | | |
|---|
| 120 | | APACHE_USERS_LOG_DIR = /var/log/apache2/users |
|---|
| 121 | | |
|---|
| 122 | | APACHE_BACKUP_LOG_DIR = /var/log/apache2/backup |
|---|
| 123 | | |
|---|
| 124 | | APACHE_SITES_DIR = /etc/apache2/sites-available |
|---|
| 125 | | |
|---|
| 126 | | APACHE_CONF_DIR = /etc/apache2 |
|---|
| | 118 | APACHE_LOG_DIR = /var/log/httpd |
|---|
| | 119 | |
|---|
| | 120 | APACHE_USERS_LOG_DIR = /var/log/httpd/users |
|---|
| | 121 | |
|---|
| | 122 | APACHE_BACKUP_LOG_DIR = /var/log/httpd/backup |
|---|
| | 123 | |
|---|
| | 124 | APACHE_SITES_DIR = /etc/httpd/conf.d/sites-available |
|---|
| | 125 | |
|---|
| | 126 | APACHE_CONF_DIR = /etc/httpd/conf.d |
|---|
| 127 | 127 | |
|---|
| 128 | 128 | GUI_ROOT_DIR = /var/www/vhcs2/gui |
|---|
| … | … | |
| 144 | 144 | # |
|---|
| 145 | 145 | |
|---|
| 146 | | APACHE_USER = www-data |
|---|
| 147 | | |
|---|
| 148 | | APACHE_GROUP = www-data |
|---|
| | 146 | APACHE_USER = apache |
|---|
| | 147 | |
|---|
| | 148 | APACHE_GROUP = apache |
|---|
| 149 | 149 | |
|---|
| 150 | 150 | # |
|---|
| … | … | |
| 160 | 160 | MTA_VIRTUAL_MAIL_DIR = /var/mail/virtual |
|---|
| 161 | 161 | |
|---|
| 162 | | MTA_LOCAL_ALIAS_HASH = /etc/aliases |
|---|
| | 162 | MTA_LOCAL_ALIAS_HASH = /etc/postfix/aliases |
|---|
| 163 | 163 | |
|---|
| 164 | 164 | MTA_VIRTUAL_CONF_DIR = /etc/postfix/vhcs2 |
|---|
| … | … | |
| 186 | 186 | MTA_SASLDB_LOCAL_DOMAIN = vhcs.net |
|---|
| 187 | 187 | |
|---|
| 188 | | MTA_SASLDB_FILE = /var/spool/postfix/etc/sasldb2 |
|---|
| | 188 | MTA_SASLDB_FILE = /etc/sasldb2 |
|---|
| 189 | 189 | |
|---|
| 190 | 190 | ETC_SASLDB_FILE = /etc/sasldb2 |
|---|
| … | … | |
| 206 | 206 | # |
|---|
| 207 | 207 | |
|---|
| 208 | | COURIER_CONF_DIR = /etc/courier |
|---|
| 209 | | |
|---|
| 210 | | AUTHLIB_CONF_DIR = /etc/courier |
|---|
| | 208 | COURIER_CONF_DIR = /etc/authlib |
|---|
| | 209 | |
|---|
| | 210 | AUTHLIB_CONF_DIR = /etc/authlib |
|---|
| 211 | 211 | |
|---|
| 212 | 212 | CMD_MAKEUSERDB = /usr/sbin/makeuserdb |
|---|
| … | … | |
| 240 | 240 | # |
|---|
| 241 | 241 | |
|---|
| 242 | | CMD_NAMED = /etc/init.d/bind9 |
|---|
| | 242 | CMD_NAMED = /etc/init.d/named |
|---|
| 243 | 243 | |
|---|
| 244 | 244 | CMD_MTA = /etc/init.d/postfix |
|---|
| 245 | 245 | |
|---|
| 246 | | CMD_HTTPD = /usr/sbin/apache2ctl |
|---|
| 247 | | |
|---|
| 248 | | CMD_AUTHD = /etc/init.d/courier-authdaemon |
|---|
| | 246 | CMD_HTTPD = /usr/sbin/apachectl |
|---|
| | 247 | |
|---|
| | 248 | CMD_AUTHD = /etc/init.d/courier-authlib |
|---|
| 249 | 249 | |
|---|
| 250 | 250 | CMD_IMAP = /etc/init.d/courier-imap |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>