forked from pool/libselinux
This commit is contained in:
parent
12f65cbf75
commit
db47170337
@ -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. */
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fcc6064a69aec8a348bc7140add3f1332381fa17b1ab389eb49bb25d09627d66
|
||||
size 11402
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:586232612b5699ba8e5990fc8b90b9012512e70e47c315b1d8e16c6c0cf32ef1
|
||||
size 131380
|
3
libselinux-2.0.80-rhat.patch.bz2
Normal file
3
libselinux-2.0.80-rhat.patch.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c899b1b2708e28d9a46b3590c8d0d35bcafb911667319ba5895a2a8ab8eaf77
|
||||
size 48225
|
3
libselinux-2.0.80.tar.bz2
Normal file
3
libselinux-2.0.80.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a37fa19bfa6e34e5de0664324b2c14a1aa6a135cf33d55d30b6dc4f392416c3
|
||||
size 134184
|
@ -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
|
||||
|
||||
|
@ -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 <dwalsh@redhat.com>
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 <dwalsh@redhat.com>
|
||||
|
Loading…
Reference in New Issue
Block a user