From nobody Mon May 09 18:11:12 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BB79F1ADCBEF; Mon, 9 May 2022 18:11:12 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kxq404t5sz3F7g; Mon, 9 May 2022 18:11:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652119872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+Nr5IXrVjbLpuJjkobYr6o3fXaIw4SVLxPSZFQ3gVBk=; b=n5SBcc2YBprQNaHg4sQ6XsdGn4zYhRlB9GNaY62Wue7AgSTRsYp2SxHRCN+lLbBkWvgHJx yUf5asSo8lq28R+TZFtWa3a4ctzADKCJ72z1QFiSg4RQfr2aGekSnMDlevDfIcYmaAwWxg cxJd5G8CxzIxCE+bJm9xsieukUV6wt75H0Y4duf4XG3yUfQUhKtVDyiVTkp4//yayR3Irj L/8vIiECRN7qoZSJYEDE7x2A8B7dItbINhYMooZDeXCsviC4Lz0pKG5CenMrmzESP8USV6 YNUvojPT8Ocfmv8NpxUYXQq0oaPBlcEzhHEn5W+j5ytRMnS7ZmG34yk3C+21Kg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 87FB115BE0; Mon, 9 May 2022 18:11:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 249IBCAA085257; Mon, 9 May 2022 18:11:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249IBCdS085256; Mon, 9 May 2022 18:11:12 GMT (envelope-from git) Date: Mon, 9 May 2022 18:11:12 GMT Message-Id: <202205091811.249IBCdS085256@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: a0aa88c3b084 - main - sysutils/screen: Option to disable socketdir List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a0aa88c3b0847349a629018414b0c97f66e0155a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652119872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+Nr5IXrVjbLpuJjkobYr6o3fXaIw4SVLxPSZFQ3gVBk=; b=m+1f211d9H2eaUVJKhqfYn6k79EGT2BMqbtn0DDRK++kBj3HIWp7exnSsCRIxcLQ/xPir3 Qxn7ZksffyvPI1yS79WxZ6gOuoha8zvQGMdrJTywP1Q3sX/XcRus/kj+nYFcMAmRsKf1J2 o3dnukuqDhHIr+4Wshno//S4l0pjxHxvzhBk3vvw/87tO5X7Vzk8huM0nQnD5AMUKVeTVd Sb6Rm8KgwFDyddNYVzDfFQ8VN83yknwwS+9JgQRXhJ0ewkn7VIZUQY04G7RMj+08A6Lhto TcVi+Az9RWBPnwXYc/arJKxvehsUiOLHuNHz/qf4LDSeq0N7nnFWHI+FdKK7Ag== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652119872; a=rsa-sha256; cv=none; b=WrPlp/yENVSCBeznID+GIbVnjNmdnLgrT71I5JoSV/oDqVRHw0emCPqWe1oVDQkxCzzYYU ImoRzWEEelrTyRMtNJGkFbIms4Q1pKy+nQnQ1MOReVB9CNLxCWvnnSQaGrF9XKG50aO5h/ XTnlR4uKlATuo3ihCiHonfF8lHWL+bRg7I4ljBFqhvHSMfV0NlANqLWgt+BqRebSG/07H4 QLZg5qGJw3pGg7NTjJ16rdVltQ2UmsFeeABme/mJ6aTCwGIJgpCXD7IsVX+vIrahKfXXaZ eZ/TluDQUnoiKgLJxFumVT1ccxJ1uzNvePNmpm1GYkXAkrojUkQMLKFFwihRmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0aa88c3b0847349a629018414b0c97f66e0155a commit a0aa88c3b0847349a629018414b0c97f66e0155a Author: Cy Schubert AuthorDate: 2022-04-04 15:01:28 +0000 Commit: Cy Schubert CommitDate: 2022-05-09 17:48:12 +0000 sysutils/screen: Option to disable socketdir Some users may prefer not to have screen sockets in /tmp/screens (EUID== 0) and /tmp/uscreens (EUID != 0), preferring instead to keep screen sockets in the user's home directory. Enabling the NOSOCKETDIR option accomplishes this. Reported by: "John W. O'Brien" MFH: 2022Q2 --- sysutils/screen/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile index 595f4c1236e7..53d60822795b 100644 --- a/sysutils/screen/Makefile +++ b/sysutils/screen/Makefile @@ -18,7 +18,8 @@ COMMENT= Multi-screen window manager LICENSE= GPLv3 -OPTIONS_DEFINE= INFO NETHACK XTERM_256 SYSTEM_SCREENRC MULTIUSER +OPTIONS_DEFINE= INFO NETHACK XTERM_256 SYSTEM_SCREENRC MULTIUSER \ + NOSOCKETDIR OPTIONS_DEFAULT= INFO NETHACK XTERM_256 SOCKETS SYSTEM_SCREENRC \ NCURSES_DEFAULT MULTIUSER OPTIONS_SINGLE= IPC NCURSES @@ -35,6 +36,7 @@ MULTIUSER_PLIST_SUB_OFF=MULTISUID="@(,,0555) " NCURSES_DEFAULT_DESC= Depend on ncurses (ports if installed, otherwise base) NCURSES_BASE_DESC= Depend on ncurses in base NCURSES_PORT_DESC= Depend on devel/ncurses in ports +NOSOCKETDIR_DESC= Use ~/.screen instead of socketdir NCURSES_DEFAULT_USES= ncurses NCURSES_BASE_USES= ncurses:base @@ -76,6 +78,10 @@ CFLAGS+= -DCOLORS256 CFLAGS+= -DNONETHACK .endif +.if ! ${PORT_OPTIONS:MNOSOCKETDIR} +CONFIGURE_ARGS+= --disable-socket-dir +.endif + post-patch: @${RM} ${WRKSRC}/doc/screen.info*