Commit 285b2093 authored by Randy Layman's avatar Randy Layman

Update installer files to make sure modules.xml file is delivered with each update

parent 866cbd40
...@@ -1176,6 +1176,7 @@ ...@@ -1176,6 +1176,7 @@
<copy tofile="${target.solaris.root}/pkginfo" file="${basedir}/build/pkg/pkginfo" /> <copy tofile="${target.solaris.root}/pkginfo" file="${basedir}/build/pkg/pkginfo" />
<copy tofile="${target.solaris.root}/opt/openfire/resources/solaris/openfire.xml" file="${basedir}/build/solaris/openfire.xml" /> <copy tofile="${target.solaris.root}/opt/openfire/resources/solaris/openfire.xml" file="${basedir}/build/solaris/openfire.xml" />
<copy tofile="${target.solaris.root}/opt/openfire/resources/solaris/modules.xml" file="${basedir}/build/solaris/modules.xml" />
<copy tofile="${target.solaris.root}/checkinstall" file="${basedir}/build/solaris/checkinstall" /> <copy tofile="${target.solaris.root}/checkinstall" file="${basedir}/build/solaris/checkinstall" />
<copy tofile="${target.solaris.root}/postinstall" file="${basedir}/build/solaris/postinstall" /> <copy tofile="${target.solaris.root}/postinstall" file="${basedir}/build/solaris/postinstall" />
<copy tofile="${target.solaris.root}/preremove" file="${basedir}/build/solaris/preremove" /> <copy tofile="${target.solaris.root}/preremove" file="${basedir}/build/solaris/preremove" />
...@@ -1187,6 +1188,7 @@ ...@@ -1187,6 +1188,7 @@
<replaceregexp file="${target.solaris.root}/Prototype" match="(.* .* .* .*) .* .*" replace="\1 daemon daemon" byline="true"/> <replaceregexp file="${target.solaris.root}/Prototype" match="(.* .* .* .*) .* .*" replace="\1 daemon daemon" byline="true"/>
<replaceregexp file="${target.solaris.root}/Prototype" match=".* (.* /opt/openfire/conf/openfire.xml=.* .* .* .*)" replace="e \1" byline="true"/> <replaceregexp file="${target.solaris.root}/Prototype" match=".* (.* /opt/openfire/conf/openfire.xml=.* .* .* .*)" replace="e \1" byline="true"/>
<replaceregexp file="${target.solaris.root}/Prototype" match=".* (.* /opt/openfire/conf/modules.xml=.* .* .* .*)" replace="e \1" byline="true"/>
<replaceregexp file="${target.solaris.root}/Prototype" match=".* (.* /opt/openfire/resources/security/keystore=.* .* .* .*)" replace="e \1" byline="true"/> <replaceregexp file="${target.solaris.root}/Prototype" match=".* (.* /opt/openfire/resources/security/keystore=.* .* .* .*)" replace="e \1" byline="true"/>
<replaceregexp file="${target.solaris.root}/Prototype" match=".* (.* /opt/openfire/resources/security/truststore=.* .* .* .*)" replace="e \1" byline="true"/> <replaceregexp file="${target.solaris.root}/Prototype" match=".* (.* /opt/openfire/resources/security/truststore=.* .* .* .*)" replace="e \1" byline="true"/>
<replaceregexp file="${target.solaris.root}/Prototype" match=".* (.* /opt/openfire/resources/security/client.truststore=.* .* .* .*)" replace="e \1" byline="true"/> <replaceregexp file="${target.solaris.root}/Prototype" match=".* (.* /opt/openfire/resources/security/client.truststore=.* .* .* .*)" replace="e \1" byline="true"/>
......
/etc/openfire/openfire.xml /etc/openfire/openfire.xml
/etc/openfire/modules.xml
/etc/openfire/security.xml /etc/openfire/security.xml
/etc/openfire/security/keystore /etc/openfire/security/keystore
/etc/openfire/security/truststore /etc/openfire/security/truststore
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
<fileEntry mountPoint="34" file="${compiler:RELEASE_FULL_PATH}/resources/security/truststore" overwrite="0" shared="false" mode="644" uninstallMode="1" /> <fileEntry mountPoint="34" file="${compiler:RELEASE_FULL_PATH}/resources/security/truststore" overwrite="0" shared="false" mode="644" uninstallMode="1" />
<fileEntry mountPoint="34" file="${compiler:RELEASE_FULL_PATH}/resources/security/keystore" overwrite="0" shared="false" mode="644" uninstallMode="1" /> <fileEntry mountPoint="34" file="${compiler:RELEASE_FULL_PATH}/resources/security/keystore" overwrite="0" shared="false" mode="644" uninstallMode="1" />
<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/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="46" file="${compiler:RELEASE_FULL_PATH}/conf/security.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"> <dirEntry mountPoint="1" file="${compiler:RELEASE_FULL_PATH}" overwrite="4" shared="false" mode="644" uninstallMode="0" excludeSuffixes="" dirMode="755">
<exclude> <exclude>
......
...@@ -113,6 +113,7 @@ exit 0 ...@@ -113,6 +113,7 @@ exit 0
%{homedir}/bin/embedded-db-viewer.sh %{homedir}/bin/embedded-db-viewer.sh
%dir %{homedir}/conf %dir %{homedir}/conf
%config(noreplace) %{homedir}/conf/openfire.xml %config(noreplace) %{homedir}/conf/openfire.xml
%config(noreplace) %{homedir}/conf/modules.xml
%config(noreplace) %{homedir}/conf/security.xml %config(noreplace) %{homedir}/conf/security.xml
%config(noreplace) %{homedir}/conf/crowd.properties %config(noreplace) %{homedir}/conf/crowd.properties
%dir %{homedir}/lib %dir %{homedir}/lib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment