Skip to contentSkip to conversation

Add Debian location for evolution executables

PATCH New Laurent Bigonville 2 participants 4 messages Oct 8, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Add Debian location for evolution executables

From: Laurent Bigonville <[email protected]>

---
 evolution.fc |    3 +++
 1 file changed, 3 insertions(+)
evolution.fc +3 -0
index 16f2656..767e2f0 100644
@@ -5,6 +5,9 @@ HOME_DIR/\.evolution(/.*)?	gen_context(system_u:object_r:evolution_home_t,s0)
 
 /usr/bin/evolution.*	--	gen_context(system_u:object_r:evolution_exec_t,s0)
 
+/usr/lib/evolution/[^/]*/evolution-alarm-notify		--	gen_context(system_u:object_r:evolution_alarm_exec_t,s0)
+/usr/lib/evolution-webcal/evolution-webcal		--	gen_context(system_u:object_r:evolution_webcal_exec_t,s0)
+
 /usr/libexec/evolution/.*evolution-alarm-notify.*	--	gen_context(system_u:object_r:evolution_alarm_exec_t,s0)
 /usr/libexec/evolution/.*evolution-exchange-storage.*	--	gen_context(system_u:object_r:evolution_exchange_exec_t,s0)
 /usr/libexec/evolution-data-server.*	--	gen_context(system_u:object_r:evolution_server_exec_t,s0)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/2 Add Debian locationis for nut executables and configuration files

From: Laurent Bigonville <[email protected]>

---
 nut.fc |    7 +++++++
 1 file changed, 7 insertions(+)
nut.fc +7 -0
index 0a929ef..c6c3632 100644
@@ -1,6 +1,13 @@
+/etc/nut(/.*)?		gen_context(system_u:object_r:nut_conf_t,s0)
 /etc/ups(/.*)?		gen_context(system_u:object_r:nut_conf_t,s0)
 
+/sbin/upsd	--	gen_context(system_u:object_r:nut_upsd_exec_t,s0)
 /sbin/upsdrvctl	--	gen_context(system_u:object_r:nut_upsdrvctl_exec_t,s0)
+/sbin/upsmon 	--	gen_context(system_u:object_r:nut_upsmon_exec_t,s0)
+
+/usr/lib/cgi-bin/nut/upsimage\.cgi -- gen_context(system_u:object_r:httpd_nutups_cgi_script_exec_t,s0)
+/usr/lib/cgi-bin/nut/upsset\.cgi -- gen_context(system_u:object_r:httpd_nutups_cgi_script_exec_t,s0)
+/usr/lib/cgi-bin/nut/upsstats\.cgi -- gen_context(system_u:object_r:httpd_nutups_cgi_script_exec_t,s0)
 
 /usr/sbin/upsd	--	gen_context(system_u:object_r:nut_upsd_exec_t,s0)
 /usr/sbin/upsmon --	gen_context(system_u:object_r:nut_upsmon_exec_t,s0)
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/2 Add Debian locationis for nut executables and configuration files

Quoted 14 lines · Laurent Bigonville

From: Laurent Bigonville <[email protected]>

---
 nut.fc |    7 +++++++
 1 file changed, 7 insertions(+)
nut.fc +1 -0
index 0a929ef..c6c3632 100644
@@ -1,6 +1,13 @@
+/etc/nut(/.*)?		gen_context(system_u:object_r:nut_conf_t,s0)
 /etc/ups(/.*)?		gen_context(system_u:object_r:nut_conf_t,s0)
 

nut.fc line 13

Quoted 10 lines
nut.fc +6 -0
+/sbin/upsd	--	gen_context(system_u:object_r:nut_upsd_exec_t,s0)
 /sbin/upsdrvctl	--	gen_context(system_u:object_r:nut_upsdrvctl_exec_t,s0)
+/sbin/upsmon 	--	gen_context(system_u:object_r:nut_upsmon_exec_t,s0)
+
+/usr/lib/cgi-bin/nut/upsimage\.cgi -- gen_context(system_u:object_r:httpd_nutups_cgi_script_exec_t,s0)
+/usr/lib/cgi-bin/nut/upsset\.cgi -- gen_context(system_u:object_r:httpd_nutups_cgi_script_exec_t,s0)
+/usr/lib/cgi-bin/nut/upsstats\.cgi -- gen_context(system_u:object_r:httpd_nutups_cgi_script_exec_t,s0)
 
 /usr/sbin/upsd	--	gen_context(system_u:object_r:nut_upsd_exec_t,s0)
 /usr/sbin/upsmon --	gen_context(system_u:object_r:nut_upsmon_exec_t,s0)

This is merged, Thanks

#3 lore raw

PATCH 1/2 Add Debian location for evolution executables

In reply to Laurent Bigonville
Quoted 11 lines · Laurent Bigonville

From: Laurent Bigonville <[email protected]>

---
 evolution.fc |    3 +++
 1 file changed, 3 insertions(+)
evolution.fc +0 -0
index 16f2656..767e2f0 100644

evolution.fc HOME_DIR/\.evolution(/.*)? gen_context(system_u:object_r:evolution_home_t,s0) · line 13

Quoted 9 lines
evolution.fc +3 -0
@@ -5,6 +5,9 @@ HOME_DIR/\.evolution(/.*)?	gen_context(system_u:object_r:evolution_home_t,s0)
 
 /usr/bin/evolution.*	--	gen_context(system_u:object_r:evolution_exec_t,s0)
 
+/usr/lib/evolution/[^/]*/evolution-alarm-notify		--	gen_context(system_u:object_r:evolution_alarm_exec_t,s0)
+/usr/lib/evolution-webcal/evolution-webcal		--	gen_context(system_u:object_r:evolution_webcal_exec_t,s0)
+
 /usr/libexec/evolution/.*evolution-alarm-notify.*	--	gen_context(system_u:object_r:evolution_alarm_exec_t,s0)
 /usr/libexec/evolution/.*evolution-exchange-storage.*	--	gen_context(system_u:object_r:evolution_exchange_exec_t,s0)
 /usr/libexec/evolution-data-server.*	--	gen_context(system_u:object_r:evolution_server_exec_t,s0)

This is merged, Thanks