From db47170337a847f8f3781300d0964f2a168b1129903811cc48186d1af511e401 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 29 Jun 2009 12:18:50 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=8 --- libselinux-2.0.77-memleak.patch | 11 ------ libselinux-2.0.77-rhat.patch.bz2 | 3 -- libselinux-2.0.77.tar.bz2 | 3 -- libselinux-2.0.80-rhat.patch.bz2 | 3 ++ libselinux-2.0.80.tar.bz2 | 3 ++ libselinux-bindings.changes | 11 ++++++ libselinux-bindings.spec | 49 +++----------------------- libselinux.changes | 17 +++++++++ libselinux.spec | 60 +++++--------------------------- 9 files changed, 47 insertions(+), 113 deletions(-) delete mode 100644 libselinux-2.0.77-memleak.patch delete mode 100644 libselinux-2.0.77-rhat.patch.bz2 delete mode 100644 libselinux-2.0.77.tar.bz2 create mode 100644 libselinux-2.0.80-rhat.patch.bz2 create mode 100644 libselinux-2.0.80.tar.bz2 diff --git a/libselinux-2.0.77-memleak.patch b/libselinux-2.0.77-memleak.patch deleted file mode 100644 index 81d3f25..0000000 --- a/libselinux-2.0.77-memleak.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/label_file.c -+++ src/label_file.c -@@ -299,6 +299,8 @@ - COMPAT_LOG(SELINUX_WARNING, - "%s: line %d is missing fields, skipping\n", path, - lineno); -+ if (items == 1) -+ free(regex); - return 0; - } else if (items == 2) { - /* The type field is optional. */ diff --git a/libselinux-2.0.77-rhat.patch.bz2 b/libselinux-2.0.77-rhat.patch.bz2 deleted file mode 100644 index 34ce6ac..0000000 --- a/libselinux-2.0.77-rhat.patch.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fcc6064a69aec8a348bc7140add3f1332381fa17b1ab389eb49bb25d09627d66 -size 11402 diff --git a/libselinux-2.0.77.tar.bz2 b/libselinux-2.0.77.tar.bz2 deleted file mode 100644 index fbb3c24..0000000 --- a/libselinux-2.0.77.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:586232612b5699ba8e5990fc8b90b9012512e70e47c315b1d8e16c6c0cf32ef1 -size 131380 diff --git a/libselinux-2.0.80-rhat.patch.bz2 b/libselinux-2.0.80-rhat.patch.bz2 new file mode 100644 index 0000000..e94a61a --- /dev/null +++ b/libselinux-2.0.80-rhat.patch.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c899b1b2708e28d9a46b3590c8d0d35bcafb911667319ba5895a2a8ab8eaf77 +size 48225 diff --git a/libselinux-2.0.80.tar.bz2 b/libselinux-2.0.80.tar.bz2 new file mode 100644 index 0000000..5b339e4 --- /dev/null +++ b/libselinux-2.0.80.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a37fa19bfa6e34e5de0664324b2c14a1aa6a135cf33d55d30b6dc4f392416c3 +size 134184 diff --git a/libselinux-bindings.changes b/libselinux-bindings.changes index 0eb7c58..747284b 100644 --- a/libselinux-bindings.changes +++ b/libselinux-bindings.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed May 27 14:06:14 CEST 2009 - prusnak@suse.cz + +- updated to 2.0.80 + * deny_unknown wrapper function from KaiGai Kohei + * security_compute_av_flags API from KaiGai Kohei + * Netlink socket management and callbacks from KaiGai Kohei + * Netlink socket handoff patch from Adam Jackson + * AVC caching of compute_create results by Eric Paris + * fix incorrect conversion in discover_class code + ------------------------------------------------------------------- Fri Apr 17 17:12:06 CEST 2009 - prusnak@suse.cz diff --git a/libselinux-bindings.spec b/libselinux-bindings.spec index 4d474aa..b716e16 100644 --- a/libselinux-bindings.spec +++ b/libselinux-bindings.spec @@ -1,5 +1,5 @@ # -# spec file for package libselinux-bindings (Version 2.0.77) +# spec file for package libselinux-bindings (Version 2.0.80) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -22,15 +22,14 @@ BuildRequires: python-devel ruby-devel swig BuildRequires: libsepol-devel >= %{libsepol_ver} Name: libselinux-bindings -Version: 2.0.77 -Release: 2 +Version: 2.0.80 +Release: 1 Url: http://www.nsa.gov/selinux/ -License: GPL v2 only; Public Domain, Freeware +License: GPL v2 only ; Public Domain, Freeware Group: System/Libraries Summary: SELinux library and simple utilities Source: libselinux-%{version}.tar.bz2 Patch0: libselinux-%{version}-rhat.patch.bz2 -Patch1: libselinux-%{version}-memleak.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires python-selinux = %{version}-%{release} @@ -102,7 +101,6 @@ decisions. Required for any applications that use the SELinux API. %prep %setup -q -n libselinux-%{version} %patch0 -p1 -%patch1 %build make %{?jobs:-j%jobs} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" -C src @@ -129,42 +127,3 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/ruby/site_ruby/%{rb_ver}/%{rb_arch}/selinux.so %changelog -* Fri Apr 17 2009 prusnak@suse.cz -- fixed memory leak (memleak.patch) -* Wed Jan 14 2009 prusnak@suse.cz -- updated to 2.0.77 - * add new function getseuser which will take username and service - and return seuser and level; ipa will populate file in future - * change selinuxdefcon to return just the context by default - * fix segfault if seusers file does not work - * strip trailing / for matchpathcon - * fix restorecon python code -* Mon Dec 01 2008 prusnak@suse.cz -- updated to 2.0.76 - * allow shell-style wildcarding in X names - * add Restorecon/Install python functions - * correct message types in AVC log messages - * make matchpathcon -V pass mode - * add man page for selinux_file_context_cmp - * update flask headers from refpolicy trunk -* Wed Oct 22 2008 mrueckert@suse.de -- fix debug_packages_requires define -* Tue Sep 23 2008 prusnak@suse.cz -- require only version, not release [bnc#429053] -* Tue Sep 02 2008 prusnak@suse.cz -- updated to 2.0.71 - * Add group support to seusers using %%groupname syntax from Dan Walsh. - * Mark setrans socket close-on-exec from Stephen Smalley. - * Only apply nodups checking to base file contexts from Stephen Smalley. - * Merge ruby bindings from Dan Walsh. -* Mon Sep 01 2008 aj@suse.de -- Fix build of debuginfo. -* Fri Aug 22 2008 prusnak@suse.cz -- added baselibs.conf file -- split bindings into separate subpackage (libselinux-bindings) -- split tools into separate subpackage (selinux-tools) -* Fri Aug 01 2008 ro@suse.de -- fix requires for debuginfo package -* Tue Jul 15 2008 prusnak@suse.cz -- initial version 2.0.67 - * based on Fedora package by Dan Walsh diff --git a/libselinux.changes b/libselinux.changes index 0eb7c58..79b9a3d 100644 --- a/libselinux.changes +++ b/libselinux.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Jun 9 20:17:54 CEST 2009 - crrodriguez@suse.de + +- remove static libraries +- libselinux-devel does not require libsepol-devel + +------------------------------------------------------------------- +Wed May 27 14:06:14 CEST 2009 - prusnak@suse.cz + +- updated to 2.0.80 + * deny_unknown wrapper function from KaiGai Kohei + * security_compute_av_flags API from KaiGai Kohei + * Netlink socket management and callbacks from KaiGai Kohei + * Netlink socket handoff patch from Adam Jackson + * AVC caching of compute_create results by Eric Paris + * fix incorrect conversion in discover_class code + ------------------------------------------------------------------- Fri Apr 17 17:12:06 CEST 2009 - prusnak@suse.cz diff --git a/libselinux.spec b/libselinux.spec index 8ec1b7a..748fda4 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -1,5 +1,5 @@ # -# spec file for package libselinux (Version 2.0.77) +# spec file for package libselinux (Version 2.0.80) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -21,15 +21,14 @@ BuildRequires: libsepol-devel >= %{libsepol_ver} Name: libselinux -Version: 2.0.77 -Release: 2 +Version: 2.0.80 +Release: 1 Url: http://www.nsa.gov/selinux/ -License: GPL v2 only; Public Domain, Freeware +License: GPL v2 only ; Public Domain, Freeware Group: System/Libraries Summary: SELinux library and simple utilities Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-rhat.patch.bz2 -Patch1: %{name}-%{version}-memleak.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libselinux1 = %{version}-%{release} @@ -51,7 +50,7 @@ decisions. Required for any applications that use the SELinux API. %package -n libselinux1 -License: GPL v2 only; Public Domain, Freeware +License: GPL v2 only ; Public Domain, Freeware Group: System/Libraries Summary: SELinux library and simple utilities @@ -73,7 +72,7 @@ decisions. Required for any applications that use the SELinux API. %package -n selinux-tools -License: GPL v2 only; Public Domain, Freeware +License: GPL v2 only ; Public Domain, Freeware Group: System/Base Summary: SELinux library and simple utilities @@ -95,11 +94,10 @@ decisions. Required for any applications that use the SELinux API. %package devel -License: GPL v2 only; Public Domain, Freeware +License: GPL v2 only ; Public Domain, Freeware Summary: Development Include Files and Libraries for SELinux Group: Development/Libraries/C and C++ -Requires: libselinux1 = %{version} -Requires: libsepol-devel >= %{libsepol_ver} +Requires: libselinux1 = %{version} glibc-devel %description devel Security-enhanced Linux is a patch of the Linux(R) kernel and a number @@ -120,7 +118,6 @@ necessary to develop your own software using libselinux. %prep %setup -q %patch0 -p1 -%patch1 %build make %{?jobs:-j%jobs} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS" @@ -147,6 +144,7 @@ rm -f $RPM_BUILD_ROOT%{_sbindir}/getseuser rm -f $RPM_BUILD_ROOT%{_sbindir}/selinux_check_securetty_context mv $RPM_BUILD_ROOT%{_sbindir}/getdefaultcon $RPM_BUILD_ROOT%{_sbindir}/selinuxdefcon mv $RPM_BUILD_ROOT%{_sbindir}/getconlist $RPM_BUILD_ROOT%{_sbindir}/selinuxconlist +rm -f %{buildroot}%{_libdir}/*.a %clean rm -rf $RPM_BUILD_ROOT @@ -178,48 +176,8 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root,-) %{_libdir}/libselinux.so -%{_libdir}/libselinux.a %dir %{_includedir}/selinux %{_includedir}/selinux/* %{_mandir}/man3/* %changelog -* Fri Apr 17 2009 prusnak@suse.cz -- fixed memory leak (memleak.patch) -* Wed Jan 14 2009 prusnak@suse.cz -- updated to 2.0.77 - * add new function getseuser which will take username and service - and return seuser and level; ipa will populate file in future - * change selinuxdefcon to return just the context by default - * fix segfault if seusers file does not work - * strip trailing / for matchpathcon - * fix restorecon python code -* Mon Dec 01 2008 prusnak@suse.cz -- updated to 2.0.76 - * allow shell-style wildcarding in X names - * add Restorecon/Install python functions - * correct message types in AVC log messages - * make matchpathcon -V pass mode - * add man page for selinux_file_context_cmp - * update flask headers from refpolicy trunk -* Wed Oct 22 2008 mrueckert@suse.de -- fix debug_packages_requires define -* Tue Sep 23 2008 prusnak@suse.cz -- require only version, not release [bnc#429053] -* Tue Sep 02 2008 prusnak@suse.cz -- updated to 2.0.71 - * Add group support to seusers using %%groupname syntax from Dan Walsh. - * Mark setrans socket close-on-exec from Stephen Smalley. - * Only apply nodups checking to base file contexts from Stephen Smalley. - * Merge ruby bindings from Dan Walsh. -* Mon Sep 01 2008 aj@suse.de -- Fix build of debuginfo. -* Fri Aug 22 2008 prusnak@suse.cz -- added baselibs.conf file -- split bindings into separate subpackage (libselinux-bindings) -- split tools into separate subpackage (selinux-tools) -* Fri Aug 01 2008 ro@suse.de -- fix requires for debuginfo package -* Tue Jul 15 2008 prusnak@suse.cz -- initial version 2.0.67 - * based on Fedora package by Dan Walsh