From 8a1e764b29363d92d6fba7b6362d4aed214c774950259da9eca5f6ac155c9156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Sun, 12 Aug 2012 13:26:33 +0000 Subject: [PATCH] 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 --- libselinux-2.0.91.tar.bz2 | 3 --- libselinux-2.1.9.tar.gz | 3 +++ libselinux-bindings.changes | 5 +++++ libselinux-bindings.spec | 8 ++++---- libselinux-ruby.patch | 20 ++++++++++---------- libselinux.changes | 5 +++++ libselinux.spec | 9 +++++---- 7 files changed, 32 insertions(+), 21 deletions(-) delete mode 100644 libselinux-2.0.91.tar.bz2 create mode 100644 libselinux-2.1.9.tar.gz diff --git a/libselinux-2.0.91.tar.bz2 b/libselinux-2.0.91.tar.bz2 deleted file mode 100644 index 20528dc..0000000 --- a/libselinux-2.0.91.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:67a89821c9cd01288af5e6c784cc963fd13cc7c5d2a06ae8e7241ce187682ea1 -size 156090 diff --git a/libselinux-2.1.9.tar.gz b/libselinux-2.1.9.tar.gz new file mode 100644 index 0000000..e2f2d43 --- /dev/null +++ b/libselinux-2.1.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:749d4b39c80aa9df8247b8b3187ab72442c0dbad6e70bf312e25052bd4e7063f +size 155840 diff --git a/libselinux-bindings.changes b/libselinux-bindings.changes index d2ab0c4..d542a5b 100644 --- a/libselinux-bindings.changes +++ b/libselinux-bindings.changes @@ -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 diff --git a/libselinux-bindings.spec b/libselinux-bindings.spec index 76958bd..94b03bd 100644 --- a/libselinux-bindings.spec +++ b/libselinux-bindings.spec @@ -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 diff --git a/libselinux-ruby.patch b/libselinux-ruby.patch index d87b4b9..ba01a31 100644 --- a/libselinux-ruby.patch +++ b/libselinux-ruby.patch @@ -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 $@ $< +- $(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 diff --git a/libselinux.changes b/libselinux.changes index df5138d..94ba4c1 100644 --- a/libselinux.changes +++ b/libselinux.changes @@ -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 diff --git a/libselinux.spec b/libselinux.spec index 092155e..8294833 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -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/*