Accepting request 832089 from security:SELinux

please stage with updated gcc to prevent build failures

OBS-URL: https://build.opensuse.org/request/show/832089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/checkpolicy?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2020-10-06 15:06:28 +00:00 committed by Git OBS Bridge
commit fd7b7f7931
5 changed files with 14 additions and 21 deletions

View File

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

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

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jul 14 08:31:15 UTC 2020 - Johannes Segitz <jsegitz@suse.com>
- Update to version 3.1
* checkpolicy treats invalid characters as an error - might break rare use
cases (intentionally)
* Drop extern_te_assert_t.patch, is upstream
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 3 12:19:40 UTC 2020 - Johannes Segitz <jsegitz@suse.de> Tue Mar 3 12:19:40 UTC 2020 - Johannes Segitz <jsegitz@suse.de>

View File

@ -16,17 +16,16 @@
# #
%define libsepol_ver 3.0 %define libsepol_ver 3.1
Name: checkpolicy Name: checkpolicy
Version: 3.0 Version: 3.1
Release: 0 Release: 0
Summary: SELinux policy compiler Summary: SELinux policy compiler
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Security Group: Productivity/Security
URL: https://github.com/SELinuxProject/selinux URL: https://github.com/SELinuxProject/selinux
Source0: https://github.com/SELinuxProject/selinux/releases/download/20191204/%{name}-%{version}.tar.gz Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/%{name}-%{version}.tar.gz
Source1: checkpolicy-tests.tar.gz Source1: checkpolicy-tests.tar.gz
Patch0: extern_te_assert_t.patch
BuildRequires: bison BuildRequires: bison
BuildRequires: flex BuildRequires: flex
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
@ -68,7 +67,6 @@ to use checkpolicy from Python.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
make clean make clean

View File

@ -1,13 +0,0 @@
Index: checkpolicy-2.9/checkpolicy.h
===================================================================
--- checkpolicy-2.9.orig/checkpolicy.h 2019-03-15 10:32:30.000000000 +0000
+++ checkpolicy-2.9/checkpolicy.h 2020-01-15 14:23:04.742118559 +0000
@@ -13,7 +13,7 @@ typedef struct te_assert {
struct te_assert *next;
} te_assert_t;
-te_assert_t *te_assertions;
+extern te_assert_t *te_assertions;
extern unsigned int policyvers;