OBS User unknown 2009-07-04 07:48:08 +00:00 committed by Git OBS Bridge
parent 099722b401
commit ac4ffcbdd3
5 changed files with 39 additions and 14 deletions

View File

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

View File

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

13
checkpolicy-rhat.patch Normal file
View File

@ -0,0 +1,13 @@
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");

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Jun 23 12:29:42 CEST 2009 - prusnak@suse.cz
- require libsepol-devel-static
-------------------------------------------------------------------
Wed May 27 13:52:37 CEST 2009 - prusnak@suse.cz
- updated to 2.0.19
* fix alias field in module format, caused by boundary format change
from Caleb Case
* properly escape regex symbols in the lexer from Stephen Smalley
* add bounds support from KaiGai Kohei
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 20 18:03:54 CEST 2008 - prusnak@suse.cz Mon Oct 20 18:03:54 CEST 2008 - prusnak@suse.cz

View File

@ -1,7 +1,7 @@
# #
# spec file for package checkpolicy (Version 2.0.16) # spec file for package checkpolicy (Version 2.0.19)
# #
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,19 +17,20 @@
# norootforbuild # norootforbuild
%define libsepol_ver 2.0.32 %define libsepol_ver 2.0.35
BuildRequires: bison flex-old BuildRequires: bison flex-old
BuildRequires: libsepol-devel >= %{libsepol_ver} BuildRequires: libsepol-devel-static >= %{libsepol_ver}
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
Name: checkpolicy Name: checkpolicy
Version: 2.0.16 Version: 2.0.19
Release: 27 Release: 1
Url: http://www.nsa.gov/selinux/ Url: http://www.nsa.gov/selinux/
License: GPL v2 or later License: GPL v2 or later
Group: Productivity/Security Group: Productivity/Security
Summary: SELinux policy compiler Summary: SELinux policy compiler
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-rhat.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -50,8 +51,10 @@ required for building policies.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
make clean
make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS"
cd test cd test
make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" make LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS"
@ -76,8 +79,3 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/sedispol %{_bindir}/sedispol
%changelog %changelog
* Mon Oct 20 2008 prusnak@suse.cz
- use flex-old for building (using flex does not build refpolicy)
* Tue Jul 15 2008 prusnak@suse.cz
- initial version 2.0.16
* based on Fedora package by Dan Walsh <dwalsh@redhat.com>