Mv some of the setup we were doing in the
PATCH 58/74 Mv some of the setup we were doing in the
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This patch sets up desktop environment for launching gui tools in Makefile rather then spec file.
This patch looks good to me. acked.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlJpNtMACgkQrlYvE4MpobOJIgCgjOZZX/PKwORfddCVG80auRWE SiMAoI/ozCVsRq7kq5GlbaZXB54q7B7c
=HeVB
-----END PGP SIGNATURE-----
From dcc519928dcad358ca62e4d55236f206e1e9a50c Mon Sep 17 00:00:00 2001
From: Dan Walsh <[email protected]>
Date: Fri, 11 Oct 2013 09:20:12 -0400
Subject: [PATCH 58/74] Mv some of the setup we were doing in the
policycoreutils.spec file into the main code
Basically add an icon, setup the desktop environment, setup system-config-selinux to run via pkexec.
--- policycoreutils/gui/Makefile | 16 +++++- policycoreutils/gui/selinux-polgengui.8 | 35 +++++++++++ policycoreutils/gui/selinux-polgengui.desktop | 67 ++++++++++++++++++++++ policycoreutils/gui/system-config-selinux | 3 + policycoreutils/gui/system-config-selinux.8 | 37 ++++++++++++ policycoreutils/gui/system-config-selinux.desktop | 67 ++++++++++++++++++++++ policycoreutils/gui/system-config-selinux.png | Bin 0 -> 1447 bytes 7 files changed, 223 insertions(+), 2 deletions(-) create mode 100644 policycoreutils/gui/selinux-polgengui.8 create mode 100644 policycoreutils/gui/selinux-polgengui.desktop create mode 100755 policycoreutils/gui/system-config-selinux create mode 100644 policycoreutils/gui/system-config-selinux.8 create mode 100644 policycoreutils/gui/system-config-selinux.desktop create mode 100644 policycoreutils/gui/system-config-selinux.png
policycoreutils/gui/Makefile +14 -2
@@ -19,18 +19,30 @@ portsPage.py \ semanagePage.py \ statusPage.py \ system-config-selinux.glade \ +system-config-selinux.png \ usersPage.py all: $(TARGETS) system-config-selinux.py polgengui.py install: all + -mkdir -p $(MANDIR)/man8 -mkdir -p $(SHAREDIR) -mkdir -p $(BINDIR) + -mkdir -p $(DATADIR)/pixmaps + -mkdir -p $(DATADIR)/icons/hicolor/24x24/apps + -mkdir -p $(SYSCONFDIR) + -mkdir -p $(DATADIR)/polkit-1/actions/ install -m 755 system-config-selinux.py $(SHAREDIR) + install -m 755 system-config-selinux $(BINDIR) install -m 755 polgengui.py $(SHAREDIR) - install -m 755 sepolgen $(BINDIR) install -m 644 $(TARGETS) $(SHAREDIR) - + install -m 644 system-config-selinux.8 $(MANDIR)/man8 + install -m 644 selinux-polgengui.8 $(MANDIR)/man8 + install -m 644 system-config-selinux.png $(DATADIR)/pixmaps + install -m 644 system-config-selinux.png $(DATADIR)/icons/hicolor/24x24/apps + install -m 644 system-config-selinux.png $(DATADIR)/system-config-selinux + install -m 644 *.desktop $(DATADIR)/system-config-selinux + install -m 644 org.selinux.config.policy $(DATADIR)/polkit-1/actions/ clean: indent:
policycoreutils/gui/selinux-polgengui.8 new file +35 -0
@@ -0,0 +1,35 @@ +.TH "selinux-polgengui" "8" "8 April 2013" "System Config Tools Manual" "System Config Tools Manual" + +.SH NAME +selinux\-polgengui \- SELinux Policy Generation Tool + +.SH SYNOPSIS +.B selinux-polgengui + +.SH DESCRIPTION +\fBselinux-polgengui\fP is a graphical tool, which can be used to create a framework for building SELinux Policy. +.SH OPTIONS +None + +.SH FILES +\fi/usr/bin/selinux-polgengui\fP + +.SH Examples +To run the program type: + +selinux-polgengui + +.PP +.SH "SEE ALSO" +.TP +selinux(1), sepolicy(8), sepolicy-generate(8) +.PP + +.SH REPORTING BUGS +Report bugs to <http://bugzilla.redhat.com>. + +.SH LICENSE AND AUTHORS +\fBselinux-polgengui\fP is licensed under the GNU Public License and +is copyrighted by Red Hat, Inc. +.br +This man page was written by Daniel Walsh <[email protected]>
policycoreutils/gui/selinux-polgengui.desktop new file +67 -0
67 lines not on this page · raw message
policycoreutils/gui/system-config-selinux new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh + +exec /usr/bin/pkexec /usr/share/system-config-selinux/system-config-selinux.py
policycoreutils/gui/system-config-selinux.8 new file +37 -0
@@ -0,0 +1,37 @@ +.TH "system-config-selinux" "8" "8 April 2013" "System Config Tools Manual" "System Config Tools Manual" + +.SH NAME +system\-config\-selinux \- SELinux Management tool + +.SH SYNOPSIS +.B system-config-selinux + +.SH DESCRIPTION +\fBsystem-config-selinux\fP provides a graphical interface for managing the +SELinux configuration. + +.SH OPTIONS +None + +.SH FILES +\fi/usr/bin/system-config-selinux\fP + +.SH Examples +To run the program type: + +system-config-selinux + +.PP +.SH "SEE ALSO" +.TP +selinux(1), semanage(8) +.PP + +.SH REPORTING BUGS +Report bugs to <http://bugzilla.redhat.com>. + +.SH LICENSE AND AUTHORS +\fBsystem-config-selinux\fP is licensed under the GNU Public License and +is copyrighted by Red Hat, Inc. +.br +This man page was written by Daniel Walsh <[email protected]>
policycoreutils/gui/system-config-selinux.desktop new file +67 -0
67 lines not on this page · raw message
policycoreutils/gui/system-config-selinux.png new file binary +0 -0
Signature · 1 line
1.8.3.1