Package Details: setools 4.5.1-1

Git Clone URL: https://aur.archlinux.org/setools.git (read-only, click to copy)
Package Base: setools
Description: Policy analysis tools for SELinux
Upstream URL: https://github.com/SELinuxProject/setools/wiki
Keywords: selinux
Licenses: GPL, LGPL
Groups: selinux
Conflicts: selinux-setools
Provides: selinux-setools
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 20
Popularity: 0.001976
First Submitted: 2013-11-03 20:05 (UTC)
Last Updated: 2024-05-04 14:27 (UTC)

Dependencies (12)

Required by (1)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

IooNag commented on 2018-09-16 11:55 (UTC)

I have updated the package to use the new location of the project. Actually I was waiting for 4.2 release (4.2.0 has been in beta for some weeks), but as the beta has some backward-incompatible changes with sepolicy, the release is being delayed (https://github.com/SELinuxProject/setools/issues/8).

yrlf commented on 2018-09-10 19:23 (UTC)

The project has moved to https://github.com/SELinuxProject/setools

Please update this package accordingly

zer01 commented on 2017-09-30 22:06 (UTC)

Nice work, thanks!

IooNag commented on 2017-09-30 21:30 (UTC)

zer01: thanks for your bug report! I backported the upstream commit in setools 4.1.1-3.

zer01 commented on 2017-09-30 01:36 (UTC)

Just noting that python-networkx 2.0 has hit the Arch repos which breaks things. Looks like there is an upstream patch at https://github.com/TresysTechnology/setools/commit/856b56accba14b0296e608b7f05bead2d63ca542 but is not yet tagged/released.

chendaniely commented on 2016-11-20 17:34 (UTC)

@IooNag installing `checkpolicy` before updating fixed the issue. Thanks!

IooNag commented on 2016-11-08 16:49 (UTC)

chendaniely: indeed, setools tests require the checkpolicy command (https://github.com/TresysTechnology/setools/blob/4.0/tests/policyrep/selinuxpolicy.py#L42). This means that the PKGBUILD needs to define checkdepends=('checkpolicy'). Could you please install checkpolicy? If this fixes the issue you have, I will update the package. Thanks for the bug report!

chendaniely commented on 2016-11-08 15:14 (UTC)

I've been getting a check error since the package was updated: Boolean query with regex match. ... ok test_010_default (tests.boolquery.BoolQueryTest) Boolean query with default state match. ... ok ====================================================================== ERROR: setUpClass (tests.policyrep.selinuxpolicy.SELinuxPolicyTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/yaourt-tmp-dchen/aur-setools/src/setools-4.0.1/tests/policyrep/selinuxpolicy.py", line 48, in setUpClass subprocess.check_call(command, stdout=null, shell=False, close_fds=True) File "/usr/lib/python2.7/subprocess.py", line 536, in check_call retcode = call(*popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 523, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory ---------------------------------------------------------------------- Ran 1315 tests in 2.722s FAILED (errors=1, skipped=8, expected failures=1) ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Makepkg was unable to build setools.

ashaman-crypto commented on 2016-10-31 22:57 (UTC)

This needs to install with setools3-libs, otherwise installation is blocked because it breaks dependancies for policycoreutils.

IooNag commented on 2015-12-08 23:09 (UTC)

Hello. I did not change anything to the package, and you are right that swig is missing from makedepends. In fact I have it installed on my build system because it is in libselinux and libsemanage makedepends, but if you uninstall packages between builds, it no longer works. This is a bug that I will fix. For the "The next patch would create the file apol/constraints_tab.tcl" error, it comes from the fact that makepkg is trying to apply a patch which has already been applied, in prepare(). You can either use "makepkg -C" to remove src/ before building or use "makepkg -e" to build the package from the already-extracted src/. Thanks!