Remove tools that we do not want to support
This commit is contained in:
parent
0f518147af
commit
ff8f52de46
34
setools.spec
34
setools.spec
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
Name: setools
|
Name: setools
|
||||||
Version: %{setools_maj_ver}.%{setools_min_ver}
|
Version: %{setools_maj_ver}.%{setools_min_ver}
|
||||||
Release: 28%{?dist}
|
Release: 29%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://oss.tresys.com/projects/setools
|
URL: http://oss.tresys.com/projects/setools
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
|
@ -13,7 +13,6 @@ Source: http://oss.tresys.com/projects/setools/chrome/site/dists/setools-%{versi
|
||||||
Source1: setools.pam
|
Source1: setools.pam
|
||||||
Source2: apol.desktop
|
Source2: apol.desktop
|
||||||
Source3: seaudit.desktop
|
Source3: seaudit.desktop
|
||||||
Source4: sediffx.desktop
|
|
||||||
Patch1: 0001-add-setools-seinfo-and-sesearch-python-bindings.patch
|
Patch1: 0001-add-setools-seinfo-and-sesearch-python-bindings.patch
|
||||||
Patch2: 0002-setools-should-exit-with-an-error-status-if-it-gets-.patch
|
Patch2: 0002-setools-should-exit-with-an-error-status-if-it-gets-.patch
|
||||||
Patch3: 0003-Since-we-do-not-ship-neverallow-rules-all-always-fai.patch
|
Patch3: 0003-Since-we-do-not-ship-neverallow-rules-all-always-fai.patch
|
||||||
|
@ -24,6 +23,7 @@ Patch7: 0007-Remove-unused-variables.patch
|
||||||
Patch8: 0008-Fix-output-to-match-policy-lines.patch
|
Patch8: 0008-Fix-output-to-match-policy-lines.patch
|
||||||
Patch9: 0009-Fix-swig-coding-style-for-structures.patch
|
Patch9: 0009-Fix-swig-coding-style-for-structures.patch
|
||||||
Patch10: 0010-selinux_current_policy_path.patch
|
Patch10: 0010-selinux_current_policy_path.patch
|
||||||
|
Patch11: 0011-setools-noship.patch
|
||||||
|
|
||||||
Summary: Policy analysis tools for SELinux
|
Summary: Policy analysis tools for SELinux
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
|
@ -163,10 +163,7 @@ libraries designed to facilitate SELinux policy analysis.
|
||||||
|
|
||||||
This package includes the following console tools:
|
This package includes the following console tools:
|
||||||
|
|
||||||
seaudit-report audit log analysis tool
|
secmds command line tools: seinfo, sesearch
|
||||||
sechecker SELinux policy checking tool
|
|
||||||
secmds command line tools: seinfo, sesearch, findcon,
|
|
||||||
replcon, and indexcon
|
|
||||||
sediff semantic policy difference tool
|
sediff semantic policy difference tool
|
||||||
|
|
||||||
%package gui
|
%package gui
|
||||||
|
@ -186,7 +183,6 @@ This package includes the following graphical tools:
|
||||||
|
|
||||||
apol policy analysis tool
|
apol policy analysis tool
|
||||||
seaudit audit log analysis tool
|
seaudit audit log analysis tool
|
||||||
sediffx semantic policy difference tool
|
|
||||||
|
|
||||||
%define setoolsdir %{_datadir}/setools-%{setools_maj_ver}
|
%define setoolsdir %{_datadir}/setools-%{setools_maj_ver}
|
||||||
%define pkg_py_lib %{python_sitelib}/setools
|
%define pkg_py_lib %{python_sitelib}/setools
|
||||||
|
@ -206,6 +202,7 @@ This package includes the following graphical tools:
|
||||||
%patch8 -p 1 -b .fixoutput
|
%patch8 -p 1 -b .fixoutput
|
||||||
%patch9 -p 1 -b .fixswig
|
%patch9 -p 1 -b .fixswig
|
||||||
%patch10 -p 1 -b .current
|
%patch10 -p 1 -b .current
|
||||||
|
%patch11 -p 1 -b .noship
|
||||||
|
|
||||||
%ifarch sparc sparcv9 sparc64 s390 s390x
|
%ifarch sparc sparcv9 sparc64 s390 s390x
|
||||||
for file in `find . -name Makefile.am`; do
|
for file in `find . -name Makefile.am`; do
|
||||||
|
@ -237,8 +234,7 @@ install -p -m 644 packages/rpm/seaudit.console ${RPM_BUILD_ROOT}%{_sysconfdir}/s
|
||||||
install -d -m 755 ${RPM_BUILD_ROOT}%{_datadir}/applications
|
install -d -m 755 ${RPM_BUILD_ROOT}%{_datadir}/applications
|
||||||
install -p -m 644 apol/apol.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/apol.png
|
install -p -m 644 apol/apol.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/apol.png
|
||||||
install -p -m 644 seaudit/seaudit.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/seaudit.png
|
install -p -m 644 seaudit/seaudit.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/seaudit.png
|
||||||
install -p -m 644 sediff/sediffx.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/sediffx.png
|
desktop-file-install --dir ${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE2}
|
||||||
desktop-file-install --dir ${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE2} %{SOURCE3} %{SOURCE4}
|
|
||||||
ln -sf consolehelper ${RPM_BUILD_ROOT}/%{_bindir}/seaudit
|
ln -sf consolehelper ${RPM_BUILD_ROOT}/%{_bindir}/seaudit
|
||||||
# replace absolute symlinks with relative symlinks
|
# replace absolute symlinks with relative symlinks
|
||||||
ln -sf ../setools-%{setools_maj_ver}/qpol.jar ${RPM_BUILD_ROOT}/%{javajardir}/qpol.jar
|
ln -sf ../setools-%{setools_maj_ver}/qpol.jar ${RPM_BUILD_ROOT}/%{javajardir}/qpol.jar
|
||||||
|
@ -252,7 +248,6 @@ rm -f ${RPM_BUILD_ROOT}/%{_libdir}/*.a
|
||||||
chmod 0755 ${RPM_BUILD_ROOT}/%{_libdir}/*.so.*
|
chmod 0755 ${RPM_BUILD_ROOT}/%{_libdir}/*.so.*
|
||||||
chmod 0755 ${RPM_BUILD_ROOT}/%{_libdir}/%{name}/*/*.so.*
|
chmod 0755 ${RPM_BUILD_ROOT}/%{_libdir}/%{name}/*/*.so.*
|
||||||
chmod 0755 ${RPM_BUILD_ROOT}/%{pkg_py_arch}/*.so.*
|
chmod 0755 ${RPM_BUILD_ROOT}/%{pkg_py_arch}/*.so.*
|
||||||
chmod 0755 ${RPM_BUILD_ROOT}/%{setoolsdir}/seaudit-report-service
|
|
||||||
chmod 0644 ${RPM_BUILD_ROOT}/%{tcllibdir}/*/pkgIndex.tcl
|
chmod 0644 ${RPM_BUILD_ROOT}/%{tcllibdir}/*/pkgIndex.tcl
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
@ -312,33 +307,18 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/seinfo
|
%{_bindir}/seinfo
|
||||||
%{_bindir}/sesearch
|
%{_bindir}/sesearch
|
||||||
%{_bindir}/indexcon
|
|
||||||
%{_bindir}/findcon
|
|
||||||
%{_bindir}/replcon
|
|
||||||
%{_bindir}/sechecker
|
%{_bindir}/sechecker
|
||||||
%{_bindir}/sediff
|
%{_bindir}/sediff
|
||||||
%{_bindir}/seaudit-report
|
%{_bindir}/seaudit-report
|
||||||
%{setoolsdir}/sechecker-profiles/
|
|
||||||
%{setoolsdir}/sechecker_help.txt
|
|
||||||
%{setoolsdir}/seaudit-report-service
|
|
||||||
%{setoolsdir}/seaudit-report.conf
|
|
||||||
%{setoolsdir}/seaudit-report.css
|
|
||||||
%{_mandir}/man1/findcon.1.gz
|
|
||||||
%{_mandir}/man1/indexcon.1.gz
|
|
||||||
%{_mandir}/man1/replcon.1.gz
|
|
||||||
%{_mandir}/man1/sechecker.1.gz
|
|
||||||
%{_mandir}/man1/sediff.1.gz
|
%{_mandir}/man1/sediff.1.gz
|
||||||
%{_mandir}/man1/seinfo.1.gz
|
%{_mandir}/man1/seinfo.1.gz
|
||||||
%{_mandir}/man1/sesearch.1.gz
|
%{_mandir}/man1/sesearch.1.gz
|
||||||
%{_mandir}/man8/seaudit-report.8.gz
|
|
||||||
|
|
||||||
%files gui
|
%files gui
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/seaudit
|
%{_bindir}/seaudit
|
||||||
%{_bindir}/sediffx
|
|
||||||
%{_bindir}/apol
|
%{_bindir}/apol
|
||||||
%{tcllibdir}/apol_tcl/
|
%{tcllibdir}/apol_tcl/
|
||||||
%{setoolsdir}/sediff_help.txt
|
|
||||||
%{setoolsdir}/apol_help.txt
|
%{setoolsdir}/apol_help.txt
|
||||||
%{setoolsdir}/domaintrans_help.txt
|
%{setoolsdir}/domaintrans_help.txt
|
||||||
%{setoolsdir}/file_relabel_help.txt
|
%{setoolsdir}/file_relabel_help.txt
|
||||||
|
@ -351,7 +331,6 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
%{setoolsdir}/apol.gif
|
%{setoolsdir}/apol.gif
|
||||||
%{setoolsdir}/dot_seaudit
|
%{setoolsdir}/dot_seaudit
|
||||||
%{_mandir}/man1/apol.1.gz
|
%{_mandir}/man1/apol.1.gz
|
||||||
%{_mandir}/man1/sediffx.1.gz
|
|
||||||
%{_mandir}/man8/seaudit.8.gz
|
%{_mandir}/man8/seaudit.8.gz
|
||||||
%{_sbindir}/seaudit
|
%{_sbindir}/seaudit
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/seaudit
|
%config(noreplace) %{_sysconfdir}/pam.d/seaudit
|
||||||
|
@ -372,6 +351,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
%postun libs-tcl -p /sbin/ldconfig
|
%postun libs-tcl -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 16 2012 Dan Walsh <dwalsh@redhat.com> - 3.3.7-29
|
||||||
|
- Remove tools that we do not want to support
|
||||||
|
|
||||||
* Mon Aug 20 2012 Dan Horák <dan[at]danny.cz> - 3.3.7-28
|
* Mon Aug 20 2012 Dan Horák <dan[at]danny.cz> - 3.3.7-28
|
||||||
- use autoreconf to rebuild all autotooled files (FTBFS)
|
- use autoreconf to rebuild all autotooled files (FTBFS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue