git: 0b16add32420 - main - security/transcrypt: Upgrade to 2.3.0

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Mon, 09 Sep 2024 15:35:57 UTC
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0b16add32420cab7cc8451df8fe7eddf876a4d14

commit 0b16add32420cab7cc8451df8fe7eddf876a4d14
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2024-09-09 15:33:42 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2024-09-09 15:35:38 +0000

    security/transcrypt: Upgrade to 2.3.0
    
    - Add pkg-message of type upgrade
    - Pet portfmt
    
    Release changes:        https://github.com/elasticdog/transcrypt/releases/tag/v2.3.0
    Reported by:    James Murty <notifications@github.com>
---
 security/transcrypt/Makefile    | 7 +++----
 security/transcrypt/distinfo    | 6 +++---
 security/transcrypt/pkg-message | 9 +++++++++
 3 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/security/transcrypt/Makefile b/security/transcrypt/Makefile
index 89db31b8350e..6073a535b6bc 100644
--- a/security/transcrypt/Makefile
+++ b/security/transcrypt/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	transcrypt
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.2.3
-PORTREVISION=	1
+DISTVERSION=	2.3.0
 CATEGORIES=	security
 
 MAINTAINER=	nivit@FreeBSD.org
@@ -23,8 +22,8 @@ GH_ACCOUNT=	elasticdog
 NO_BUILD=	yes
 
 PLIST_FILES=	bin/transcrypt \
-		share/man/man1/transcrypt.1.gz \
 		share/bash-completion/completions/transcrypt \
+		share/man/man1/transcrypt.1.gz \
 		share/zsh/site-functions/_transcrypt
 
 post-patch:
@@ -37,7 +36,7 @@ do-install:
 		${INSTALL_DATA} ${WRKSRC}/contrib/zsh/_${PORTNAME} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME}
 	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
-# 53 tests, 0 failures
+# 72 tests, 0 failures
 do-test:
 	${LOCALBASE}/bin/bats ${WRKSRC}/tests
 
diff --git a/security/transcrypt/distinfo b/security/transcrypt/distinfo
index 7f901f9d5eed..5c6cc5bd0fac 100644
--- a/security/transcrypt/distinfo
+++ b/security/transcrypt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685121651
-SHA256 (elasticdog-transcrypt-v2.2.3_GH0.tar.gz) = 69cf95b2a4d7e89c1f5c84bc4c32aa35f78d08b8f457a003ab9e8be7361a24e5
-SIZE (elasticdog-transcrypt-v2.2.3_GH0.tar.gz) = 32592
+TIMESTAMP = 1725894913
+SHA256 (elasticdog-transcrypt-v2.3.0_GH0.tar.gz) = 9779f5cc972d7e6e83de0770e5391aca95881bc75e101095a6dede4620a8cd28
+SIZE (elasticdog-transcrypt-v2.3.0_GH0.tar.gz) = 38566
diff --git a/security/transcrypt/pkg-message b/security/transcrypt/pkg-message
new file mode 100644
index 000000000000..401ca5385969
--- /dev/null
+++ b/security/transcrypt/pkg-message
@@ -0,0 +1,9 @@
+[
+{ type: upgrade
+  message: <<EOM
+
+To upgrade transcrypt it is not enough to have a newer version on your system,
+you must also run the --upgrade command in each repository.
+EOM
+}
+]