SELinux policy core utilities
Go to file
Petr Lautrbach 6603656816 policycoreutils-3.6-4
- Add Wayland support

Related: RHEL-35984, RHEL-32363, RHEL-32364
2024-05-09 16:40:45 +02:00
.fmf run tests via TMT/FMF 2022-11-10 17:21:15 +01:00
plans run tests via TMT/FMF 2022-11-10 17:21:15 +01:00
.gitignore SELinux userspace 3.6 release 2023-12-14 17:52:44 +01:00
0001-sandbox-add-reset-to-Xephyr-as-it-works-better-with-.patch SELinux userspace 3.6-rc1 release 2023-11-14 20:44:51 +01:00
0002-Don-t-be-verbose-if-you-are-not-on-a-tty.patch SELinux userspace 3.6-rc1 release 2023-11-14 20:44:51 +01:00
0003-sepolicy-generate-Handle-more-reserved-port-types.patch SELinux userspace 3.6-rc1 release 2023-11-14 20:44:51 +01:00
0004-sandbox-Use-matchbox-window-manager-instead-of-openb.patch SELinux userspace 3.6-rc1 release 2023-11-14 20:44:51 +01:00
0005-Use-SHA-2-instead-of-SHA-1.patch SELinux userspace 3.6-rc1 release 2023-11-14 20:44:51 +01:00
0006-python-sepolicy-Fix-spec-file-dependencies.patch SELinux userspace 3.6-rc1 release 2023-11-14 20:44:51 +01:00
0007-sandbox-do-not-fail-without-xmodmap.patch Limit sandbox dependencies RHEL > 9 2024-05-09 16:33:03 +02:00
0008-sandbox-do-not-run-window-manager-if-it-s-not-a-sess.patch Limit sandbox dependencies RHEL > 9 2024-05-09 16:33:03 +02:00
0009-seunshare-Add-P-pipewiresocket-W-waylandsocket-optio.patch sandbox: Add support for Wayland 2024-05-09 16:33:50 +02:00
0010-sandbox-Add-support-for-Wayland.patch sandbox: Add support for Wayland 2024-05-09 16:33:50 +02:00
gating.yaml replace Fedora CI with RHEL CI 2024-04-03 19:46:31 +02:00
policycoreutils.spec policycoreutils-3.6-4 2024-05-09 16:40:45 +02:00
README.translations Update README.translations for use with Weblate 2023-01-20 15:52:53 +01:00
selinux-autorelabel Run autorelabel in parallel by default 2022-07-27 12:03:59 +02:00
selinux-autorelabel-generator.sh Use /bin/bash instead of /bin/sh 2023-05-30 10:28:15 +00:00
selinux-autorelabel-mark.service Do not use symlinks to enable selinux-autorelabel-mark.service 2018-07-16 13:35:12 +02:00
selinux-autorelabel.service Configure autorelabel service to output to journal and to console if set 2019-11-14 10:01:54 +01:00
selinux-autorelabel.target Use generator approach to fix autorelabel. 2016-07-20 22:31:07 +02:00
sepolicy-help.tgz Fixes for sepolicy gui 2013-10-02 16:25:25 -04:00
sepolicy-icons.tgz Speed up startup time of sepolicy gui 2013-11-15 09:06:16 -05:00
sources SELinux userspace 3.6 release 2023-12-14 17:52:44 +01:00
system-config-selinux.png Fix empty system-config-selinux.png 2013-02-12 16:16:02 -05:00

SELinux translations currently live in the following locations:

- https://translate.fedoraproject.org/projects/selinux/
  - contains 2 versions of translatable strings rhel8 (latest RHEL 8 release) and main (Fedora and RHEL 9)
  - maintains large number of languages (several of which do not actually contain any translated strings)
  - updated by community and partially by RH localization effort

- SELinux source repositories (periodicaly updated from weblate)
  - https://github.com/fedora-selinux/selinux
    - used for Fedora, latest CentOS and RHEL 9
  - https://github.com/SELinuxProject/selinux
    - upstream repository

How to update source files on weblate:
  $ git clone git@github.com:fedora-selinux/selinux.git
  $ cd selinux
  # generate new potfiles
  $ for p in policycoreutils python gui sandbox; do
    cd $p/po
    rm $p.pot
    make $p.pot
    sed -i 's/charset=CHARSET/charset=UTF-8/g' $p.pot
    cd -
    done
  # https://translate.fedoraproject.org/projects/selinux/policycoreutils/en/
  # Files -> Upload translations
  # Repeat the process for python, gui and sandbox
  # or use weblate command line tool (get your API key at https://translate.fedoraproject.org/accounts/profile/#api):
  $ for p in policycoreutils python gui sandbox; do
    wlc --key <API key> --url https://translate.fedoraproject.org/api/ upload --input $p/po/$p.pot selinux/$p/en --method=source
    done

How to pull new translations from weblate
  $ git clone git@github.com:fedora-selinux/selinux.git
  # https://translate.fedoraproject.org/projects/selinux/policycoreutils
  # Files -> Download translation files as ZIP file (save in selinux source directory)
  # Repeat the process for python, gui and sandbox
  # or use weblate command line tool
  $ for p in policycoreutils python gui sandbox; do
    wlc --key <API key> --url https://translate.fedoraproject.org/api/ download selinux/$p --output selinux
    done
  # unzip archives
  $ cd selinux
  $ for p in policycoreutils python gui sandbox; do
    unzip -o selinux-$p.zip -d ..
    rm selinux-$p.zip
    done
  $ git add .
  $ git commit