aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-08-12 16:52:34 +0800
committerznerd <znerd@FreeBSD.org>2002-08-12 16:52:34 +0800
commitdb74d8f494ce870aaab09092676303c3859c65ae (patch)
treefe502c0bc07867ae5b9a9225641317f4f2a09160 /www
parenta12aeb1be5d200de07332198d4331418dbc6d5b4 (diff)
downloadfreebsd-ports-gnome-db74d8f494ce870aaab09092676303c3859c65ae.tar.gz
freebsd-ports-gnome-db74d8f494ce870aaab09092676303c3859c65ae.tar.zst
freebsd-ports-gnome-db74d8f494ce870aaab09092676303c3859c65ae.zip
Allow overriding of startup properties using a properties file.
PR: 41538 Submitted by: Goran Lowkrantz <goran.lowkrantz@ismobile.com> See also: http://kb.atlassian.com/content/atlassian/howto/orionproperties.jsp
Diffstat (limited to 'www')
-rw-r--r--www/orion-devel/Makefile3
-rw-r--r--www/orion-devel/files/orion.properties2
-rw-r--r--www/orion-devel/pkg-plist1
-rw-r--r--www/orion/Makefile3
-rw-r--r--www/orion/files/orion.properties2
-rw-r--r--www/orion/pkg-plist1
6 files changed, 10 insertions, 2 deletions
diff --git a/www/orion-devel/Makefile b/www/orion-devel/Makefile
index 6e0f5a6838a4..c66b2bd1c815 100644
--- a/www/orion-devel/Makefile
+++ b/www/orion-devel/Makefile
@@ -113,6 +113,7 @@ do-install:
@${ECHO_CMD} -n ">> Copying files to destination directory..."
@${CP} -R ${WRKSRC}/* ${APP_HOME}
+ @${CP} ${PATCHDIR}/orion.properties ${APP_HOME}
@${CP} ${WRKDIR}/default-web-site.xml ${WRKDIR}/rmi.xml ${APP_HOME}/config
@${ECHO_CMD} " [ DONE ]"
@@ -126,7 +127,7 @@ do-install:
@${ECHO_CMD} -n ">> Compiling and installing control program..."
@${SED} \
-e "/%%JAVA_ARGS%%/s///g" \
- -e "/%%JAR_ARGS%%/s///g" \
+ -e "/%%JAR_ARGS%%/s//\"-p\",/g" \
${WRKDIR}/daemonctl.c > ${WRKDIR}/daemonctl_.c
@cd ${WRKDIR} && ${CC} -ansi -o ${CONTROL_SCRIPT_NAME} daemonctl_.c
@${CP} ${WRKDIR}/${CONTROL_SCRIPT_NAME} ${CONTROL_SCRIPT}
diff --git a/www/orion-devel/files/orion.properties b/www/orion-devel/files/orion.properties
new file mode 100644
index 000000000000..130fd10eda41
--- /dev/null
+++ b/www/orion-devel/files/orion.properties
@@ -0,0 +1,2 @@
+# Properties read by Orion on startup
+#
diff --git a/www/orion-devel/pkg-plist b/www/orion-devel/pkg-plist
index 67b0c7ddb733..b0397f455df6 100644
--- a/www/orion-devel/pkg-plist
+++ b/www/orion-devel/pkg-plist
@@ -317,6 +317,7 @@ bin/orionctl
%%T%%/taglibassembler.jar
%%T%%/parser.jar
%%T%%/orionconsole.jar
+%%T%%/orion.properties
%%T%%/orion.jar
%%T%%/tools.jar
%%T%%/mail.jar
diff --git a/www/orion/Makefile b/www/orion/Makefile
index 6e0f5a6838a4..c66b2bd1c815 100644
--- a/www/orion/Makefile
+++ b/www/orion/Makefile
@@ -113,6 +113,7 @@ do-install:
@${ECHO_CMD} -n ">> Copying files to destination directory..."
@${CP} -R ${WRKSRC}/* ${APP_HOME}
+ @${CP} ${PATCHDIR}/orion.properties ${APP_HOME}
@${CP} ${WRKDIR}/default-web-site.xml ${WRKDIR}/rmi.xml ${APP_HOME}/config
@${ECHO_CMD} " [ DONE ]"
@@ -126,7 +127,7 @@ do-install:
@${ECHO_CMD} -n ">> Compiling and installing control program..."
@${SED} \
-e "/%%JAVA_ARGS%%/s///g" \
- -e "/%%JAR_ARGS%%/s///g" \
+ -e "/%%JAR_ARGS%%/s//\"-p\",/g" \
${WRKDIR}/daemonctl.c > ${WRKDIR}/daemonctl_.c
@cd ${WRKDIR} && ${CC} -ansi -o ${CONTROL_SCRIPT_NAME} daemonctl_.c
@${CP} ${WRKDIR}/${CONTROL_SCRIPT_NAME} ${CONTROL_SCRIPT}
diff --git a/www/orion/files/orion.properties b/www/orion/files/orion.properties
new file mode 100644
index 000000000000..130fd10eda41
--- /dev/null
+++ b/www/orion/files/orion.properties
@@ -0,0 +1,2 @@
+# Properties read by Orion on startup
+#
diff --git a/www/orion/pkg-plist b/www/orion/pkg-plist
index 67b0c7ddb733..b0397f455df6 100644
--- a/www/orion/pkg-plist
+++ b/www/orion/pkg-plist
@@ -317,6 +317,7 @@ bin/orionctl
%%T%%/taglibassembler.jar
%%T%%/parser.jar
%%T%%/orionconsole.jar
+%%T%%/orion.properties
%%T%%/orion.jar
%%T%%/tools.jar
%%T%%/mail.jar