diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-12 18:04:55 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-12 18:04:55 +0000 |
commit | 5c1e5a26c987ebbd77b433dce2d0cc224a79f232 (patch) | |
tree | aa81b0cc64dd10472a7d22ee841f5ff5c6173d91 /www/slash | |
parent | Remove patches i forgot in last commit (diff) |
fix patch problem
PR: 38877
Reportted by: David Marshall <marshall@chezmarshall.com>
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=61166
Diffstat (limited to 'www/slash')
-rw-r--r-- | www/slash/files/patch-aa | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/www/slash/files/patch-aa b/www/slash/files/patch-aa deleted file mode 100644 index 975db92663ed..000000000000 --- a/www/slash/files/patch-aa +++ /dev/null @@ -1,30 +0,0 @@ ---- bin/install-slashsite.old Mon Mar 18 18:35:35 2002 -+++ bin/install-slashsite Mon Mar 18 18:42:08 2002 -@@ -89,7 +89,7 @@ - - # THIS IS DANGEROUS ... when run as root on a non-GNU - # system, it can blank out the hostname entirely --chomp($hostname_f = `hostname -f`); -+chomp($hostname_f = `hostname -f 2> /dev/null` || `hostname 2> /dev/null`); - unless ($opts{'H'}) { - print " - What is hostname of your Slash site -@@ -431,6 +431,7 @@ - sub apache_site_conf { - my $host_port = $hostname; - $host_port .= ":80" unless $host_port =~ /:/; -+ my $log_path = (-d '/usr/local/logs' ? "logs" : "/var/log"); - my $text = qq| - # note that if your site's path is a symlink, the - # path listed here is most likely the actual path; -@@ -446,8 +447,8 @@ - ServerAdmin $email - DocumentRoot $prefix_site/$sitename/htdocs - ServerName $host_noport -- ErrorLog logs/${sitename}_error_log -- CustomLog logs/${sitename}_access_log common -+ ErrorLog $log_path/${sitename}_error_log -+ CustomLog $log_path/${sitename}_access_log common - - PerlSetupEnv On - PerlSetEnv TZ GMT |