Github messages for voidlinux
 help / color / mirror / Atom feed
From: oreo639 <oreo639@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] pacman: update to 7.0.0.
Date: Mon, 18 Nov 2024 02:13:41 +0100	[thread overview]
Message-ID: <20241118011341.1A0F02F45C@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-53116@inbox.vuxu.org>

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

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

https://github.com/oreo639/void-packages pacman
https://github.com/void-linux/void-packages/pull/53116

pacman: update to 7.0.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- 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/53116.patch is attached

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

From c5e3057f11242eeff598fcc2c9824b694121e9ae Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Sun, 17 Nov 2024 17:02:47 -0800
Subject: [PATCH] pacman: update to 7.0.0.

---
 srcpkgs/pacman/template | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/pacman/template b/srcpkgs/pacman/template
index 6533c5153b8cc3..795f792393a1de 100644
--- a/srcpkgs/pacman/template
+++ b/srcpkgs/pacman/template
@@ -1,26 +1,29 @@
 # Template file for 'pacman'
 pkgname=pacman
-version=6.0.2
-revision=2
+version=7.0.0
+revision=1
 make_dirs="/var/lib/pacman 0755 root root
  /usr/var/cache/pacman/pkg 0755 root root
  /usr/share/libalpm/hooks 0755 root root"
 conf_files="/etc/pacman.conf"
 build_style=meson
+configure_args="-Dscriptlet-shell=/usr/bin/bash"
 hostmakedepends="curl gettext-devel pkg-config asciidoc"
 makedepends="libarchive-devel gpgme-devel libcurl-devel"
-depends="gnupg>=2"
+depends="gnupg>=2 bash"
 checkdepends="fakeroot"
 short_desc="Simple library-based package manager"
 maintainer="oreo639 <oreo6391@gmail.com>"
 license="GPL-2.0-or-later"
 homepage="https://www.archlinux.org/pacman/"
-distfiles="https://sources.archlinux.org/other/pacman/pacman-${version}.tar.xz"
-checksum=7d8e3e8c5121aec0965df71f59bedf46052c6cf14f96365c4411ec3de0a4c1a5
+distfiles="https://gitlab.archlinux.org/pacman/pacman/-/releases/v${version}/downloads/pacman-${version}.tar.xz"
+checksum=61cbd445d1381b4b184bc7c4e2791f07a79f0f2807b7c600399d0d08e8cd28cf
 make_check=ci-skip # Some tests fail when run in CI
 
 if [ "$XBPS_TARGET_LIBC" = musl ]; then
 	make_check=no # fakechroot is not available
+	CPPFLAGS="-D__NR_landlock_create_ruleset=444 -D__NR_landlock_add_rule=445 \
+			-D__NR_landlock_restrict_self=446"
 else
 	checkdepends="fakeroot fakechroot gnupg perl"
 fi

      parent reply	other threads:[~2024-11-18  1:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-18  1:03 [PR PATCH] " oreo639
2024-11-18  1:12 ` [PR PATCH] [Updated] " oreo639
2024-11-18  1:13 ` oreo639 [this message]

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=20241118011341.1A0F02F45C@inbox.vuxu.org \
    --to=oreo639@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).