SHA256
3
0
forked from pool/libsepol

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
This commit is contained in:
Johannes Segitz 2020-07-14 14:13:51 +00:00 committed by Git OBS Bridge
parent 7fb641ce31
commit 40b6433ba8
4 changed files with 18 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b7ae1881909f1048b06f7a0c364c5c8a86ec12e0ec76e740fe9595a6033eb79
size 473864

3
libsepol-3.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae6778d01443fdd38cd30eeee846494e19f4d407b09872580372f4aa4bf8a3cc
size 473842

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Jul 14 08:39:58 UTC 2020 - Johannes Segitz <jsegitz@suse.com>
- 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 <mliska@suse.cz> Mon Apr 27 19:35:18 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -17,15 +17,14 @@
Name: libsepol Name: libsepol
Version: 3.0 Version: 3.1
Release: 0 Release: 0
Summary: SELinux binary policy manipulation library Summary: SELinux binary policy manipulation library
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: https://github.com/SELinuxProject/selinux/wiki/Releases 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 Source2: baselibs.conf
Patch1: remove_cil_mem_error_handler.patch
BuildRequires: flex BuildRequires: flex
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -87,12 +86,10 @@ policies.
%prep %prep
%setup -q %setup -q
%patch1 -p1
%build %build
%define _lto_cflags %{nil} %define _lto_cflags %{nil}
%global optflags %{optflags} -fcommon export CFLAGS="%{optflags} -fcommon"
export CFLAGS="%{optflags}"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install