Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2020 08:21:05 +0000 (UTC)
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r535524 - in head: . x11/sddm
Message-ID:  <202005170821.04H8L5GH017256@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arrowd
Date: Sun May 17 08:21:04 2020
New Revision: 535524
URL: https://svnweb.freebsd.org/changeset/ports/535524

Log:
  x11/sddm: Switch SDDM user's HOME directory from /usr/local/etc/sddm/home to
  /var/lib/sddm, as sddm(5) man page requests.
  
  PR:		244756
  Reviewed by:	tcberner, adridg

Added:
  head/x11/sddm/pkg-message   (contents, props changed)
Modified:
  head/UIDs
  head/UPDATING
  head/x11/sddm/Makefile

Modified: head/UIDs
==============================================================================
--- head/UIDs	Sun May 17 07:48:05 2020	(r535523)
+++ head/UIDs	Sun May 17 08:21:04 2020	(r535524)
@@ -164,7 +164,7 @@ opendnssec:*:215:215::0:0:Opendnssec Pseudo User:/none
 nsd:*:216:216::0:0:NSD DNS Server:/nonexistent:/usr/sbin/nologin
 anvil:*:217:217::0:0:anvil certificate dropper:/var/db/anvil:/bin/sh
 zap:*:218:218::0:0:zap user:/usr/local/zap:/bin/sh
-sddm:*:219:219::0:0:SDDM Display Manager user:/usr/local/etc/sddm/home:/usr/sbin/nologin
+sddm:*:219:219::0:0:SDDM Display Manager user:/var/lib/sddm:/usr/sbin/nologin
 bs:*:220:220::0:0:Big Sister:/usr/local/bigsister:/bin/sh
 opensips:*:221:221::0:0:OpenSIPS user:/nonexistent:/usr/sbin/nologin
 rtpproxy:*:222:222::0:0:& user:/nonexistent:/sbin/nologin

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Sun May 17 07:48:05 2020	(r535523)
+++ head/UPDATING	Sun May 17 08:21:04 2020	(r535524)
@@ -5,6 +5,20 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20200517:
+  AFFECTS: users of x11/sddm
+  AUTHOR: arrowd@FreeBSD.org
+
+  The home directory of sddm user has been moved to /var/lib/sddm. It is advised
+  to run following commands as root after updating the package:
+
+    # pw usermod -n sddm -d /var/lib/sddm
+    # pwd_mkdb /etc/master.passwd
+    # mv /usr/local/etc/sddm/home/state.conf /var/lib/sddm/state.conf
+    # rm -rf /usr/local/etc/sddm/home
+
+  Otherwise, SDDM will keep using /usr/local/etc/sddm/home/ as its HOME.
+
 20200515:
   AFFECTS: users of devel/libphutil, devel/arcanist-lib, devel/phabricator
   AUTHOR: grembo@FreeBSD.org

Modified: head/x11/sddm/Makefile
==============================================================================
--- head/x11/sddm/Makefile	Sun May 17 07:48:05 2020	(r535523)
+++ head/x11/sddm/Makefile	Sun May 17 08:21:04 2020	(r535524)
@@ -3,7 +3,7 @@
 PORTNAME=	sddm
 PORTVERSION=	0.18.1
 DISTVERSIONPREFIX=	v
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	x11
 
 MAINTAINER=	kde@FreeBSD.org

Added: head/x11/sddm/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/sddm/pkg-message	Sun May 17 08:21:04 2020	(r535524)
@@ -0,0 +1,12 @@
+[
+{ type: upgrade
+  message: <<EOM
+SDDM user's home directory have been moved to /var/lib/sddm. It is advised to run
+following commands as root:
+# pw usermod -n sddm -d /var/lib/sddm
+# pwd_mkdb /etc/master.passwd
+# mv /usr/local/etc/sddm/home/state.conf /var/lib/sddm/state.conf
+# rm -rf /usr/local/etc/sddm/home
+EOM
+}
+]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005170821.04H8L5GH017256>