From nobody Wed May 03 06:32:09 2023 X-Original-To: dev-commits-ports-main@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 4QB6Yk0mB2z490JD; Wed, 3 May 2023 06:32:10 +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 4QB6Yk0L9xz4Qpr; Wed, 3 May 2023 06:32:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683095530; 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=glqlshf1XzPbyxHbh9MWIH2WcX0b5FkGGOoPuCSXcx8=; b=xDszOLjC+kDpvTmX4bqM8FMiLGYWzM1g+DeNpjKRReGWKW0HFS5H/vsNKZ7MgcxqAwcwYi TCZPRTY6R/Yz7B1b1jDGg8jNElumzc9ciPI6EF8QoeXedgWsea/R3yyEkwVNvHxVc4heH3 PYNmKGyPMw1dMxM+gsAc1DyvL3/hMFdpDNL0bASrsTUT4KIgBXK1XZnLCgmejaX9VUyWOv 7pFHvdsZ2yzhKLRiYMl3Mnn+5lmq6FDRs4/BmYqSUYDpmSJ83BKBCakqYYgPnT8XcJYt8o RwIU2cELPnYLQvX1lLtx6epiRIa55e4AyvKbpRo32SrGdTAo0qLyfPYkH1jKLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683095530; 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=glqlshf1XzPbyxHbh9MWIH2WcX0b5FkGGOoPuCSXcx8=; b=Eh0H6uEcPhDqtdkK2+sDB8vdIoqYDy1fJ8HQca+krLHZKXH6npFdYXhg/yTdk4UJFOeWyV by8efOOJ5ijp1GkkTvPjprxNK/sVVD4xXUGAgwQ9TwJAUDpYqYjWjsLSBCWjyRXf0ihzzt Qje+5bvjtQRhZe9yNipzfP9xxuLZqeztrOKnx+k/aIeLGWDsI/6KjxMVXNIUt9AT6eBWVU BKxM//ZB5BKGOBvWh2Mqo7n+oNU0FMBnJ2zPfQLSW5oVwbBs7vMYEXFqvknf0WnS6idmc5 hMwxoSRzfhU5qONMxiI57QzsKyOpcCcNDx6dXp57HIxu5Z4ctUnk+y9kcJrvIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683095530; a=rsa-sha256; cv=none; b=etMm9HvG/Y0vTq9XNv3vHx7AB4TZLZYIkpScKfoEe2UBFtu974DZSONIVIjBNYF5rXNcIO khd8LmeDSSMeHk7OXKGhvARpzvcGNQoIc6gKTcNvXTaEIGWEKbpZqiQ75WqfODr8k0uarj uzWyA4NIUA4F2UY+/Pbz0/TcS9P7sJVv1hztdRWlhBB4yTIzYSi6XIovzsLxOD4HpoaZhd aQr/PzBaJLPPvpsMuoCkTwruABhG3DHViwM8Muk4kVYVnKTnhFhckGDyY57aoOdB4DnU3V TthvPKXlndtkaQfwy9xCBkvrNtfCIPGXT5R9EL5YQyDok0+kx2+YLc9NZU+H/g== 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 4QB6Yj6WPxzK5d; Wed, 3 May 2023 06:32:09 +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 3436W9xs079677; Wed, 3 May 2023 06:32:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3436W9LA079676; Wed, 3 May 2023 06:32:09 GMT (envelope-from git) Date: Wed, 3 May 2023 06:32:09 GMT Message-Id: <202305030632.3436W9LA079676@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Felix Palmen Subject: git: 8596786ff1f5 - main - security/tlsc: Add default user List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zirias X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8596786ff1f5056f4d80a71b93cd73fa4f853b4a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=8596786ff1f5056f4d80a71b93cd73fa4f853b4a commit 8596786ff1f5056f4d80a71b93cd73fa4f853b4a Author: Felix Palmen AuthorDate: 2023-05-03 06:30:40 +0000 Commit: Felix Palmen CommitDate: 2023-05-03 06:30:40 +0000 security/tlsc: Add default user Set tlsc_user to 'nobody' by default, to avoid accidentally running it as root. Approved by: tcberner (mentor, implicit) --- security/tlsc/Makefile | 1 + security/tlsc/files/tlsc.in | 1 + 2 files changed, 2 insertions(+) diff --git a/security/tlsc/Makefile b/security/tlsc/Makefile index 472b996550db..1860ea7d71bd 100644 --- a/security/tlsc/Makefile +++ b/security/tlsc/Makefile @@ -1,6 +1,7 @@ PORTNAME= tlsc DISTVERSIONPREFIX= v DISTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= zirias@FreeBSD.org diff --git a/security/tlsc/files/tlsc.in b/security/tlsc/files/tlsc.in index 2d82526fdc80..173f4ae88280 100644 --- a/security/tlsc/files/tlsc.in +++ b/security/tlsc/files/tlsc.in @@ -15,6 +15,7 @@ rcvar=tlsc_enable load_rc_config ${name} : ${tlsc_enable:=NO} +: ${tlsc_user:=nobody} start_precmd=tlsc_prestart command="%%PREFIX%%/bin/tlsc"