Changeset 370
- Timestamp:
- 02/18/07 01:04:18
(2 years ago)
- Author:
- Shaft
- Message:
Modified Gentoo config and install files under configs/dists/gentoo
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r368 |
r370 |
|
| 48 | 48 | cd ./dists/fedora && $(MAKE) uninstall ; \ |
|---|
| 49 | 49 | elif [[ $(HOST_OS) == gentoo ]] ; then \ |
|---|
| 50 | | cd ./dists/fedora && $(MAKE) uninstall ; \ |
|---|
| | 50 | cd ./dists/gentoo && $(MAKE) uninstall ; \ |
|---|
| 51 | 51 | elif [[ $(HOST_OS) == sles9 ]] ; then \ |
|---|
| 52 | 52 | cd ./dists/sles9 && $(MAKE) uninstall ; \ |
|---|
| r327 |
r370 |
|
| 4 | 4 | install: |
|---|
| 5 | 5 | |
|---|
| 6 | | if [[ $(HOST_OS) == debian ]] ; then \ |
|---|
| | 6 | if [[ $(HOST_OS) == gentoo ]] ; then \ |
|---|
| 7 | 7 | cp ./vhcs2.conf $(SYSTEM_CONF) ; \ |
|---|
| 8 | 8 | cd ./apache && $(MAKE) install ; cd .. ; \ |
|---|
| … | … | |
| 17 | 17 | cd ./proftpd && $(MAKE) install ; cd .. ; \ |
|---|
| 18 | 18 | cd ./logrotate && $(MAKE) install ; cd .. ; \ |
|---|
| 19 | | elif [[ $(HOST_OS) == suse100 ]] ; then \ |
|---|
| 20 | | cd ./dists/suse100 && $(MAKE) install ; \ |
|---|
| 21 | | elif [[ $(HOST_OS) == suse93 ]] ; then \ |
|---|
| 22 | | cd ./dists/suse93 && $(MAKE) install ; \ |
|---|
| 23 | | elif [[ $(HOST_OS) == fedora ]] ; then \ |
|---|
| 24 | | cd ./dists/fedora && $(MAKE) install ; \ |
|---|
| 25 | | elif [[ $(HOST_OS) == sles9 ]] ; then \ |
|---|
| 26 | | cd ./dists/sles9 && $(MAKE) install ; \ |
|---|
| 27 | 19 | fi |
|---|
| 28 | 20 | |
|---|
| 29 | 21 | uninstall: |
|---|
| 30 | 22 | |
|---|
| 31 | | if [[ $(HOST_OS) == debian ]] ; then \ |
|---|
| | 23 | if [[ $(HOST_OS) == gentoo ]] ; then \ |
|---|
| 32 | 24 | rm -rf $(SYSTEM_CONF)/vhcs2.conf ; \ |
|---|
| 33 | 25 | cd ./apache && $(MAKE) uninstall ; cd .. ; \ |
|---|
| … | … | |
| 41 | 33 | cd ./proftpd && $(MAKE) uninstall ; cd .. ; \ |
|---|
| 42 | 34 | cd ./logrotate && $(MAKE) uninstall ; cd .. ; \ |
|---|
| 43 | | elif [[ $(HOST_OS) == suse ]] ; then \ |
|---|
| 44 | | cd ./dists/suse && $(MAKE) uninstall ; \ |
|---|
| 45 | | elif [[ $(HOST_OS) == fedora ]] ; then \ |
|---|
| 46 | | cd ./dists/fedora && $(MAKE) uninstall ; \ |
|---|
| 47 | | elif [[ $(HOST_OS) == sles9 ]] ; then \ |
|---|
| 48 | | cd ./dists/sles9 && $(MAKE) uninstall ; \ |
|---|
| 49 | 35 | fi |
|---|
| 50 | 36 | |
|---|
| r327 |
r370 |
|
| 18 | 18 | cp -R ./working $(SYSTEM_CONF)/apache |
|---|
| 19 | 19 | |
|---|
| 20 | | cp -R ./httpd.conf $(ROOT_APACHE_CONF)/sites-available/vhcs2.conf |
|---|
| 21 | | cp -R ./fastcgi.conf ${ROOT_APACHE_CONF}/mods-available/fastcgi.conf |
|---|
| | 20 | cp -R ./httpd.conf $(ROOT_APACHE_CONF)/vhost.d/vhcs2.conf |
|---|
| | 21 | cp -R ./fastcgi.conf $(ROOT_APACHE_CONF)/modules.d/21-mod-fastcgi.conf |
|---|
| 22 | 22 | |
|---|
| 23 | 23 | uninstall: |
|---|
| r341 |
r370 |
|
| 25 | 25 | # - Finish PHP5 Support |
|---|
| 26 | 26 | # - Finish config Fastcgi |
|---|
| 27 | | |
|---|
| | 27 | <IfDefine FCGID> |
|---|
| 28 | 28 | <IfModule mod_fastcgi.c> |
|---|
| 29 | 29 | FastCgiWrapper On |
|---|
| … | … | |
| 35 | 35 | #-pass-header HTTP_AUTHORIZATION |
|---|
| 36 | 36 | |
|---|
| 37 | | FastCgiServer /var/www/fcgi/master/php4-fcgi-starter -user vu2000 -group vu2000 |
|---|
| | 37 | FastCgiServer {PHP_STARTER_DIR}/master/php4-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} |
|---|
| 38 | 38 | |
|---|
| 39 | 39 | # |
|---|
| … | … | |
| 63 | 63 | |
|---|
| 64 | 64 | #Action php5-fastcgi /php5/php5-fcgi-starter |
|---|
| | 65 | # |
|---|
| | 66 | </IfModule> |
|---|
| | 67 | </IfDefine> |
|---|
| r327 |
r370 |
|
| 1 | 1 | |
|---|
| 2 | | ROOT_COURIER_CONF=$(ROOT_CONF)/courier |
|---|
| | 2 | ROOT_COURIER_CONF=$(ROOT_CONF)/courier/authlib |
|---|
| | 3 | ROOT_COURIER_IMAP_CONF=$(ROOT_CONF)/courier-imap |
|---|
| 3 | 4 | |
|---|
| 4 | 5 | export |
|---|
| … | … | |
| 8 | 9 | $(SYSTEM_MAKE_DIRS) $(SYSTEM_CONF)/courier |
|---|
| 9 | 10 | $(SYSTEM_MAKE_DIRS) $(ROOT_COURIER_CONF) |
|---|
| | 11 | $(SYSTEM_MAKE_DIRS) $(ROOT_COURIER_IMAP_CONF) |
|---|
| 10 | 12 | # |
|---|
| 11 | 13 | # MTA Configuration Files; |
|---|
| … | … | |
| 26 | 28 | cp ./authdaemonrc $(ROOT_COURIER_CONF) |
|---|
| 27 | 29 | cp ./authmodulelist $(ROOT_COURIER_CONF) |
|---|
| 28 | | cp ./imapd $(ROOT_COURIER_CONF) |
|---|
| 29 | | cp ./pop3d $(ROOT_COURIER_CONF) |
|---|
| 30 | | cp ./userdb $(ROOT_COURIER_CONF) |
|---|
| | 30 | cp ./imapd $(ROOT_COURIER_IMAP_CONF) |
|---|
| | 31 | cp ./pop3d $(ROOT_COURIER_IMAP_CONF) |
|---|
| | 32 | cp ./userdb $(ROOT_COURIER_IMAP_CONF) |
|---|
| 31 | 33 | |
|---|
| 32 | 34 | uninstall: |
|---|
| r327 |
r370 |
|
| 6 | 6 | cp -R ./backup $(SYSTEM_CONF)/proftpd |
|---|
| 7 | 7 | cp ./proftpd.conf $(SYSTEM_CONF)/proftpd |
|---|
| 8 | | cp ./proftpd.conf $(ROOT_CONF) |
|---|
| | 8 | cp ./proftpd.conf $(ROOT_CONF)/proftpd |
|---|
| 9 | 9 | |
|---|
| 10 | 10 | uninstall: |
|---|
| r367 |
r370 |
|
| 74 | 74 | # |
|---|
| 75 | 75 | |
|---|
| 76 | | PHP4_FASTCGI_BIN = /usr/bin/php4-cgi |
|---|
| 77 | | |
|---|
| 78 | | PHP5_FASTCGI_BIN = /usr/bin/php5-cgi |
|---|
| | 76 | PHP4_FASTCGI_BIN = /usr/lib/php4/bin/php-cgi |
|---|
| | 77 | |
|---|
| | 78 | PHP5_FASTCGI_BIN = /usr/lib/php5/bin/php-cgi |
|---|
| 79 | 79 | |
|---|
| 80 | 80 | # |
|---|
| … | … | |
| 92 | 92 | # |
|---|
| 93 | 93 | # Either no or path to the awstats configs dir (mostly: /etc/awstats) |
|---|
| 94 | | AWSTATS_DIR = no |
|---|
| | 94 | AWSTATS_DIR = no #/etc/awstats |
|---|
| 95 | 95 | |
|---|
| 96 | 96 | AWSTATS_WEB_DIR = /var/www/awstats |
|---|
| … | … | |
| 251 | 251 | |
|---|
| 252 | 252 | # Either no or path to the amavis-daemon (mostly: /etc/init.d/amavis) |
|---|
| 253 | | CMD_AMAVIS = no |
|---|
| | 253 | CMD_AMAVIS = no #/etc/init.d/amavisd |
|---|
| 254 | 254 | |
|---|
| 255 | 255 | CMD_FTPD = /etc/init.d/proftpd |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>