SELinux policy core utilities
Go to file
Petr Lautrbach 1db9852ac6 policycoreutils-3.5-3
- Update translations
  https://translate.fedoraproject.org/projects/selinux/
Resolves: RHEL-15307
2023-11-02 17:57:56 +01:00
.fmf run tests via TMT/FMF 2022-11-16 13:14:35 +01:00
plans run tests via TMT/FMF 2022-11-16 13:14:35 +01:00
.gitignore policycoreutils-3.5-3 2023-11-02 17:57:56 +01:00
0001-sandbox-add-reset-to-Xephyr-as-it-works-better-with-.patch SELinux userspace 3.5-rc3 release 2023-02-14 18:08:57 +01:00
0002-Fix-STANDARD_FILE_CONTEXT-section-in-man-pages.patch SELinux userspace 3.5-rc3 release 2023-02-14 18:08:57 +01:00
0003-If-there-is-no-executable-we-don-t-want-to-print-a-p.patch SELinux userspace 3.5-rc3 release 2023-02-14 18:08:57 +01:00
0004-Don-t-be-verbose-if-you-are-not-on-a-tty.patch SELinux userspace 3.5-rc3 release 2023-02-14 18:08:57 +01:00
0005-sepolicy-generate-Handle-more-reserved-port-types.patch SELinux userspace 3.5-rc3 release 2023-02-14 18:08:57 +01:00
0006-sandbox-Use-matchbox-window-manager-instead-of-openb.patch SELinux userspace 3.5-rc3 release 2023-02-14 18:08:57 +01:00
0007-Use-SHA-2-instead-of-SHA-1.patch SELinux userspace 3.5-rc3 release 2023-02-14 18:08:57 +01:00
0008-sepolicy-Drop-old-interface-file_type_is_executable-.patch SELinux userspace 3.5-rc3 release 2023-02-14 18:08:57 +01:00
0009-python-chcat-Improve-man-pages.patch policycoreutils-3.5-2 2023-06-27 11:14:09 +02:00
0010-python-audit2allow-Add-missing-options-to-man-page.patch policycoreutils-3.5-2 2023-06-27 11:14:09 +02:00
0011-python-semanage-Improve-man-pages.patch policycoreutils-3.5-2 2023-06-27 11:14:09 +02:00
0012-python-audit2allow-Remove-unused-debug-option.patch policycoreutils-3.5-2 2023-06-27 11:14:09 +02:00
0013-policycoreutils-Add-examples-to-man-pages.patch policycoreutils-3.5-2 2023-06-27 11:14:09 +02:00
0014-python-sepolicy-Improve-man-pages.patch policycoreutils-3.5-2 2023-06-27 11:14:09 +02:00
0015-sandbox-Add-examples-to-man-pages.patch policycoreutils-3.5-2 2023-06-27 11:14:09 +02:00
0016-python-sepolicy-Fix-template-for-confined-user-polic.patch policycoreutils-3.5-2 2023-06-27 11:14:09 +02:00
0017-python-sepolicy-Fix-spec-file-dependencies.patch policycoreutils-3.5-2 2023-06-27 11:14:09 +02:00
0018-python-improve-format-strings-for-proper-localizatio.patch policycoreutils-3.5-2 2023-06-27 11:14:09 +02:00
0019-python-Drop-hard-formating-from-localized-strings.patch policycoreutils-3.5-2 2023-06-27 11:14:09 +02:00
0020-semanage-Drop-unnecessary-import-from-seobject.patch policycoreutils-3.5-2 2023-06-27 11:14:09 +02:00
0021-python-update-python.pot.patch policycoreutils-3.5-2 2023-06-27 11:14:09 +02:00
README.translations Update README.translations for use with Weblate 2023-01-19 10:46:43 +01:00
gating.yaml Fix gating.yaml for rhel-9 product 2021-07-01 13:30:26 +02:00
policycoreutils.spec policycoreutils-3.5-3 2023-11-02 17:57:56 +01:00
rpminspect.yaml Suppres rpminspect upstream test on selinux-autorelabel* 2022-08-08 14:07:04 +02:00
selinux-autorelabel Run autorelabel in parallel by default 2022-08-08 12:45:38 +02:00
selinux-autorelabel-generator.sh Use StandardInput=tty when AUTORELABEL=0 2023-02-08 12:00:47 +01:00
selinux-autorelabel-mark.service RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
selinux-autorelabel.service RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
selinux-autorelabel.target RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
sepolicy-help.tgz RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
sepolicy-icons.tgz RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
sources policycoreutils-3.5-3 2023-11-02 17:57:56 +01:00
system-config-selinux.png RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00

README.translations

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://gitlab.cee.redhat.com/SELinux/selinux
    - used for RHEL 8 and older

How to update source files on weblate:
  $ git clone git@github.com:fedora-selinux/selinux.git
  $ cd selinux
  $ git checkout c9s
  # 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