Accepting request 162365 from home:vitezslav_cizek:branches:security:SELinux
- update to 2.1.12 * Fix errors found by coverity * implement default type policy syntax * Free allocated memory when clean up / exit. - changes in checkpolicy-rhat.patch: * original hunk was merged upstream * space should be allowed for file trans names OBS-URL: https://build.opensuse.org/request/show/162365 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/checkpolicy?expand=0&rev=22
This commit is contained in:
parent
472fca2484
commit
82f2d29446
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:06acbc776134464d133669de82b7f7c7ebca376c307a3a3478544a42c5d050f1
|
|
||||||
size 64151
|
|
3
checkpolicy-2.1.12.tgz
Normal file
3
checkpolicy-2.1.12.tgz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:26bb4506f8d50376d18f5c4a22681fe94bad0b573ea743bb51a4d022284ebe9e
|
||||||
|
size 65586
|
@ -1,13 +1,11 @@
|
|||||||
diff --exclude-from=exclude -N -u -r nsacheckpolicy/module_compiler.c checkpolicy-2.0.18/module_compiler.c
|
--- checkpolicy/policy_scan.l
|
||||||
--- nsacheckpolicy/module_compiler.c 2008-10-14 13:57:54.000000000 -0400
|
+++ checkpolicy/policy_scan.l
|
||||||
+++ checkpolicy-2.0.18/module_compiler.c 2008-10-28 10:10:03.000000000 -0400
|
@@ -240,7 +240,7 @@ HIGH { return(HIGH); }
|
||||||
@@ -904,8 +904,7 @@
|
low |
|
||||||
return -1;
|
LOW { return(LOW); }
|
||||||
}
|
"/"({alnum}|[_\.\-/])* { return(PATH); }
|
||||||
case -2:{
|
-\"({alnum}|[_\.\-\+\~])+\" { return(FILENAME); }
|
||||||
- yyerror("duplicate declaration of type/attribute");
|
+\"({alnum}|[_\.\-\+\~ ])+\" { return(FILENAME); }
|
||||||
- return -1;
|
{letter}({alnum}|[_\-])*([\.]?({alnum}|[_\-]))* { return(IDENTIFIER); }
|
||||||
+ return 0;
|
{alnum}*{letter}{alnum}* { return(FILESYSTEM); }
|
||||||
}
|
{digit}+|0x{hexval}+ { return(NUMBER); }
|
||||||
case -1:{
|
|
||||||
yyerror("could not require type/attribute here");
|
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 29 13:10:16 UTC 2013 - vcizek@suse.com
|
||||||
|
|
||||||
|
- update to 2.1.12
|
||||||
|
* Fix errors found by coverity
|
||||||
|
* implement default type policy syntax
|
||||||
|
* Free allocated memory when clean up / exit.
|
||||||
|
- changes in checkpolicy-rhat.patch:
|
||||||
|
* original hunk was merged upstream
|
||||||
|
* space should be allowed for file trans names
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 30 11:40:10 UTC 2013 - vcizek@suse.com
|
Wed Jan 30 11:40:10 UTC 2013 - vcizek@suse.com
|
||||||
|
|
||||||
|
@ -16,20 +16,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define libsepol_ver 2.1.8
|
%define libsepol_ver 2.1.9
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex-old
|
BuildRequires: flex-old
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: libsepol-devel-static >= %{libsepol_ver}
|
BuildRequires: libsepol-devel-static >= %{libsepol_ver}
|
||||||
|
|
||||||
Name: checkpolicy
|
Name: checkpolicy
|
||||||
Version: 2.1.11
|
Version: 2.1.12
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://userspace.selinuxproject.org/
|
Url: http://userspace.selinuxproject.org/
|
||||||
Summary: SELinux policy compiler
|
Summary: SELinux policy compiler
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
Source: http://userspace.selinuxproject.org/releases/20120216/%{name}-%{version}.tar.gz
|
#Source: http://userspace.selinuxproject.org/releases/20120216/%{name}-%{version}.tgz
|
||||||
|
Source: http://pkgs.fedoraproject.org/lookaside/pkgs/checkpolicy/%{name}-%{version}.tgz
|
||||||
Patch0: %{name}-rhat.patch
|
Patch0: %{name}-rhat.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user