summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/setools/files')
-rw-r--r--app-admin/setools/files/setools-4.0.0-remove-gui.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-admin/setools/files/setools-4.0.0-remove-gui.patch b/app-admin/setools/files/setools-4.0.0-remove-gui.patch
new file mode 100644
index 000000000000..e8cd6f52a4e7
--- /dev/null
+++ b/app-admin/setools/files/setools-4.0.0-remove-gui.patch
@@ -0,0 +1,18 @@
+--- setools-4.0.0/setup.py.orig 2016-05-05 01:11:19.204938821 +0800
++++ setools-4.0.0/setup.py 2016-05-05 01:18:48.852004644 +0800
+@@ -162,12 +162,10 @@
+ 'build_lex': LexCommand,
+ 'build_ext': BuildExtCommand,
+ 'build_qhc': QtHelpCommand},
+- packages=['setools', 'setools.diff', 'setools.policyrep', 'setoolsgui', 'setoolsgui.apol'],
+- scripts=['apol', 'sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta'],
++ packages=['setools', 'setools.diff', 'setools.policyrep'],
++ scripts=['sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta'],
+ data_files=[(join(sys.prefix, 'share/man/man1'), glob.glob("man/*.1") ),
+- (join(sys.prefix, 'share/setools'), glob.glob("data/*.ui") +
+- ["data/perm_map", "qhc/apol.qhc"] ),
+- (join(sys.prefix, 'share/setools/icons'), glob.glob("data/icons/*.png"))],
++ (join(sys.prefix, 'share/setools'), ["data/perm_map"] ),],
+ ext_modules=ext_py_mods,
+ test_suite='tests',
+ license='GPLv2+, LGPLv2.1+',