Skip to content

Commit 518853a

Browse files
committed
packaging: updated hardcoded jasypt version to 1.9.2
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> (cherry picked from commit 43f39a1) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 835abe6 commit 518853a

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ install:
135135
install -D client/target/utilities/bin/cloud-sysvmadm $(DESTDIR)/usr/bin/cloudstack-sysvmadm
136136
install -D systemvm/dist/systemvm.iso $(DESTDIR)/usr/share/$(PACKAGE)-common/vms/systemvm.iso
137137
# We need jasypt for cloud-install-sys-tmplt, so this is a nasty hack to get it into the right place
138-
install -D agent/target/dependencies/jasypt-1.9.0.jar $(DESTDIR)/usr/share/$(PACKAGE)-common/lib
138+
install -D agent/target/dependencies/jasypt-1.9.2.jar $(DESTDIR)/usr/share/$(PACKAGE)-common/lib
139139

140140
# cloudstack-python
141141
mkdir -p $(DESTDIR)/usr/lib/python2.7/dist-packages

packaging/centos63/cloud.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ mv ${RPM_BUILD_ROOT}%{_datadir}/%{name}-management/webapps/client/WEB-INF/classe
302302
${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/management/Catalina/localhost/client
303303

304304
install python/bindir/cloud-external-ipallocator.py ${RPM_BUILD_ROOT}%{_bindir}/%{name}-external-ipallocator.py
305-
install -D client/target/pythonlibs/jasypt-1.9.0.jar ${RPM_BUILD_ROOT}%{_datadir}/%{name}-common/lib/jasypt-1.9.0.jar
305+
install -D client/target/pythonlibs/jasypt-1.9.2.jar ${RPM_BUILD_ROOT}%{_datadir}/%{name}-common/lib/jasypt-1.9.2.jar
306306

307307
install -D packaging/centos63/cloud-ipallocator.rc ${RPM_BUILD_ROOT}%{_initrddir}/%{name}-ipallocator
308308
install -D packaging/centos63/cloud-management.rc ${RPM_BUILD_ROOT}%{_initrddir}/%{name}-management
@@ -652,7 +652,7 @@ fi
652652
%attr(0644,root,root) %{python_sitearch}/cloud_utils.py
653653
%attr(0644,root,root) %{python_sitearch}/cloud_utils.pyc
654654
%attr(0644,root,root) %{python_sitearch}/cloudutils/*
655-
%attr(0644, root, root) %{_datadir}/%{name}-common/lib/jasypt-1.9.0.jar
655+
%attr(0644, root, root) %{_datadir}/%{name}-common/lib/jasypt-1.9.2.jar
656656
%{_defaultdocdir}/%{name}-common-%{version}/LICENSE
657657
%{_defaultdocdir}/%{name}-common-%{version}/NOTICE
658658

scripts/installer/windows/acs.wxs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,10 @@
260260
Execute="deferred" Return="check" />
261261
<CustomAction Id="DbHostWithPort" Execute="immediate" Property="DB_HOSTNAME" Value="[DB_HOSTNAME]:[DB_PORT]" />
262262
<CustomAction Id="DeployDB" Directory='CSMANAGEMENT'
263-
ExeCommand='[PYTHON_HOME]\python "[INSTALLDIR]\scripts\cloud-setup-databases" [DB_USERNAME]:[DB_PASSWORD]@[DB_HOSTNAME] --deploy-as=root:[DB_ROOT_PASSWORD] -c "[CSMANAGEMENT]\lib" -f "[CSMANAGEMENT]\setup" -j "[CSMANAGEMENT]\webapps\client\WEB-INF\lib\jasypt-1.9.0.jar" -n "[CSMANAGEMENT]\lib\key" -b "[MYSQL]\bin"'
263+
ExeCommand='[PYTHON_HOME]\python "[INSTALLDIR]\scripts\cloud-setup-databases" [DB_USERNAME]:[DB_PASSWORD]@[DB_HOSTNAME] --deploy-as=root:[DB_ROOT_PASSWORD] -c "[CSMANAGEMENT]\lib" -f "[CSMANAGEMENT]\setup" -j "[CSMANAGEMENT]\webapps\client\WEB-INF\lib\jasypt-1.9.2.jar" -n "[CSMANAGEMENT]\lib\key" -b "[MYSQL]\bin"'
264264
Execute="deferred" Return="check" Impersonate="no"/>
265265
<CustomAction Id="SetupDatabases" Directory='CSMANAGEMENT'
266-
ExeCommand='[PYTHON_HOME]\python "[INSTALLDIR]\scripts\cloud-setup-databases" [DB_USERNAME]:[DB_PASSWORD]@[DB_HOSTNAME] -c "[CSMANAGEMENT]\lib" -f "[CSMANAGEMENT]\setup" -j "[CSMANAGEMENT]\webapps\client\WEB-INF\lib\jasypt-1.9.0.jar" -n "[CSMANAGEMENT]\lib\key" -b "[MYSQL]\bin"'
266+
ExeCommand='[PYTHON_HOME]\python "[INSTALLDIR]\scripts\cloud-setup-databases" [DB_USERNAME]:[DB_PASSWORD]@[DB_HOSTNAME] -c "[CSMANAGEMENT]\lib" -f "[CSMANAGEMENT]\setup" -j "[CSMANAGEMENT]\webapps\client\WEB-INF\lib\jasypt-1.9.2.jar" -n "[CSMANAGEMENT]\lib\key" -b "[MYSQL]\bin"'
267267
Execute="deferred" Return="check" Impersonate="no"/>
268268

269269
<InstallExecuteSequence>
@@ -307,4 +307,4 @@
307307
<UIRef Id="WixUI_Mondo_Custom" />
308308
<UIRef Id="WixUI_ErrorProgressText" />
309309
</Product>
310-
</Wix>
310+
</Wix>

scripts/installer/windows/client.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1645,7 +1645,7 @@
16451645
<File Id="fil48FA51E3DD79B7C9D1227F5C14AF1E16" KeyPath="yes" Source="!(wix.SourceClient)\WEB-INF\lib\jackson-module-jaxb-annotations-2.1.1.jar" />
16461646
</Component>
16471647
<Component Id="cmpB461DFEF3B05553DE179C1A846F3FF87" Guid="{35A17A68-E6CB-4D49-9B90-A11E904E185E}">
1648-
<File Id="filE15E39FEEA47584E295154E280235A62" KeyPath="yes" Source="!(wix.SourceClient)\WEB-INF\lib\jasypt-1.9.0.jar" />
1648+
<File Id="filE15E39FEEA47584E295154E280235A62" KeyPath="yes" Source="!(wix.SourceClient)\WEB-INF\lib\jasypt-1.9.2.jar" />
16491649
</Component>
16501650
<Component Id="cmp18523225741C1B62B821A603B4785A02" Guid="{30FA0BF7-E64F-43EE-8004-0D521C648B40}">
16511651
<File Id="filBF2E885F28757D248A6061B3EE3A3831" KeyPath="yes" Source="!(wix.SourceClient)\WEB-INF\lib\java-ipv6-0.10.jar" />

scripts/storage/secondary/cloud-install-sys-tmplt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ DISKSPACE=5120000 #free disk space required in kilobytes
4040
dbHost=
4141
dbUser=
4242
dbPassword=
43-
jasypt='/usr/share/cloudstack-common/lib/jasypt-1.9.0.jar'
43+
jasypt='/usr/share/cloudstack-common/lib/jasypt-1.9.2.jar'
4444
while getopts 'm:h:f:u:Ft:e:s:o:r:d:' OPTION
4545
do
4646
case $OPTION in

setup/bindir/cloud-setup-databases.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class DBDeployer(object):
6767
dbDotProperties = {}
6868
dbDotPropertiesIndex = 0
6969
encryptionKeyFile = '@MSCONF@/key'
70-
encryptionJarPath = '@COMMONLIBDIR@/lib/jasypt-1.9.0.jar'
70+
encryptionJarPath = '@COMMONLIBDIR@/lib/jasypt-1.9.2.jar'
7171
success = False
7272
magicString = 'This_is_a_magic_string_i_think_no_one_will_duplicate'
7373
tmpMysqlFile = os.path.join(os.path.expanduser('~/'), 'cloudstackmysql.tmp.sql')

setup/bindir/cloud-setup-encryption.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class DBDeployer(object):
6464
dbDotProperties = {}
6565
dbDotPropertiesIndex = 0
6666
encryptionKeyFile = '@MSCONF@/key'
67-
encryptionJarPath = '@COMMONLIBDIR@/lib/jasypt-1.9.0.jar'
67+
encryptionJarPath = '@COMMONLIBDIR@/lib/jasypt-1.9.2.jar'
6868
success = False
6969
magicString = 'This_is_a_magic_string_i_think_no_one_will_duplicate'
7070

0 commit comments

Comments
 (0)