Accepting request 206079 from security:SELinux

- Update to version 2.2
  * Fix hyphen usage in man pages
  * handle-unknown / -U required argument fix
  * Support overriding Makefile PATH and LIBDIR
  * Support space and : in filenames
- Remove checkpolicy-rhat.patch; fixed on upstream (forwarded request 205367 from posophe)

OBS-URL: https://build.opensuse.org/request/show/206079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/checkpolicy?expand=0&rev=19
This commit is contained in:
Stephan Kulow 2013-11-07 13:42:12 +00:00 committed by Git OBS Bridge
commit 12cf23b246
5 changed files with 16 additions and 19 deletions

View File

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

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

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

View File

@ -1,11 +0,0 @@
--- checkpolicy/policy_scan.l
+++ checkpolicy/policy_scan.l
@@ -240,7 +240,7 @@ HIGH { return(HIGH); }
low |
LOW { return(LOW); }
"/"({alnum}|[_\.\-/])* { return(PATH); }
-\"({alnum}|[_\.\-\+\~])+\" { return(FILENAME); }
+\"({alnum}|[_\.\-\+\~ ])+\" { return(FILENAME); }
{letter}({alnum}|[_\-])*([\.]?({alnum}|[_\-]))* { return(IDENTIFIER); }
{alnum}*{letter}{alnum}* { return(FILESYSTEM); }
{digit}+|0x{hexval}+ { return(NUMBER); }

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Oct 31 13:41:13 UTC 2013 - p.drouand@gmail.com
- Update to version 2.2
* Fix hyphen usage in man pages
* handle-unknown / -U required argument fix
* Support overriding Makefile PATH and LIBDIR
* Support space and : in filenames
- Remove checkpolicy-rhat.patch; fixed on upstream
-------------------------------------------------------------------
Thu Jun 27 14:29:19 UTC 2013 - vcizek@suse.com

View File

@ -16,21 +16,20 @@
#
%define libsepol_ver 2.1.9
%define libsepol_ver 2.2
BuildRequires: bison
BuildRequires: flex-old
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel-static >= %{libsepol_ver}
Name: checkpolicy
Version: 2.1.12
Version: 2.2
Release: 0
Url: http://userspace.selinuxproject.org/
Summary: SELinux policy compiler
License: GPL-2.0+
Group: Productivity/Security
Source: http://userspace.selinuxproject.org/releases/20130423/%{name}-%{version}.tar.gz
Patch0: %{name}-rhat.patch
Source: http://userspace.selinuxproject.org/releases/20131030/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -51,7 +50,6 @@ required for building policies.
%prep
%setup -q
%patch0 -p1
%build
make clean