Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2023 06:32:09 GMT
From:      Felix Palmen <zirias@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8596786ff1f5 - main - security/tlsc: Add default user
Message-ID:  <202305030632.3436W9LA079676@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



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