vanagon 0.44.0 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c546f8edcbbaea0e769f628853a335eb9bb803dd15878d32ea1c53c0f12332d
|
|
4
|
+
data.tar.gz: fcef0a81a70177ec1e9b0050ca2a200f2f7c7d17e79dfc1b767c603131984b6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33aba6ddd2ea2b085576b9fd874be05ea88f85c53a3dba409863e788b0693592f842aca61181b935d32f97ec29ebda558b3c01ac753bef607a9a8a657d842686
|
|
7
|
+
data.tar.gz: 5c3e43f7185de14b638f50f5abeda4fffaaf3b626ebd40e6c767f3d0fa80a9fb33f6d74bf0b45644c89a072c60d81a56f75d5e0a32fe5249d8ac9c93c6f810bf
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
platform 'fedora-38-x86_64' do |plat|
|
|
2
|
+
plat.servicedir '/usr/lib/systemd/system'
|
|
3
|
+
plat.defaultdir '/etc/sysconfig'
|
|
4
|
+
plat.servicetype 'systemd'
|
|
5
|
+
plat.dist 'fc38'
|
|
6
|
+
|
|
7
|
+
packages = %w[
|
|
8
|
+
autoconf automake bzip2-devel gcc gcc-c++ libselinux-devel
|
|
9
|
+
libsepol libsepol-devel make cmake pkgconfig readline-devel
|
|
10
|
+
rpmdevtools rsync swig zlib-devel systemtap-sdt-devel
|
|
11
|
+
perl-lib perl-FindBin
|
|
12
|
+
]
|
|
13
|
+
plat.provision_with("/usr/bin/dnf install -y --best --allowerasing #{packages.join(' ')}")
|
|
14
|
+
|
|
15
|
+
plat.install_build_dependencies_with '/usr/bin/dnf install -y --best --allowerasing'
|
|
16
|
+
plat.vmpooler_template 'fedora-38-x86_64'
|
|
17
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
platform "redhatfips-9-x86_64" do |plat|
|
|
2
|
+
plat.servicedir "/usr/lib/systemd/system"
|
|
3
|
+
plat.defaultdir "/etc/sysconfig"
|
|
4
|
+
plat.servicetype "systemd"
|
|
5
|
+
|
|
6
|
+
packages = %w(
|
|
7
|
+
autoconf
|
|
8
|
+
automake
|
|
9
|
+
cmake
|
|
10
|
+
gcc-c++
|
|
11
|
+
java-1.8.0-openjdk-devel
|
|
12
|
+
libarchive
|
|
13
|
+
libsepol-devel
|
|
14
|
+
libselinux-devel
|
|
15
|
+
openssl-devel
|
|
16
|
+
pkgconfig
|
|
17
|
+
readline-devel
|
|
18
|
+
rpmdevtools
|
|
19
|
+
rpm-build
|
|
20
|
+
rsync
|
|
21
|
+
swig
|
|
22
|
+
systemtap-sdt-devel
|
|
23
|
+
yum-utils
|
|
24
|
+
zlib-devel
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
plat.provision_with "dnf install -y --allowerasing #{packages.join(' ')}"
|
|
28
|
+
plat.install_build_dependencies_with "dnf install -y --allowerasing "
|
|
29
|
+
plat.vmpooler_template "redhat-fips-9-x86_64"
|
|
30
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
platform "ubuntu-24.04-amd64" do |plat|
|
|
2
|
+
plat.servicedir "/lib/systemd/system"
|
|
3
|
+
plat.defaultdir "/etc/default"
|
|
4
|
+
plat.servicetype "systemd"
|
|
5
|
+
plat.codename "noble"
|
|
6
|
+
|
|
7
|
+
packages = %w(build-essential devscripts make quilt pkg-config debhelper rsync fakeroot cmake curl)
|
|
8
|
+
plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}"
|
|
9
|
+
plat.provision_with "curl https://apt.puppet.com/DEB-GPG-KEY-puppet-20250406 | apt-key add -"
|
|
10
|
+
plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends "
|
|
11
|
+
plat.vmpooler_template "ubuntu-2404-x86_64"
|
|
12
|
+
end
|
data/lib/vanagon/platform.rb
CHANGED
|
@@ -474,7 +474,7 @@ class Vanagon
|
|
|
474
474
|
#
|
|
475
475
|
# @return [true, false] true if it is a linux variety, false otherwise
|
|
476
476
|
def is_linux?
|
|
477
|
-
|
|
477
|
+
!is_windows? && !is_unix?
|
|
478
478
|
end
|
|
479
479
|
|
|
480
480
|
# Utility matcher to determine if the platform is a cross-compiled variety
|
|
@@ -490,7 +490,7 @@ class Vanagon
|
|
|
490
490
|
#
|
|
491
491
|
# @return [true, false] true if it is a cross-compiled Linux variety, false otherwise
|
|
492
492
|
def is_cross_compiled_linux?
|
|
493
|
-
|
|
493
|
+
is_cross_compiled? && is_linux?
|
|
494
494
|
end
|
|
495
495
|
|
|
496
496
|
# Pass in a packaging override. This needs to be implemented for each
|
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.
|
|
4
|
+
version: 0.45.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:
|
|
11
|
+
date: 2024-02-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: docopt
|
|
@@ -188,6 +188,7 @@ files:
|
|
|
188
188
|
- lib/vanagon/platform/defaults/el-9-aarch64.rb
|
|
189
189
|
- lib/vanagon/platform/defaults/el-9-x86_64.rb
|
|
190
190
|
- lib/vanagon/platform/defaults/fedora-36-x86_64.rb
|
|
191
|
+
- lib/vanagon/platform/defaults/fedora-38-x86_64.rb
|
|
191
192
|
- lib/vanagon/platform/defaults/osx-11-arm64.rb
|
|
192
193
|
- lib/vanagon/platform/defaults/osx-11-x86_64.rb
|
|
193
194
|
- lib/vanagon/platform/defaults/osx-12-arm64.rb
|
|
@@ -198,6 +199,7 @@ files:
|
|
|
198
199
|
- lib/vanagon/platform/defaults/osx-14-x86_64.rb
|
|
199
200
|
- lib/vanagon/platform/defaults/redhatfips-7-x86_64.rb
|
|
200
201
|
- lib/vanagon/platform/defaults/redhatfips-8-x86_64.rb
|
|
202
|
+
- lib/vanagon/platform/defaults/redhatfips-9-x86_64.rb
|
|
201
203
|
- lib/vanagon/platform/defaults/sles-12-x86_64.rb
|
|
202
204
|
- lib/vanagon/platform/defaults/sles-15-x86_64.rb
|
|
203
205
|
- lib/vanagon/platform/defaults/solaris-11-i386.rb
|
|
@@ -208,6 +210,7 @@ files:
|
|
|
208
210
|
- lib/vanagon/platform/defaults/ubuntu-20.04-amd64.rb
|
|
209
211
|
- lib/vanagon/platform/defaults/ubuntu-22.04-aarch64.rb
|
|
210
212
|
- lib/vanagon/platform/defaults/ubuntu-22.04-amd64.rb
|
|
213
|
+
- lib/vanagon/platform/defaults/ubuntu-24.04-amd64.rb
|
|
211
214
|
- lib/vanagon/platform/dsl.rb
|
|
212
215
|
- lib/vanagon/platform/osx.rb
|
|
213
216
|
- lib/vanagon/platform/rpm.rb
|