SELinux policy core utilities
Go to file
Ondrej Mosnacek ad77419a1d Make p-devel's selinux-policy-devel dep conditional on selinux-policy
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-08-10 19:29:27 +00:00
tests tests: Filter using new "generic" and "fedora" tags 2019-03-13 11:31:11 +01:00
.gitignore SELinux userspace 3.2 release 2021-03-08 16:41:05 +01:00
0001-policycoreutils-setfiles-do-not-create-useless-setfi.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0002-fixfiles-do-not-exclude-dev-and-run-in-C-mode.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0003-policycoreutils-silence-Wextra-semi-stmt-warning.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0004-policycoreutils-free-memory-on-lstat-failure-in-sest.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0005-policycoreutils-free-memory-of-allocated-context-in-.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0006-policycoreutils-free-memory-of-allocated-context-in-.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0007-sandbox-add-reset-to-Xephyr-as-it-works-better-with-.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0008-Fix-STANDARD_FILE_CONTEXT-section-in-man-pages.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0009-If-there-is-no-executable-we-don-t-want-to-print-a-p.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0010-Simplication-of-sepolicy-manpage-web-functionality.-.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0011-We-want-to-remove-the-trailing-newline-for-etc-syste.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0012-Fix-title-in-manpage.py-to-not-contain-online.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0013-Don-t-be-verbose-if-you-are-not-on-a-tty.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0014-sepolicy-Drop-old-interface-file_type_is_executable-.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0015-sepolicy-Another-small-optimization-for-mcs-types.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0016-Move-po-translation-files-into-the-right-sub-directo.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0017-Use-correct-gettext-domains-in-python-gui-sandbox.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0018-Initial-.pot-files-for-gui-python-sandbox.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0019-policycoreutils-setfiles-Improve-description-of-d-sw.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0020-sepolicy-generate-Handle-more-reserved-port-types.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0021-semodule-utils-Fix-RESOURCE_LEAK-coverity-scan-defec.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0022-sandbox-Use-matchbox-window-manager-instead-of-openb.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0023-sepolicy-Fix-flake8-warnings-in-Fedora-only-code.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0024-Do-not-use-Python-slip.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
0025-dbus-Use-GLib.MainLoop.patch policycoreutils-3.2-5 2021-07-28 19:10:43 +02:00
gating.yaml Enable gating on tests 2020-11-20 15:10:04 +01:00
make-rhat-patches.sh Merge branch 'private-master-2.4' 2015-07-20 18:34:55 +02:00
policycoreutils.spec Make p-devel's selinux-policy-devel dep conditional on selinux-policy 2021-08-10 19:29:27 +00:00
README.translations Update README.translations to reflect recent changes and add default zanata.xml 2018-08-07 18:01:26 +02:00
selinux-autorelabel selinux-autorelabel: Increment boot_indeterminate grub environment variable 2018-06-18 11:03:49 +02:00
selinux-autorelabel-generator.sh Use generator approach to fix autorelabel. 2016-07-20 22:31:07 +02: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.2 release 2021-03-08 16:41:05 +01:00
system-config-selinux.png Fix empty system-config-selinux.png 2013-02-12 16:16:02 -05:00
zanata.xml Update README.translations to reflect recent changes and add default zanata.xml 2018-08-07 18:01:26 +02: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