Chris PeBenito
42c2bbd606
Move data in as package data.
...
Closes #136 .
2016-11-12 11:13:21 -05:00
Chris PeBenito
60e8b9d7fb
setup.py: Support locally-built libsepol.
...
Set the SEPOL_SRC env. variable to the path to the compiled libsepol
source tree.
Closes #138
2016-11-11 18:21:48 -05:00
Chris PeBenito
6eaf7a26f5
libqpol: Remove unused syntactic rule functions.
2016-05-20 10:31:18 -04:00
Jake Valletta
1655fb7e56
Add error check for missing libsepol.so
...
The setup.py script attempts to locate the 'libsepol.so' library
if the SEPOL environment variable is not set, but does not fail
safely if the find fails. This commit adds error checking if the
'libsepol.so' is not located.
2016-05-10 14:16:53 -04:00
Chris PeBenito
a87015d4b5
Merge pull request #143 from jbrindle/master
...
bison generates unreachable code
2016-05-09 12:42:04 -04:00
Joshua Brindle
f6ed116a81
bison generates unreachable code
2016-05-09 11:02:21 -04:00
Chris PeBenito
d6f94d53c7
apol: Replace icons with icons from the current theme.
...
Koloria license may be problematic for some distributions.
2016-05-05 09:47:51 -04:00
Chris PeBenito
fa13413eec
Move linux_types.h to libqpol directory.
2016-04-25 11:09:51 -04:00
Chris PeBenito
d5589ecd43
setup.py: change version to 4.1-dev.
2016-04-22 14:32:43 -04:00
Chris PeBenito
a7fe3639ec
Remove bzip2 dependency.
...
This was needed for bzipped .pp files, but loading modules is no longer
supported.
2016-04-22 13:48:39 -04:00
Joshua Brindle
495a7973d8
Darwin define, remove libselinux and libsepol shared lib, remove libqpol map, and add local include dir
2016-04-22 09:33:14 -04:00
Chris PeBenito
f6cecd407f
Add a copy of apol.qhc so users don't need to install Qt dev tools.
...
Distros are encouraged to rebuild this using the build_help setup.py
target.
Renamed setup target to build_qhc to bring in line with other help
references.
2016-04-20 09:50:23 -04:00
Chris PeBenito
2828db4a64
apol: Implement help menu
...
Populate with some help text from setools3.
Related to #114
2016-04-19 16:03:15 -04:00
Steve Lawrence
21864a7ea6
Change extended avrules to be more similar to normal avrules
...
- Add an iterator to extract the extended permissions rather than
returning only a string
- Add queries for determining if an avrule is extended, and what its
type the extended avrule is (e.g. ioctl)
- Removed tests, but should probably revert that change and make sure
they still work
- Fixed some warnings about unsigned/signed comparisons with ebitmaps
- Updates seinfo and sesearch to support new extended avrule changes
Signed-off-by: Steve Lawrence <slawrence@tresys.com>
2016-03-21 10:57:21 -04:00
Richard Haines
dd29dc9c43
setools-V4: libqpol policy V30 updates (xen/xperm statements)
...
Updated libqpol services to use the latest checkpolicy 2.4 source
files to support Xen and extended permissions (allowxperm etc.).
TODO: Add support for querying the xperm values.
Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
2016-03-21 10:56:37 -04:00
Chris PeBenito
f0cdd68afc
Fix man page install location.
2016-02-22 08:12:19 -05:00
Chris PeBenito
1bd80d6356
Add man pages.
...
Closes #95
2016-02-21 16:27:44 -05:00
Chris PeBenito
403da9aee5
Bump version for release.
2016-02-18 09:46:09 -05:00
Chris PeBenito
668ad8e66a
setup.py: add sediff
2016-01-07 14:48:50 -05:00
Laurent Bigonville
5d04579d13
Fix build when SEPOL environment variable is set
...
Closes : #59
2015-12-16 15:40:49 +01:00
Chris PeBenito
a93682f5f7
Bump version for release.
2015-12-15 13:02:06 -05:00
Chris PeBenito
9b28cbe3c7
setup.py: fix apol icons installation.
2015-06-26 14:14:01 -04:00
Chris PeBenito
febc2af594
setup.py: locate libsepol.a
...
Use distutils' features to find libsepol.a. Also sensitive to SEPOL env
variable for specifying the full path to libsepol.a.
2015-06-15 10:31:12 -04:00
Chris PeBenito
b619166ba0
Initial apol commit.
2015-06-03 13:33:11 -04:00
Chris PeBenito
42f226939e
Missed updating version for release.
...
Brown paper bag.
2015-02-11 14:13:11 -05:00
Fernand Lone-Sang
0583fc7fda
Enable installing setools in virtualenv
...
When installed from virtualenv, setools fails to write into /usr/share/setools.
This fix uses sys.prefix to install data_files either system wide or inside the
virtualenv.
2015-02-05 19:23:27 +01:00
Chris PeBenito
0ff6de188a
Restore -Werror
...
Ubuntu 12.04 LTS's flex (2.5.35) generates a redundant declaration.
2015-02-05 10:52:42 -05:00
Chris PeBenito
17c169d4d4
Temporarily remove -Werror to make sure travis-ci script works.
2015-02-04 12:01:52 -05:00
Chris PeBenito
3058b24357
Add additional compiler warnings, as suggested by Nicolas Iooss.
2014-11-02 13:38:41 -05:00
Chris PeBenito
27be28ecf6
PEP8 whitespace fixes in setup.py.
2014-10-29 12:04:53 -04:00
Chris PeBenito
8a37ea0ed9
Remove generated files (lex/yacc)
...
Add setuptools/distutils commands to run bison and flex when building.
2014-10-29 12:03:44 -04:00
Chris PeBenito
109ba68a92
Rename libapol package to setools.
2014-10-24 21:23:13 -04:00
Chris PeBenito
8363f8edf7
Import libqpol from setools3.
...
Break setools3 dependence. Also fix SWIG wrapper to work with SWIG 2.x.
2014-10-24 21:00:24 -04:00
Chris PeBenito
39505d0295
Initial public release.
2014-07-08 14:28:55 -04:00