From owner-svn-ports-all@freebsd.org Sat Nov 23 15:42:25 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AD4111B893B; Sat, 23 Nov 2019 15:42:25 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47KyGn48q0z4Bwl; Sat, 23 Nov 2019 15:42:25 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 71E65E1FE; Sat, 23 Nov 2019 15:42:25 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xANFgP5D011699; Sat, 23 Nov 2019 15:42:25 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xANFgPLB011698; Sat, 23 Nov 2019 15:42:25 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201911231542.xANFgPLB011698@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Sat, 23 Nov 2019 15:42:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r518248 - in head/x11/pcdm: . files X-SVN-Group: ports-head X-SVN-Commit-Author: feld X-SVN-Commit-Paths: in head/x11/pcdm: . files X-SVN-Commit-Revision: 518248 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Nov 2019 15:42:25 -0000 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 + } +