Accepting request 514179 from security:SELinux
1 OBS-URL: https://build.opensuse.org/request/show/514179 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=47
This commit is contained in:
commit
ab23766c14
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 5 10:30:57 UTC 2017 - schwab@suse.de
|
||||||
|
|
||||||
|
- readv-proto.patch: include <sys/uio.h> for readv prototype
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 17 15:30:05 UTC 2016 - jengelh@inai.de
|
Sun Jul 17 15:30:05 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -33,6 +33,8 @@ Source2: baselibs.conf
|
|||||||
Patch1: libselinux-2.2-ruby.patch
|
Patch1: libselinux-2.2-ruby.patch
|
||||||
# PATCH-FIX-UPSTREAM swig-3.10 use importlib which not search the directory __init__.py is in but standard path
|
# PATCH-FIX-UPSTREAM swig-3.10 use importlib which not search the directory __init__.py is in but standard path
|
||||||
Patch2: python-selinux-swig-3.10.patch
|
Patch2: python-selinux-swig-3.10.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Include <sys/uio.h> for readv prototype
|
||||||
|
Patch4: readv-proto.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: libsepol-devel-static >= %{libsepol_ver}
|
BuildRequires: libsepol-devel-static >= %{libsepol_ver}
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
@ -76,6 +78,7 @@ language.
|
|||||||
%setup -q -n libselinux-%{version}
|
%setup -q -n libselinux-%{version}
|
||||||
%patch1
|
%patch1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" -C src
|
make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" -C src
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 5 10:30:57 UTC 2017 - schwab@suse.de
|
||||||
|
|
||||||
|
- readv-proto.patch: include <sys/uio.h> for readv prototype
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 24 19:33:42 UTC 2016 - crrodriguez@opensuse.org
|
Sun Jul 24 19:33:42 UTC 2016 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
- -devel static subpackage requires libpcre-devel and libsepol-devel
|
- -devel static subpackage requires libpcre-devel and libsepol-devel
|
||||||
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 24 19:05:35 UTC 2016 - crrodriguez@opensuse.org
|
Sun Jul 24 19:05:35 UTC 2016 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -34,6 +34,8 @@ Patch1: %{name}-2.2-ruby.patch
|
|||||||
Patch2: python-selinux-swig-3.10.patch
|
Patch2: python-selinux-swig-3.10.patch
|
||||||
# PATCH-FIX-UPSTREAM Avoid mounting /proc outside of selinux_init_load_policy().
|
# PATCH-FIX-UPSTREAM Avoid mounting /proc outside of selinux_init_load_policy().
|
||||||
Patch3: libselinux-proc-mount-only-if-needed.patch
|
Patch3: libselinux-proc-mount-only-if-needed.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Include <sys/uio.h> for readv prototype
|
||||||
|
Patch4: readv-proto.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libsepol-devel >= %{libsepol_ver}
|
BuildRequires: libsepol-devel >= %{libsepol_ver}
|
||||||
@ -103,6 +105,8 @@ necessary to develop your own software using libselinux.
|
|||||||
%patch1
|
%patch1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} LIBDIR="%{_libdir}" CC="%{__cc}" CFLAGS="$RPM_OPT_FLAGS"
|
make %{?_smp_mflags} LIBDIR="%{_libdir}" CC="%{__cc}" CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
|
12
readv-proto.patch
Normal file
12
readv-proto.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: libselinux-2.5/src/setrans_client.c
|
||||||
|
===================================================================
|
||||||
|
--- libselinux-2.5.orig/src/setrans_client.c
|
||||||
|
+++ libselinux-2.5/src/setrans_client.c
|
||||||
|
@@ -9,6 +9,7 @@
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <sys/un.h>
|
||||||
|
+#include <sys/uio.h>
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
#include <stdlib.h>
|
Loading…
Reference in New Issue
Block a user