This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PA-7099) Add libpsl component to agent-runtime-main
- Curl 8.10.1 requires the libpsl component. - Skip windows platforms for now (https://perforce.atlassian.net/browse/PA-7116). - Add python3.11 package to applicable platforms as libpsl requires it for building. - Add libunistring_dev package to solaris-11-native-sparc as libpsl requires unistr in solaris-11
- Loading branch information
1 parent
fd408d3
commit c0c1b4d
Showing
9 changed files
with
47 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
component 'libpsl' do |pkg, settings, platform| | ||
pkg.version '0.21.5' | ||
pkg.url "https://github.com/rockdaboot/libpsl/releases/download/#{pkg.get_version}/libpsl-#{pkg.get_version}.tar.gz" | ||
pkg.mirror "https://artifactory.delivery.puppetlabs.net/artifactory/generic__buildsources/buildsources/libpsl-0.21.5.tar.gz" | ||
pkg.sha256sum "1dcc9ceae8b128f3c0b3f654decd0e1e891afc6ff81098f227ef260449dae208" | ||
|
||
if platform.is_aix? | ||
pkg.environment "MAKE", 'gmake' | ||
pkg.environment "PATH", "$(PATH):/opt/freeware/bin" | ||
elsif platform.is_solaris? | ||
pkg.environment "MAKE", 'gmake' | ||
pkg.environment "PATH", "/opt/pl-build-tools/bin:$(PATH)" | ||
pkg.environment "CFLAGS", "-I/opt/csw/include" | ||
pkg.environment "LDFLAGS", "-L/opt/csw/lib" | ||
end | ||
|
||
pkg.configure do | ||
["./configure --prefix=#{settings[:prefix]}"] | ||
end | ||
|
||
pkg.build do | ||
["#{platform[:make]} VERBOSE=1 -j$(shell expr $(shell #{platform[:num_cores]}) + 1)"] | ||
end | ||
|
||
pkg.install do | ||
["#{platform[:make]} VERBOSE=1 -j$(shell expr $(shell #{platform[:num_cores]}) + 1) install"] | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
packages = %w( | ||
perl-Getopt-Long | ||
patch | ||
python3.11 | ||
swig | ||
libselinux-devel | ||
readline-devel | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
platform 'el-8-ppc64le' do |plat| | ||
plat.inherit_from_default | ||
packages = ["python3.11"] | ||
plat.provision_with("dnf install -y --allowerasing #{packages.join(' ')}") | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
libsepol-devel | ||
libselinux-devel | ||
pkgconfig | ||
python3.11 | ||
readline-devel | ||
rpmdevtools | ||
swig | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
platform "redhatfips-8-x86_64" do |plat| | ||
plat.inherit_from_default | ||
packages = ["python3.11"] | ||
plat.provision_with "dnf install -y --allowerasing #{packages.join(' ')}" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters