0f3beeb00e7a42cc2f44ef0392b8a3a7566a17d7 |
|
20-Sep-2017 |
Nicolas Iooss <nicolas.iooss@m4x.org> |
gui: port to Python 3 by migrating to PyGI PyGTK has been deprecated in favor of PyGI+GTK and thus has never been ported to python3. Using pygi-convert.sh from https://git.gnome.org/browse/pygobject/tree/pygi-convert.sh helps migrating most of the API but gnome-python. The glade file has been converted to GtkBuilder using gtk-builder-convert system-config-selinux.glade system-config-selinux.ui and some fixes in order to provide an application window (object GnomeApp disappeared, GtkVBox is deprecated, etc.). The associated Python code also needed some modifications in order to migrate to GtkBuilder. The result has been tested on Arch Linux with Python 3.6. There are some bugs in the GUI itself, for which patches will be sent afterwards. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
/external/selinux/gui/polgengui.py
|
2a0102a27052ba99b42199c99a1caa6f9444e5e1 |
|
03-May-2017 |
Petr Lautrbach <plautrba@redhat.com> |
sepolicy: Adapt to new the semodule list output semodule in policycoreutils-2.4 changed the list format. With this patch, org.selinux.semodule_list uses 'semodule --list=full' and the code using this was adapted to the new format. Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1281309 Fixes: File "/usr/lib64/python3.4/site-packages/sepolicy/gui.py", line 670, in lockdown_init self.enable_unconfined_button.set_active(not self.module_dict["unconfined"]["Disabled"]) KeyError: 'unconfined' Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
/external/selinux/gui/polgengui.py
|
2e4d0bc862a7706d25a26a0fc37c14a02a628a9a |
|
31-Oct-2016 |
Stephen Smalley <sds@tycho.nsa.gov> |
Move policycoreutils/gui to gui. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/external/selinux/gui/polgengui.py
|