From 63a2d35fbea2a61c573344243c4912d5a7a91d41ac5c10bba285fb91179b23b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 5 Mar 2020 10:11:12 +0000 Subject: [PATCH] Accepting request 781797 from home:jsegitz:branches:security:SELinux - Update to version 3.0 * Add support for DCCP and SCTP protocols * include internal header to use the hidden function prototypes * mark all exported function "extern" * optionally optimize policy on rebuild Refreshed suse_path.patch - Update to version 3.0 * Add support for DCCP and SCTP protocols * include internal header to use the hidden function prototypes * mark all exported function "extern" * optionally optimize policy on rebuild Refreshed suse_path.patch OBS-URL: https://build.opensuse.org/request/show/781797 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libsemanage?expand=0&rev=77 --- libsemanage-2.9.tar.gz | 3 --- libsemanage-3.0.tar.gz | 3 +++ libsemanage.changes | 10 ++++++++++ libsemanage.spec | 8 ++++---- python-semanage.changes | 10 ++++++++++ python-semanage.spec | 8 ++++---- suse_path.patch | 10 +++++----- 7 files changed, 36 insertions(+), 16 deletions(-) delete mode 100644 libsemanage-2.9.tar.gz create mode 100644 libsemanage-3.0.tar.gz diff --git a/libsemanage-2.9.tar.gz b/libsemanage-2.9.tar.gz deleted file mode 100644 index 27c567c..0000000 --- a/libsemanage-2.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2576349d344492e73b468059767268dec1dabd8c35f3c7222c3ec2448737bc1c -size 157690 diff --git a/libsemanage-3.0.tar.gz b/libsemanage-3.0.tar.gz new file mode 100644 index 0000000..74ba01e --- /dev/null +++ b/libsemanage-3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a497b0720d54eac427f1f3f618eed417e50ed8f4e47ed0f7a1d391bd416e84cf +size 180745 diff --git a/libsemanage.changes b/libsemanage.changes index 0c23045..d81e1fd 100644 --- a/libsemanage.changes +++ b/libsemanage.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Mar 3 12:23:51 UTC 2020 - Johannes Segitz + +- Update to version 3.0 + * Add support for DCCP and SCTP protocols + * include internal header to use the hidden function prototypes + * mark all exported function "extern" + * optionally optimize policy on rebuild + Refreshed suse_path.patch + ------------------------------------------------------------------- Thu Jun 20 10:22:04 UTC 2019 - Martin Liška diff --git a/libsemanage.spec b/libsemanage.spec index d34243f..6d414ba 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -1,7 +1,7 @@ # # spec file for package libsemanage # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: libsemanage -Version: 2.9 +Version: 3.0 Release: 0 Summary: SELinux policy management library License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ -Url: https://github.com/SELinuxProject/selinux/wiki/Releases -Source: https://github.com/SELinuxProject/selinux/releases/download/20190315/%{name}-%{version}.tar.gz +URL: https://github.com/SELinuxProject/selinux/wiki/Releases +Source: https://github.com/SELinuxProject/selinux/releases/download/20191204/%{name}-%{version}.tar.gz Source1: baselibs.conf Source2: semanage.conf Patch0: suse_path.patch diff --git a/python-semanage.changes b/python-semanage.changes index b3fb2fb..bf94a06 100644 --- a/python-semanage.changes +++ b/python-semanage.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Mar 3 12:23:51 UTC 2020 - Johannes Segitz + +- Update to version 3.0 + * Add support for DCCP and SCTP protocols + * include internal header to use the hidden function prototypes + * mark all exported function "extern" + * optionally optimize policy on rebuild + Refreshed suse_path.patch + ------------------------------------------------------------------- Fri May 3 12:22:25 UTC 2019 - Martin Liška diff --git a/python-semanage.spec b/python-semanage.spec index 9ba3967..7d82b28 100644 --- a/python-semanage.spec +++ b/python-semanage.spec @@ -1,7 +1,7 @@ # # spec file for package python-semanage # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-semanage -Version: 2.9 +Version: 3.0 Release: 0 Summary: Python bindings for SELinux's policy management library License: LGPL-2.1-only Group: Development/Languages/Python -Url: https://github.com/SELinuxProject/selinux -Source: https://github.com/SELinuxProject/selinux/releases/download/20190315/libsemanage-%{version}.tar.gz +URL: https://github.com/SELinuxProject/selinux +Source: https://github.com/SELinuxProject/selinux/releases/download/20191204/libsemanage-%{version}.tar.gz Source1: baselibs.conf Patch0: suse_path.patch BuildRequires: %{python_module devel} diff --git a/suse_path.patch b/suse_path.patch index 05215cb..ca6704d 100644 --- a/suse_path.patch +++ b/suse_path.patch @@ -1,7 +1,7 @@ Index: man/man5/semanage.conf.5 =================================================================== ---- man/man5/semanage.conf.5.orig 2016-02-23 17:31:41.000000000 +0100 -+++ man/man5/semanage.conf.5 2016-07-13 11:42:45.687894644 +0200 +--- man/man5/semanage.conf.5.orig ++++ man/man5/semanage.conf.5 @@ -37,7 +37,7 @@ Specify an alternative store_root path t .TP @@ -13,9 +13,9 @@ Index: man/man5/semanage.conf.5 .B ignore-module-cache Index: src/conf-parse.y =================================================================== ---- src/conf-parse.y.orig 2016-02-23 17:31:41.000000000 +0100 -+++ src/conf-parse.y 2016-07-13 11:42:45.687894644 +0200 -@@ -341,7 +341,7 @@ static int semanage_conf_init(semanage_c +--- src/conf-parse.y.orig ++++ src/conf-parse.y +@@ -353,7 +353,7 @@ static int semanage_conf_init(semanage_c conf->store_path = strdup(basename(selinux_policy_root())); conf->ignoredirs = NULL; conf->store_root_path = strdup("/var/lib/selinux");