commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2018-06-29 22:24:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "setools" Fri Jun 29 22:24:47 2018 rev:30 rq:615934 version:4.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/setools/setools.changes 2017-10-06 11:04:44.605610113 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2018-06-29 22:24:49.934554506 +0200 @@ -1,0 +2,34 @@ +Mon Jun 11 08:14:26 UTC 2018 - jsegitz@suse.com + +- Added warning.patch in former change to prevent warnings from + stopping the build + +------------------------------------------------------------------- +Wed May 16 07:28:39 UTC 2018 - mcepl@suse.com + +- Upgrade to 4.1.1 + +------------------------------------------------------------------- +Wed Dec 20 12:23:39 UTC 2017 - jsegitz@suse.com + +- Update to version 4.0.1. SETools was reimplemented in Python. +- Doesn't build + * setools-libs + * setools-java + * setools-tcl + * setools-devel + anymore since the files are not povided anymore +- Dropped + * add-to-header-define_cond_filename_trans.patch + * implicit-fortify-decl.patch + * setools-3.3.5-javacflags.patch + * setools-3.3.5-nonvoid.patch + * setools-3.3.5-strcmp.patch + * setools-am121.patch + * setools-libsepol.patch + * setools-setup_py-prefix.patch + * setools-swig-2.0.7.patch + * setools-swig-2x.patch + * setools-tclass.patch + +------------------------------------------------------------------- Old: ---- add-to-header-define_cond_filename_trans.patch apol.desktop implicit-fortify-decl.patch seaudit.desktop sediffx.desktop setools-3.3.5-javacflags.patch setools-3.3.5-nonvoid.patch setools-3.3.5-strcmp.patch setools-3.3.8.tar.gz setools-am121.patch setools-libsepol.patch setools-setup_py-prefix.patch setools-swig-2.0.7.patch setools-swig-2x.patch setools-tclass.patch setools.pam New: ---- 4.1.1.tar.gz warning.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ setools.spec ++++++ --- /var/tmp/diff_new_pack.qUZLme/_old 2018-06-29 22:24:50.482554095 +0200 +++ /var/tmp/diff_new_pack.qUZLme/_new 2018-06-29 22:24:50.486554091 +0200 @@ -1,7 +1,7 @@ # # spec file for package setools # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX 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,62 +16,27 @@ # -%define dataversion 3.3 - Name: setools -Version: 3.3.8 +Version: 4.1.1 Release: 0 -Url: https://github.com/TresysTechnology/setools3/wiki +Url: https://github.com/TresysTechnology/setools/ Summary: Policy analysis tools for SELinux -License: GPL-2.0 -Group: System/Base -Source: https://github.com/TresysTechnology/setools3/archive/%{name}-%{version}.tar.gz -Source1: setools.pam -Source2: apol.desktop -Source3: seaudit.desktop -Source4: sediffx.desktop -Patch0: %{name}-3.3.5-javacflags.patch -Patch1: %{name}-3.3.5-nonvoid.patch -Patch2: %{name}-3.3.5-strcmp.patch -Patch6: %{name}-setup_py-prefix.patch -Patch7: %{name}-swig-2x.patch -Patch8: %{name}-swig-2.0.7.patch -Patch9: %{name}-am121.patch -Patch10: %{name}-libsepol.patch -Patch23: add-to-header-define_cond_filename_trans.patch -Patch24: setools-tclass.patch -Patch25: implicit-fortify-decl.patch +License: GPL-2.0-only +Group: System/Management +Source: https://github.com/TresysTechnology/setools/archive/%{version}.tar.gz +Patch0: warning.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf -BuildRequires: automake BuildRequires: bison BuildRequires: flex BuildRequires: gcc -BuildRequires: gcc-c++ -BuildRequires: glibc-devel -BuildRequires: gtk2-devel -BuildRequires: java-devel -BuildRequires: javapackages-tools -BuildRequires: libbz2-devel -BuildRequires: libglade2-devel -BuildRequires: libselinux-devel +BuildRequires: libsepol-devel BuildRequires: libsepol-devel-static -BuildRequires: libstdc++-devel -BuildRequires: libtool -BuildRequires: libxml2-devel -BuildRequires: pkgconfig BuildRequires: python-devel -BuildRequires: sqlite3-devel +BuildRequires: python-setuptools BuildRequires: swig -BuildRequires: tcl-devel -BuildRequires: tk-devel -BuildRequires: update-alternatives -BuildRequires: update-desktop-files Requires: setools-console = %{version}-%{release} Requires: setools-gui = %{version}-%{release} -Requires: setools-libs = %{version}-%{release} -Requires: setools-libs-tcl = %{version}-%{release} %description SETools is a collection of graphical tools, command-line tools, and @@ -80,107 +45,21 @@ This meta-package depends upon the main packages necessary to run SETools. -%package libs - -Summary: Policy analysis support libraries for SELinux -License: LGPL-2.0 -Group: System Environment/Libraries - -%description libs -SETools is a collection of graphical tools, command-line tools, and -libraries designed to facilitate SELinux policy analysis. - -This package includes the following run-time libraries: - - libapol policy analysis library - libpoldiff semantic policy difference library - libqpol library that abstracts policy internals - libseaudit parse and filter SELinux audit messages in log files - libsefs SELinux file contexts library - %package -n python-setools Summary: Python bindings for SELinux policy analysis -License: LGPL-2.0 -Group: Development/Languages +License: LGPL-2.0-only +Group: Development/Languages/Python Requires: python -Requires: setools-libs = %{version} %description -n python-setools SETools is a collection of graphical tools, command-line tools, and libraries designed to facilitate SELinux policy analysis. -This package includes Python bindings for the following libraries: - - libapol policy analysis library - libpoldiff semantic policy difference library - libqpol library that abstracts policy internals - libseaudit parse and filter SELinux audit messages in log files - libsefs SELinux file contexts library - -%package java -Summary: Java bindings for SELinux policy analysis -License: LGPL-2.0 -Group: Development/Languages -Requires: java -Requires: setools-libs = %{version} - -%description java -SETools is a collection of graphical tools, command-line tools, and -libraries designed to facilitate SELinux policy analysis. - -This package includes Java bindings for the following libraries: - - libapol policy analysis library - libpoldiff semantic policy difference library - libqpol library that abstracts policy internals - libseaudit parse and filter SELinux audit messages in log files - libsefs SELinux file contexts library - -%package tcl -Summary: Tcl bindings for SELinux policy analysis -License: LGPL-2.0 -Group: Development/Languages -Requires: setools-libs = %{version} -Requires: tcl - -%description tcl -SETools is a collection of graphical tools, command-line tools, and -libraries designed to facilitate SELinux policy analysis. - -This package includes Tcl bindings for the following libraries: - - libapol policy analysis library - libpoldiff semantic policy difference library - libqpol library that abstracts policy internals - libseaudit parse and filter SELinux audit messages in log files - libsefs SELinux file contexts library - -%package devel -Summary: Policy analysis development files for SELinux -License: LGPL-2.0 -Group: Development/Libraries -Requires: libselinux-devel -Requires: libsepol-devel -Requires: setools-libs = %{version} - -%description devel -SETools is a collection of graphical tools, command-line tools, and -libraries designed to facilitate SELinux policy analysis. - -This package includes header files and archives for the following -libraries: - - libapol policy analysis library - libpoldiff semantic policy difference library - libqpol library that abstracts policy internals - libseaudit parse and filter SELinux audit messages in log files - libsefs SELinux file contexts library - %package console Summary: Policy analysis command-line tools for SELinux -License: GPL-2.0 +License: GPL-2.0-only Group: System/Base -Requires: setools-libs = %{version} +Requires: python-setools = %{version} %description console SETools is a collection of graphical tools, command-line tools, and @@ -188,24 +67,20 @@ This package includes the following console tools: - seaudit-report audit log analysis tool - sechecker SELinux policy checking tool - secmds command line tools: seinfo, sesearch, findcon, - replcon, and indexcon - sediff semantic policy difference tool + seinfo Provide information about policies + sesearch Tool to query policies + sedta Domain transition analysis tool + seinfoflow Information flow analysis tool + sediff Semantic policy difference tool %package gui Summary: Policy analysis graphical tools for SELinux -License: GPL-2.0 +License: GPL-2.0-only Group: System/Base Requires: bwidget -Requires: glib2 Requires: gtk2 -Requires: setools-libs = %{version} -Requires: setools-tcl = %{version} Requires: tcl Requires: tk -# Requires: usermode %description gui SETools is a collection of graphical tools, command-line tools, and @@ -214,83 +89,16 @@ This package includes the following graphical tools: apol policy analysis tool - seaudit audit log analysis tool - sediffx semantic policy difference tool - -%define setoolsdir %{_datadir}/setools-%{dataversion} -%define tcllibdir %{_libdir}/setools %prep -%setup -q -n %{name}3-%{name}-%{version} +%setup -q -n %{name}-%{version} %patch0 -%patch1 -%patch2 -%patch6 -p1 -%patch7 -%patch8 -%patch9 -p1 -%patch10 -p1 -%patch23 -p1 -%patch24 -p1 -%patch25 -p1 %build -autoreconf -fi -%configure \ - --disable-bwidget-check \ - --disable-selinux-check \ - --enable-swig-python \ - --enable-swig-java \ - --enable-swig-tcl \ - --with-java-prefix=%{java_home} \ - --with-javac-flags="-source 1.6 -target 1.6" -make %{?jobs:-j%jobs} +python setup.py build_ext -i %install -make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install -mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications -mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps -install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/pam.d -install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/seaudit -# install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps -# install -p -m 644 packages/rpm/seaudit.console $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/seaudit -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 seaudit/seaudit.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/seaudit.png -install -p -m 644 sediff/sediffx.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/sediffx.png -%suse_update_desktop_file -i apol System Security -%suse_update_desktop_file -i seaudit System Security -%suse_update_desktop_file -i sediffx System -# replace absolute symlinks with relative symlinks -ln -sf ../setools-%{dataversion}/qpol.jar $RPM_BUILD_ROOT/%{_javadir}/qpol.jar -ln -sf ../setools-%{dataversion}/apol.jar $RPM_BUILD_ROOT/%{_javadir}/apol.jar -ln -sf ../setools-%{dataversion}/poldiff.jar $RPM_BUILD_ROOT/%{_javadir}/poldiff.jar -ln -sf ../setools-%{dataversion}/seaudit.jar $RPM_BUILD_ROOT/%{_javadir}/seaudit.jar -ln -sf ../setools-%{dataversion}/sefs.jar $RPM_BUILD_ROOT/%{_javadir}/sefs.jar -# remove static libs -rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a -# ensure permissions are correct -chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so.* -chmod 0755 $RPM_BUILD_ROOT%{_libdir}/%{name}/*/*.so.* -# chmod 0755 $RPM_BUILD_ROOT%{py_sitedir}/*.so.* -chmod 0755 $RPM_BUILD_ROOT%{_bindir}/* -chmod 0755 $RPM_BUILD_ROOT%{_sbindir}/* -chmod 0755 $RPM_BUILD_ROOT%{setoolsdir}/seaudit-report-service -chmod 0644 $RPM_BUILD_ROOT%{tcllibdir}/*/pkgIndex.tcl -# workaround python bindings installer that install files in both locations - TODO: fix properly -if [ "%{python_sitelib}" != "%{python_sitearch}" ]; then - mv $RPM_BUILD_ROOT%{python_sitelib}/setools/* $RPM_BUILD_ROOT%{python_sitearch}/setools/ -fi - -%files libs -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING COPYING.GPL COPYING.LGPL KNOWN-BUGS NEWS README -%{_libdir}/libqpol.so.* -%{_libdir}/libapol.so.* -%{_libdir}/libpoldiff.so.* -%{_libdir}/libsefs.so.* -%{_libdir}/libseaudit.so.* -%dir %{setoolsdir} +python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files -n python-setools %defattr(-,root,root,-) @@ -298,96 +106,24 @@ %dir %{python_sitearch}/setools %{python_sitearch}/setools/* -%files java -%defattr(-,root,root,-) -%{_libdir}/libjqpol.so.* -%{_libdir}/libjapol.so.* -%{_libdir}/libjpoldiff.so.* -%{_libdir}/libjseaudit.so.* -%{_libdir}/libjsefs.so.* -%{setoolsdir}/*.jar -%{_javadir}/*.jar - -%files tcl -%defattr(-,root,root,-) -%dir %{tcllibdir} -%{tcllibdir}/qpol/ -%{tcllibdir}/apol/ -%{tcllibdir}/poldiff/ -%{tcllibdir}/seaudit/ -%{tcllibdir}/sefs/ - -%files devel -%defattr(-,root,root,-) -%{_libdir}/*.so -%{_libdir}/pkgconfig/* -%{_includedir}/qpol/ -%{_includedir}/apol/ -%{_includedir}/poldiff/ -%{_includedir}/seaudit/ -%{_includedir}/sefs/ - %files console %defattr(-,root,root,-) %{_bindir}/seinfo %{_bindir}/sesearch -%{_bindir}/indexcon -%{_bindir}/findcon -%{_bindir}/replcon -%{_bindir}/sechecker +%{_bindir}/sedta +%{_bindir}/seinfoflow %{_bindir}/sediff -%{_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/sedta.1.gz +%{_mandir}/man1/seinfoflow.1.gz %{_mandir}/man1/sediff.1.gz %{_mandir}/man1/seinfo.1.gz %{_mandir}/man1/sesearch.1.gz -%{_mandir}/man8/seaudit-report.8.gz %files gui %defattr(-,root,root,-) -%{_bindir}/sediffx +%dir %{python_sitearch}/setoolsgui +%{python_sitearch}/setoolsgui/* %{_bindir}/apol -%dir %{tcllibdir} -%{tcllibdir}/apol_tcl/ -%{setoolsdir}/sediff_help.txt -%{setoolsdir}/apol_help.txt -%{setoolsdir}/domaintrans_help.txt -%{setoolsdir}/file_relabel_help.txt -%{setoolsdir}/infoflow_help.txt -%{setoolsdir}/types_relation_help.txt -%{setoolsdir}/apol_perm_mapping_* -%{setoolsdir}/seaudit_help.txt -%{setoolsdir}/*.glade -%{setoolsdir}/*.png -%{setoolsdir}/apol.gif -%{setoolsdir}/dot_seaudit %{_mandir}/man1/apol.1.gz -%{_mandir}/man1/sediffx.1.gz -%{_mandir}/man8/seaudit.8.gz -%{_sbindir}/seaudit -%config(noreplace) %{_sysconfdir}/pam.d/seaudit -# %config(noreplace) %{_sysconfdir}/security/console.apps/seaudit -%{_datadir}/applications/* -%attr(0644,root,root) %{_datadir}/pixmaps/*.png - -%post libs -p /sbin/ldconfig - -%postun libs -p /sbin/ldconfig - -%post java -p /sbin/ldconfig - -%postun java -p /sbin/ldconfig - -%post tcl -p /sbin/ldconfig - -%postun tcl -p /sbin/ldconfig %changelog ++++++ setools-3.3.8.tar.gz -> 4.1.1.tar.gz ++++++ ++++ 258464 lines of diff (skipped) ++++++ warning.patch ++++++ Index: setup.py =================================================================== --- setup.py.orig +++ setup.py @@ -146,7 +146,7 @@ ext_py_mods = [Extension('setools.policy 'libqpol/policy_scan.c', 'libqpol/xen_query.c'], include_dirs=include_dirs, - extra_compile_args=['-Werror', '-Wextra', + extra_compile_args=['-Wextra', '-Waggregate-return', '-Wfloat-equal', '-Wformat', '-Wformat=2',
participants (1)
-
root