Accepting request 130613 from security:SELinux

- updated to 2.1.9 again (see below)

- updated to 2.1.9 again (see below)

OBS-URL: https://build.opensuse.org/request/show/130613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=31
This commit is contained in:
Ismail Dönmez 2012-08-12 13:26:33 +00:00 committed by Git OBS Bridge
parent c8a897f7ce
commit 8a1e764b29
7 changed files with 32 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67a89821c9cd01288af5e6c784cc963fd13cc7c5d2a06ae8e7241ce187682ea1
size 156090

3
libselinux-2.1.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:749d4b39c80aa9df8247b8b3187ab72442c0dbad6e70bf312e25052bd4e7063f
size 155840

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 25 11:15:02 UTC 2012 - meissner@suse.com
- updated to 2.1.9 again (see below)
-------------------------------------------------------------------
Fri Jun 1 18:34:04 CEST 2012 - mls@suse.de

View File

@ -16,20 +16,20 @@
#
%define libsepol_ver 2.0.32
%define libsepol_ver 2.1.4
BuildRequires: libsepol-devel-static >= %{libsepol_ver}
BuildRequires: python-devel
BuildRequires: ruby-devel
BuildRequires: swig
Name: libselinux-bindings
Version: 2.0.91
Version: 2.1.9
Release: 0
Url: http://www.nsa.gov/research/selinux/
Url: http://userspace.selinuxproject.org/
Summary: SELinux library and simple utilities
License: GPL-2.0 ; SUSE-Public-Domain
Group: System/Libraries
Source: libselinux-%{version}.tar.bz2
Source: http://userspace.selinuxproject.org/releases/20120216/libselinux-%{version}.tar.gz
Source1: selinux-ready
Source2: baselibs.conf
Patch0: libselinux-rhat.patch

View File

@ -1,24 +1,24 @@
Index: src/Makefile
===================================================================
--- src/Makefile.orig 2010-02-24 20:05:41.000000000 +0100
+++ src/Makefile 2012-06-13 10:56:04.477254689 +0200
@@ -9,8 +9,8 @@ PYLIB ?= /usr/lib/$(PYLIBVER)
PYTHONLIBDIR ?= $(LIBDIR)/$(PYLIBVER)
--- src/Makefile.orig
+++ src/Makefile
@@ -15,8 +15,8 @@ PYTHONLIBDIR ?= $(shell pkg-config --lib
PYLIBDIR ?= $(LIBDIR)/$(PYLIBVER)
RUBYLIBVER ?= $(shell ruby -e 'print RUBY_VERSION.split(".")[0..1].join(".")')
RUBYPLATFORM ?= $(shell ruby -e 'print RUBY_PLATFORM')
-RUBYINC ?= $(LIBDIR)/ruby/$(RUBYLIBVER)/$(RUBYPLATFORM)
-RUBYINSTALL ?= $(LIBDIR)/ruby/site_ruby/$(RUBYLIBVER)/$(RUBYPLATFORM)
+RUBYINC ?= $(shell ruby -r rbconfig -e "print Config::CONFIG['rubyhdrdir'].nil? ? '$(LIBDIR)/ruby/$(RUBYLIBVER)' : Config::CONFIG['rubyhdrdir']")
+RUBYINSTALL ?= $(shell ruby -r rbconfig -e "print Config::CONFIG['vendorarchdir'].nil? ? '$(DESTDIR)'+Config::CONFIG['sitearchdir'] : '$(DESTDIR)'+Config::CONFIG['vendorarchdir']")
LIBBASE=$(shell basename $(LIBDIR))
VERSION = $(shell cat ../VERSION)
LIBVERSION = 1
@@ -72,7 +72,7 @@ $(SWIGLOBJ): $(SWIGCOUT)
$(CC) $(filter-out -Werror,$(CFLAGS)) -I$(PYINC) -fPIC -DSHARED -c -o $@ $<
@@ -76,7 +76,7 @@ $(SWIGLOBJ): $(SWIGCOUT)
$(CC) $(filter-out -Werror, $(CFLAGS)) $(PYINC) -fPIC -DSHARED -c -o $@ $<
$(SWIGRUBYLOBJ): $(SWIGRUBYCOUT)
- $(CC) $(filter-out -Werror, $(CFLAGS)) -I$(RUBYINC) -fPIC -DSHARED -c -o $@ $<
+ $(CC) $(filter-out -Werror, $(CFLAGS)) -I$(RUBYINC) -I$(RUBYINC)/$(RUBYPLATFORM) -fPIC -DSHARED -c -o $@ $<
$(SWIGSO): $(SWIGLOBJ)
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lselinux -L$(LIBDIR) -Wl,-soname,$@
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lselinux -L$(LIBDIR) $(PYTHONLIBDIR) -Wl,-soname,$@,-z,defs

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jul 25 11:15:02 UTC 2012 - meissner@suse.com
- updated to 2.1.9 again (see below)
-------------------------------------------------------------------
Wed Jun 13 08:56:36 UTC 2012 - coolo@suse.com

View File

@ -16,18 +16,18 @@
#
%define libsepol_ver 2.0.32
%define libsepol_ver 2.1.4
BuildRequires: libsepol-devel >= %{libsepol_ver}
BuildRequires: pkg-config
Name: libselinux
Version: 2.0.91
Version: 2.1.9
Release: 0
Url: http://www.nsa.gov/selinux/
Url: http://userspace.selinuxproject.org/
Summary: SELinux library and simple utilities
License: GPL-2.0 ; SUSE-Public-Domain
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Source: http://userspace.selinuxproject.org/releases/20120216/%{name}-%{version}.tar.gz
Source1: selinux-ready
Source2: baselibs.conf
Patch0: %{name}-rhat.patch
@ -167,6 +167,7 @@ rm -rf $RPM_BUILD_ROOT
%{_sbindir}/setenforce
%{_sbindir}/togglesebool
%{_sbindir}/selinux-ready
%{_sbindir}/selinuxexeccon
%{_mandir}/man5/*
%{_mandir}/man8/*