From 40b6433ba83f97952d4e7fd80cf4c2510bde9239d338958b52d1032c9e3991b3 Mon Sep 17 00:00:00 2001 From: Johannes Segitz Date: Tue, 14 Jul 2020 14:13:51 +0000 Subject: [PATCH] Accepting request 820921 from home:jsegitz:branches:security:SELinux - Update to version 3.1 * Add support for new polcap genfs_seclabel_symlinks * Initialize the multiple_decls field of the cil db * Return error when identifier declared as both type and attribute * Write CIL default MLS rules on separate lines * Sort portcon rules consistently * Remove leftovers of cil_mem_error_handler * Drop remove_cil_mem_error_handler.patch, is included OBS-URL: https://build.opensuse.org/request/show/820921 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libsepol?expand=0&rev=80 --- libsepol-3.0.tar.gz | 3 --- libsepol-3.1.tar.gz | 3 +++ libsepol.changes | 12 ++++++++++++ libsepol.spec | 9 +++------ 4 files changed, 18 insertions(+), 9 deletions(-) delete mode 100644 libsepol-3.0.tar.gz create mode 100644 libsepol-3.1.tar.gz diff --git a/libsepol-3.0.tar.gz b/libsepol-3.0.tar.gz deleted file mode 100644 index fd6ad88..0000000 --- a/libsepol-3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79 -size 473864 diff --git a/libsepol-3.1.tar.gz b/libsepol-3.1.tar.gz new file mode 100644 index 0000000..73474e7 --- /dev/null +++ b/libsepol-3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae6778d01443fdd38cd30eeee846494e19f4d407b09872580372f4aa4bf8a3cc +size 473842 diff --git a/libsepol.changes b/libsepol.changes index 06e385a..da20917 100644 --- a/libsepol.changes +++ b/libsepol.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Jul 14 08:39:58 UTC 2020 - Johannes Segitz + +- Update to version 3.1 + * Add support for new polcap genfs_seclabel_symlinks + * Initialize the multiple_decls field of the cil db + * Return error when identifier declared as both type and attribute + * Write CIL default MLS rules on separate lines + * Sort portcon rules consistently + * Remove leftovers of cil_mem_error_handler + * Drop remove_cil_mem_error_handler.patch, is included + ------------------------------------------------------------------- Mon Apr 27 19:35:18 UTC 2020 - Martin Liška diff --git a/libsepol.spec b/libsepol.spec index 53727d9..6b50f0d 100644 --- a/libsepol.spec +++ b/libsepol.spec @@ -17,15 +17,14 @@ Name: libsepol -Version: 3.0 +Version: 3.1 Release: 0 Summary: SELinux binary policy manipulation 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/20191204/%{name}-%{version}.tar.gz +Source: https://github.com/SELinuxProject/selinux/releases/download/20200710/%{name}-%{version}.tar.gz Source2: baselibs.conf -Patch1: remove_cil_mem_error_handler.patch BuildRequires: flex BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -87,12 +86,10 @@ policies. %prep %setup -q -%patch1 -p1 %build %define _lto_cflags %{nil} -%global optflags %{optflags} -fcommon -export CFLAGS="%{optflags}" +export CFLAGS="%{optflags} -fcommon" make %{?_smp_mflags} %install