git: b6e934ca1d37 - 2022Q1 - sysutils/polkit: add upstream patch for CVE-2021-4034 "pwnkit" vulnerability
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jan 2022 01:47:51 UTC
The branch 2022Q1 has been updated by adridg:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b6e934ca1d37b5d2b22fdd3d8f4f0952f5760764
commit b6e934ca1d37b5d2b22fdd3d8f4f0952f5760764
Author: Greg V <greg@unrelenting.technology>
AuthorDate: 2022-01-26 01:30:10 +0000
Commit: Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2022-01-26 01:47:24 +0000
sysutils/polkit: add upstream patch for CVE-2021-4034 "pwnkit" vulnerability
This also pulls in a Meson build-fix which wasn't MFH'worthy on its own.
(cherry picked from commit d2118ff0f1a36bc17eca25041e8a624d7a03e796)
---
sysutils/polkit/Makefile | 5 +++++
sysutils/polkit/distinfo | 6 +++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile
index 013638e0d597..839b08d29502 100644
--- a/sysutils/polkit/Makefile
+++ b/sysutils/polkit/Makefile
@@ -2,9 +2,14 @@
PORTNAME= polkit
PORTVERSION= 0.120
+PORTREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= https://www.freedesktop.org/software/polkit/releases/
+PATCH_SITES= https://gitlab.freedesktop.org/${PORTNAME}/${PORTNAME}/-/commit/
+PATCHFILES+= e7f3d9e8341d.patch:-p1 # https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/99
+PATCHFILES+= a2bf5c9c83b6.patch:-p1 # https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/104 (CVE-2021-4034)
+
MAINTAINER= desktop@FreeBSD.org
COMMENT= Framework for controlling access to system-wide components
diff --git a/sysutils/polkit/distinfo b/sysutils/polkit/distinfo
index c85510282833..a0a990aa819b 100644
--- a/sysutils/polkit/distinfo
+++ b/sysutils/polkit/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1633549962
+TIMESTAMP = 1643152765
SHA256 (polkit-0.120.tar.gz) = ee7a599a853117bf273548725719fa92fabd2f136915c7a4906cee98567aee03
SIZE (polkit-0.120.tar.gz) = 1626659
+SHA256 (e7f3d9e8341d.patch) = 9a84b59d38b3f86c70c5fc3a28cbfe8d7a22cf190eb20ff433f7f53f5ff73a9a
+SIZE (e7f3d9e8341d.patch) = 1201
+SHA256 (a2bf5c9c83b6.patch) = 5930a48bf4262a7c89f8737a1a5a648bd41cfdb6476dcca1140cba6555b67d2c
+SIZE (a2bf5c9c83b6.patch) = 2070