diff options
Diffstat (limited to 'net-www/orion/files/1.5.2b/1.5.2b-gentoo.patch')
-rw-r--r-- | net-www/orion/files/1.5.2b/1.5.2b-gentoo.patch | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/net-www/orion/files/1.5.2b/1.5.2b-gentoo.patch b/net-www/orion/files/1.5.2b/1.5.2b-gentoo.patch new file mode 100644 index 000000000000..4f8f715748ac --- /dev/null +++ b/net-www/orion/files/1.5.2b/1.5.2b-gentoo.patch @@ -0,0 +1,126 @@ +diff -u -r config/application.xml.orig config/application.xml +--- config/application.xml.orig 2002-11-28 11:14:48.000000000 -0500 ++++ config/application.xml 2002-11-28 18:36:20.000000000 -0500 +@@ -4,16 +4,16 @@ + <!-- The global application config that is the parent of all the other + applications in this server. --> + <orion-application> +- <web-module id="defaultWebApp" path="../default-web-app" /> ++ <web-module id="defaultWebApp" path="/opt/orion/default-web-app" /> + +- <persistence path="../persistence" /> ++ <persistence path="/opt/orion/persistence" /> + + <!-- Path to the libraries that are installed on this server. + These will accesible for the servlets, EJBs etc --> +- <library path="../lib" />
<principals path="./principals.xml" /> ++ <library path="/opt/orion/lib" />
<principals path="/opt/orion/config/principals.xml" /> + + <log> +- <file path="../log/global-application.log" /> ++ <file path="/var/log/orion/global-application.log" /> + </log> + + <data-sources path="data-sources.xml" /> +diff -u -r config/data-sources.xml.orig config/data-sources.xml +--- config/data-sources.xml.orig 2002-11-28 11:14:48.000000000 -0500 ++++ config/data-sources.xml 2002-11-28 18:36:36.000000000 -0500 +@@ -19,7 +19,7 @@ + connection-driver="org.hsql.jdbcDriver" + username="sa" + password="" +- url="jdbc:HypersonicSQL:./database/defaultdb" ++ url="jdbc:HypersonicSQL:/opt/orion/database/defaultdb" + inactivity-timeout="30" + /> + </data-sources> +diff -u -r config/default-web-site.xml.orig config/default-web-site.xml +--- config/default-web-site.xml.orig 2002-11-28 18:41:30.000000000 -0500 ++++ config/default-web-site.xml 2002-11-28 18:37:20.000000000 -0500 +@@ -1,12 +1,12 @@ + <?xml version="1.0"?> + <!DOCTYPE web-site PUBLIC "Orion Web-site" "http://www.orionserver.com/dtds/web-site.dtd"> + +-<web-site host="[ALL]" port="80" display-name="Default Orion WebSite"> ++<web-site host="[ALL]" port="8080" display-name="Default Orion WebSite"> + <!-- The default web-app for this site, bound to the root --> + <default-web-app application="default" name="defaultWebApp" /> + + <!-- Uncomment this to activate the news app --> + <!-- <web-app application="news" name="news-web" root="/news" /> --> +
<!-- Access Log, where requests are logged to --> +- <access-log path="../log/default-web-access.log" /> ++ <access-log path="/var/log/orion/default-web-access.log" /> + </web-site> +diff -u -r config/global-web-application.xml.orig config/global-web-application.xml +--- config/global-web-application.xml.orig 2002-11-28 11:14:48.000000000 -0500 ++++ config/global-web-application.xml 2002-11-28 18:38:20.000000000 -0500 +@@ -5,13 +5,13 @@ + want to debug JSP sources etc --> + + <orion-web-app +- jsp-cache-directory="./persistence" ++ jsp-cache-directory="/opt/orion/persistence" + servlet-webdir="/servlet" +- development="false"
persistence-path="./persistence/state.ser" ++ development="false"
persistence-path="/opt/orion/persistence/state.ser" + > + + <!-- The mime-mappings for this server --> +- <mime-mappings path="./mime.types" /> ++ <mime-mappings path="/opt/orion/config/mime.types" /> + <servlet-chaining servlet-name="xsl" mime-type="text/xml" /> + + <web-app> +diff -u -r config/jms.xml.orig config/jms.xml +--- config/jms.xml.orig 2002-11-28 11:14:48.000000000 -0500 ++++ config/jms.xml 2002-11-28 18:38:35.000000000 -0500 +@@ -16,6 +16,6 @@ + + <!-- path to the log-file where JMS-events/errors are stored --> + <log> +- <file path="../log/jms.log" /> ++ <file path="/var/log/orion/jms.log" /> + </log> + </jms-server> +diff -u -r config/rmi.xml.orig config/rmi.xml +--- config/rmi.xml.orig 2002-11-28 11:14:48.000000000 -0500 ++++ config/rmi.xml 2002-11-28 18:38:58.000000000 -0500 +@@ -7,6 +7,6 @@ + + <!-- path to the log-file where RMI-events/errors are stored --> + <log> +- <file path="../log/rmi.log" /> ++ <file path="/var/log/orion/rmi.log" /> + </log> + </rmi-server> +diff -u -r config/server.xml.orig config/server.xml +--- config/server.xml.orig 2002-11-28 11:14:48.000000000 -0500 ++++ config/server.xml 2002-11-28 18:40:46.000000000 -0500 +@@ -2,20 +2,20 @@ + <!DOCTYPE application-server PUBLIC "Orion Application Server Config" "http://www.orionserver.com/dtds/application-server.dtd"> + + <application-server +- application-directory="../applications" +- deployment-directory="../application-deployments" ++ application-directory="/opt/orion/applications" ++ deployment-directory="/opt/orion/application-deployments" + > +- <rmi-config path="./rmi.xml" /> ++ <rmi-config path="/opt/orion/config/rmi.xml" /> + <!-- JMS-server config link, uncomment to activate the JMS service --> +- <!-- <jms-config path="./jms.xml" /> --> ++ <!-- <jms-config path="/opt/orion/config/jms.xml" /> --> + <log> +- <file path="../log/server.log" /> ++ <file path="/var/log/orion/server.log" /> + </log> + + <global-application name="default" path="application.xml" /> + + <global-web-app-config path="global-web-application.xml" /> +- <web-site path="./default-web-site.xml" /> ++ <web-site path="/opt/orion/config/default-web-site.xml" /> + + <!-- Compiler, activate this to specify an alternative compiler such + as jikes for EJB/JSP compiling. --> |