forked from pool/libselinux
Accepting request 205373 from home:posophe:branches:security:SELinux
- Update to version 2.2 * Fix avc_has_perm() returns -1 even when SELinux is in permissive mode. * Support overriding Makefile RANLIB * Update pkgconfig definition * Mount sysfs before trying to mount selinuxfs. * Fix man pages * Support overriding PATH and LIBBASE in Makefile * Fix LDFLAGS usage * Avoid shadowing stat in load_mmap * Support building on older PCRE libraries * Fix handling of temporary file in sefcontext_compile * Fix procattr cache * Define python constants for getenforce result * Fix label substitution handling of / * Add selinux_current_policy_path from * Change get_context_list to only return good matches * Support udev-197 and higher * Add support for local substitutions * Change setfilecon to not return ENOSUP if context is already correct * Python wrapper leak fixes * Export SELINUX_TRANS_DIR definition in selinux.h * Add selinux_systemd_contexts_path * Add selinux_set_policy_root * Add man page for sefcontext_compile - Remove libselinux-rhat.patch; merged on upstream - Adapt libselinux-ruby.patch to upstream changes - Use fdupes to symlink duplicate manpages OBS-URL: https://build.opensuse.org/request/show/205373 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=73
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%define libsepol_ver 2.1.9
|
||||
%define libsepol_ver 2.2
|
||||
|
||||
Name: libselinux-bindings
|
||||
Version: 2.1.13
|
||||
Version: 2.2
|
||||
Release: 0
|
||||
Url: http://userspace.selinuxproject.org/
|
||||
Summary: SELinux library and simple utilities
|
||||
@@ -27,11 +27,10 @@ License: GPL-2.0 and SUSE-Public-Domain
|
||||
Group: System/Libraries
|
||||
|
||||
# embedded is the MD5
|
||||
Source: http://userspace.selinuxproject.org/releases/20130423/libselinux-%{version}.tar.gz
|
||||
Source: http://userspace.selinuxproject.org/releases/20131030/libselinux-%{version}.tar.gz
|
||||
Source1: selinux-ready
|
||||
Source2: baselibs.conf
|
||||
Patch0: libselinux-rhat.patch
|
||||
Patch1: libselinux-ruby.patch
|
||||
Patch1: libselinux-2.2-ruby.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libsepol-devel-static >= %{libsepol_ver}
|
||||
BuildRequires: pcre-devel
|
||||
@@ -106,7 +105,6 @@ decisions. Required for any applications that use the SELinux API.
|
||||
|
||||
%prep
|
||||
%setup -q -n libselinux-%{version}
|
||||
%patch0 -p2
|
||||
%patch1
|
||||
|
||||
%build
|
||||
|
Reference in New Issue
Block a user