p7zip: update to 17.06
[oi-userland.git] / components / print / cups / patches / 02-smf.patch
blobe8824101af7b1650e356e93e5e8a292d0bc2db83
1 OpenIndiana doesn't have the Solaris identity:cert service which
2 deploys or creates the X.509 certificates for WebUI and RAD connections using the TLS transport.
3 Probably our ca-certificates service is an equivalent.
5 --- cups-2.4.2/scheduler/cups.xml.in.orig 2022-05-26 08:17:21.000000000 +0000
6 +++ cups-2.4.2/scheduler/cups.xml.in 2022-10-23 15:00:19.116296979 +0000
7 @@ -54,7 +54,7 @@
8 grouping='require_all'
9 restart_on='refresh'
10 type='service'>
11 - <service_fmri value='svc:/system/identity:cert'/>
12 + <service_fmri value='svc:/system/ca-certificates'/>
13 </dependency>
15 <exec_method
16 @@ -78,7 +78,7 @@
17 name='start'
18 exec='@sbindir@/cupsd'
19 timeout_seconds='60' >
20 - <method_context>
21 + <method_context security_flags="current">
22 <method_credential user='root' group='@CUPS_GROUP@' />
23 </method_context>
24 </exec_method>
25 @@ -165,7 +165,7 @@
26 name='inetd_start'
27 exec='@CUPS_SERVERBIN@/daemon/cups-lpd -o document-format=application/octet-stream'
28 timeout_seconds='0'>
29 - <method_context>
30 + <method_context security_flags="current">
31 <method_credential user='@CUPS_USER@' group='@CUPS_GROUP@' />
32 </method_context>
33 </exec_method>