git: 1afd5dd50541 - main - devel/kf5-knewstuff: add upstream backport requests

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Thu, 10 Feb 2022 09:20:52 UTC
The branch main has been updated by tcberner:

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

commit 1afd5dd5054105cae189aa6a1b596936b2067d62
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-02-10 08:21:48 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-02-10 09:19:59 +0000

    devel/kf5-knewstuff: add upstream backport requests
    
    Recently KDE experienced a high load on their servers due to
    non-CDN urls in knewstuff & friends.
    
    This adds upstream commits
            - Engine: Ensure we are not using the wrong ProvidersUrl
                    https://invent.kde.org/frameworks/knewstuff/-/commit/c8165b7a0d622e318b3353ccf257a8f229dd12c9
            - Add http2 to KNewStuff requests (was only added for the third
              one to apply easily)
                    https://invent.kde.org/frameworks/knewstuff/-/commit/9a98fc12d8b049ef2df73ad46bf628ea99e7c8a5
            -  Add conditional cache preference to http requests
                    https://invent.kde.org/frameworks/knewstuff/-/commit/e1c6f2bf383876a31cd3e3f9e6edcaa19dc0a7dd
---
 devel/kf5-knewstuff/Makefile | 6 ++++++
 devel/kf5-knewstuff/distinfo | 8 +++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/kf5-knewstuff/Makefile b/devel/kf5-knewstuff/Makefile
index 7ea850721c25..7ca4408a090e 100644
--- a/devel/kf5-knewstuff/Makefile
+++ b/devel/kf5-knewstuff/Makefile
@@ -1,7 +1,13 @@
 PORTNAME=	knewstuff
 DISTVERSION=	${KDE_FRAMEWORKS_VERSION}
+PORTREVISION=	1
 CATEGORIES=	devel kde kde-frameworks
 
+PATCH_SITES=	https://invent.kde.org/frameworks/knewstuff/-/commit/
+PATCHFILES=	c8165b7a0d622e318b3353ccf257a8f229dd12c9.diff:-p1 \
+		9a98fc12d8b049ef2df73ad46bf628ea99e7c8a5.diff:-p1 \
+		e1c6f2bf383876a31cd3e3f9e6edcaa19dc0a7dd.diff:-p1
+
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	KF5 library for downloading application assets from the network
 
diff --git a/devel/kf5-knewstuff/distinfo b/devel/kf5-knewstuff/distinfo
index d9ebe3f34117..d934566bd02d 100644
--- a/devel/kf5-knewstuff/distinfo
+++ b/devel/kf5-knewstuff/distinfo
@@ -1,3 +1,9 @@
-TIMESTAMP = 1641054160
+TIMESTAMP = 1644481187
 SHA256 (KDE/frameworks/5.90.0/knewstuff-5.90.0.tar.xz) = 8f89ab148271822128ac7469de98f3e4ade2eb890361741f1177bc5ffeb96060
 SIZE (KDE/frameworks/5.90.0/knewstuff-5.90.0.tar.xz) = 1151308
+SHA256 (KDE/frameworks/5.90.0/c8165b7a0d622e318b3353ccf257a8f229dd12c9.diff) = fd0b06d4b98582594870e9d2220c9378d1c0a49af005f7ea804964f980655a43
+SIZE (KDE/frameworks/5.90.0/c8165b7a0d622e318b3353ccf257a8f229dd12c9.diff) = 1032
+SHA256 (KDE/frameworks/5.90.0/9a98fc12d8b049ef2df73ad46bf628ea99e7c8a5.diff) = 966ca3835718fa265b769d7bd331e89cfd7c7473f7bc1f6e7b827d48b50443e6
+SIZE (KDE/frameworks/5.90.0/9a98fc12d8b049ef2df73ad46bf628ea99e7c8a5.diff) = 731
+SHA256 (KDE/frameworks/5.90.0/e1c6f2bf383876a31cd3e3f9e6edcaa19dc0a7dd.diff) = 7982577a372eb982da58cb0782f5433eb3890a4f32f38490d12d6df93dcfb4f0
+SIZE (KDE/frameworks/5.90.0/e1c6f2bf383876a31cd3e3f9e6edcaa19dc0a7dd.diff) = 1421