SELinux policy core utilities
Go to file
Ondrej Mosnacek 6aff055821 Make p-devel's selinux-policy-devel dep conditional on selinux-policy
Related: rhbz#2003551
The policycoreutils-devel package is used not only for working with an
installed policy, but also for building the policy from sources. In the
latter case, there is no need to install selinux-policy-devel (and
selinux-policy along with it), so make the dependency conditional on
selinux-policy.

Since policy is often built from source in a mock chroot or a container,
this will avoid the awkward and unnecessary cyclic build dependency of
selinux-policy on itself.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2021-09-30 13:20:03 +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-policycoreutils-setfiles-do-not-create-useless-setfi.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0002-fixfiles-do-not-exclude-dev-and-run-in-C-mode.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0003-policycoreutils-silence-Wextra-semi-stmt-warning.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0004-policycoreutils-free-memory-on-lstat-failure-in-sest.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0005-policycoreutils-free-memory-of-allocated-context-in-.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0006-policycoreutils-free-memory-of-allocated-context-in-.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0007-sandbox-add-reset-to-Xephyr-as-it-works-better-with-.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0008-Fix-STANDARD_FILE_CONTEXT-section-in-man-pages.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0009-If-there-is-no-executable-we-don-t-want-to-print-a-p.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0010-Simplication-of-sepolicy-manpage-web-functionality.-.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0011-We-want-to-remove-the-trailing-newline-for-etc-syste.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0012-Fix-title-in-manpage.py-to-not-contain-online.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0013-Don-t-be-verbose-if-you-are-not-on-a-tty.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0014-sepolicy-Drop-old-interface-file_type_is_executable-.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0015-sepolicy-Another-small-optimization-for-mcs-types.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0016-Move-po-translation-files-into-the-right-sub-directo.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0017-Use-correct-gettext-domains-in-python-gui-sandbox.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0018-Initial-.pot-files-for-gui-python-sandbox.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0019-policycoreutils-setfiles-Improve-description-of-d-sw.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0020-sepolicy-generate-Handle-more-reserved-port-types.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0021-semodule-utils-Fix-RESOURCE_LEAK-coverity-scan-defec.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0022-sandbox-Use-matchbox-window-manager-instead-of-openb.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0023-sepolicy-Fix-flake8-warnings-in-Fedora-only-code.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0024-Do-not-use-Python-slip.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0025-dbus-Use-GLib.MainLoop.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0026-Use-SHA-2-instead-of-SHA-1.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
0027-python-sepolicy-Fix-COPY_PASTE_ERROR-CWE-398.patch policycoreutils-3.2-5 2021-07-30 14:20:20 +02:00
README.translations RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
gating.yaml Fix gating.yaml for rhel-9 product 2021-07-01 13:30:26 +02:00
make-rhat-patches.sh RHEL 9.0.0 Alpha bootstrap 2020-10-14 16:23:12 -07:00
policycoreutils.spec Make p-devel's selinux-policy-devel dep conditional on selinux-policy 2021-09-30 13:20:03 +02: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

README.translations

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