vanagon 0.51.0 → 0.53.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42aee5cffc3ad77ad8e948859d235bd6fd45c1bd2d0a8c9664c79c3a86b41df5
4
- data.tar.gz: 9ba5981ea6ba0c28e4c3446a6aa009055b592ce66f0f772ac40dc4fe337bfe9e
3
+ metadata.gz: dcfc652c74393de406f65c3fd391916328f1f5345d154f6158df87c2adede4eb
4
+ data.tar.gz: 119027f507e48f04dafd5fb9c75ed0b70558be9fd73f8c3693a94b3e2faa0c62
5
5
  SHA512:
6
- metadata.gz: 80830fd83bc30ca1f0e10a621e27a13c85c692b9c40036573621e77e6c526738a8e291f8f163a26aa251dd5271988a437f3be626229da5f08870d1640e34ea3a
7
- data.tar.gz: d0a44584eaeb80d6a3a8ef349dca12ce4b66b8b1e6de8a2eefaf8aec13132ca2e00254e61c813c4eeded18c1e54464e51c785c31e79a41aef143571eff0c9edc
6
+ metadata.gz: 968ddc06e1844e8a01608e64b2caaf11647167dc99ad5e69d2a7fd15fdf3abed275fd968bdd7e734c9ff99b71cfc568b919b3a990b6d3720be880dda9ca4f496
7
+ data.tar.gz: d8262f8c707e164058452f9487e0e88cdba55c01f10d4acc2e2cb267c5f4c4680766748df6abea1d9b72ac9d59199af72a13d119c825d431d0437ec331f6b5aa
@@ -0,0 +1,10 @@
1
+ platform "amazon-2-aarch64" do |plat|
2
+ plat.servicedir "/usr/lib/systemd/system"
3
+ plat.defaultdir "/etc/sysconfig"
4
+ plat.servicetype "systemd"
5
+
6
+ packages = %w(autoconf automake createrepo gcc gcc-c++ rsync cmake3 make rpm-libs rpm-build libarchive)
7
+ plat.provision_with("yum install -y --nogpgcheck #{packages.join(' ')}")
8
+ plat.install_build_dependencies_with "yum install --assumeyes"
9
+ plat.vmpooler_template "amazon-7-arm64"
10
+ end
@@ -192,14 +192,14 @@ class Vanagon
192
192
  # -dr - Root DirectoryRef to point all components to
193
193
  # -var - Replace "SourceDir" in the @source attributes of all components with a preprocessor variable
194
194
  app_heat_flags = " -dr INSTALLDIR -v -ke -indent 2 -cg AppComponentGroup -gg -srd -t wix/filter.xslt -sreg -var var.AppSourcePath "
195
- app_heat_flags += " -fips" if project.platform.name =~ /windowsfips-2012r2/
195
+ app_heat_flags += " -fips" if project.platform.is_windows? && project.platform.is_fips?
196
196
 
197
197
  app_source_path = "SourceDir/#{project.settings[:base_dir]}/#{project.settings[:company_id]}/#{project.settings[:product_id]}"
198
198
  # Candle.exe preprocessor vars are required due to the above double run of heat.exe, both runs of heat use
199
199
  # preprocessor variables
200
200
  candle_preprocessor = "-dAppSourcePath=\"#{app_source_path}\" "
201
201
  candle_flags = "-arch #{@architecture} #{wix_extensions}"
202
- candle_flags += " -fips" if project.platform.name =~ /windowsfips-2012r2/
202
+ candle_flags += " -fips" if project.platform.is_windows? && project.platform.is_fips?
203
203
 
204
204
  # Enable verbose mode for the moment (will be removed for production)
205
205
  # localisation flags to be added
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vanagon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.51.0
4
+ version: 0.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet By Perforce
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-31 00:00:00.000000000 Z
11
+ date: 2024-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docopt
@@ -170,6 +170,7 @@ files:
170
170
  - lib/vanagon/patch.rb
171
171
  - lib/vanagon/platform.rb
172
172
  - lib/vanagon/platform/deb.rb
173
+ - lib/vanagon/platform/defaults/amazon-2-aarch64.rb
173
174
  - lib/vanagon/platform/defaults/amazon-2023-aarch64.rb
174
175
  - lib/vanagon/platform/defaults/amazon-2023-x86_64.rb
175
176
  - lib/vanagon/platform/defaults/amazon-7-aarch64.rb