Bug 230708

Summary: x11/sddm: rc.d script doesn't set sddm_enable default value
Product: Ports & Packages Reporter: Colin Percival <cperciva>
Component: Individual Port(s)Assignee: kde
Status: Closed FIXED    
Severity: Affects Only Me CC: adridg
Priority: --- Flags: bugzilla: maintainer-feedback? (kde)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Set sddm_enable to "NO" by default none

Description Colin Percival freebsd_committer 2018-08-17 14:15:42 UTC
Created attachment 196289 [details]
Set sddm_enable to "NO" by default

If x11/sddm is installed but sddm_enable is not set to "YES" in /etc/rc.conf, a warning is printed:

/etc/rc: WARNING: $sddm_enable is not set properly - see rc.conf(5).

This is fixed by the attached patch, which sets a default sddm_enable value (like most other rc.d scripts do).
Comment 1 commit-hook freebsd_committer 2018-09-08 07:53:35 UTC
A commit references this bug:

Author: adridg
Date: Sat Sep  8 07:53:01 UTC 2018
New revision: 479232
URL: https://svnweb.freebsd.org/changeset/ports/479232

Log:
  Reduce rc warnings from x11/sddm by setting default value for sddm_enable

  (Not bumping PORTREVISION because there are more updates to follow shortly)

  PR:		230708
  Submitted by:	cpercival

Changes:
  head/x11/sddm/files/sddm.in