Accepting request 181588 from security:SELinux
- change the source url to the official 2.1.12 release tarball (forwarded request 181178 from vitezslav_cizek) OBS-URL: https://build.opensuse.org/request/show/181588 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/checkpolicy?expand=0&rev=17
This commit is contained in:
commit
efd14e09f3
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:06acbc776134464d133669de82b7f7c7ebca376c307a3a3478544a42c5d050f1
|
||||
size 64151
|
3
checkpolicy-2.1.12.tar.gz
Normal file
3
checkpolicy-2.1.12.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e6a0ac539b74859b4262b317eb90d9914deb15e7aa509659f47724d50fe2ecc6
|
||||
size 64354
|
@ -1,13 +1,11 @@
|
||||
diff --exclude-from=exclude -N -u -r nsacheckpolicy/module_compiler.c checkpolicy-2.0.18/module_compiler.c
|
||||
--- nsacheckpolicy/module_compiler.c 2008-10-14 13:57:54.000000000 -0400
|
||||
+++ checkpolicy-2.0.18/module_compiler.c 2008-10-28 10:10:03.000000000 -0400
|
||||
@@ -904,8 +904,7 @@
|
||||
return -1;
|
||||
}
|
||||
case -2:{
|
||||
- yyerror("duplicate declaration of type/attribute");
|
||||
- return -1;
|
||||
+ return 0;
|
||||
}
|
||||
case -1:{
|
||||
yyerror("could not require type/attribute here");
|
||||
--- 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); }
|
||||
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 27 14:29:19 UTC 2013 - vcizek@suse.com
|
||||
|
||||
- change the source url to the official 2.1.12 release tarball
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@ -16,20 +16,20 @@
|
||||
#
|
||||
|
||||
|
||||
%define libsepol_ver 2.1.8
|
||||
%define libsepol_ver 2.1.9
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex-old
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: libsepol-devel-static >= %{libsepol_ver}
|
||||
|
||||
Name: checkpolicy
|
||||
Version: 2.1.11
|
||||
Version: 2.1.12
|
||||
Release: 0
|
||||
Url: http://userspace.selinuxproject.org/
|
||||
Summary: SELinux policy compiler
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Security
|
||||
Source: http://userspace.selinuxproject.org/releases/20120216/%{name}-%{version}.tar.gz
|
||||
Source: http://userspace.selinuxproject.org/releases/20130423/%{name}-%{version}.tar.gz
|
||||
Patch0: %{name}-rhat.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user