git: c0e344f719ca - main - net-im/mastodon: Update version 4.0.2=>4.1.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 10 Mar 2023 17:52:21 UTC
The branch main has been updated by bofh:

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

commit c0e344f719ca54fc6038b0ce4caf2cd45cd6655b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-10 17:51:12 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-10 17:51:54 +0000

    net-im/mastodon: Update version 4.0.2=>4.1.0
    
    Changelog: https://github.com/mastodon/mastodon/releases/tag/v4.1.0
---
 net-im/mastodon/Makefile    |  9 ++++++---
 net-im/mastodon/distinfo    |  6 +++---
 net-im/mastodon/pkg-message | 12 ++++++++++++
 3 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/net-im/mastodon/Makefile b/net-im/mastodon/Makefile
index fd86a0979acd..fe2cb354c9f3 100644
--- a/net-im/mastodon/Makefile
+++ b/net-im/mastodon/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mastodon
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.0.2
+DISTVERSION=	4.1.0
 CATEGORIES=	net-im www
 
 MAINTAINER=	bofh@FreeBSD.org
@@ -35,8 +35,11 @@ GROUPS=		${PORTNAME}
 
 RM_MASTODONFILES=	.dockerignore dist/mastodon-web.service \
 			dist/mastodon-sidekiq.service \
-			dist/mastodon-streaming.service
-RM_MASTODONDIRS=	.circleci .github
+			dist/mastodon-streaming.service \
+			docker-compose.yml \
+			Dockerfile \
+			Vagrantfile
+RM_MASTODONDIRS=	.circleci .devcontainer .github
 
 post-extract:
 .for _F in ${RM_MASTODONFILES}
diff --git a/net-im/mastodon/distinfo b/net-im/mastodon/distinfo
index 8869673daffd..64a87d22eaff 100644
--- a/net-im/mastodon/distinfo
+++ b/net-im/mastodon/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669830294
-SHA256 (mastodon-mastodon-v4.0.2_GH0.tar.gz) = 70a4d9dcd9b746f6e9ced9b567ee5ad81e530cfaccb7f471259b917c20166309
-SIZE (mastodon-mastodon-v4.0.2_GH0.tar.gz) = 27934855
+TIMESTAMP = 1678463064
+SHA256 (mastodon-mastodon-v4.1.0_GH0.tar.gz) = 590aee91e7838e32215d599386e1bce26fb15ab8cbeb19301c33057321657d59
+SIZE (mastodon-mastodon-v4.1.0_GH0.tar.gz) = 28475101
diff --git a/net-im/mastodon/pkg-message b/net-im/mastodon/pkg-message
index 492b6a4b7474..b96635f39494 100644
--- a/net-im/mastodon/pkg-message
+++ b/net-im/mastodon/pkg-message
@@ -7,4 +7,16 @@ https://wiki.freebsd.org/Ports/net-im/mastodon
 ############################################################
 EOM
 }
+{
+  type: upgrade
+  maximum_version: "4.1.0"
+  message: <<EOM
+############################################################
+Visit this URL to upgrade Mastodon.
+Post installation tasks need to be done according to the
+section Upgrade Procedure - 4.0.2=>4.1.0
+https://wiki.freebsd.org/Ports/net-im/mastodon
+############################################################
+EOM
+}
 ]