3
0
forked from pool/libsemanage

Accepting request 415254 from security:SELinux

1

OBS-URL: https://build.opensuse.org/request/show/415254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsemanage?expand=0&rev=39
This commit is contained in:
Dominique Leuenberger 2016-08-03 09:36:38 +00:00 committed by Git OBS Bridge
commit 32f53bb3de
4 changed files with 40 additions and 46 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jul 17 15:17:39 UTC 2016 - jengelh@inai.de
- Update RPM groups, trim description, combine filelist entries,
ensure pkgconfig() symbols are generated.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 14 14:20:12 UTC 2016 - jsegitz@novell.com Thu Jul 14 14:20:12 UTC 2016 - jsegitz@novell.com

View File

@ -19,9 +19,9 @@
Name: libsemanage Name: libsemanage
Version: 2.5 Version: 2.5
Release: 0 Release: 0
Summary: SELinux binary policy manipulation library Summary: SELinux policy management library
License: LGPL-2.1+ License: LGPL-2.1+
Group: System/Libraries Group: Development/Libraries/C and C++
Url: https://github.com/SELinuxProject/selinux/wiki/Releases Url: https://github.com/SELinuxProject/selinux/wiki/Releases
Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/%{name}-%{version}.tar.gz Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/%{name}-%{version}.tar.gz
Source1: baselibs.conf Source1: baselibs.conf
@ -35,63 +35,47 @@ BuildRequires: libbz2-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: libsepol-devel BuildRequires: libsepol-devel
BuildRequires: libustr-devel BuildRequires: libustr-devel
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
Security-enhanced Linux is a feature of the Linux kernel and a number libsemanage is the policy management library. Using libsepol and
of utilities with enhanced security functionality designed to add libselinux to interact with the SELinux system, it also calls helper
mandatory access controls to Linux. The Security-enhanced Linux programs for loading policy and for checking whether the
kernel contains new architectural components originally developed to file_contexts configuration is valid.
improve the security of the Flask operating system. These
architectural components provide general support for the enforcement
of many kinds of mandatory access control policies, including those
based on the concepts of Type Enforcement, Role-based Access
Control, and Multi-level Security.
libsemanage provides an API for the manipulation of SELinux binary policies.
It is used by checkpolicy (the policy compiler) and similar tools, as well
as by programs like load_policy that need to perform specific transformations
on binary policies such as customizing policy boolean settings.
%package -n libsemanage1 %package -n libsemanage1
Summary: SELinux binary policy manipulation library Summary: SELinux policy management library
Group: System/Libraries Group: System/Libraries
%description -n libsemanage1 %description -n libsemanage1
Security-enhanced Linux is a feature of the Linux kernel and a libsemanage is the policy management library. Using libsepol and
number of utilities with enhanced security functionality designed to libselinux to interact with the SELinux system, it also calls helper
add mandatory access controls to Linux. The Security-enhanced Linux programs for loading policy and for checking whether the
kernel contains new architectural components originally developed to file_contexts configuration is valid.
improve the security of the Flask operating system. These architectural
components provide general support for the enforcement of many kinds of
mandatory access control policies, including those based on the
concepts of Type Enforcement, Role-based Access Control, and
Multi-level Security.
libsemanage provides an API for the manipulation of SELinux binary (Security-enhanced Linux is a feature of the kernel and some
policies. It is used by checkpolicy (the policy compiler) and similar utilities that implement mandatory access control policies, such as
tools, as well as by programs like load_policy that need to perform Type Enforcement, Role-based Access Control and Multi-Level
specific transformations on binary policies such as customizing policy Security.)
boolean settings.
%package devel %package devel
Summary: Header files and libraries used to build policy manipulation tools Summary: Header files and libraries for SELinux's policy management libary
Group: Development/Libraries Group: Development/Libraries/C and C++
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Requires: libsemanage1 = %{version} Requires: libsemanage1 = %{version}
Requires: libustr-devel Requires: libustr-devel
%description devel %description devel
The semanage-devel package contains the libraries and header files The libsemanage-devel package contains the libraries and header files
needed for developing applications that manipulate binary policies. needed for developing applications that manipulate SELinux policies.
%package devel-static %package devel-static
Summary: SELinux binary policy manipulation library Summary: Static archives for SELinux's policy management library
Group: System/Libraries Group: Development/Libraries/C and C++
Requires: libsemanage-devel Requires: libsemanage-devel
%description devel-static %description devel-static
The semanage-static package contains the static libraries The libsemanage-devel-static package contains the static libraries
needed for developing applications that manipulate binary policies. needed for developing applications that manipulate binary policies.
%prep %prep
@ -126,10 +110,8 @@ cp %{SOURCE2} %{buildroot}%{_sysconfdir}/selinux/semanage.conf
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libsemanage.so %{_libdir}/libsemanage.so
%{_libdir}/pkgconfig/libsemanage.pc %{_libdir}/pkgconfig/libsemanage.pc
%dir %{_libexecdir}/selinux %{_libexecdir}/selinux/
%{_libexecdir}/selinux/semanage_migrate_store %{_includedir}/semanage/
%dir %{_includedir}/semanage
%{_includedir}/semanage/*.h
%{_mandir}/man3/* %{_mandir}/man3/*
%{_mandir}/man5/* %{_mandir}/man5/*

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jul 17 15:21:03 UTC 2016 - jengelh@inai.de
- Summary/description update
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 8 15:35:05 UTC 2016 - i@marguerite.su Fri Jul 8 15:35:05 UTC 2016 - i@marguerite.su

View File

@ -19,7 +19,7 @@
Name: python-semanage Name: python-semanage
Version: 2.5 Version: 2.5
Release: 0 Release: 0
Summary: Python bindings for libsemanage Summary: Python bindings for SELinux's policy management library
License: LGPL-2.1 License: LGPL-2.1
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/SELinuxProject/selinux Url: https://github.com/SELinuxProject/selinux
@ -35,12 +35,13 @@ BuildRequires: libsepol-devel
BuildRequires: libustr-devel BuildRequires: libustr-devel
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: swig BuildRequires: swig
# Ensure same version
Requires: libsemanage1 = %{version} Requires: libsemanage1 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
This package contains the python bindings for developing This package contains the Python bindings for developing
SELinux management applications. SELinux policy management applications.
%prep %prep
%setup -q -n libsemanage-%{version} %setup -q -n libsemanage-%{version}