SELinux policy core utilities
Go to file
Petr Lautrbach e96ebee816 Do not use Python slip
Python slip is not actively maintained anymore and it was use just as
polkit proxy. It looks like polkit dbus interface is quite simple to use
it directly via python dbus module.

Resolves: rhbz#1949841
2021-04-21 17:09:10 +02:00
tests RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
.gitignore Merged update from upstream sources 2021-03-16 10:22:11 +00:00
0001-sandbox-add-reset-to-Xephyr-as-it-works-better-with-.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0002-Fix-STANDARD_FILE_CONTEXT-section-in-man-pages.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0003-If-there-is-no-executable-we-don-t-want-to-print-a-p.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0004-Simplication-of-sepolicy-manpage-web-functionality.-.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0005-We-want-to-remove-the-trailing-newline-for-etc-syste.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0006-Fix-title-in-manpage.py-to-not-contain-online.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0007-Don-t-be-verbose-if-you-are-not-on-a-tty.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0008-sepolicy-Drop-old-interface-file_type_is_executable-.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0009-sepolicy-Another-small-optimization-for-mcs-types.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0010-Move-po-translation-files-into-the-right-sub-directo.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0011-Use-correct-gettext-domains-in-python-gui-sandbox.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0012-Initial-.pot-files-for-gui-python-sandbox.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0013-policycoreutils-setfiles-Improve-description-of-d-sw.patch Merged update from upstream sources 2021-02-17 12:28:10 +01:00
0014-sepolicy-generate-Handle-more-reserved-port-types.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0015-semodule-utils-Fix-RESOURCE_LEAK-coverity-scan-defec.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0016-sandbox-Use-matchbox-window-manager-instead-of-openb.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0017-sepolicy-Fix-flake8-warnings-in-Fedora-only-code.patch Merged update from upstream sources 2021-01-21 22:28:29 +00:00
0018-Do-not-use-Python-slip.patch Do not use Python slip 2021-04-21 17:09:10 +02:00
gating.yaml Merged update from upstream sources 2020-11-24 11:28:16 +00:00
make-rhat-patches.sh RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
policycoreutils.spec Do not use Python slip 2021-04-21 17:09:10 +02:00
README.translations RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
selinux-autorelabel RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
selinux-autorelabel-generator.sh RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07: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 Merged update from upstream sources 2021-03-16 10:22:11 +00:00
system-config-selinux.png RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
zanata.xml RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00

policycoreutils translations currently live in the following locations:

- https://fedora.zanata.org/project/view/selinux
  - contains translations for both stable (Red Hat Enterprise Linux) and master (Fedora) branches
  - 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 repository (https://github.com/fedora-selinux/selinux)
  - is kept up-to-date with fedora.zanata

How to update source files on fedora.zanata:
  $ git clone git@github.com:fedora-selinux/selinux.git
  $ cd selinux

  # generate new potfile
  $ for p in policycoreutils python gui sandbox; do
    cd $p/po
    make $p.pot
    cd -
    done

  # Push potfiles to zanata
  $ zanata-cli push --push-type source

How to pull new translations from zanata
  $ git clone git@github.com:fedora-selinux/selinux.git
  $ cd selinux
  # Make sure "zanata.xml" file pointing to corresponding translations branch is present
  # Optionally update source files on zanata
  # Pull new translations from zanata
  $ zanata-cli -e pull --pull-type trans

How to update translations *-po.tgz files
  $ mkdir zanata
  $ cd zanata
  $ zanata-cli -e pull --project-config ../zanata.xml  --pull-type both
  $ for p in policycoreutils python gui sandbox; do
    cd $p
    tar -c -f ../../$p-po.tgz -z .
    cd -
    done