git: d1c89e6d0594 - main - sysutils/duply: update to 2.2.2 and fix broken MASTER_SITES

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Wed, 03 Aug 2022 02:13:43 UTC
The branch main has been updated by tagattie:

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

commit d1c89e6d05946f7d52f9faf679b8f21609b3d0e7
Author:     David O'Rourke <dor.bsd@xm0.uk>
AuthorDate: 2022-08-03 01:58:28 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2022-08-03 01:58:28 +0000

    sysutils/duply: update to 2.2.2 and fix broken MASTER_SITES
    
    The previous MASTER_SITES entry was actually a redirect to
    SourceForge, however, it appears it was only ever capable of
    retrieving the latest version of duply. This meant that when a new
    upstream version of duply was released, the port would break as
    duply.net always redirected to the latest version, no matter which
    version you were actually requesting.
    
    This is resolved by pointing MASTER_SITES to the real SourceForge
    location for the releases.
    
    Changelog: http://duply.net/Changelog-TODO
    
    PR:             241784
    Reported by:    David O'Rourke <dor.bsd@xm0.uk>
    Approved by:    michael@ranner.eu (maintainer)
---
 sysutils/duply/Makefile | 5 ++---
 sysutils/duply/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/sysutils/duply/Makefile b/sysutils/duply/Makefile
index 83bd1ddfaf24..b647ae2a9134 100644
--- a/sysutils/duply/Makefile
+++ b/sysutils/duply/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	duply
-PORTVERSION=	2.1
-PORTREVISION=	1
+PORTVERSION=	2.2.2
 CATEGORIES=	sysutils
-MASTER_SITES=	https://duply.net/projects/ftplicity/files/duply%20%28simple%20duplicity%29/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}.x/
+MASTER_SITES=	SOURCEFORGE/ftplicity/duply%20%28simple%20duplicity%29/2.2.x/
 DISTNAME=	${PORTNAME}_${PORTVERSION}
 
 MAINTAINER=	michael@ranner.eu
diff --git a/sysutils/duply/distinfo b/sysutils/duply/distinfo
index 4e37816fe363..69a2b7319dab 100644
--- a/sysutils/duply/distinfo
+++ b/sysutils/duply/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1533248620
-SHA256 (duply_2.1.tgz) = a8d2bfa907aacbef1c66bf1079fa24e541ad63f5d0694029e4596b030f3cb244
-SIZE (duply_2.1.tgz) = 47010
+TIMESTAMP = 1659444635
+SHA256 (duply_2.2.2.tgz) = c72662e8c11b4fae37f4cb47eeb4fcb0d3bcf53538d1522bf2208238de4c306e
+SIZE (duply_2.2.2.tgz) = 50848