head	1.2;
access;
symbols
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2011.11.01.07.35.46;	author miwi;	state dead;
branches;
next	1.1;

1.1
date	2003.10.19.08.33.39;	author demon;	state Exp;
branches;
next	;


desc
@@


1.2
log
@2011-11-01 games/phpua-ut2003: depends on phpua-engine
2011-11-01 games/phpua-engine: apache13 is deprecated, migrate to 2.2.x+ now
2011-11-01 games/phpua-hl: depends on phpua-engine
2011-11-01 games/phpua-ut: depends on phpua-engine
2011-11-01 games/phpua-cod: depends on phpua-engine
2011-11-01 games/uox3: No more public distfiles
2011-11-01 games/phpua-q3: depends on phpua-engine
2011-11-01 games/phpua-bf: depends on phpua-engine
2011-10-30 graphics/kallery: does not build; last release 20010511
2011-10-28 graphics/gtksee: depends on unfetchable port archivers/bzip; last release 2004
2011-11-01 mail/mailscanner-mrtg: apache13 is deprecated, migrate to 2.2.x+ now
2011-10-31 net-p2p/qbittorrent-28-nox11: Please migrate to net-p2p/qbittorrent-29
2011-10-31 net-p2p/qbittorrent-28: Please migrate to net-p2p/qbittorrent-29
2011-10-31 net-p2p/dctc-gui-qt No more public distfiles
2011-10-31 net-p2p/dctc-gui No more public distfiles
2011-09-01 net-p2p/dctc: No more public distfiles
2011-11-01 www/slash: apache13 is deprecated, migrate to 2.2.x+ now
2011-11-01 databases/maatkit: Upstream support dropped. Please consider using databases/percona-toolkit
2011-11-01 databases/mysqlman: apache13 is deprecated, migrate to 2.2.x+ now
2011-11-01 databases/mysql-editor: apache13 is deprecated, migrate to 2.2.x+ now
2011-09-30 databases/gnats: Security issues
@
text
@--- bin/install-slashsite.orig	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
@


1.1
log
@Revive www/slash port.
Slash -- Slashdot Like Automated Storytelling Homepage -- is the code
that runs Slashdot.

PR:		57199
Submitted by:	Autrijus Tang <autrijus@@autrijus.org>
@
text
@@

