From: Oreo639 <Oreo639@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: pacman-5.2.1
Date: Mon, 25 May 2020 01:02:00 +0200 [thread overview]
Message-ID: <20200524230200.2z1s0r-fnHAH4aAKtTpvKibKFm5SjBpkfUXGMek8sjY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22253@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 518 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/22253
New package: pacman-5.2.1
This is used by devkitPro to install their toolchains and libraries.
https://devkitpro.org/wiki/devkitPro_pacman
Everything gets installed to `/opt/devkitpro` so it doesn't conflict with system stuff.
A patch file from https://github.com/void-linux/void-packages/pull/22253.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pacman-22253.patch --]
[-- Type: text/x-diff, Size: 2945 bytes --]
From b2af8e6c7a2ce7a84222dfddedc32a5f7ad42ad5 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Sun, 24 May 2020 03:00:33 -0700
Subject: [PATCH] New package: pacman-5.2.1
---
srcpkgs/pacman/patches/gpg2gpg2.patch | 37 +++++++++++++++++++++++++++
srcpkgs/pacman/template | 19 ++++++++++++++
2 files changed, 56 insertions(+)
create mode 100644 srcpkgs/pacman/patches/gpg2gpg2.patch
create mode 100644 srcpkgs/pacman/template
diff --git a/srcpkgs/pacman/patches/gpg2gpg2.patch b/srcpkgs/pacman/patches/gpg2gpg2.patch
new file mode 100644
index 00000000000..131c5d92ec7
--- /dev/null
+++ b/srcpkgs/pacman/patches/gpg2gpg2.patch
@@ -0,0 +1,37 @@
+gpg to gpg2:
+Arch's "gnupg" package is this distro's "gnupg2"
+This patches all references to the gpg command to use
+gpg2 instead.
+
+diff -Naur pacman-5.2.1.orig/scripts/pacman-key.sh.in pacman-5.2.1/scripts/pacman-key.sh.in
+--- scripts/pacman-key.sh.in 2019-10-24 06:29:08.000000000 -0700
++++ scripts/pacman-key.sh.in 2020-05-24 02:30:26.838797182 -0700
+@@ -51,6 +51,7 @@
+ UPDATEDB=0
+ USE_COLOR='y'
+ VERIFY=0
++GPG_COMMAND='gpg2'
+
+ usage() {
+ printf "pacman-key (pacman) %s\n" ${myver}
+@@ -591,8 +592,8 @@
+ unset ALL_OFF BOLD BLUE GREEN RED YELLOW
+ fi
+
+-if ! type -p gpg >/dev/null; then
+- error "$(gettext "Cannot find the %s binary required for all %s operations.")" "gpg" "pacman-key"
++if ! type -p ${GPG_COMMAND} >/dev/null; then
++ error "$(gettext "Cannot find the %s binary required for all %s operations.")" "${GPG_COMMAND}" "pacman-key"
+ exit 1
+ fi
+
+@@ -611,7 +612,7 @@
+ # file, falling back on a hard default
+ PACMAN_KEYRING_DIR=${PACMAN_KEYRING_DIR:-$(pacman-conf --config="$CONFIG" gpgdir)}
+
+-GPG_PACMAN=(gpg --homedir "${PACMAN_KEYRING_DIR}" --no-permission-warning)
++GPG_PACMAN=(${GPG_COMMAND} --homedir "${PACMAN_KEYRING_DIR}" --no-permission-warning)
+ if [[ -n ${KEYSERVER} ]]; then
+ GPG_PACMAN+=(--keyserver "${KEYSERVER}")
+ fi
+
diff --git a/srcpkgs/pacman/template b/srcpkgs/pacman/template
new file mode 100644
index 00000000000..b39082047f9
--- /dev/null
+++ b/srcpkgs/pacman/template
@@ -0,0 +1,19 @@
+# Template file for 'pacman'
+pkgname=pacman
+version=5.2.1
+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
+ /usr/share/pacman/keyrings 0755 root root"
+conf_files="/etc/pacman.conf"
+build_style=gnu-configure
+hostmakedepends="autoconf automake libtool gettext-devel pkg-config"
+makedepends="libarchive-devel gpgme-devel libcurl-devel"
+depends="gnupg2"
+short_desc="Package manager for the Arch distribution"
+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.gz"
+checksum=1930c407265fd039cb3a8e6edc82f69e122aa9239d216d9d57b9d1b9315af312
next prev parent reply other threads:[~2020-05-24 23:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-24 10:13 [PR PATCH] " Oreo639
2020-05-24 10:23 ` [PR PATCH] [Updated] " Oreo639
2020-05-24 11:59 ` Oreo639
2020-05-24 23:02 ` Oreo639 [this message]
2020-05-24 23:14 ` Oreo639
2020-05-24 23:16 ` Oreo639
2020-05-24 23:52 ` Oreo639
2020-05-24 23:54 ` Oreo639
2020-05-25 0:02 ` Oreo639
2020-05-26 0:48 ` Oreo639
2020-07-06 23:37 ` [PR PATCH] [Closed]: New package: pacman-5.2.2 sgn
2020-07-07 14:03 ` [PR REVIEW] " eli-schwartz
2020-07-07 14:05 ` eli-schwartz
2020-07-07 15:10 ` sgn
2020-07-07 15:13 ` sgn
2020-07-07 15:25 ` eli-schwartz
2020-07-07 15:37 ` eli-schwartz
2020-07-07 15:39 ` sgn
2020-07-07 15:46 ` eli-schwartz
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=20200524230200.2z1s0r-fnHAH4aAKtTpvKibKFm5SjBpkfUXGMek8sjY@z \
--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).