git: 8596786ff1f5 - main - security/tlsc: Add default user
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 May 2023 06:32:09 UTC
The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=8596786ff1f5056f4d80a71b93cd73fa4f853b4a commit 8596786ff1f5056f4d80a71b93cd73fa4f853b4a Author: Felix Palmen <zirias@FreeBSD.org> AuthorDate: 2023-05-03 06:30:40 +0000 Commit: Felix Palmen <zirias@FreeBSD.org> 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"