summaryrefslogtreecommitdiff
path: root/sec-policy/selinux-apm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-27 01:25:47 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-27 01:25:47 +0100
commitabc3bfc07d931f667a0f50cf607f1c8a49af879f (patch)
treee1955376c90c745c2b110a9abf62eb2d5c209a2b /sec-policy/selinux-apm
parent21dea977c89ba487b57c7856a4924950e667f209 (diff)
gentoo auto-resync : 27:09:2024 - 01:25:47
Diffstat (limited to 'sec-policy/selinux-apm')
-rw-r--r--sec-policy/selinux-apm/Manifest3
-rw-r--r--sec-policy/selinux-apm/selinux-apm-2.20240916-r1.ebuild35
2 files changed, 38 insertions, 0 deletions
diff --git a/sec-policy/selinux-apm/Manifest b/sec-policy/selinux-apm/Manifest
index 4415b859acea..ef5d0ea72ea2 100644
--- a/sec-policy/selinux-apm/Manifest
+++ b/sec-policy/selinux-apm/Manifest
@@ -1,7 +1,10 @@
DIST patchbundle-selinux-base-policy-2.20240226-r1.tar.bz2 430565 BLAKE2B 2d552f868375c240e71e987542a3026970f1d375d7d1e65f11386ce1b07aae84911ded2379fc768ff4bff664eb98dc3361a7392467fed3feb4916477eb957f58 SHA512 f22245ad8759d88ddbf26b71443e4ba8c804fc80d69383120ed98b7887d08a7034b8125e4d15e695b26776ef4ac1a933e14a1a382d5be90aa942358842cc6c77
DIST patchbundle-selinux-base-policy-2.20240226-r2.tar.bz2 442650 BLAKE2B f2f7c5e4a595afafc072fd78fc4ef3930cf739d05cbe9670f2fb2956fe84e3045518345e103bc3880603d2562f06ba0597fc005d8d394e9f8cd057363f9bf95f SHA512 2cb00d088eebdb098a6496f156eeb3dcee026fc6e53d732bac5bc8a4cfee1ce3bf2bdbbbfbbe9bba237d61c06f299d96bb9d123a57a44aaaa17cc122e15ea268
+DIST patchbundle-selinux-base-policy-2.20240916-r1.tar.bz2 274891 BLAKE2B 72b8181424450998164979ab582e8edee6d73b9110b4535e7880d1f7c989bd0ac391422872858da7bad3e3d77516996af93aa2f149f7d4a7f8fd329c481964cf SHA512 fd8259c91cc779301d6e0964827133529a9141dc235301da135210ea4359b800023848a25e33c45678477fa4f54e75da51be9ec85a3bed8b07cf5487e73b84f3
DIST refpolicy-2.20240226.tar.bz2 610561 BLAKE2B 5dc54dcf7238776d4e4b282c1dcbc499f45c0d96676dbf931da39592854034874b5dd6197a2e2776fccec5106d5f245eea3fb9419959bd4d61e9b2c12aeaaa85 SHA512 896a57afb024bd131f25d2831a9a5ac90ee7e5d76b0565bc818c156f6c310d86758bcd4cedbd9df5b29954c9a92a42300d16685a7e07a5efd8f789320724b3f9
+DIST refpolicy-2.20240916.tar.bz2 618218 BLAKE2B d86ca75d254eef10f4aa57ef3977825211200cdf1eaa9bf9d416c9a52acee476b3f8719c3b0c8c17fdff2abc0c396989961e37e313a7b3bd3b4b0266a6280e75 SHA512 a8b6c90f8e186796b4c7db1e2d8ed3c3b8690bb5b8f180dcb6d5468ba80467e2969012c4edddf74429c0f5ce900d68fbbc0c2f8e253165af28f93f191039f064
EBUILD selinux-apm-2.20240226-r1.ebuild 800 BLAKE2B 45525ecda016ddfef772cc85e7d6481fcd388143ae08cc9b17f0554f1e1595513b3b8a7be3d1bbc5fe42b5ae0390cde5259e564499684f633f4e580bebf7be2e SHA512 8179688bf17d51ebd28378ae7ad6a1615ec38020954ff2f8d082cb1d1aed246200fc66d7b34d5ab1d82513733a3671d1655554acf3be958d9de84304c50219a2
EBUILD selinux-apm-2.20240226-r2.ebuild 792 BLAKE2B 491e2bf9083c4b4efbe72c4b825fc6fc35ecf2a513a01c0a41559c560a8fb12aac3f0a7cedc24b4ba6b7122e9bc7287e20e455bf906675015b689a9a7ea76ff5 SHA512 07a2c625263102aae830dedd1a0421e39baa3bf804ae106449ca736d41f5169ed2c817a844163b0f2d74651fc9e481d5e63c2dc75fda9ed73a0af34db046b569
+EBUILD selinux-apm-2.20240916-r1.ebuild 796 BLAKE2B ac30ab3e573fb60bfe29e6042f01f81fb481d4aeda8dc86d2855827d207d476e7db53f5e5f927c1bc204acf9ba6d2fbde1073a23cb2763da93f05ca4c75953b6 SHA512 44370d44878897e61ef086a94cf2208bcee53be708253882d76b84b426126383fdacfab5d44ce7206afa6f0950139eb71e9a07397914474e41e3c84e2df2db5c
EBUILD selinux-apm-9999.ebuild 796 BLAKE2B ac30ab3e573fb60bfe29e6042f01f81fb481d4aeda8dc86d2855827d207d476e7db53f5e5f927c1bc204acf9ba6d2fbde1073a23cb2763da93f05ca4c75953b6 SHA512 44370d44878897e61ef086a94cf2208bcee53be708253882d76b84b426126383fdacfab5d44ce7206afa6f0950139eb71e9a07397914474e41e3c84e2df2db5c
MISC metadata.xml 248 BLAKE2B e1a2b6875d3af0d8180e4ebaaa1cb2f0a30752377d4205308d6633fc4e2e4f075042f6eccec815a68dd0d668873dcdd6b049ccbf5181d477a8283863677473f9 SHA512 aaf6c2ff94601377deef7dfab5be37ce905bfc0ff56f4880cd504c6ac53b69958e4e4e5f13b0d442cf3a9a22440437cb1621bb529859e35181ead0dc1aad0ebc
diff --git a/sec-policy/selinux-apm/selinux-apm-2.20240916-r1.ebuild b/sec-policy/selinux-apm/selinux-apm-2.20240916-r1.ebuild
new file mode 100644
index 000000000000..261f69899726
--- /dev/null
+++ b/sec-policy/selinux-apm/selinux-apm-2.20240916-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MODS="acpi"
+
+inherit selinux-policy-2
+
+DESCRIPTION="SELinux policy for acpi"
+
+if [[ ${PV} != 9999* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+pkg_postinst() {
+ # "apm" module got renamed to "acpi", must remove apm first
+ # the contexts are okay even tho the modules are not
+ # replaced in the same command (doesnt become unlabeled_t)
+ for i in ${POLICY_TYPES}; do
+ if semodule -s "${i}" -l | grep apm >/dev/null 2>&1; then
+ semodule -s "${i}" -r apm
+ fi
+ done
+ selinux-policy-2_pkg_postinst
+}
+
+pkg_postrm() {
+ for i in ${POLICY_TYPES}; do
+ if semodule -s "${i}" -l | grep apm >/dev/null 2>&1; then
+ semodule -s "${i}" -r apm
+ fi
+ done
+ selinux-policy-2_pkg_postrm
+}