[csw-devel] SF.net SVN: gar:[11612] csw/mgar/pkg/apache2/trunk/files/build_cas_template
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Mon Nov 15 00:58:34 CET 2010
Revision: 11612
http://gar.svn.sourceforge.net/gar/?rev=11612&view=rev
Author: bdwalton
Date: 2010-11-14 23:58:34 +0000 (Sun, 14 Nov 2010)
Log Message:
-----------
apache2: modify the build CAS perl substitutions
Modified Paths:
--------------
csw/mgar/pkg/apache2/trunk/files/build_cas_template
Modified: csw/mgar/pkg/apache2/trunk/files/build_cas_template
===================================================================
--- csw/mgar/pkg/apache2/trunk/files/build_cas_template 2010-11-14 22:54:13 UTC (rev 11611)
+++ csw/mgar/pkg/apache2/trunk/files/build_cas_template 2010-11-14 23:58:34 UTC (rev 11612)
@@ -12,10 +12,9 @@
if [ "\$1" = install ]; then
if [ ! -f "\$CONF_FILE" ]; then
cp -p \$CONF_FILE.CSW \$CONF_FILE
- host=\`hostname\`
perl -pi \
- -e "s/#*ServerName www.example.com(80|443)/ServerName \$host:\\\$1/;" \
- -e "s/#*ServerAdmin you\@example.com/ServerAdmin root@\$host/;" \
+ -e "s/#*ServerName.*www.example.com/ServerName \`hostname\`/;" \
+ -e "s/#*ServerAdmin you\@example.com/ServerAdmin root@\`hostname\`/;" \
-e "s/^User.*daemon/User nobody/;" \
-e "s/^Group.*daemon/Group nobody/;" \
-e "s/^(LoadModule.*suexec.*)/#\$1/;" \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list