Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
ba16b25a
Commit
ba16b25a
authored
Jun 15, 2015
by
Dave Cridland
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #222 from akrherz/of913
OF-913 Treat lib/log4j.xml as a config file in installers
parents
9e72fbef
72d69f01
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
1 deletion
+19
-1
openfire.install4j
build/installer/openfire.install4j
+3
-0
postupgrade
build/osx/resources/postupgrade
+4
-0
preupgrade
build/osx/resources/preupgrade
+3
-0
openfire.spec
build/rpm/openfire.spec
+1
-1
postinstall
build/solaris/postinstall
+5
-0
preremove
build/solaris/preremove
+3
-0
No files found.
build/installer/openfire.install4j
View file @
ba16b25a
...
...
@@ -44,6 +44,7 @@
<mountPoint
id=
"33"
root=
""
location=
"resources"
mode=
"755"
/>
<mountPoint
id=
"34"
root=
""
location=
"resources/security"
mode=
"755"
/>
<mountPoint
id=
"46"
root=
""
location=
"conf"
mode=
"755"
/>
<mountPoint
id=
"47"
root=
""
location=
"lib"
mode=
"755"
/>
<mountPoint
id=
"1"
root=
""
location=
""
mode=
"755"
/>
</mountPoints>
<entries>
...
...
@@ -52,10 +53,12 @@
<fileEntry
mountPoint=
"46"
file=
"${compiler:RELEASE_FULL_PATH}/conf/openfire.xml"
overwrite=
"0"
shared=
"false"
mode=
"644"
uninstallMode=
"1"
/>
<fileEntry
mountPoint=
"46"
file=
"${compiler:RELEASE_FULL_PATH}/conf/modules.xml"
overwrite=
"0"
shared=
"false"
mode=
"644"
uninstallMode=
"1"
/>
<fileEntry
mountPoint=
"46"
file=
"${compiler:RELEASE_FULL_PATH}/conf/security.xml"
overwrite=
"0"
shared=
"false"
mode=
"644"
uninstallMode=
"1"
/>
<fileEntry
mountPoint=
"47"
file=
"${compiler:RELEASE_FULL_PATH}/lib/log4j.xml"
overwrite=
"0"
shared=
"false"
mode=
"644"
uninstallMode=
"1"
/>
<dirEntry
mountPoint=
"1"
file=
"${compiler:RELEASE_FULL_PATH}"
overwrite=
"4"
shared=
"false"
mode=
"644"
uninstallMode=
"0"
excludeSuffixes=
""
dirMode=
"755"
>
<exclude>
<entry
location=
"conf/openfire.xml"
launcher=
"false"
/>
<entry
location=
"conf/security.xml"
launcher=
"false"
/>
<entry
location=
"lib/log4j.xml"
launcher=
"false"
/>
<entry
location=
"resources/security/keystore"
launcher=
"false"
/>
<entry
location=
"resources/security/truststore"
launcher=
"false"
/>
</exclude>
...
...
build/osx/resources/postupgrade
View file @
ba16b25a
...
...
@@ -19,6 +19,10 @@ if [ -f /tmp/openfireInstallBackup/client.truststore ]; then
/bin/mv /tmp/openfireInstallBackup/client.truststore /usr/local/openfire/resources/security/client.truststore
fi
if
[
-f
/tmp/openfireInstallBackup/log4j.xml
]
;
then
/bin/mv /tmp/openfireInstallBackup/log4j.xml /usr/local/openfire/lib/log4j.xml
fi
OPENFIRE_HOME
=
/usr/local/openfire/
OPENFIRE_GID
=
`
cat
/private/tmp/openfiregid
`
rm
/private/tmp/openfiregid
...
...
build/osx/resources/preupgrade
View file @
ba16b25a
...
...
@@ -27,5 +27,8 @@ if [ -d /usr/local/openfire ]; then
if
[
-f
/usr/local/openfire/resources/security/client.truststore
]
;
then
/bin/cp /usr/local/openfire/resources/security/client.truststore /tmp/openfireInstallBackup/client.truststore
fi
if
[
-f
/usr/local/openfire/lib/log4j.xml
]
;
then
/bin/cp /usr/local/openfire/lib/log4j.xml /tmp/openfireInstallBackup/log4j.xml
fi
fi
build/rpm/openfire.spec
View file @
ba16b25a
...
...
@@ -118,7 +118,7 @@ exit 0
%config(noreplace) %{homedir}/conf/crowd.properties
%dir %{homedir}/lib
%{homedir}/lib/*.jar
%{homedir}/lib/log4j.xml
%
config(noreplace) %
{homedir}/lib/log4j.xml
%dir %{homedir}/logs
%dir %{homedir}/plugins
%{homedir}/plugins/search.jar
...
...
build/solaris/postinstall
View file @
ba16b25a
...
...
@@ -25,6 +25,11 @@ if [ -f /tmp/openfireInstallBackup/client.truststore ]; then
/bin/chown daemon:daemon /opt/openfire/resources/security/client.truststore
fi
if
[
-f
/tmp/openfireInstallBackup/log4j.xml
]
;
then
/bin/mv /tmp/openfireInstallBackup/log4j.xml /opt/openfire/lib/log4j.xml
/bin/chown daemon:daemon /opt/openfire/lib/log4j.xml
fi
if
[
-d
"/tmp/openfireInstallBackup"
]
;
then
/bin/rm
-rf
/tmp/openfireInstallBackup
fi
...
...
build/solaris/preremove
View file @
ba16b25a
...
...
@@ -20,6 +20,9 @@ if [ -d "/opt/openfire" ]; then
if
[
-f
/opt/openfire/resources/security/client.truststore
]
;
then
/bin/cp
-f
/opt/openfire/resources/security/client.truststore /tmp/openfireInstallBackup/client.truststore
fi
if
[
-f
/opt/openfire/lib/log4j.xml
]
;
then
/bin/cp
-f
/opt/openfire/lib/log4j.xml /tmp/openfireInstallBackup/log4j.xml
fi
if
[
-x
"/usr/sbin/svcadm"
]
;
then
/usr/sbin/svcadm disable openfire
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment