git: 85fef6c7fd3d - main - security/tlsc: Update to 2.0

From: Felix Palmen <zirias_at_FreeBSD.org>
Date: Fri, 02 Jun 2023 18:24:36 UTC
The branch main has been updated by zirias:

URL: https://cgit.FreeBSD.org/ports/commit/?id=85fef6c7fd3dd0360d6ea1bcd507c046f5261dff

commit 85fef6c7fd3dd0360d6ea1bcd507c046f5261dff
Author:     Felix Palmen <zirias@FreeBSD.org>
AuthorDate: 2023-05-26 10:46:43 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2023-06-02 18:24:12 +0000

    security/tlsc: Update to 2.0
    
    Changes: https://github.com/Zirias/tlsc/releases/tag/v2.0
    
    Approved by:    tcberner (mentor, implicit)
---
 security/tlsc/Makefile | 19 +++++++------------
 security/tlsc/distinfo |  8 +++-----
 2 files changed, 10 insertions(+), 17 deletions(-)

diff --git a/security/tlsc/Makefile b/security/tlsc/Makefile
index 0f8f09b4bfa9..6b51b60916c8 100644
--- a/security/tlsc/Makefile
+++ b/security/tlsc/Makefile
@@ -1,7 +1,8 @@
-PORTNAME=	tlsc
-DISTVERSIONPREFIX=	v
-DISTVERSION=	1.3
-CATEGORIES=	security
+PORTNAME=		tlsc
+DISTVERSION=		2.0
+CATEGORIES=		security
+MASTER_SITES=		https://github.com/Zirias/%SUBDIR%/
+MASTER_SITE_SUBDIR=	${PORTNAME}/releases/download/v${DISTVERSION}
 
 MAINTAINER=	zirias@FreeBSD.org
 COMMENT=	TLS connect daemon
@@ -10,12 +11,9 @@ WWW=		https://github.com/Zirias/tlsc
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		compiler:c11 gmake ssl
+LIB_DEPENDS=	libposercore.so:devel/poser
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	Zirias
-GH_PROJECT=	zimk:zimk
-GH_TAGNAME=	0def4fa:zimk
+USES=		compiler:c11 gmake pkgconfig tar:xz
 
 USE_RC_SUBR=	${PORTNAME}
 
@@ -27,7 +25,4 @@ GROUPS=		tlsc
 
 PLIST_FILES=	bin/tlsc
 
-post-extract:
-	@${MV} ${WRKSRC_zimk}/* ${WRKSRC}/zimk/
-
 .include <bsd.port.mk>
diff --git a/security/tlsc/distinfo b/security/tlsc/distinfo
index 252db44e55a1..33a44ae06985 100644
--- a/security/tlsc/distinfo
+++ b/security/tlsc/distinfo
@@ -1,5 +1,3 @@
-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
+TIMESTAMP = 1685715308
+SHA256 (tlsc-2.0.tar.xz) = 3f5b53c08f8e5ae1163da59ae7b5cc23294ea195d3de53b7f8e238e385fc2de3
+SIZE (tlsc-2.0.tar.xz) = 17164