diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2019-11-14 09:48:54 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2019-12-19 11:09:21 -0500 |
commit | 751d5a3f2abb7cf629136fd6dc752d63477058cf (patch) | |
tree | d4686ce5f61e78d2e2cab48225f36d1120a5c7c5 /recipes-security/selinux/selinux-python/fix-sepolicy-install-path.patch | |
parent | 72a6a1f88bd43bf5ff47e019868b0b4a9ab2a619 (diff) | |
download | meta-selinux-751d5a3f2abb7cf629136fd6dc752d63477058cf.tar.gz |
selinux-python: uprev to 2.9 (20190315)
* Switch to python3
* Drop patches:
fix-TypeError-for-seobject.py.patch
process-ValueError-for-sepolicy-seobject.patch
* Rebase patches
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'recipes-security/selinux/selinux-python/fix-sepolicy-install-path.patch')
-rw-r--r-- | recipes-security/selinux/selinux-python/fix-sepolicy-install-path.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-security/selinux/selinux-python/fix-sepolicy-install-path.patch b/recipes-security/selinux/selinux-python/fix-sepolicy-install-path.patch index 6f68c94..30a19eb 100644 --- a/recipes-security/selinux/selinux-python/fix-sepolicy-install-path.patch +++ b/recipes-security/selinux/selinux-python/fix-sepolicy-install-path.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c1aae6cc131371729f098e4b0aa02142a85b5890 Mon Sep 17 00:00:00 2001 | 1 | From e57022e3577770188ad3570005b7107a09cf3bb9 Mon Sep 17 00:00:00 2001 |
2 | From: Xin Ouyang <Xin.Ouyang@windriver.com> | 2 | From: Xin Ouyang <Xin.Ouyang@windriver.com> |
3 | Date: Mon, 23 Sep 2013 21:17:59 +0800 | 3 | Date: Mon, 23 Sep 2013 21:17:59 +0800 |
4 | Subject: [PATCH] policycoreutils: fix install path for new pymodule sepolicy | 4 | Subject: [PATCH] policycoreutils: fix install path for new pymodule sepolicy |
@@ -13,10 +13,10 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | |||
13 | 1 file changed, 3 insertions(+), 1 deletion(-) | 13 | 1 file changed, 3 insertions(+), 1 deletion(-) |
14 | 14 | ||
15 | diff --git a/sepolicy/Makefile b/sepolicy/Makefile | 15 | diff --git a/sepolicy/Makefile b/sepolicy/Makefile |
16 | index fb8a132..a6ee749 100644 | 16 | index 69f29fa..a18d1c3 100644 |
17 | --- a/sepolicy/Makefile | 17 | --- a/sepolicy/Makefile |
18 | +++ b/sepolicy/Makefile | 18 | +++ b/sepolicy/Makefile |
19 | @@ -8,6 +8,8 @@ BASHCOMPLETIONDIR ?= $(PREFIX)/share/bash-completion/completions | 19 | @@ -9,6 +9,8 @@ BASHCOMPLETIONDIR ?= $(PREFIX)/share/bash-completion/completions |
20 | CFLAGS ?= -Wall -Werror -Wextra -W | 20 | CFLAGS ?= -Wall -Werror -Wextra -W |
21 | override CFLAGS += -DPACKAGE="policycoreutils" -DSHARED -shared | 21 | override CFLAGS += -DPACKAGE="policycoreutils" -DSHARED -shared |
22 | 22 | ||
@@ -25,7 +25,7 @@ index fb8a132..a6ee749 100644 | |||
25 | BASHCOMPLETIONS=sepolicy-bash-completion.sh | 25 | BASHCOMPLETIONS=sepolicy-bash-completion.sh |
26 | 26 | ||
27 | all: python-build | 27 | all: python-build |
28 | @@ -26,7 +28,7 @@ test: | 28 | @@ -27,7 +29,7 @@ test: |
29 | @$(PYTHON) test_sepolicy.py -v | 29 | @$(PYTHON) test_sepolicy.py -v |
30 | 30 | ||
31 | install: | 31 | install: |