Commit Graph

232 Commits

Author SHA1 Message Date
Dan Walsh f21a19ce73 Fix asprintf within an asprintf call 2012-07-12 17:47:17 -04:00
Dan Walsh 114463ed84 Update to upstream
* remove build warning when build swig c files
	* additional makefile support for rubywrap
	* ignore 80 column limit for readability
	* semanage_store: fix snprintf length argument by using asprintf
	* Use default semanage.conf as a fallback
	* use after free in python bindings
2012-07-04 07:34:56 -04:00
Dan Walsh 340a7403e4 Apply patch from Sven Vermeulen to fix problem with python3 bindings. 2012-05-29 11:17:02 -04:00
Dan Walsh 3f1912d3f6 Update to upstream
* Alternate path for semanage.conf
	* do not link against libpython, this is considered bad in Debian
	* Allow to build for several ruby version
	* fallback-user-level
2012-03-29 15:30:15 -04:00
Dan Walsh 72a84c3f42 Update to upstream
* Alternate path for semanage.conf
	* do not link against libpython, this is considered bad in Debian
	* Allow to build for several ruby version
	* fallback-user-level
2012-03-29 15:28:29 -04:00
Dennis Gilmore eab46a4071 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 02:24:26 -06:00
Dan Walsh 6bcdc7fca5 Add patch form Xin Ouyang to make library use private semanage.conf 2012-01-06 09:19:58 -05:00
Dan Walsh 99d9fa911a Update to upstream
* add ignoredirs config for genhomedircon
	* Fallback_user_level can be NULL if you are not using MLS
2011-12-21 18:09:42 +00:00
Dan Walsh 38c21bc8d2 Update to upstream 2011-12-21 18:04:15 +00:00
Dan Walsh fccf088a91 Rebuild with latest libsepol 2011-12-16 06:22:37 -05:00
Dan Walsh a2f964685a Rebuild with latest libsepol 2011-12-15 16:49:28 -05:00
Dan Walsh 32db106626 Add support for ignoredirs param in /etc/selinux/semanage.conf 2011-12-15 10:32:47 -05:00
Dan Walsh a29afa3a34 Upgrade to upstream
* regenerate .pc on VERSION change
	* maintain mode even if umask is tighter
	* semanage.conf man page
	* create man5dir if not exist
2011-11-04 09:37:32 -04:00
Dan Walsh 86ba998b25 Fix handling of umask, so files get created with the correct label. 2011-10-20 15:03:03 -04:00
Dan Walsh cfabb609a8 Add Guido Trentalancia semanage.conf man page 2011-09-19 07:59:28 -04:00
Dan Walsh 0b324a21d7 Add Guido Trentalancia semanage.conf man page 2011-09-19 07:29:40 -04:00
Dan Walsh 71a9b31459 Update to upstream
* Create a new preserve_tunables flag
	* tree: default make target to all not
	* fix semanage_store_access_check calling arguments
2011-09-19 06:57:07 -04:00
Dan Walsh f79f8038c0 Add support for preserving tunables 2011-09-14 22:47:54 -04:00
Dan Walsh b7399a1357 Add support for preserving tunables 2011-09-14 22:29:13 -04:00
Dan Walsh 43cf1c48fa Update to upstream
* python wrapper makefile changes
2011-08-30 16:34:31 -04:00
Dan Walsh f6b3fbbaf6 Update to upstream
2.1.2 2011-08-17
	* print error debug info for buggy fc
	* introduce semanage_set_root and friends
	* throw exceptions in python rather than return
	* python3 support.
	* patch for MCS/MLS in user files
2011-08-22 10:55:59 -04:00
Dan Walsh 5e780f2aa2 Update to upstream
2.1.2 2011-08-17
	* print error debug info for buggy fc
	* introduce semanage_set_root and friends
	* throw exceptions in python rather than return
	* python3 support.
	* patch for MCS/MLS in user files
2011-08-22 09:46:21 -04:00
Dan Walsh 617897ade9 Update to upstream
2.1.2 2011-08-17
	* print error debug info for buggy fc
	* introduce semanage_set_root and friends
	* throw exceptions in python rather than return
	* python3 support.
	* patch for MCS/MLS in user files
