Compare commits
6 Commits
Author | SHA1 | Date |
---|---|---|
Fedora Release Engineering | d7a0a29128 | |
Bill Nottingham | 6694efd412 | |
Daniel J Walsh | d7f1e3a76f | |
Daniel J Walsh | 2c4216924a | |
Daniel J Walsh | 37a2ba57f9 | |
Jesse Keating | bb8984ff36 |
|
@ -150,3 +150,6 @@ libselinux-2.0.58.tgz
|
|||
libselinux-2.0.59.tgz
|
||||
libselinux-2.0.60.tgz
|
||||
libselinux-2.0.61.tgz
|
||||
libselinux-2.0.64.tgz
|
||||
libselinux-2.0.65.tgz
|
||||
libselinux-2.0.67.tgz
|
21
Makefile
21
Makefile
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: libselinux
|
||||
# $Id: Makefile,v 1.1 2004/09/09 07:41:22 cvsdist Exp $
|
||||
NAME := libselinux
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attempt a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
File diff suppressed because it is too large
Load Diff
|
@ -1,17 +1,18 @@
|
|||
%define libsepolver 2.0.18-2
|
||||
%define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
|
||||
%define libsepolver 2.0.32-1
|
||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Summary: SELinux library and simple utilities
|
||||
Name: libselinux
|
||||
Version: 2.0.61
|
||||
Release: 3%{?dist}
|
||||
Version: 2.0.67
|
||||
Release: 4%{?dist}
|
||||
License: Public Domain
|
||||
Group: System Environment/Libraries
|
||||
Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
|
||||
Patch: libselinux-rhat.patch
|
||||
URL: http://www.nsa.gov/selinux
|
||||
|
||||
BuildRequires: python-devel libsepol-static >= %{libsepolver} swig
|
||||
BuildRequires: python-devel ruby-devel ruby libsepol-static >= %{libsepolver} swig
|
||||
Requires: libsepol >= %{libsepolver}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
|
@ -39,6 +40,15 @@ Requires: libselinux = %{version}-%{release}
|
|||
The libselinux-python package contains the python bindings for developing
|
||||
SELinux applications.
|
||||
|
||||
%package ruby
|
||||
Summary: SELinux ruby bindings for libselinux
|
||||
Group: Development/Libraries
|
||||
Requires: libselinux = %{version}-%{release}
|
||||
|
||||
%description ruby
|
||||
The libselinux-ruby package contains the ruby bindings for developing
|
||||
SELinux applications.
|
||||
|
||||
%package devel
|
||||
Summary: Header files and libraries used to build SELinux
|
||||
Group: Development/Libraries
|
||||
|
@ -81,9 +91,6 @@ make DESTDIR="%{buildroot}" LIBDIR="%{buildroot}%{_libdir}" SHLIBDIR="%{buildroo
|
|||
rm -f %{buildroot}%{_sbindir}/compute_*
|
||||
rm -f %{buildroot}%{_sbindir}/deftype
|
||||
rm -f %{buildroot}%{_sbindir}/execcon
|
||||
rm -f %{buildroot}%{_sbindir}/getcon
|
||||
rm -f %{buildroot}%{_sbindir}/getconlist
|
||||
rm -f %{buildroot}%{_sbindir}/getdefaultcon
|
||||
rm -f %{buildroot}%{_sbindir}/getenforcemode
|
||||
rm -f %{buildroot}%{_sbindir}/getfilecon
|
||||
rm -f %{buildroot}%{_sbindir}/getpidcon
|
||||
|
@ -94,14 +101,14 @@ rm -f %{buildroot}%{_sbindir}/selinuxconfig
|
|||
rm -f %{buildroot}%{_sbindir}/selinuxdisable
|
||||
rm -f %{buildroot}%{_sbindir}/getseuser
|
||||
rm -f %{buildroot}%{_sbindir}/selinux_check_securetty_context
|
||||
mv %{buildroot}%{_sbindir}/getdefaultcon %{buildroot}%{_sbindir}/selinuxdefcon
|
||||
mv %{buildroot}%{_sbindir}/getconlist %{buildroot}%{_sbindir}/selinuxconlist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
[ -x /sbin/telinit -a -p /dev/initctl -a -f /proc/1/exe -a -d /proc/1/root ] &&
|
||||
/sbin/telinit u
|
||||
exit 0
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
@ -113,6 +120,8 @@ exit 0
|
|||
%{_sbindir}/getenforce
|
||||
%{_sbindir}/getsebool
|
||||
%{_sbindir}/matchpathcon
|
||||
%{_sbindir}/selinuxconlist
|
||||
%{_sbindir}/selinuxdefcon
|
||||
%{_sbindir}/selinuxenabled
|
||||
%{_sbindir}/setenforce
|
||||
%{_sbindir}/togglesebool
|
||||
|
@ -136,7 +145,45 @@ exit 0
|
|||
%dir %{python_sitearch}/selinux
|
||||
%{python_sitearch}/selinux/*
|
||||
|
||||
%files ruby
|
||||
%defattr(-,root,root,-)
|
||||
%{ruby_sitearch}/selinux.so
|
||||
|
||||
%changelog
|
||||
* Wed Jul 9 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.67-4
|
||||
- Add ruby support for puppet
|
||||
|
||||
* Tue Jul 8 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.67-3
|
||||
- Rebuild for new libsepol
|
||||
|
||||
* Sun Jun 29 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.67-2
|
||||
- Add Karel Zak patch for freecon man page
|
||||
|
||||
* Sun Jun 22 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.67-1
|
||||
- Update to Upstream
|
||||
* New and revised AVC, label, and mapping man pages from Eamon Walsh.
|
||||
* Add swig python bindings for avc interfaces from Dan Walsh.
|
||||
|
||||
* Sun Jun 22 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.65-1
|
||||
- Update to Upstream
|
||||
* Fix selinux_file_context_verify() and selinux_lsetfilecon_default() to call matchpathcon_init_prefix if not already initialized.
|
||||
* Add -q qualifier for -V option of matchpathcon and change it to indicate whether verification succeeded or failed via exit status.
|
||||
|
||||
* Fri May 16 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.64-3
|
||||
- libselinux no longer neets to telnet -u in post install
|
||||
|
||||
* Wed May 7 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.64-2
|
||||
- Add sedefaultcon and setconlist commands to dump login context
|
||||
|
||||
* Tue Apr 22 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.64-1
|
||||
- Update to Upstream
|
||||
* Fixed selinux_set_callback man page.
|
||||
* Try loading the max of the kernel-supported version and the libsepol-supported version when no manipulation of the binary policy is needed from Stephen Smalley.
|
||||
* Fix memory leaks in matchpathcon from Eamon Walsh.
|
||||
|
||||
* Wed Apr 16 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.61-4
|
||||
- Add Xavior Toth patch for security_id_t in swig
|
||||
|
||||
* Thu Apr 10 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.61-3
|
||||
- Add avc.h to swig code
|
||||
|
||||
|
|
Loading…
Reference in New Issue