From nobody Thu May 11 09:31:29 2023 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 4QH68y0ycNz4B0bJ; Thu, 11 May 2023 09:31:30 +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 4QH68y0Rd8z3q6G; Thu, 11 May 2023 09:31:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683797490; 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=SZiaQsOokL1jy1GQwoClP8IOT36vnUx2Uadmi6uywHc=; b=qoBjH8nu92YuVpKFLZqYQLc9b9iQjqKWQEiRlqWgc9qxMEpTrJeTqpgnrdbbqB9tD/loBi ItHlswiJv64Jdqlay/FEO7GKGRmIjPzU4WloH3vkBQLSWfKLKrOmDuINwuuarlZsaBmWyE 9O8Kcqf8vWpd8JjL41/qTSEA0hiBB2I5Lg4dt5aBffA1TwXwkobeu2cMcxLRO6enKD7JN0 pGRqKpWHv46D1UWBLYjh7nVDqQVqnWeul/LWeDmX8cE8It2Ku7he0+0vaOdZg2wjezNDz7 jvT/N7NFpsazKFsNfzSzNpElpd1cPRVIpaaND+S3X2JwzHxQD0MWnPYkk180zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683797490; 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=SZiaQsOokL1jy1GQwoClP8IOT36vnUx2Uadmi6uywHc=; b=OoEJtQVlI+Z877/yHppmIjK5RH/SPjV4AI4d7xD7fKfBM58V023RP0r063b3vwQq0LjZfJ kaa1U+ZleryTcMB1uaL2e8oCPAI3rmukrKaCgjx3TTs46SRa64fQFemJqNkUWwOB4UY9Fg sM9O2s4h1Fwnqh03dofMITCLx9PuD841ahTZ524Paa4CbSG3h+uX59/L+Rh01p/60S8D5z gbtP+bwMpWpo1x6UMCkq036pZJutL4ok1ktA6bcEgOJ/ZSdObhJqLi/cKh11E6u0yDg7LL 7DpO8DyFQmky/L+uPD5EEea4bZ1xR7s6IxHGLAqRaE1a1XZIfwl3PoQ8iP1hCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683797490; a=rsa-sha256; cv=none; b=Amboq+6u6//l2YwXh3lOu/iwEvE3WQZHdgjE29u60U40ZwG0ErpAIpczewWqDHkhg9QZ13 pKyBiGfSQaq14KLZ2fMv3r/DQ2TudrLkoC7omkt/IhdMxBrB2NMkwQlutpjkoio2J3WYMT XChNBT7KToGuvGImyCIntv9cmcYanNXCSmG59rqsErhxVxxOX7YE9JBhvbohAvA8xTHCJu lDNQYZXYttJFhd2sEkFEVMx/ewU7dJFSHmIopPcJRXxaqCtTUfB5auEmZ/Ta5Ve4oXZhuz OI9j2LBPWy3vkKse5dZV/3FHLkVhFZWPPv/ci6+ZQFKyfbtlU3IdNg+Vwo2TSA== 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 4QH68x6fH3znKd; Thu, 11 May 2023 09:31:29 +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 34B9VT0F081166; Thu, 11 May 2023 09:31:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34B9VTcP081165; Thu, 11 May 2023 09:31:29 GMT (envelope-from git) Date: Thu, 11 May 2023 09:31:29 GMT Message-Id: <202305110931.34B9VTcP081165@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: 5fa431d4ebd3 - main - security/tlsc: Update to 1.3 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: zirias X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5fa431d4ebd345765d2ce8ca3e6fbc118293c5f8 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=5fa431d4ebd345765d2ce8ca3e6fbc118293c5f8 commit 5fa431d4ebd345765d2ce8ca3e6fbc118293c5f8 Author: Felix Palmen AuthorDate: 2023-05-09 09:18:55 +0000 Commit: Felix Palmen CommitDate: 2023-05-11 09:27:07 +0000 security/tlsc: Update to 1.3 Also add a dedicated user/group and use that by default instead of nobody. Changes: https://github.com/Zirias/tlsc/releases/tag/v1.3 Approved by: tcberner (mentor, implicit) --- GIDs | 2 +- UIDs | 2 +- security/tlsc/Makefile | 6 ++++-- security/tlsc/distinfo | 6 +++--- security/tlsc/files/tlsc.in | 6 ++++-- 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/GIDs b/GIDs index 2e5e929f0920..d6880befb380 100644 --- a/GIDs +++ b/GIDs @@ -262,7 +262,7 @@ hedgedoc:*:317: rustdesk:*:319: teleirc:*:320: caldera:*:321: -# free: 322 +tlsc:*:322: # free: 323 # free: 324 dkfilter:*:325: diff --git a/UIDs b/UIDs index 149e55cb988c..caedab37601e 100644 --- a/UIDs +++ b/UIDs @@ -267,7 +267,7 @@ icingadirector:*:318:183::0:0:icingadirector user:/nonexistent:/usr/sbin/nologin rustdesk:*:319:319::0:0:rustdesk-server user:/nonexistent:/usr/sbin/nologin teleirc:*:320:320::0:0:Telegram and IRC bridge:/nonexistent:/usr/sbin/nologin caldera:*:321:321::0:0:Caldera Mitre user:/nonexistent:/usr/sbin/nologin -# free: 322 +tlsc:*:322:322::0:0:TLS connect daemon:/nonexistent:/usr/sbin/nologin # free: 323 # free: 324 dkfilter:*:325:325::0:0:DK Filter Owner:/nonexistent:/usr/sbin/nologin diff --git a/security/tlsc/Makefile b/security/tlsc/Makefile index 1860ea7d71bd..0f8f09b4bfa9 100644 --- a/security/tlsc/Makefile +++ b/security/tlsc/Makefile @@ -1,7 +1,6 @@ PORTNAME= tlsc DISTVERSIONPREFIX= v -DISTVERSION= 1.2 -PORTREVISION= 1 +DISTVERSION= 1.3 CATEGORIES= security MAINTAINER= zirias@FreeBSD.org @@ -23,6 +22,9 @@ USE_RC_SUBR= ${PORTNAME} MAKE_ARGS= V=1 ALL_TARGET= strip +USERS= tlsc +GROUPS= tlsc + PLIST_FILES= bin/tlsc post-extract: diff --git a/security/tlsc/distinfo b/security/tlsc/distinfo index e24704c81dd6..252db44e55a1 100644 --- a/security/tlsc/distinfo +++ b/security/tlsc/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1683008653 -SHA256 (Zirias-tlsc-v1.2_GH0.tar.gz) = 90eb9315091f212d85afedb35d683e0ccf3ba692487caeeebb13986be75a4153 -SIZE (Zirias-tlsc-v1.2_GH0.tar.gz) = 23097 +TIMESTAMP = 1683715711 +SHA256 (Zirias-tlsc-v1.3_GH0.tar.gz) = 37bdf6975d099e0481cab1270191254b8527e925e151b1ca94bf790db31b146e +SIZE (Zirias-tlsc-v1.3_GH0.tar.gz) = 23249 SHA256 (Zirias-zimk-0def4fa_GH0.tar.gz) = faff68b6f7a0e337c9d42da7a7686b83e64a430592471d7eeaee3c5e2525d8fc SIZE (Zirias-zimk-0def4fa_GH0.tar.gz) = 12738 diff --git a/security/tlsc/files/tlsc.in b/security/tlsc/files/tlsc.in index 173f4ae88280..7f04bbb2584e 100644 --- a/security/tlsc/files/tlsc.in +++ b/security/tlsc/files/tlsc.in @@ -15,7 +15,8 @@ rcvar=tlsc_enable load_rc_config ${name} : ${tlsc_enable:=NO} -: ${tlsc_user:=nobody} +: ${tlsc_user:=tlsc} +: ${tlsc_group:=tlsc} start_precmd=tlsc_prestart command="%%PREFIX%%/bin/tlsc" @@ -37,7 +38,8 @@ tlsc_prestart() # tlsc handles user and group itself unset _user unset _group - install -d -m 755 -o ${tlsc_user:-root} $(dirname ${pidfile}) + install -d -m 755 -g ${tlsc_group} -o ${tlsc_user} \ + $(dirname ${pidfile}) return 0 }