Skip to content

Commit

Permalink
(PA-5550) debian 12 libselinux minimum is version 3.4
Browse files Browse the repository at this point in the history
python distutils required to build libselinux 3.4
  • Loading branch information
h0tw1r3 committed Dec 4, 2023
1 parent 786253c commit a24f37a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configs/components/_base-ruby-selinux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
pkg.version '3.3'
pkg.sha256sum 'acfdee27633d2496508c28727c3d41d3748076f66d42fccde2e6b9f3463a7057'
pkg.url "https://github.com/SELinuxProject/selinux/releases/download/#{pkg.get_version}/libselinux-#{pkg.get_version}.tar.gz"
elsif platform.name.start_with?('debian-12')
# SELinux 3.4 is the minimum version available in Debian 12 repos
pkg.version '3.4'
pkg.sha256sum '77c294a927e6795c2e98f74b5c3adde9c8839690e9255b767c5fca6acff9b779'
pkg.url "https://github.com/SELinuxProject/selinux/releases/download/#{pkg.get_version}/libselinux-#{pkg.get_version}.tar.gz"
pkg.build_requires 'python3-distutils'
else
pkg.version "2.9"
pkg.md5sum "bb449431b6ed55a0a0496dbc366d6e31"
Expand Down

0 comments on commit a24f37a

Please sign in to comment.