Github messages for voidlinux
 help / color / mirror / Atom feed
From: ardadem <ardadem@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] polkit: update to 0.119.
Date: Mon, 09 Aug 2021 10:43:09 +0200	[thread overview]
Message-ID: <20210809084309.stA_shRtVxDQqoo4oHorl35bJOEXx_S-49BWzetHnUQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32414@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1597 bytes --]

There is an updated pull request by ardadem against master on the void-packages repository

https://github.com/ardadem/void-packages pr-polkit-0.119
https://github.com/void-linux/void-packages/pull/32414

polkit: update to 0.119.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [X] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

A patch file from https://github.com/void-linux/void-packages/pull/32414.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pr-polkit-0.119-32414.patch --]
[-- Type: text/x-diff, Size: 3029 bytes --]

From 8b32f28bf980fa8c9f398268cdffc9d230f9c5f5 Mon Sep 17 00:00:00 2001
From: Arda Demir <ddmirarda@gmail.com>
Date: Mon, 9 Aug 2021 00:25:34 +0300
Subject: [PATCH] polkit: update to 0.119.

---
 ...13affe0fa53ff618e07aa8f57f4c0e3b9b81.patch | 27 -------------------
 srcpkgs/polkit/template                       | 12 ++++++---
 2 files changed, 9 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/polkit/patches/a04d13affe0fa53ff618e07aa8f57f4c0e3b9b81.patch

diff --git a/srcpkgs/polkit/patches/a04d13affe0fa53ff618e07aa8f57f4c0e3b9b81.patch b/srcpkgs/polkit/patches/a04d13affe0fa53ff618e07aa8f57f4c0e3b9b81.patch
deleted file mode 100644
index c4bea97d19f0..000000000000
--- a/srcpkgs/polkit/patches/a04d13affe0fa53ff618e07aa8f57f4c0e3b9b81.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From a04d13affe0fa53ff618e07aa8f57f4c0e3b9b81 Mon Sep 17 00:00:00 2001
-From: Jan Rybar <jrybar@redhat.com>
-Date: Wed, 2 Jun 2021 15:43:38 +0200
-Subject: [PATCH] GHSL-2021-074: authentication bypass vulnerability in polkit
-
-initial values returned if error caught
----
- src/polkit/polkitsystembusname.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/src/polkit/polkitsystembusname.c b/src/polkit/polkitsystembusname.c
-index 8daa12c..8ed1363 100644
---- a/src/polkit/polkitsystembusname.c
-+++ b/src/polkit/polkitsystembusname.c
-@@ -435,6 +435,9 @@ polkit_system_bus_name_get_creds_sync (PolkitSystemBusName           *system_bus
-   while (!((data.retrieved_uid && data.retrieved_pid) || data.caught_error))
-     g_main_context_iteration (tmp_context, TRUE);
- 
-+  if (data.caught_error)
-+    goto out;
-+
-   if (out_uid)
-     *out_uid = data.uid;
-   if (out_pid)
--- 
-GitLab
-
diff --git a/srcpkgs/polkit/template b/srcpkgs/polkit/template
index 01d31d7dc6ae..74f75c20c608 100644
--- a/srcpkgs/polkit/template
+++ b/srcpkgs/polkit/template
@@ -1,7 +1,7 @@
 # Template file for 'polkit'
 pkgname=polkit
-version=0.118
-revision=2
+version=0.119
+revision=1
 build_style=gnu-configure
 build_helper=gir
 configure_args="$(vopt_enable gir introspection) -disable-static
@@ -17,8 +17,9 @@ short_desc="Authorization Toolkit"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://www.freedesktop.org/wiki/Software/polkit"
+changelog="https://gitlab.freedesktop.org/polkit/polkit/-/raw/master/NEWS"
 distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.gz"
-checksum=6d54e984e7072339f0d3147179e16e34e5fe0705158f259a765d772dcf78956b
+checksum=c8579fdb86e94295404211285fee0722ad04893f0213e571bd75c00972fd1f5c
 system_accounts="polkitd"
 #replaces="polkit-elogind>=0"
 #provides="polkit-elogind-${version}_${revision}"
@@ -27,6 +28,11 @@ system_accounts="polkitd"
 build_options="gir"
 build_options_default="gir"
 
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	# see https://gitlab.freedesktop.org/polkit/polkit/-/issues/134
+	make_check=no
+fi
+
 pre_configure() {
 	autoreconf -fi
 	# Drop requirement of /sys/fs/cgroup/systemd test in configure... WTF.

  parent reply	other threads:[~2021-08-09  8:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-08 21:26 [PR PATCH] " ardadem
2021-08-08 22:44 ` Duncaen
2021-08-08 22:44 ` [PR PATCH] [Closed]: " Duncaen
2021-08-08 22:46 ` Duncaen
2021-08-08 22:48 ` Duncaen
2021-08-09  8:26 ` [PR PATCH] [Updated] " ardadem
2021-08-09  8:43 ` ardadem [this message]
2021-12-10 21:16 ` [PR PATCH] [Merged]: " Gottox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210809084309.stA_shRtVxDQqoo4oHorl35bJOEXx_S-49BWzetHnUQ@z \
    --to=ardadem@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).