SHA256
1
0
forked from pool/libsepol

Accepting request 161741 from home:vitezslav_cizek:branches:security:SELinux

- update to 2.1.9
  * filename_trans: use some better sorting to compare and merge
  * coverity fixes
  * implement default type policy syntax
  * Fix memory leak issues found by Klocwork
- added libsepol-rhat.patch

OBS-URL: https://build.opensuse.org/request/show/161741
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libsepol?expand=0&rev=37
This commit is contained in:
Marcus Meissner 2013-04-02 11:49:49 +00:00 committed by Git OBS Bridge
parent 79ce4549f8
commit 417254bb2c
5 changed files with 1137 additions and 6 deletions

View File

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

3
libsepol-2.1.9.tgz Normal file
View File

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

1118
libsepol-rhat.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Feb 13 14:34:39 UTC 2013 - vcizek@suse.com
- update to 2.1.9
* filename_trans: use some better sorting to compare and merge
* coverity fixes
* implement default type policy syntax
* Fix memory leak issues found by Klocwork
- added libsepol-rhat.patch
-------------------------------------------------------------------
Mon Jan 7 22:46:48 UTC 2013 - jengelh@inai.de

View File

@ -17,15 +17,16 @@
Name: libsepol
Version: 2.1.8
Version: 2.1.9
Release: 0
Url: http://www.nsa.gov/selinux/
Summary: SELinux binary policy manipulation library
License: LGPL-2.1+
Group: System/Libraries
Source: http://userspace.selinuxproject.org/releases/20120924/%{name}-%{version}.tar.gz
Source: http://userspace.selinuxproject.org/releases/20120924/%{name}-%{version}.tgz
Source2: baselibs.conf
Patch: libsepol-2.1.4-role_fix_callback.patch
Patch2: libsepol-rhat.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config
@ -100,9 +101,11 @@ policies.
%prep
%setup -q
%patch -p1
%patch2 -p2
%build
make %{?_smp_mflags} CC="%{__cc}" CFLAGS="$RPM_OPT_FLAGS"
#make %{?_smp_mflags} CC="%{__cc}" CFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags} CC="%{__cc}" CFLAGS="-fmessage-length=0 -O0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g"
%install
mkdir -p $RPM_BUILD_ROOT/%{_lib}