FreeBSD Bugzilla – Attachment 231339 Details for
Bug 261482
sysutils/polkit: Add upstream fix for CVE-2021-4034 "pwnkit" security vulnerability
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-sysutils-polkit-add-upstream-patch-for-CVE-2021-4034.patch
0001-sysutils-polkit-add-upstream-patch-for-CVE-2021-4034.patch (text/plain), 3.32 KB, created by
Val Packett
on 2022-01-25 23:26:49 UTC
(
hide
)
Description:
0001-sysutils-polkit-add-upstream-patch-for-CVE-2021-4034.patch
Filename:
MIME Type:
Creator:
Val Packett
Created:
2022-01-25 23:26:49 UTC
Size:
3.32 KB
patch
obsolete
>From 5db2e0783650e06fbc4813a648e5841022a3aa7a Mon Sep 17 00:00:00 2001 >From: Greg V <greg@unrelenting.technology> >Date: Wed, 26 Jan 2022 02:24:01 +0300 >Subject: [PATCH] sysutils/polkit: add upstream patch for CVE-2021-4034 > "pwnkit" vulnerability > >Security: CVE-2021-4034 >--- > sysutils/polkit/Makefile | 2 ++ > sysutils/polkit/distinfo | 4 +++- > 2 files changed, 5 insertions(+), 1 deletion(-) > >diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile >index 5eea832c2756..839b08d29502 100644 >--- a/sysutils/polkit/Makefile >+++ b/sysutils/polkit/Makefile >@@ -1,68 +1,70 @@ > # Created by: Koop Mast<kwm@FreeBSD.org> > > 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 > > LICENSE= GPLv2 > LICENSE_FILE= ${WRKSRC}/COPYING > > LIB_DEPENDS= libexpat.so:textproc/expat2 \ > libdbus-1.so:devel/dbus \ > libmozjs-78.so:lang/spidermonkey78 > > USERS= polkitd > GROUPS= polkitd > > USES= compiler:c++11-lib cpe gettext gnome libtool localbase meson \ > pathfix pkgconfig shebangfix > USE_GNOME= glib20 intltool introspection:build > SHEBANG_FILES= ${WRKSRC}/src/polkitbackend/toarray.pl > USE_LDCONFIG= yes > CPE_VENDOR= polkit_project > > MESON_ARGS= -Dpam_include=system \ > -Dpolkitd_user=${USERS} \ > -Dexamples=false \ > -Dsession_tracking=ConsoleKit \ > -Dtests=false \ > -Dintrospection=true \ > -Dlocalstatedir=/var \ > -Dgtk_doc=false > > INSTALL_TARGET= install-strip > > OPTIONS_DEFINE= MANPAGES > > MANPAGES_BUILD_DEPENDS= docbook-sgml>=4.5:textproc/docbook-sgml \ > docbook-xsl>=1.76:textproc/docbook-xsl > MANPAGES_USE= gnome=libxslt:build > MANPAGES_MESON_TRUE= man > > OPTIONS_SUB= yes > > .include <bsd.port.pre.mk> > > post-patch: > @${REINPLACE_CMD} -e 's|/usr/bin/|${PREFIX}/bin/|g' \ > ${WRKSRC}/docs/man/pkexec.xml \ > ${WRKSRC}/src/examples/org.freedesktop.policykit.examples.pkexec.policy.in > @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${PREFIX}|g' \ > ${WRKSRC}/docs/man/polkit.xml > > post-install: > @${MKDIR} ${STAGEDIR}/var/lib/polkit-1 \ > ${STAGEDIR}${PREFIX}/share/polkit-1/rules.d > .for i in 10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d > ${MKDIR} ${STAGEDIR}${PREFIX}/etc/polkit-1/localauthority/${i} > ${MKDIR} ${STAGEDIR}/var/lib/polkit-1/localauthority/${i} > .endfor > > .include <bsd.port.post.mk> >diff --git a/sysutils/polkit/distinfo b/sysutils/polkit/distinfo >index 0e2faec0b29f..a0a990aa819b 100644 >--- a/sysutils/polkit/distinfo >+++ b/sysutils/polkit/distinfo >@@ -1,5 +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 >-- >2.30.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
val
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 261482
: 231339