Hello community, here is the log from the commit of package libselinux for openSUSE:Factory checked in at 2013-03-08 10:52:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libselinux (Old) and /work/SRC/openSUSE:Factory/.libselinux.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libselinux", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/libselinux/libselinux-bindings.changes 2012-08-12 15:26:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libselinux.new/libselinux-bindings.changes 2013-03-08 10:52:41.000000000 +0100 @@ -1,0 +2,11 @@ +Wed Jan 30 12:33:45 UTC 2013 - [email protected] + +- update to 2.1.12 +- added BuildRequires: pcre-devel + +------------------------------------------------------------------- +Mon Jan 7 22:34:03 UTC 2013 - [email protected] + +- Remove obsolete defines/sections + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/libselinux/libselinux.changes 2012-12-17 09:34:49.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libselinux.new/libselinux.changes 2013-03-08 10:52:41.000000000 +0100 @@ -1,0 +2,59 @@ +Wed Jan 30 11:44:45 UTC 2013 - [email protected] + +- update to 2.1.12 + - added the recent libselinux-rhat.patch + * Add support for lxc_contexts_path + * utils: add service to getdefaultcon + * libsemanage: do not set soname needlessly + * libsemanage: remove PYTHONLIBDIR and ruby equivalent + * boolean name equivalency + * getsebool: support boolean name substitution + * Add man page for new selinux_boolean_sub function. + * expose selinux_boolean_sub + * matchpathcon: add -m option to force file type check + * utils: avcstat: clear sa_mask set + * seusers: Check for strchr failure + * booleans: initialize pointer to silence coveriety + * stop messages when SELinux disabled + * Ensure that we only close the selinux netlink socket once. + * improve the file_contexts.5 manual page + * Fortify source now requires all code to be compiled with -O flag + * asprintf return code must be checked + * avc_netlink_recieve handle EINTR + * audit2why: silence -Wmissing-prototypes warning + * libsemanage: remove build warning when build swig c files + * matchpathcon: bad handling of symlinks in / + * seusers: remove unused lineno + * seusers: getseuser: gracefully handle NULL service + * New Android property labeling backend + * label_android_property whitespace cleanups + * additional makefile support for rubywrap + * Remove jump over variable declaration + * Fix old style function definitions + * Fix const-correctness + * Remove unused flush_class_cache method + * Add prototype decl for destructor + * Add more printf format annotations + * Add printf format attribute annotation to die() method + * Fix const-ness of parameters & make usage() methods static + * Enable many more gcc warnings for libselinux/src/ builds + * utils: Enable many more gcc warnings for libselinux/utils builds + * Change annotation on include/selinux/avc.h to avoid upsetting SWIG + * Ensure there is a prototype for 'matchpathcon_lib_destructor' + * Update Makefiles to handle /usrmove + * utils: Stop separating out matchpathcon as something special + * pkg-config to figure out where ruby include files are located + * build with either ruby 1.9 or ruby 1.8 + * assert if avc_init() not called + * take security_deny_unknown into account + * security_compute_create_name(3) + * Do not link against python library, this is considered + * bad practice in debian + * Hide unnecessarily-exported library destructors + +------------------------------------------------------------------- +Mon Jan 7 22:34:03 UTC 2013 - [email protected] + +- Remove obsolete defines/sections + +------------------------------------------------------------------- Old: ---- libselinux-2.1.9.tar.gz New: ---- libselinux-2.1.12.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libselinux-bindings.spec ++++++ --- /var/tmp/diff_new_pack.0IONts/_old 2013-03-08 10:52:42.000000000 +0100 +++ /var/tmp/diff_new_pack.0IONts/_new 2013-03-08 10:52:42.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libselinux-bindings # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,15 @@ # -%define libsepol_ver 2.1.4 +%define libsepol_ver 2.1.8 BuildRequires: libsepol-devel-static >= %{libsepol_ver} +BuildRequires: pcre-devel BuildRequires: python-devel BuildRequires: ruby-devel BuildRequires: swig Name: libselinux-bindings -Version: 2.1.9 +Version: 2.1.12 Release: 0 Url: http://userspace.selinuxproject.org/ Summary: SELinux library and simple utilities @@ -35,7 +36,6 @@ Patch0: libselinux-rhat.patch Patch1: libselinux-ruby.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define debug_package_requires python-selinux = %{version}-%{release} %description Security-enhanced Linux is a feature of the Linux(R) kernel and a @@ -104,7 +104,7 @@ %prep %setup -q -n libselinux-%{version} -%patch0 -p1 +%patch0 -p2 %patch1 %build @@ -119,9 +119,6 @@ make DESTDIR="$RPM_BUILD_ROOT" LIBDIR="$RPM_BUILD_ROOT%{_libdir}" SHLIBDIR="$RPM_BUILD_ROOT/%{_lib}" -C src install-rubywrap rm -rf $RPM_BUILD_ROOT/%{_lib} $RPM_BUILD_ROOT%{_libdir}/libselinux.* $RPM_BUILD_ROOT%{_libdir}/pkgconfig -%clean -rm -rf $RPM_BUILD_ROOT - %files -n python-selinux %defattr(-,root,root,-) %dir %{py_sitedir}/selinux ++++++ libselinux.spec ++++++ --- /var/tmp/diff_new_pack.0IONts/_old 2013-03-08 10:52:42.000000000 +0100 +++ /var/tmp/diff_new_pack.0IONts/_new 2013-03-08 10:52:42.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libselinux # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,12 +16,13 @@ # -%define libsepol_ver 2.1.4 +%define libsepol_ver 2.1.8 BuildRequires: libsepol-devel >= %{libsepol_ver} +BuildRequires: pcre-devel BuildRequires: pkg-config Name: libselinux -Version: 2.1.9 +Version: 2.1.12 Release: 0 Url: http://userspace.selinuxproject.org/ Summary: SELinux library and simple utilities @@ -33,7 +34,6 @@ Patch0: %{name}-rhat.patch Patch1: %{name}-ruby.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define debug_package_requires libselinux1 = %{version}-%{release} %description Security-enhanced Linux is a feature of the Linux(R) kernel and a @@ -118,7 +118,7 @@ %prep %setup -q -%patch0 -p1 +%patch0 -p2 %patch1 %build @@ -147,9 +147,6 @@ mv $RPM_BUILD_ROOT%{_sbindir}/getconlist $RPM_BUILD_ROOT%{_sbindir}/selinuxconlist install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/selinux-ready -%clean -rm -rf $RPM_BUILD_ROOT - %post -n libselinux1 -p /sbin/ldconfig %postun -n libselinux1 -p /sbin/ldconfig @@ -159,7 +156,6 @@ %{_sbindir}/avcstat %{_sbindir}/getenforce %{_sbindir}/getsebool -/sbin/matchpathcon %{_sbindir}/matchpathcon %{_sbindir}/selinuxconlist %{_sbindir}/selinuxdefcon @@ -168,6 +164,7 @@ %{_sbindir}/togglesebool %{_sbindir}/selinux-ready %{_sbindir}/selinuxexeccon +%{_sbindir}/sefcontext_compile %{_mandir}/man5/* %{_mandir}/man8/* ++++++ libselinux-2.1.9.tar.gz -> libselinux-2.1.12.tar.gz ++++++ ++++ 3135 lines of diff (skipped) ++++++ libselinux-rhat.patch ++++++ ++++ 7773 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/libselinux/libselinux-rhat.patch ++++ and /work/SRC/openSUSE:Factory/.libselinux.new/libselinux-rhat.patch ++++++ libselinux-ruby.patch ++++++ --- /var/tmp/diff_new_pack.0IONts/_old 2013-03-08 10:52:43.000000000 +0100 +++ /var/tmp/diff_new_pack.0IONts/_new 2013-03-08 10:52:43.000000000 +0100 @@ -1,24 +1,24 @@ Index: src/Makefile =================================================================== ---- src/Makefile.orig -+++ src/Makefile -@@ -15,8 +15,8 @@ PYTHONLIBDIR ?= $(shell pkg-config --lib +--- src/Makefile.orig 2013-01-30 13:24:55.549631752 +0100 ++++ src/Makefile 2013-01-30 13:25:56.148209843 +0100 +@@ -16,8 +16,8 @@ PYINC ?= $(shell pkg-config --cflags $(P 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) + RUBYLIBVER ?= $(shell $(RUBY) -e 'print RUBY_VERSION.split(".")[0..1].join(".")') + RUBYPLATFORM ?= $(shell $(RUBY) -e 'print RUBY_PLATFORM') +-RUBYINC ?= $(shell pkg-config --cflags ruby) -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) -@@ -76,7 +76,7 @@ $(SWIGLOBJ): $(SWIGCOUT) - $(CC) $(filter-out -Werror, $(CFLAGS)) $(PYINC) -fPIC -DSHARED -c -o $@ $< + LDFLAGS ?= -lpcre -lpthread +@@ -103,7 +103,7 @@ $(SWIGLOBJ): $(SWIGCOUT) + $(CC) $(CFLAGS) $(SWIG_CFLAGS) $(PYINC) -fPIC -DSHARED -c -o $@ $< $(SWIGRUBYLOBJ): $(SWIGRUBYCOUT) -- $(CC) $(filter-out -Werror, $(CFLAGS)) -I$(RUBYINC) -fPIC -DSHARED -c -o $@ $< +- $(CC) $(CFLAGS) $(SWIG_CFLAGS) $(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) $(PYTHONLIBDIR) -Wl,-soname,$@,-z,defs + $(CC) $(CFLAGS) -shared -o $@ $< -L. -lselinux $(LDFLAGS) -L$(LIBDIR) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
