commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2020-11-09 13:56:32 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new.11331 (New) Package is "setools" Mon Nov 9 13:56:32 2020 rev:37 rq:846428 version:4.3.0 Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2020-10-24 15:15:03.412071913 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new.11331/setools.changes 2020-11-09 13:57:16.351982277 +0100 @@ -1,0 +2,6 @@ +Tue Nov 3 17:56:44 UTC 2020 - Benjamin Greiner + +- Stay on a single python3 flavor even if there are more than one + gh#openSUSE/python-rpm-macros#73 + +--- Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.LMxMsQ/_old 2020-11-09 13:57:17.087980673 +0100 +++ /var/tmp/diff_new_pack.LMxMsQ/_new 2020-11-09 13:57:17.087980673 +0100 @@ -17,6 +17,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +# As soon as python38 is introduced as flavor, we need this: +%{?!python3_primary_provider:%define python3_primary_provider %{lua: \ +l,c = posix.readlink("/usr/bin/python3") \ +flavor = l:gsub("%.", ""):sub(0,-1) \ +print(rpm.expand("%{?" .. flavor .. "_prefix}%{!?" .. flavor .. "_prefix:python3}")) \ +}} # doesn't work for python 2 %define skip_python2 1 @@ -29,13 +35,13 @@ License:GPL-2.0-only Group: System/Management Source: https://github.com/SELinuxProject/setools/releases/download/%{version}/setools-%{version}.tar.bz2 -BuildRequires: %{python_module Cython} -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: libselinux-devel BuildRequires: libsepol-devel BuildRequires: python-rpm-macros +BuildRequires: python3-Cython +BuildRequires: python3-devel +BuildRequires: python3-setuptools Requires: setools-console = %{version}-%{release} Requires: setools-gui = %{version}-%{release} @@ -64,16 +70,20 @@ seinfoflow Information flow analysis tool sediff Semantic policy difference tool -%package -n python3-setools +%package -n %{python3_primary_provider}-setools Summary:Python bindings for SELinux policy analysis License:LGPL-2.0-only Group: Development/Languages/Python Requires: python Requires: python3-networkx -Obsoletes: python-setools < %{version} +Obsoletes: python-setools < %{version}-%{release} Provides: python-setools = %{version}-%{release} +%if "%{python3_primary_provider}" != "python3" +Obsoletes: python3-setools < %{version}-%{release} +Provides: python3-setools = %{version}-%{release} +%endif -%description -n python3-setools +%description -n %{python3_primary_provider}-setools SETools is a collection of graphical tools, command-line tools, and libraries designed to facilitate SELinux policy analysis. @@ -97,17 +107,16 @@ %setup -q -n %{name} %build -%python_build +%{expand:%%%{python3_primary_provider}_build} %install -%python_install -%fdupes -s %{buildroot}%{python3_sitearch} +%{expand:%%%{python3_primary_provider}_install} +%fdupes -s %{buildroot}%{expand:%%%{python3_primary_provider}_sitearch} -%files -n python3-setools +%files -n %{python3_primary_provider}-setools %defattr(-,root,root,-) -%dir %{python3_sitearch}/setools/ -%{python3_sitearch}/setools/* -%{python3_sitearch}/setools*egg-info* +%{expand:%%%{python3_primary_provider}_sitearch}/setools +%{expand:%%%{python3_primary_provider}_sitearch}/setools-%{version}*-info %files console %defattr(-,root,root,-) @@ -130,7 +139,7 @@ %files gui %defattr(-,root,root,-) -%{python3_sitearch}/setoolsgui* +%{expand:%%%{python3_primary_provider}_sitearch}/setoolsgui %{_bindir}/apol %{_mandir}/man1/apol.1.gz
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2020-10-24 15:14:58 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new.3463 (New) Package is "setools" Sat Oct 24 15:14:58 2020 rev:36 rq:843145 version:4.3.0 Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2020-08-06 17:28:59.400921085 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new.3463/setools.changes 2020-10-24 15:15:03.412071913 +0200 @@ -1,0 +2,7 @@ +Wed Oct 21 07:29:51 UTC 2020 - Thorsten Kukuk + +- Cleanup BuildRequires +- Fix setools-gui dependencies, we are using python-qt5 and not + tcl/tk + +--- Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.F5UFVQ/_old 2020-10-24 15:15:05.160074094 +0200 +++ /var/tmp/diff_new_pack.F5UFVQ/_new 2020-10-24 15:15:05.160074094 +0200 @@ -32,14 +32,10 @@ BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -BuildRequires: bison BuildRequires: fdupes -BuildRequires: flex -BuildRequires: gcc BuildRequires: libselinux-devel BuildRequires: libsepol-devel BuildRequires: python-rpm-macros -BuildRequires: swig Requires: setools-console = %{version}-%{release} Requires: setools-gui = %{version}-%{release} @@ -85,10 +81,9 @@ Summary:Policy analysis graphical tools for SELinux License:GPL-2.0-only Group: System/Base -Requires: bwidget -Requires: gtk2 -Requires: tcl -Requires: tk +Requires: python3-networkx +Requires: python3-qt5 +Requires: python3-setools = %{version} %description gui SETools is a collection of graphical tools, command-line tools, and
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2020-08-06 17:28:56 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new.3399 (New) Package is "setools" Thu Aug 6 17:28:56 2020 rev:35 rq:823571 version:4.3.0 Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2020-04-05 20:49:58.432977615 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new.3399/setools.changes 2020-08-06 17:28:59.400921085 +0200 @@ -1,0 +2,5 @@ +Wed Jul 29 18:16:13 UTC 2020 - Thorsten Kukuk + +- python3-setools needs python3-networkx + +--- Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.0r3KPh/_old 2020-08-06 17:29:00.336922721 +0200 +++ /var/tmp/diff_new_pack.0r3KPh/_new 2020-08-06 17:29:00.340922728 +0200 @@ -73,6 +73,7 @@ License:LGPL-2.0-only Group: Development/Languages/Python Requires: python +Requires: python3-networkx Obsoletes: python-setools < %{version} Provides: python-setools = %{version}-%{release}
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2020-04-05 20:49:56 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new.3248 (New) Package is "setools" Sun Apr 5 20:49:56 2020 rev:34 rq:791204 version:4.3.0 Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2019-11-13 13:13:39.354781240 +0100 +++ /work/SRC/openSUSE:Factory/.setools.new.3248/setools.changes 2020-04-05 20:49:58.432977615 +0200 @@ -1,0 +2,18 @@ +Fri Apr 3 08:45:25 UTC 2020 - Johannes Segitz + +- Update to the upstream version 4.3.0: + * Revised sediff method for TE rules. This drastically reduced memory +and run time. + * Added infiniband context support to seinfo, sediff, and apol. + * Added apol configuration for location of Qt assistant. + * Fixed sediff issue where properties header would display when not +requested. + * Fixed sediff issue with type_transition file name comparison. + * Fixed permission map socket sendto information flow direction. + * Added methods to TypeAttribute class to make it a complete Python +collection. + * Genfscon now will look up classes rather than using fixed values +which were dropped from libsepol +- Dropped python3.8-compat.patch + +--- Old: 4.2.2.tar.gz python3.8-compat.patch New: setools-4.3.0.tar.bz2 Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.hcOWbr/_old 2020-04-05 20:49:58.848978012 +0200 +++ /var/tmp/diff_new_pack.hcOWbr/_new 2020-04-05 20:49:58.848978012 +0200 @@ -1,7 +1,7 @@ # # spec file for package setools # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,16 +22,13 @@ %define skip_python2 1 Name: setools -Version:4.2.2 +Version:4.3.0 Release:0 -Url:https://github.com/SELinuxProject/setools +URL:https://github.com/SELinuxProject/setools Summary:Policy analysis tools for SELinux License:GPL-2.0-only Group: System/Management -Source: https://github.com/SELinuxProject/setools/archive/%{version}.tar.gz -# PATCH-FIX-UPSTREAM python3.8-compat.patch mc...@suse.com -# allow build with Python 3.8 -Patch0: python3.8-compat.patch +Source: https://github.com/SELinuxProject/setools/releases/download/%{version}/setools-%{version}.tar.bz2 BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -101,8 +98,7 @@ apol policy analysis tool %prep -%setup -q -n %{name}-%{version} -%autopatch -p1 +%setup -q -n %{name} %build %python_build @@ -129,6 +125,12 @@ %{_mandir}/man1/sediff.1.gz %{_mandir}/man1/seinfo.1.gz %{_mandir}/man1/sesearch.1.gz +%{_mandir}/ru/man1/apol.1.gz +%{_mandir}/ru/man1/sediff.1.gz +%{_mandir}/ru/man1/sedta.1.gz +%{_mandir}/ru/man1/seinfo.1.gz +%{_mandir}/ru/man1/seinfoflow.1.gz +%{_mandir}/ru/man1/sesearch.1.gz %files gui %defattr(-,root,root,-)
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2019-11-13 13:13:37 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new.2990 (New) Package is "setools" Wed Nov 13 13:13:37 2019 rev:33 rq:747293 version:4.2.2 Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2019-02-06 14:06:36.502658106 +0100 +++ /work/SRC/openSUSE:Factory/.setools.new.2990/setools.changes 2019-11-13 13:13:39.354781240 +0100 @@ -1,0 +2,15 @@ +Thu Oct 31 12:02:30 CET 2019 - Matej Cepl + +- Add python3.8-compat.patch to allow build with Python 3.8 + Still doesn't work though because of gh#SELinuxProject/setools#31 + +--- +Thu Oct 31 09:38:27 CET 2019 - Matej Cepl + +- Update to the upstream version 4.2.2: + - Remove source policy references from man pages, as loading +source policies is no longer supported. + - Fixed a performance regression in alias loading after alias +dereferencing fixes in 4.2.1. + +--- Old: 4.2.1.tar.gz New: 4.2.2.tar.gz python3.8-compat.patch Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.aZo7UZ/_old 2019-11-13 13:13:40.226782148 +0100 +++ /var/tmp/diff_new_pack.aZo7UZ/_new 2019-11-13 13:13:40.226782148 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,13 +22,16 @@ %define skip_python2 1 Name: setools -Version:4.2.1 +Version:4.2.2 Release:0 Url:https://github.com/SELinuxProject/setools Summary:Policy analysis tools for SELinux License:GPL-2.0-only Group: System/Management Source: https://github.com/SELinuxProject/setools/archive/%{version}.tar.gz +# PATCH-FIX-UPSTREAM python3.8-compat.patch mc...@suse.com +# allow build with Python 3.8 +Patch0: python3.8-compat.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -99,6 +102,7 @@ %prep %setup -q -n %{name}-%{version} +%autopatch -p1 %build %python_build ++ 4.2.1.tar.gz -> 4.2.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setools-4.2.1/ChangeLog new/setools-4.2.2/ChangeLog --- old/setools-4.2.1/ChangeLog 2019-02-05 01:18:05.0 +0100 +++ new/setools-4.2.2/ChangeLog 2019-06-15 21:32:13.0 +0200 @@ -1,3 +1,11 @@ +*setools-4.2.2 (15 Jun 2019) + + * Remove source policy references from man pages, as loading source policies + is no longer supported. + * Fixed a performance regression in alias loading after alias dereferencing + fixes in 4.2.1. + + *setools-4.2.1 (4 Feb 2019) * Set SIGPIPE handler for CLI tools. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setools-4.2.1/man/apol.1 new/setools-4.2.2/man/apol.1 --- old/setools-4.2.1/man/apol.12019-02-05 01:18:05.0 +0100 +++ new/setools-4.2.2/man/apol.12019-06-15 21:32:13.0 +0200 @@ -13,14 +13,7 @@ .SH POLICY .PP -\fBapol\fR supports loading SELinux policies in one of two formats. -.RS -.IP "source:" -A single text file containing a monolithic policy source. This file is usually named policy.conf. -.IP "binary:" A single file containing a binary policy. This file is usually named by version on Linux systems, for example, \fIpolicy.30\fR. This file is usually named \fIsepolicy\fR on Android systems. -.RE -.PP If not provided, \fBapol\fR will start with none loaded. .SH OPTIONS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setools-4.2.1/man/sediff.1 new/setools-4.2.2/man/sediff.1 --- old/setools-4.2.1/man/sediff.1 2019-02-05 01:18:05.0 +0100 +++ new/setools-4.2.2/man/sediff.1 2019-06-15 21:32:13.0 +0200 @@ -12,15 +12,8 @@ .SH POLICY .PP -\fBsediff\fR supports loading SELinux policies in one of two formats. -.RS -.IP "source:" -A single text file containing a monolithic policy source. This file is usually named policy.conf. -.IP "binary:" A single file containing a binary policy. This file is usually named by version on Linux systems, for example, \fIpolicy.30\fR. This file is usually named \fIsepolicy\fR on Android systems. -.RE -.PP -Policies do not need to be the same format. If not provid
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2019-02-06 14:06:30 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new.28833 (New) Package is "setools" Wed Feb 6 14:06:30 2019 rev:32 rq:671815 version:4.2.1 Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2018-12-12 17:31:01.066684635 +0100 +++ /work/SRC/openSUSE:Factory/.setools.new.28833/setools.changes 2019-02-06 14:06:36.502658106 +0100 @@ -1,0 +2,13 @@ +Tue Feb 5 08:01:41 UTC 2019 - jseg...@suse.com + +- Update to 4.2.1 + * Set SIGPIPE handler for CLI tools. + * Fixed alias dereferencing in TypeQuery and type, category, and +sensitivity lookups. + * Fixed sediff bug for rendering modified nodecons. + * Fixed devicetreecon count output. + * Fixed policy target platform check. + * Fixed bug in creating permission set intersection in apol. +- Provide python-setools + +--- Old: 4.2.0.tar.gz New: 4.2.1.tar.gz Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.YhlR9n/_old 2019-02-06 14:06:38.214657796 +0100 +++ /var/tmp/diff_new_pack.YhlR9n/_new 2019-02-06 14:06:38.214657796 +0100 @@ -1,7 +1,7 @@ # # spec file for package setools # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -22,7 +22,7 @@ %define skip_python2 1 Name: setools -Version:4.2.0 +Version:4.2.1 Release:0 Url:https://github.com/SELinuxProject/setools Summary:Policy analysis tools for SELinux @@ -74,6 +74,7 @@ Group: Development/Languages/Python Requires: python Obsoletes: python-setools < %{version} +Provides: python-setools = %{version}-%{release} %description -n python3-setools SETools is a collection of graphical tools, command-line tools, and ++ 4.2.0.tar.gz -> 4.2.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setools-4.2.0/ChangeLog new/setools-4.2.1/ChangeLog --- old/setools-4.2.0/ChangeLog 2018-11-10 14:45:36.0 +0100 +++ new/setools-4.2.1/ChangeLog 2019-02-05 01:18:05.0 +0100 @@ -1,3 +1,104 @@ +*setools-4.2.1 (4 Feb 2019) + + * Set SIGPIPE handler for CLI tools. + * Fixed alias dereferencing in TypeQuery and type, category, and sensitivity +lookups. + * Fixed sediff bug for rendering modified nodecons. + * Fixed devicetreecon count output. + * Fixed policy target platform check. + * Fixed bug in creating permission set intersection in apol. + + +*setools-4.2.0 (10 Nov 2018) + + This release focused on improving performance and reducing memory usage. + + A Cython-based policy representation replaced the + Python/SWIG/static-linked-libsepol implemention. SETools no longer statically + links to libsepol, though it is strongly suggested that users rebuild SETools + after updating libsepol, in case the policy structure changes. + + Building on the policy representation change, refinements in sediff yielded + as much as a 90% reduction in memory use, depending on the policies. + + This release of SETools has different dependencies than previous versions. + See README.md for more details. Support for Python 2.7 was dropped because + all current SELinux-supporting distributions provide Python 3. + + Other smaller changes included: + + * Added support for SCTP portcons. + * Updated permission maps. + * Policy symbol names are now available as the name attribute (e.g. +Boolean.name, Type.name, etc.) + * Revised some apol layouts to increase the size of text entry fields. + * Revised package structure to make policyrep a module of the setools +package. + * Moved constraint expression to its own class. + * Made Conditional.evaluate() more useful and added BaseTERule.enabled() +method to determine if a rule is enabled. + + Changes since v4.2.0-rc: + + * Restored missing statement() methods in some policyrep classes + * Fixed NULL pointer dereference when iterating over type attributes when +the policy has none. + * Added xdp_socket permission mapping. + + +*setools-4.2.0-rc (29 Sep 2018) + + Changes since v4.2.0-beta: + + * Fixed performance regressions. + * Made further memory usage improvements. + * Fixed build issues with clean target and runtime_library_dirs. + * Revised package structure to make policyrep a module of the setools +package. + * Symb
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2018-12-12 17:30:52 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new.28833 (New) Package is "setools" Wed Dec 12 17:30:52 2018 rev:31 rq:657421 version:4.2.0 Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2018-06-29 22:24:49.934554506 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new.28833/setools.changes 2018-12-12 17:31:01.066684635 +0100 @@ -1,0 +2,19 @@ +Fri Dec 7 15:10:14 UTC 2018 - jseg...@suse.com + +- Changed requires of console subpackage to python3-setools + +--- +Wed Nov 21 14:17:32 UTC 2018 - jseg...@suse.com + +- Upgrade to 4.2.0 + * Support for Python 2.7 was dropped + * Symbol names are now available as the name attribute (e.g. Boolean.name, Type.name, etc.) + * Move constraint expression to its own class. + * Made Conditional.evaluate() more useful and added BaseTERule.enabled() method to determine if a rule is enabled.. + * Added support for SCTP portcons + * Updated permission maps +- Dropped warning.patch +- Single spec, limited to python3. Obsoletes python-setools, provides + python3-setools + +--- Old: 4.1.1.tar.gz warning.patch New: 4.2.0.tar.gz Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.tmgjkX/_old 2018-12-12 17:31:01.770683747 +0100 +++ /var/tmp/diff_new_pack.tmgjkX/_new 2018-12-12 17:31:01.774683741 +0100 @@ -16,24 +16,29 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} + +# doesn't work for python 2 +%define skip_python2 1 + Name: setools -Version:4.1.1 +Version:4.2.0 Release:0 -Url:https://github.com/TresysTechnology/setools/ +Url:https://github.com/SELinuxProject/setools Summary:Policy analysis tools for SELinux 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 +Source: https://github.com/SELinuxProject/setools/archive/%{version}.tar.gz +BuildRequires: %{python_module Cython} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: bison +BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc +BuildRequires: libselinux-devel BuildRequires: libsepol-devel -BuildRequires: libsepol-devel-static -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros BuildRequires: swig Requires: setools-console = %{version}-%{release} Requires: setools-gui = %{version}-%{release} @@ -45,21 +50,11 @@ This meta-package depends upon the main packages necessary to run SETools. -%package -n python-setools -Summary:Python bindings for SELinux policy analysis -License:LGPL-2.0-only -Group: Development/Languages/Python -Requires: python - -%description -n python-setools -SETools is a collection of graphical tools, command-line tools, and -libraries designed to facilitate SELinux policy analysis. - %package console Summary:Policy analysis command-line tools for SELinux License:GPL-2.0-only Group: System/Base -Requires: python-setools = %{version} +Requires: python3-setools = %{version} %description console SETools is a collection of graphical tools, command-line tools, and @@ -73,6 +68,17 @@ seinfoflow Information flow analysis tool sediff Semantic policy difference tool +%package -n python3-setools +Summary:Python bindings for SELinux policy analysis +License:LGPL-2.0-only +Group: Development/Languages/Python +Requires: python +Obsoletes: python-setools < %{version} + +%description -n python3-setools +SETools is a collection of graphical tools, command-line tools, and +libraries designed to facilitate SELinux policy analysis. + %package gui Summary:Policy analysis graphical tools for SELinux License:GPL-2.0-only @@ -92,19 +98,19 @@ %prep %setup -q -n %{name}-%{version} -%patch0 %build -python setup.py build_ext -i +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%fdupes -s %{buildroot}%{python3_sitearch} -%files -n python-setools +%files -n python3-setools %defattr(-,root,root,-) -%{python_sitearch}/setools*.egg-info -%dir %{python_sitearch}/setools -%{pytho
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 - jseg...@suse.com + +- Added warning.patch in former change to prevent warnings from + stopping the build + +--- +Wed May 16 07:28:39 UTC 2018 - mc...@suse.com + +- Upgrade to 4.1.1 + +--- +Wed Dec 20 12:23:39 UTC 2017 - jseg...@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} Requ
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2017-10-06 11:04:41 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools" Fri Oct 6 11:04:41 2017 rev:29 rq:531744 version:3.3.8 Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2017-06-28 10:36:48.119000594 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2017-10-06 11:04:44.605610113 +0200 @@ -1,0 +2,5 @@ +Sat Sep 30 07:54:34 UTC 2017 - co...@suse.com + +- Move to minimum java target of 1.6, 1.5 is no longer supported + +--- Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.gAWGjo/_old 2017-10-06 11:04:45.349497605 +0200 +++ /var/tmp/diff_new_pack.gAWGjo/_new 2017-10-06 11:04:45.349497605 +0200 @@ -243,7 +243,7 @@ --enable-swig-java \ --enable-swig-tcl \ --with-java-prefix=%{java_home} \ - --with-javac-flags="-source 1.5 -target 1.5" + --with-javac-flags="-source 1.6 -target 1.6" make %{?jobs:-j%jobs} %install
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2017-06-28 10:36:46 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools" Wed Jun 28 10:36:46 2017 rev:28 rq:506438 version:3.3.8 Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2016-08-29 15:41:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2017-06-28 10:36:48.119000594 +0200 @@ -1,0 +2,6 @@ +Mon Jun 26 16:30:02 UTC 2017 - jseg...@suse.com + +- Added implicit-fortify-decl.patch to prevent warnings about implicit + declarations + +--- New: implicit-fortify-decl.patch Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.DfdJE4/_old 2017-06-28 10:36:48.918887433 +0200 +++ /var/tmp/diff_new_pack.DfdJE4/_new 2017-06-28 10:36:48.918887433 +0200 @@ -1,7 +1,7 @@ # # spec file for package setools # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -40,6 +40,7 @@ Patch10:%{name}-libsepol.patch Patch23:add-to-header-define_cond_filename_trans.patch Patch24:setools-tclass.patch +Patch25:implicit-fortify-decl.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf @@ -231,6 +232,7 @@ %patch10 -p1 %patch23 -p1 %patch24 -p1 +%patch25 -p1 %build autoreconf -fi ++ implicit-fortify-decl.patch ++ Index: setools3-setools-3.3.8/libqpol/src/policy.c === --- setools3-setools-3.3.8.orig/libqpol/src/policy.c2013-01-16 17:36:04.0 +0100 +++ setools3-setools-3.3.8/libqpol/src/policy.c 2017-06-26 16:13:22.393132548 +0200 @@ -26,6 +26,10 @@ #include +#include +#include +#include + #include "qpol_internal.h" #include #include
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2016-08-29 15:36:31 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools" Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2015-03-25 21:05:01.0 +0100 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2016-08-29 15:41:15.0 +0200 @@ -1,0 +2,12 @@ +Thu Aug 25 15:42:18 UTC 2016 - jseg...@novell.com + +- Deleted setools-3.3.7-libselinux-2.3.patch, we have a + current libselinux now + +--- +Mon Jul 18 10:41:14 UTC 2016 - jseg...@novell.com + +- Patch to work with current libsepol, libselinux + Added: setools-tclass.patch + +--- Old: setools-3.3.7-libselinux-2.3.patch New: setools-tclass.patch Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.R4ApPQ/_old 2016-08-29 15:41:19.0 +0200 +++ /var/tmp/diff_new_pack.R4ApPQ/_new 2016-08-29 15:41:19.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package setools # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -39,7 +39,7 @@ Patch9: %{name}-am121.patch Patch10:%{name}-libsepol.patch Patch23:add-to-header-define_cond_filename_trans.patch -Patch24:setools-3.3.7-libselinux-2.3.patch +Patch24:setools-tclass.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf ++ add-to-header-define_cond_filename_trans.patch ++ --- /var/tmp/diff_new_pack.R4ApPQ/_old 2016-08-29 15:41:19.0 +0200 +++ /var/tmp/diff_new_pack.R4ApPQ/_new 2016-08-29 15:41:19.0 +0200 @@ -1,7 +1,7 @@ -Index: setools-3.3.7/libqpol/src/policy_define.h +Index: setools3-setools-3.3.8/libqpol/src/policy_define.h === setools-3.3.7.orig/libqpol/src/policy_define.h 2010-04-23 18:22:08.0 +0200 -+++ setools-3.3.7/libqpol/src/policy_define.h 2013-04-03 15:26:40.164954714 +0200 +--- setools3-setools-3.3.8.orig/libqpol/src/policy_define.h2013-01-16 17:36:04.0 +0100 setools3-setools-3.3.8/libqpol/src/policy_define.h 2016-07-18 12:40:35.922965184 +0200 @@ -23,6 +23,7 @@ * of code here */ #define SECURITY_FS_USE_PSIDS 6 ++ setools-libsepol.patch ++ --- /var/tmp/diff_new_pack.R4ApPQ/_old 2016-08-29 15:41:19.0 +0200 +++ /var/tmp/diff_new_pack.R4ApPQ/_new 2016-08-29 15:41:19.0 +0200 @@ -7,11 +7,11 @@ configure.ac |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) -Index: setools-3.3.6/configure.ac +Index: setools3-setools-3.3.8/configure.ac === setools-3.3.6.orig/configure.ac -+++ setools-3.3.6/configure.ac -@@ -503,7 +503,7 @@ AC_COMPILE_IFELSE( +--- setools3-setools-3.3.8.orig/configure.ac 2013-01-16 17:36:04.0 +0100 setools3-setools-3.3.8/configure.ac2016-07-18 12:40:48.255162639 +0200 +@@ -521,7 +521,7 @@ else [AC_LANG_SOURCE([ #include int main () { @@ -20,7 +20,7 @@ }])], sepol_new_user_role_mapping="yes", sepol_new_user_role_mapping="no") -@@ -539,7 +539,7 @@ if test ${sepol_check_boolmap} = "yes"; +@@ -578,7 +578,7 @@ if test ${sepol_check_boolmap} = "yes"; [AC_LANG_SOURCE([ #include int main () { @@ -29,4 +29,3 @@ }])], AC_MSG_RESULT([yes]), AC_MSG_ERROR([this version of libsepol is incompatible with SETools])) - ++ setools-tclass.patch ++ >From f1e5b208d507171968ca4d2eeefd7980f1004a3c Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Thu, 12 Feb 2015 08:55:12 -0500 Subject: [PATCH] Update for 2015-02-02 Userspace release (2.4) SETools now requires libsepol 2.4 and libselinux 2.4. --- configure.ac | 6 +++--- libqpol/src/policy_define.c | 4 ++-- libqpol/src/policy_extend.c | 4 ++-- libqpol/src/syn_rule_query.c | 6 +++--- secmds/replcon.cc| 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) Index: setools3-setools-3.3.8/configure.ac === --- setools3-setools-3.3.8.orig/configure.ac2016-07-18 12:40:35.914965056 +0200 +++ setools
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2015-03-25 21:05:00 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools" Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2014-05-27 18:30:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2015-03-25 21:05:01.0 +0100 @@ -1,0 +2,21 @@ +Mon Mar 23 02:32:05 UTC 2015 - p.drou...@gmail.com + +- Update to version 3.3.8 + * Fix bug preventing seaudit from starting + * Add python bindings for seinfo and sesearch + * seinfo exits with an error status + * Support for named file transition rules + * Add support for default types in sesearch + * Man page updates for seinfo, seaudit, and sediff + * Fix file type drop down list for open/close Apol query + * Fix compile errors on new parameter in libsepol role_set_expand(). +- Update home project and download Urls +- Remove merged patches + * setools-python.patch + * 0003-Since-we-do-not-ship-neverallow-rules-all-always-fai.patch + * 0006-Changes-to-support-named-file_trans-rules.patch + * 0007-Remove-unused-variables.patch +- Update setools-3.3.6-libsepol.patch > setools-libsepol.patch +- Remove redundant %clean section + +--- Old: 0003-Since-we-do-not-ship-neverallow-rules-all-always-fai.patch 0006-Changes-to-support-named-file_trans-rules.patch 0007-Remove-unused-variables.patch setools-3.3.6-libsepol.patch setools-3.3.7.tar.bz2 setools-python.patch New: setools-3.3.8.tar.gz setools-libsepol.patch Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.55ny4l/_old 2015-03-25 21:05:02.0 +0100 +++ /var/tmp/diff_new_pack.55ny4l/_new 2015-03-25 21:05:02.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package setools # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,13 @@ %define dataversion 3.3 Name: setools -Version:3.3.7 +Version:3.3.8 Release:0 -Url:http://oss.tresys.com/projects/setools/ +Url:https://github.com/TresysTechnology/setools3/wiki Summary:Policy analysis tools for SELinux License:GPL-2.0 Group: System/Base -Source: http://oss.tresys.com/projects/setools/chrome/site/dists/%{name}-%{version}/%{name}-%{version}.tar.bz2 +Source: https://github.com/TresysTechnology/setools3/archive/%{name}-%{version}.tar.gz Source1:setools.pam Source2:apol.desktop Source3:seaudit.desktop @@ -33,15 +33,11 @@ Patch0: %{name}-3.3.5-javacflags.patch Patch1: %{name}-3.3.5-nonvoid.patch Patch2: %{name}-3.3.5-strcmp.patch -Patch4: %{name}-python.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}-3.3.6-libsepol.patch -Patch11:0003-Since-we-do-not-ship-neverallow-rules-all-always-fai.patch -Patch15:0006-Changes-to-support-named-file_trans-rules.patch -Patch16:0007-Remove-unused-variables.patch +Patch10:%{name}-libsepol.patch Patch23:add-to-header-define_cond_filename_trans.patch Patch24:setools-3.3.7-libselinux-2.3.patch @@ -224,19 +220,15 @@ %define tcllibdir %{_libdir}/setools %prep -%setup -q +%setup -q -n %{name}3-%{name}-%{version} %patch0 %patch1 %patch2 -%patch4 -p1 %patch6 -p1 %patch7 %patch8 %patch9 -p1 %patch10 -p1 -%patch11 -p1 -%patch15 -p1 -%patch16 -p1 %patch23 -p1 %patch24 -p1 @@ -288,9 +280,6 @@ mv $RPM_BUILD_ROOT%{python_sitelib}/setools/* $RPM_BUILD_ROOT%{python_sitearch}/setools/ fi -%clean -rm -rf $RPM_BUILD_ROOT - %files libs %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING COPYING.GPL COPYING.LGPL KNOWN-BUGS NEWS README ++ setools-libsepol.patch ++ >From 2b58d92add64b53b16cbb438e7b69e85d046afd1 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Tue, 20 Sep 2011 15:46:38 -0400 Subject: [PATCH 5/6] Fix sepol calls to work with latest libsepol --- configure.ac |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: setools-3.3.6/configure.ac === --- setools-3.3.6.orig/configure.ac +++ setools-3.3.6/configure.ac @@ -503,7 +503,7
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2014-05-27 18:30:21 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools" Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2013-10-14 22:05:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2014-05-27 18:30:23.0 +0200 @@ -1,0 +2,6 @@ +Mon May 26 20:47:23 CEST 2014 - r...@suse.de + +- add patch: setools-3.3.7-libselinux-2.3.patch + fix build with libselinux-2.3 + +--- New: setools-3.3.7-libselinux-2.3.patch Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.yTv8YS/_old 2014-05-27 18:30:24.0 +0200 +++ /var/tmp/diff_new_pack.yTv8YS/_new 2014-05-27 18:30:24.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package setools # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -43,6 +43,7 @@ Patch15:0006-Changes-to-support-named-file_trans-rules.patch Patch16:0007-Remove-unused-variables.patch Patch23:add-to-header-define_cond_filename_trans.patch +Patch24:setools-3.3.7-libselinux-2.3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf @@ -237,6 +238,7 @@ %patch15 -p1 %patch16 -p1 %patch23 -p1 +%patch24 -p1 %build autoreconf -fi ++ setools-3.3.7-libselinux-2.3.patch ++ --- a/secmds/replcon.cc +++ b/secmds/replcon.cc @@ -60,7 +60,7 @@ {NULL, 0, NULL, 0} }; -extern int lsetfilecon_raw(const char *, security_context_t) __attribute__ ((weak)); +extern int lsetfilecon_raw(const char *, const char *) __attribute__ ((weak)); /** * As that setools must work with older libselinux versions that may @@ -68,7 +68,7 @@ * does indeed have the new functions then use them; otherwise * fallback to the originals. */ -static int replcon_lsetfilecon(const char *path, security_context_t context) +static int replcon_lsetfilecon(const char *path, const char *context) { if (lsetfilecon_raw != NULL) { -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2013-10-14 22:05:48 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools" Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2013-09-13 14:46:40.0 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2013-10-14 22:05:49.0 +0200 @@ -1,0 +2,7 @@ +Fri Oct 11 15:36:20 UTC 2013 - vci...@suse.com + +- don't fail if there are no never-allow rules in the policy +- remove dangling symlink /usr/bin/seaudit (bnc#812285) + * added 0003-Since-we-do-not-ship-neverallow-rules-all-always-fai.patch + +--- New: 0003-Since-we-do-not-ship-neverallow-rules-all-always-fai.patch Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.t851Nm/_old 2013-10-14 22:05:50.0 +0200 +++ /var/tmp/diff_new_pack.t851Nm/_new 2013-10-14 22:05:50.0 +0200 @@ -39,6 +39,7 @@ Patch8: %{name}-swig-2.0.7.patch Patch9: %{name}-am121.patch Patch10:%{name}-3.3.6-libsepol.patch +Patch11:0003-Since-we-do-not-ship-neverallow-rules-all-always-fai.patch Patch15:0006-Changes-to-support-named-file_trans-rules.patch Patch16:0007-Remove-unused-variables.patch Patch23:add-to-header-define_cond_filename_trans.patch @@ -232,6 +233,7 @@ %patch8 %patch9 -p1 %patch10 -p1 +%patch11 -p1 %patch15 -p1 %patch16 -p1 %patch23 -p1 @@ -276,7 +278,6 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/%{name}/*/*.so.* # chmod 0755 $RPM_BUILD_ROOT%{py_sitedir}/*.so.* chmod 0755 $RPM_BUILD_ROOT%{_bindir}/* -ln -sf consolehelper $RPM_BUILD_ROOT%{_bindir}/seaudit chmod 0755 $RPM_BUILD_ROOT%{_sbindir}/* chmod 0755 $RPM_BUILD_ROOT%{setoolsdir}/seaudit-report-service chmod 0644 $RPM_BUILD_ROOT%{tcllibdir}/*/pkgIndex.tcl @@ -359,7 +360,6 @@ %files gui %defattr(-,root,root,-) -%{_bindir}/seaudit %{_bindir}/sediffx %{_bindir}/apol %dir %{tcllibdir} ++ 0003-Since-we-do-not-ship-neverallow-rules-all-always-fai.patch ++ >From 252b7c8bf311d615164a20f4f402767e5859d972 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Tue, 20 Sep 2011 15:40:28 -0400 Subject: [PATCH 3/6] Since-we-do-not-ship-neverallow-rules-all-always-fail --- libqpol/src/avrule_query.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libqpol/src/avrule_query.c b/libqpol/src/avrule_query.c index 749565b..76dcaa3 100644 --- a/libqpol/src/avrule_query.c +++ b/libqpol/src/avrule_query.c @@ -57,8 +57,9 @@ int qpol_policy_get_avrule_iter(const qpol_policy_t * policy, uint32_t rule_type if ((rule_type_mask & QPOL_RULE_NEVERALLOW) && !qpol_policy_has_capability(policy, QPOL_CAP_NEVERALLOW)) { ERR(policy, "%s", "Cannot get avrules: Neverallow rules requested but not available"); - errno = ENOTSUP; - return STATUS_ERR; +/* errno = ENOTSUP; + return STATUS_ERR; */ + return STATUS_SUCCESS; } db = &policy->p->p; -- 1.7.6.2 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2013-09-13 14:46:39 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools" Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2013-04-05 07:37:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2013-09-13 14:46:40.0 +0200 @@ -1,0 +2,5 @@ +Fri Sep 13 09:16:43 UTC 2013 - pgaj...@suse.com + +- javapackages-tools in buildrequires + +--- Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.ZBQUGi/_old 2013-09-13 14:46:42.0 +0200 +++ /var/tmp/diff_new_pack.ZBQUGi/_new 2013-09-13 14:46:42.0 +0200 @@ -53,6 +53,7 @@ BuildRequires: glibc-devel BuildRequires: gtk2-devel BuildRequires: java-devel +BuildRequires: javapackages-tools BuildRequires: libbz2-devel BuildRequires: libglade2-devel BuildRequires: libselinux-devel -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2013-04-05 07:37:11 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2012-10-26 17:32:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2013-04-05 07:37:31.0 +0200 @@ -1,0 +2,10 @@ +Tue Mar 12 14:02:59 UTC 2013 - vci...@suse.com + +- added patches: + * 0006-Changes-to-support-named-file_trans-rules.patch + * 0007-Remove-unused-variables.patch +- these two add support for named file trans rules + * add-to-header-define_cond_filename_trans.patch +- add missing define_cond_filename_trans() declaration + +--- New: 0006-Changes-to-support-named-file_trans-rules.patch 0007-Remove-unused-variables.patch add-to-header-define_cond_filename_trans.patch Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.5xub0W/_old 2013-04-05 07:37:32.0 +0200 +++ /var/tmp/diff_new_pack.5xub0W/_new 2013-04-05 07:37:32.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package setools # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -39,6 +39,10 @@ Patch8: %{name}-swig-2.0.7.patch Patch9: %{name}-am121.patch Patch10:%{name}-3.3.6-libsepol.patch +Patch15:0006-Changes-to-support-named-file_trans-rules.patch +Patch16:0007-Remove-unused-variables.patch +Patch23:add-to-header-define_cond_filename_trans.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -227,6 +231,9 @@ %patch8 %patch9 -p1 %patch10 -p1 +%patch15 -p1 +%patch16 -p1 +%patch23 -p1 %build autoreconf -fi ++ 0006-Changes-to-support-named-file_trans-rules.patch ++ 1491 lines (skipped) ++ 0007-Remove-unused-variables.patch ++ >From e30036e358b8f1c3f56048b467e8646fa3bfffb6 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Tue, 20 Sep 2011 16:40:26 -0400 Subject: [PATCH 7/7] Remove unused variables --- libapol/src/ftrule-query.c | 11 ++ libqpol/src/ftrule_query.c |2 - secmds/sesearch.c | 86 +--- 3 files changed, 68 insertions(+), 31 deletions(-) diff --git a/libapol/src/ftrule-query.c b/libapol/src/ftrule-query.c index dc248de..9c7a23b 100644 --- a/libapol/src/ftrule-query.c +++ b/libapol/src/ftrule-query.c @@ -45,14 +45,11 @@ struct apol_filename_trans_query int apol_filename_trans_get_by_query(const apol_policy_t * p, const apol_filename_trans_query_t * t, apol_vector_t ** v) { apol_vector_t *source_list = NULL, *target_list = NULL, *class_list = NULL, *default_list = NULL; - int retval = -1, source_as_any = 0, is_regex = 0, append_filename_trans; - char *bool_name = NULL; + int retval = -1, source_as_any = 0, is_regex = 0; *v = NULL; - unsigned int flags = 0; - qpol_iterator_t *iter = NULL, *type_iter = NULL; + qpol_iterator_t *iter = NULL; if (t != NULL) { - flags = t->flags; is_regex = t->flags & APOL_QUERY_REGEX; if (t->source != NULL && (source_list = @@ -104,7 +101,7 @@ int apol_filename_trans_get_by_query(const apol_policy_t * p, const apol_filenam if (qpol_iterator_get_item(iter, (void **)&filename_trans) < 0) { goto cleanup; } - int match_source = 0, match_target = 0, match_default = 0, match_bool = 0; + int match_source = 0, match_target = 0, match_default = 0; size_t i; if (source_list == NULL) { @@ -265,10 +262,8 @@ char *apol_filename_trans_render(const apol_policy_t * policy, const qpol_filena { char *tmp = NULL; const char *tmp_name = NULL; - const char *filename_trans_type_str; int error = 0; size_t tmp_sz = 0; - uint32_t filename_trans_type = 0; const qpol_type_t *type = NULL; const qpol_class_t *obj_class = NULL; diff --git a/libqpol/src/ftrule_query.c b/libqpol/src/ftrule_query.c index d6db848..3148d30 100644 --- a/libqpol/src/ftrule_query.c +++ b/libqpol/src/ftrule_query.c @@ -254,7 +254,6 @@ int qpol_filename_trans_get_d
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2012-10-26 17:32:55 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2012-08-31 10:01:40.0 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2012-10-26 17:32:56.0 +0200 @@ -1,0 +2,5 @@ +Thu Oct 25 11:20:26 UTC 2012 - co...@suse.com + +- add explicit buildrequire on libbz2-devel + +--- Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.fzt7yO/_old 2012-10-26 17:32:57.0 +0200 +++ /var/tmp/diff_new_pack.fzt7yO/_new 2012-10-26 17:32:57.0 +0200 @@ -49,6 +49,7 @@ BuildRequires: glibc-devel BuildRequires: gtk2-devel BuildRequires: java-devel +BuildRequires: libbz2-devel BuildRequires: libglade2-devel BuildRequires: libselinux-devel BuildRequires: libsepol-devel-static -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2012-08-31 10:01:38 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2012-07-03 14:26:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2012-08-31 10:01:40.0 +0200 @@ -1,0 +2,12 @@ +Tue Aug 28 15:35:33 UTC 2012 - idon...@suse.com + +- Add setools-3.3.6-libsepol.patch to fix compilation with new + libsepol + +--- +Sun Aug 5 15:44:47 UTC 2012 - meiss...@suse.com + +- updated to version 3.3.7 +- removed 2 upstream patches + +--- Old: setools-3.3.6.tar.bz2 setools-qpol.patch setools-seaudit-headers.patch New: setools-3.3.6-libsepol.patch setools-3.3.7.tar.bz2 Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.1gUNb5/_old 2012-08-31 10:01:43.0 +0200 +++ /var/tmp/diff_new_pack.1gUNb5/_new 2012-08-31 10:01:43.0 +0200 @@ -19,7 +19,7 @@ %define dataversion 3.3 Name: setools -Version:3.3.6 +Version:3.3.7 Release:0 Url:http://oss.tresys.com/projects/setools/ Summary:Policy analysis tools for SELinux @@ -33,13 +33,12 @@ Patch0: %{name}-3.3.5-javacflags.patch Patch1: %{name}-3.3.5-nonvoid.patch Patch2: %{name}-3.3.5-strcmp.patch -Patch3: %{name}-qpol.patch Patch4: %{name}-python.patch -Patch5: %{name}-seaudit-headers.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}-3.3.6-libsepol.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -221,13 +220,12 @@ %patch0 %patch1 %patch2 -%patch3 -p1 %patch4 -p1 -%patch5 -p1 %patch6 -p1 %patch7 %patch8 %patch9 -p1 +%patch10 -p1 %build autoreconf -fi ++ setools-3.3.5-javacflags.patch ++ --- /var/tmp/diff_new_pack.1gUNb5/_old 2012-08-31 10:01:43.0 +0200 +++ /var/tmp/diff_new_pack.1gUNb5/_new 2012-08-31 10:01:43.0 +0200 @@ -11,19 +11,6 @@ $(wordlist 2,$(words $(classes)),$(classes)): $(firstword $(classes)) -Index: libapol/swig/java/Makefile.in -=== libapol/swig/java/Makefile.in.orig -+++ libapol/swig/java/Makefile.in -@@ -687,7 +687,7 @@ $(wrappedso_DATA): $(filter %.c, $(BUILT - # just depend upon the first class file, and let the Java compiler - # create the rest of them. - $(firstword $(classes)): $(java_files) -- $(JAVAC) $(AM_JFLAGS) $(JAVAFLAGS) -d . $^ -+ $(JAVAC) $(AM_JFLAGS) $(JAVACFLAGS) -d . $^ - - $(wordlist 2,$(words $(classes)),$(classes)): $(firstword $(classes)) - Index: libpoldiff/swig/java/Makefile.am === --- libpoldiff/swig/java/Makefile.am.orig @@ -37,19 +24,6 @@ $(wordlist 2,$(words $(classes)),$(classes)): $(firstword $(classes)) -Index: libpoldiff/swig/java/Makefile.in -=== libpoldiff/swig/java/Makefile.in.orig -+++ libpoldiff/swig/java/Makefile.in -@@ -662,7 +662,7 @@ $(wrappedso_DATA): $(filter %.c, $(BUILT - # just depend upon the first class file, and let the Java compiler - # create the rest of them. - $(firstword $(classes)): $(java_files) -- $(JAVAC) $(AM_JFLAGS) $(JAVAFLAGS) -d . $^ -+ $(JAVAC) $(AM_JFLAGS) $(JAVACFLAGS) -d . $^ - - $(wordlist 2,$(words $(classes)),$(classes)): $(firstword $(classes)) - Index: libqpol/swig/java/Makefile.am === --- libqpol/swig/java/Makefile.am.orig @@ -63,19 +37,6 @@ $(wordlist 2,$(words $(classes)),$(classes)): $(firstword $(classes)) -Index: libqpol/swig/java/Makefile.in -=== libqpol/swig/java/Makefile.in.orig -+++ libqpol/swig/java/Makefile.in -@@ -664,7 +664,7 @@ $(wrappedso_DATA): $(filter %.c, $(BUILT - # just depend upon the first class file, and let the Java compiler - # create the rest of them. - $(firstword $(classes)): $(filter %.java, $(BUILT_SOURCES)) -- $(JAVAC) $(AM_JFLAGS) $(JAVAFLAGS) -d . $^ -+ $(JAVAC) $(AM_JFLAGS) $(JAVACFLAGS) -d . $^ - - $(wordlist 2,$(words $(classes)),$(classes)): $(firstword $(cla
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2012-07-03 14:02:46 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2012-06-14 21:11:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2012-07-03 14:26:08.0 +0200 @@ -1,0 +2,5 @@ +Tue Jul 3 09:13:03 UTC 2012 - co...@suse.com + +- add setools-am121.patch to fix build with automake 1.12.1 + +--- New: setools-am121.patch Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.htsFLK/_old 2012-07-03 14:26:10.0 +0200 +++ /var/tmp/diff_new_pack.htsFLK/_new 2012-07-03 14:26:10.0 +0200 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define dataversion 3.3 Name: setools @@ -38,6 +39,7 @@ Patch6: %{name}-setup_py-prefix.patch Patch7: %{name}-swig-2x.patch Patch8: %{name}-swig-2.0.7.patch +Patch9: %{name}-am121.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -62,10 +64,10 @@ 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} -Requires: setools-gui = %{version}-%{release} -Requires: setools-console = %{version}-%{release} %description SETools is a collection of graphical tools, command-line tools, and @@ -96,7 +98,8 @@ Summary:Python bindings for SELinux policy analysis License:LGPL-2.0 Group: Development/Languages -Requires: python setools-libs = %{version} +Requires: python +Requires: setools-libs = %{version} %description -n python-setools SETools is a collection of graphical tools, command-line tools, and @@ -114,7 +117,8 @@ Summary:Java bindings for SELinux policy analysis License:LGPL-2.0 Group: Development/Languages -Requires: java setools-libs = %{version} +Requires: java +Requires: setools-libs = %{version} %description java SETools is a collection of graphical tools, command-line tools, and @@ -132,7 +136,8 @@ Summary:Tcl bindings for SELinux policy analysis License:LGPL-2.0 Group: Development/Languages -Requires: tcl setools-libs = %{version} +Requires: setools-libs = %{version} +Requires: tcl %description tcl SETools is a collection of graphical tools, command-line tools, and @@ -150,7 +155,9 @@ Summary:Policy analysis development files for SELinux License:LGPL-2.0 Group: Development/Libraries -Requires: libselinux-devel libsepol-devel setools-libs = %{version} +Requires: libselinux-devel +Requires: libsepol-devel +Requires: setools-libs = %{version} %description devel SETools is a collection of graphical tools, command-line tools, and @@ -187,9 +194,13 @@ Summary:Policy analysis graphical tools for SELinux License:GPL-2.0 Group: System/Base -Requires: tcl tk bwidget -Requires: setools-libs = %{version} setools-tcl = %{version} -Requires: glib2 gtk2 +Requires: bwidget +Requires: glib2 +Requires: gtk2 +Requires: setools-libs = %{version} +Requires: setools-tcl = %{version} +Requires: tcl +Requires: tk # Requires: usermode %description gui @@ -216,6 +227,7 @@ %patch6 -p1 %patch7 %patch8 +%patch9 -p1 %build autoreconf -fi ++ setools-am121.patch ++ Index: setools-3.3.6/apol/Makefile.am === --- setools-3.3.6.orig/apol/Makefile.am 2008-03-12 16:39:52.0 +0100 +++ setools-3.3.6/apol/Makefile.am 2012-07-03 11:11:01.642603291 +0200 @@ -86,7 +86,7 @@ $(wrappedso_DATA): apol_tcl.cc apol_tcl_ $(package_SCRIPTS): $(wrappedso_DATA) mkIndex.tcl cat mkIndex.tcl | LD_LIBRARY_PATH=$(top_builddir)/libqpol/src:$(top_builddir)/libapol/src:$(top_builddir)/libsefs/src $(TCLSH_PROG) - $(mkdir_p) apol_tcl + $(MKDIR_P) apol_tcl cp $< $@ apol_tcl mkIndex.tcl: $(wrappedso_DATA) Makefile Index: setools-3.3.6/libapol/swig/java/Makefile.am =
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2012-06-14 21:11:03 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2012-02-16 10:10:32.0 +0100 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2012-06-14 21:11:04.0 +0200 @@ -1,0 +2,5 @@ +Thu Jun 14 12:01:51 CEST 2012 - m...@suse.de + +- fix build with swig-2.0.7 (untested, though) + +--- New: setools-swig-2.0.7.patch Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.oXRkuG/_old 2012-06-14 21:11:05.0 +0200 +++ /var/tmp/diff_new_pack.oXRkuG/_new 2012-06-14 21:11:05.0 +0200 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - %define dataversion 3.3 Name: setools @@ -38,6 +37,7 @@ Patch5: %{name}-seaudit-headers.patch Patch6: %{name}-setup_py-prefix.patch Patch7: %{name}-swig-2x.patch +Patch8: %{name}-swig-2.0.7.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -215,6 +215,7 @@ %patch5 -p1 %patch6 -p1 %patch7 +%patch8 %build autoreconf -fi ++ setools-swig-2.0.7.patch ++ 1049 lines (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2012-02-16 10:10:30 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2012-01-20 20:27:01.0 +0100 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2012-02-16 10:10:32.0 +0100 @@ -1,0 +2,5 @@ +Mon Feb 13 10:56:00 UTC 2012 - co...@suse.com + +- patch license to follow spdx.org standard + +--- Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.rkkrGL/_old 2012-02-16 10:10:33.0 +0100 +++ /var/tmp/diff_new_pack.rkkrGL/_new 2012-02-16 10:10:33.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package setools # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,17 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild %define dataversion 3.3 Name: setools Version:3.3.6 -Release:9 +Release:0 Url:http://oss.tresys.com/projects/setools/ -License:GPLv2 -Group: System/Base Summary:Policy analysis tools for SELinux +License:GPL-2.0 +Group: System/Base Source: http://oss.tresys.com/projects/setools/chrome/site/dists/%{name}-%{version}/%{name}-%{version}.tar.bz2 Source1:setools.pam Source2:apol.desktop @@ -40,12 +39,29 @@ Patch6: %{name}-setup_py-prefix.patch Patch7: %{name}-swig-2x.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf automake bison flex libtool pkgconfig -BuildRequires: gcc gcc-c++ glibc-devel libstdc++-devel -BuildRequires: libselinux-devel libsepol-devel-static -BuildRequires: gtk2-devel libglade2-devel libxml2-devel sqlite3-devel -BuildRequires: java-devel python-devel swig tcl-devel tk-devel -BuildRequires: update-alternatives update-desktop-files +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: bison +BuildRequires: flex +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: glibc-devel +BuildRequires: gtk2-devel +BuildRequires: java-devel +BuildRequires: libglade2-devel +BuildRequires: libselinux-devel +BuildRequires: libsepol-devel-static +BuildRequires: libstdc++-devel +BuildRequires: libtool +BuildRequires: libxml2-devel +BuildRequires: pkgconfig +BuildRequires: python-devel +BuildRequires: sqlite3-devel +BuildRequires: swig +BuildRequires: tcl-devel +BuildRequires: tk-devel +BuildRequires: update-alternatives +BuildRequires: update-desktop-files Requires: setools-libs = %{version}-%{release} Requires: setools-libs-tcl = %{version}-%{release} Requires: setools-gui = %{version}-%{release} @@ -60,8 +76,8 @@ %package libs -License:LGPL v2 Summary:Policy analysis support libraries for SELinux +License:LGPL-2.0 Group: System Environment/Libraries %description libs @@ -77,8 +93,8 @@ libsefs SELinux file contexts library %package -n python-setools -License:LGPL v2 Summary:Python bindings for SELinux policy analysis +License:LGPL-2.0 Group: Development/Languages Requires: python setools-libs = %{version} @@ -95,8 +111,8 @@ libsefs SELinux file contexts library %package java -License:LGPL v2 Summary:Java bindings for SELinux policy analysis +License:LGPL-2.0 Group: Development/Languages Requires: java setools-libs = %{version} @@ -113,8 +129,8 @@ libsefs SELinux file contexts library %package tcl -License:LGPL v2 Summary:Tcl bindings for SELinux policy analysis +License:LGPL-2.0 Group: Development/Languages Requires: tcl setools-libs = %{version} @@ -131,8 +147,8 @@ libsefs SELinux file contexts library %package devel -License:LGPL v2 Summary:Policy analysis development files for SELinux +License:LGPL-2.0 Group: Development/Libraries Requires: libselinux-devel libsepol-devel setools-libs = %{version} @@ -151,8 +167,8 @@ %package console Summary:Policy analysis command-line tools for SELinux +License:GPL-2.0 Group: System/Base -Licens
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2012-01-20 20:25:30 Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new (New) Package is "setools", Maintainer is "vci...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/setools/setools.changes 2011-09-23 12:46:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new/setools.changes 2012-01-20 20:27:01.0 +0100 @@ -1,0 +2,5 @@ +Wed Nov 23 09:26:22 UTC 2011 - co...@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.FHYCUg/_old 2012-01-20 20:27:09.0 +0100 +++ /var/tmp/diff_new_pack.FHYCUg/_new 2012-01-20 20:27:09.0 +0100 @@ -40,7 +40,7 @@ Patch6: %{name}-setup_py-prefix.patch Patch7: %{name}-swig-2x.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf automake bison flex pkgconfig +BuildRequires: autoconf automake bison flex libtool pkgconfig BuildRequires: gcc gcc-c++ glibc-devel libstdc++-devel BuildRequires: libselinux-devel libsepol-devel-static BuildRequires: gtk2-devel libglade2-devel libxml2-devel sqlite3-devel -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit setools for openSUSE:Factory
Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at Mon May 30 10:45:06 CEST 2011. --- setools/setools.changes 2010-02-25 16:47:47.0 +0100 +++ /mounts/work_src_done/STABLE/setools/setools.changes2011-05-26 11:30:45.0 +0200 @@ -1,0 +2,5 @@ +Thu May 26 09:30:05 UTC 2011 - idon...@novell.com + +- Add setools-swig-2x.patch: correctly detect swig 2.x + +--- calling whatdependson for head-i586 New: setools-swig-2x.patch Other differences: -- ++ setools.spec ++ --- /var/tmp/diff_new_pack.TurLk1/_old 2011-05-30 10:44:39.0 +0200 +++ /var/tmp/diff_new_pack.TurLk1/_new 2011-05-30 10:44:39.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package setools (Version 3.3.6) +# spec file for package setools # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ Name: setools Version:3.3.6 -Release:1 +Release:9 Url:http://oss.tresys.com/projects/setools/ License:GPLv2 Group: System/Base @@ -38,6 +38,7 @@ Patch4: %{name}-python.patch Patch5: %{name}-seaudit-headers.patch Patch6: %{name}-setup_py-prefix.patch +Patch7: %{name}-swig-2x.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf automake bison flex pkgconfig BuildRequires: gcc gcc-c++ glibc-devel libstdc++-devel @@ -197,8 +198,10 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 %build +autoreconf -fi %configure \ --disable-bwidget-check \ --disable-selinux-check \ ++ setools-swig-2x.patch ++ --- m4/ac_pkg_swig.m4 2007-02-09 18:32:41.0 +0100 +++ m4/ac_pkg_swig.m4 2011-05-26 11:25:08.995022389 +0200 @@ -64,6 +64,20 @@ # may extend this special exception to the GPL to apply to your # modified version as well. +AC_DEFUN([SWIG_VERSION_GOOD],[ + AC_MSG_NOTICE([SWIG executable is '$SWIG']) +SWIG_LIB=`$SWIG -swiglib` +AC_MSG_NOTICE([SWIG library directory is '$SWIG_LIB']) +SWIG_VERSION=`echo $(( $available_major * 100 * 100 + $available_minor * 100 + $available_patch ))` +AC_MSG_NOTICE([SWIG version is '$SWIG_VERSION']) +# AM_CONDITIONAL(SWIG_NEW_OPTIONS, test "$SWIG_VERSION" \> 10331) +]) + +AC_DEFUN([SWIG_VERSION_BAD],[ + AC_MSG_WARN([SWIG version >= $1 is required. You have $swig_version. You should look at http://www.swig.org]) +SWIG='echo "Error: SWIG version >= $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org"; ; false' +]) + AC_DEFUN([AC_PROG_SWIG],[ AC_PATH_PROG([SWIG],[swig]) if test -z "$SWIG" ; then @@ -106,16 +120,44 @@ if test -z "$available_patch" ; then [available_patch=0] fi -if test $available_major -ne $required_major \ --o $available_minor -ne $required_minor \ --o $available_patch -lt $required_patch ; then -AC_MSG_WARN([SWIG version >= $1 is required. You have $swig_version. You should look at http://www.swig.org]) -SWIG='echo "Error: SWIG version >= $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org"; ; false' -else -AC_MSG_NOTICE([SWIG executable is '$SWIG']) -SWIG_LIB=`$SWIG -swiglib` -AC_MSG_NOTICE([SWIG library directory is '$SWIG_LIB']) -fi + + + + if test $available_major -gt $required_major; then + # the available major is greater than required major --GOOD + SWIG_VERSION_GOOD() + + elif test $available_major -lt $required_major ; then + # the avialable major is less than required major -- BAD + SWIG_VERSION_BAD() + else + # the available and require major are equal check the minor and patch versions. + + if test $available_minor -gt $required_minor ; then + # GOOD + SWIG_VERSION_GOOD() + e