OwlCyberDefense / refpolicy

refpolicy has moved to https://github.com/SELinuxProject/refpolicy
GNU General Public License v2.0
125 stars 42 forks source link

Updating INSTALL requirements to libsemanage 2.6 #124

Closed fishilico closed 7 years ago

fishilico commented 7 years ago

Hello, As some file context files now use %{USERID} and %{USERNAME} which have been introduced in libsemanage 2.6 (with commit https://github.com/SELinuxProject/selinux/commit/08cde98b606cd04e26061d16ec537a2549f5199c), it would be nice (from a package maintainer's perspective) to document this dependency in INSTALL before the next release.

Currently https://github.com/TresysTechnology/refpolicy/blob/4680d9c659bcad4b88c7f4edebc1bb4800c90ea9/INSTALL specifies:

Reference Policy has the following build requirements:

  • libsepol 2.1.4
  • libsemanage 2.1.6
  • checkpolicy 2.1.8
  • policycoreutils 2.1.10
  • Python >= 2.6
  • GCC

I suggest updating the required versions of libsepol, libsemanage, checkpolicy and policycoreutils to 2.6, as it was the first release which introduced %{USERID} and %{USERNAME}. What do you think?