Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2019 15:42:25 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518248 - in head/x11/pcdm: . files
Message-ID:  <201911231542.xANFgPLB011698@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Sat Nov 23 15:42:24 2019
New Revision: 518248
URL: https://svnweb.freebsd.org/changeset/ports/518248

Log:
  x11/pcdm: Fix rc script for FreeBSD
  
  PCDM doesn't daemonize/fork, so we need to handle this by using
  daemon(8). It seems this port has only been used/tested on TrueOS with
  OpenRC, so it has been broken in FreeBSD ports for the last two years.
  
  PR:		227034
  Reported by:	VulcanRider
  Approved by:	just fix it
  MFH:		2019Q4
  Sponsored by:	vBSDcon 2019

Added:
  head/x11/pcdm/files/
  head/x11/pcdm/files/patch-rc.d_pcdm   (contents, props changed)
Modified:
  head/x11/pcdm/Makefile

Modified: head/x11/pcdm/Makefile
==============================================================================
--- head/x11/pcdm/Makefile	Sat Nov 23 15:40:08 2019	(r518247)
+++ head/x11/pcdm/Makefile	Sat Nov 23 15:42:24 2019	(r518248)
@@ -2,7 +2,7 @@
 
 PORTNAME=	pcdm
 PORTVERSION=	201710031254
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11
 
 MAINTAINER=	jt@ixsystems.com

Added: head/x11/pcdm/files/patch-rc.d_pcdm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/pcdm/files/patch-rc.d_pcdm	Sat Nov 23 15:42:24 2019	(r518248)
@@ -0,0 +1,11 @@
+--- rc.d/pcdm.orig	2019-11-22 22:45:57 UTC
++++ rc.d/pcdm
+@@ -51,7 +51,7 @@ pcdm_start()
+   echo "Starting PCDM."
+   #Start the PCDM login daemon
+   if [ ! -e /var/run/nologin ]; then
+-    ${command} ${pcdm_flags} 
++    /usr/sbin/daemon -S -T pcdm ${command} ${pcdm_flags} 
+   fi
+ }
+ 



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