2011-08-18 07:16:10 -04:00
Dan Walsh 38aed09666 Update to upstream
* Release, minor version bump
2011-07-28 11:53:53 -04:00
Dan Walsh c00e96cc0c More fixes for disabled modules 2011-06-08 14:46:29 -04:00
Dan Walsh 410db78cc0 Change libsemanage mechanism for handling disabled modules. Now it will only create a flag for a module
indicating the module is disabled.  MODULE.pp.disabled, it will no longer rename the module.  This way we can
ship active modules in rpm.
2011-06-07 13:14:57 -04:00
Dan Walsh 0984542175 Add semanage_set_selinux_path, to allow semodule to work on alternate selinux pools 2011-06-02 12:14:52 -04:00
Dennis Gilmore c01771c86b - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 05:20:19 -06:00
David Malcolm fb1cbdda8d Reworking of python support to cope with PEP 3149 changes in latest python 3.2
* Thu Dec 30 2010 David Malcolm <dmalcolm@redhat.com> - 2.0.46-2
- big reworking of the support-multiple-python-builds patch to deal with
PEP 3149: the latest Python 3.2 onwards uses include paths and library names
that don't fit prior naming patterns, and so we must query python3-config for
this information.  To complicate things further, python 2's python-config
doesn't understand all of the options needed ("--extension-suffix").  I've
thus added new Makefile variables as needed, to be supplied by the specfile by
invoking the appropriate config tool (or by hardcoding the old value for
"--extension-suffix" i.e. ".so")
- rework python3 manifest for PEP 3149, and rebuild for newer python3
2010-12-30 10:50:53 -05:00
Dan Walsh 6120de7432 - Update to upstream
* Fix compliation under GCC 4.6 by Justin Mattock
2010-12-21 16:35:11 -05:00
Thomas Spura 2a013f888e fix typo in %files 2010-08-25 18:10:25 +02:00
Thomas Spura 1003ac17a4 rebuild with python3.2
http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
2010-08-25 18:00:50 +02:00
dmalcolm ced26f3e2f - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 02:20:06 +00:00
Daniel J Walsh fc28aa840f - add python3 subpackage 2010-05-06 15:50:55 +00:00
Daniel J Walsh 1088cc0705 - Fix -devel package to point at the correct shared library 2010-04-07 16:27:30 +00:00
Daniel J Walsh 8e01c2c706 - Move shared library to /usr/lib 2010-03-26 18:24:02 +00:00
Daniel J Walsh 0b6b0c93f2 - Update to upstream
Add enable/disable patch support from Dan Walsh.
Add usepasswd flag to semanage.conf to disable genhomedircon using passwd
    from Dan Walsh.
regenerate swig wrappers
2010-03-08 18:19:41 +00:00
Daniel J Walsh 4e0d31fc07 - Cleanup spec file 2010-01-28 20:39:21 +00:00
Daniel J Walsh 88ec2a622c - Splect libsemanage.a into a static subpackage to keep fedora packaging
guidelines happy
2010-01-18 21:54:15 +00:00
Daniel J Walsh 854b5d7cb1 - Splect libsemanage.a into a static subpackage to keep fedora packaging
guidelines happy
2010-01-18 21:45:33 +00:00
Daniel J Walsh bae6b411c7 - Rebuild all c programs with -fPIC 2009-12-16 21:11:12 +00:00
Daniel J Walsh ec76bdf88d - Update to upstream
Move libsemanage.so to /usr/lib
Add NAME lines to man pages from Manoj Srivastava<srivasta@debian.org>
2009-12-01 22:47:17 +00:00
Daniel J Walsh 71c0c5e065 - Update to upstream
Move load_policy from /usr/sbin to /sbin from Dan Walsh.
2009-11-18 22:19:06 +00:00
Daniel J Walsh 372c07f302 - Update to upstream
Add pkgconfig file from Eamon Walsh.
Add semanage_set_check_contexts() function to disable calling setfiles
2009-11-02 18:11:54 +00:00
Daniel J Walsh 5111246f5b - Update to upstream
Add pkgconfig file from Eamon Walsh.
Add semanage_set_check_contexts() function to disable calling setfiles
2009-11-02 18:01:53 +00:00
Daniel J Walsh f8b7dc8e1c - Update to upstream
make swigify
2009-09-28 20:36:12 +00:00
Daniel J Walsh b1238c466b - Dont relabel /root with genhomedircon 2009-09-20 11:43:05 +00:00
Daniel J Walsh b05566938b - Update to upstream
Change semodule upgrade behavior to install even if the module is not
    present from Dan Walsh.
Make genhomedircon trim excess '/' from homedirs from Dan Walsh.
2009-09-17 13:02:59 +00:00
Daniel J Walsh 5aeb590264 - Update to upstream
Fix persistent dontaudit support to rebuild policy if the dontaudit state
    is changed from Chad Sellers.
- Move load_policy to /sbin
2009-09-09 17:57:13 +00:00
Daniel J Walsh f6a1eaa2e3 - Add enable/disable modules 2009-08-28 18:03:05 +00:00