Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/libsepol.git#2d96c8836cff726e295dbf7e18834d50d2f5c1aa
This commit is contained in:
parent
01849d4202
commit
e8d76688bc
1
.gitignore
vendored
1
.gitignore
vendored
@ -177,3 +177,4 @@ libsepol-2.0.41.tgz
|
||||
/libsepol-3.0-rc1.tar.gz
|
||||
/libsepol-3.0.tar.gz
|
||||
/libsepol-3.1.tar.gz
|
||||
/libsepol-3.2-rc1.tar.gz
|
||||
|
||||
@ -1,28 +1,15 @@
|
||||
Summary: SELinux binary policy manipulation library
|
||||
Name: libsepol
|
||||
Version: 3.1
|
||||
Release: 5%{?dist}
|
||||
Version: 3.2
|
||||
Release: 0.rc1.1%{?dist}
|
||||
License: LGPLv2+
|
||||
Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/libsepol-3.1.tar.gz
|
||||
Source0: https://github.com/SELinuxProject/selinux/releases/download/3.2-rc1/libsepol-3.2-rc1.tar.gz
|
||||
URL: https://github.com/SELinuxProject/selinux/wiki
|
||||
# $ git clone https://github.com/fedora-selinux/selinux.git
|
||||
# $ cd selinux
|
||||
# $ git format-patch -N libsepol-3.1 -- libsepol
|
||||
# $ git format-patch -N libsepol-3.2-rc1 -- libsepol
|
||||
# $ i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done
|
||||
# Patch list start
|
||||
Patch0001: 0001-libsepol-checkpolicy-optimize-storage-of-filename-tr.patch
|
||||
Patch0002: 0002-libsepol-implement-POLICYDB_VERSION_COMP_FTRANS.patch
|
||||
Patch0003: 0003-libsepol-cil-Validate-constraint-expressions-before-.patch
|
||||
Patch0004: 0004-libsepol-cil-Validate-conditional-expressions-before.patch
|
||||
Patch0005: 0005-libsepol-cil-Fix-neverallow-checking-involving-class.patch
|
||||
Patch0006: 0006-libsepol-cil-fix-signed-overflow-caused-by-using-1-3.patch
|
||||
Patch0007: 0007-libsepol-drop-confusing-BUG_ON-macro.patch
|
||||
Patch0008: 0008-libsepol-silence-potential-NULL-pointer-dereference-.patch
|
||||
Patch0009: 0009-libsepol-Get-rid-of-the-old-and-duplicated-symbols.patch
|
||||
Patch0010: 0010-libsepol-Drop-deprecated-functions.patch
|
||||
Patch0011: 0011-libsepol-Bump-libsepol.so-version.patch
|
||||
Patch0012: 0012-libsepol-cil-Give-error-for-more-than-one-true-or-fa.patch
|
||||
Patch0013: 0013-libsepol-free-memory-when-realloc-fails.patch
|
||||
# Patch list end
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
@ -62,7 +49,7 @@ The libsepol-static package contains the static libraries and header files
|
||||
needed for developing applications that manipulate binary policies.
|
||||
|
||||
%prep
|
||||
%autosetup -p 2 -n libsepol-%{version}
|
||||
%autosetup -p 2 -n libsepol-%{version}-rc1
|
||||
|
||||
# sparc64 is an -fPIC arch, so we need to fix it here
|
||||
%ifarch sparc64
|
||||
@ -75,8 +62,7 @@ CFLAGS="$CFLAGS -fno-semantic-interposition"
|
||||
%make_build
|
||||
|
||||
%install
|
||||
mkdir -p ${RPM_BUILD_ROOT}/%{_lib}
|
||||
mkdir -p ${RPM_BUILD_ROOT}/%{_libdir}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man3
|
||||
@ -103,11 +89,13 @@ rm -rf ${RPM_BUILD_ROOT}%{_mandir}/ru/man8
|
||||
%{_includedir}/sepol/cil/*.h
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%{_libdir}/libsepol.so.2
|
||||
|
||||
%changelog
|
||||
* Wed Jan 20 2021 Petr Lautrbach <plautrba@redhat.com> - 3.2-0.rc1.1
|
||||
- SELinux userspace 3.2-rc1 release
|
||||
|
||||
* Fri Nov 20 2020 Petr Lautrbach <plautrba@redhat.com> - 3.1-5
|
||||
- Drop and obsolete libsepol-compat subpackage
|
||||
- cil: Give error for more than one true or false block
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libsepol-3.1.tar.gz) = 4b5f4e82853ff3e9b4fac2dbdea5c2fc3bb7b508af912217ac4b75da6540fbcd77aa314ab95cd9dfa94fbc4a885000656a663c1a152f65b4cf6970ea0b6034ab
|
||||
SHA512 (libsepol-3.2-rc1.tar.gz) = 3dc5244dbfdd9791ac63313ca31b0948daaef61f794a68a94a4d4a9a8df630966b7293bcdb838874d12c5e41dc4d79093b151f7bde0bb71e2e068723873168f4
|
||||
|
||||
Loading…
Reference in New Issue
Block a user