Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: pacman-5.2.1
@ 2020-05-24 10:13 Oreo639
  2020-05-24 10:23 ` [PR PATCH] [Updated] " Oreo639
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Oreo639 @ 2020-05-24 10:13 UTC (permalink / raw)
  To: ml

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

There is a new 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: 3045 bytes --]

From db61f6adddca9f7b683be46987c7402e3b400e1a 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               | 22 ++++++++++++++++
 2 files changed, 59 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..3a2a769b9ff
--- /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/scripts/pacman-key.sh.in pacman-5.2.1.orig/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..2ad0e553e7a
--- /dev/null
+++ b/srcpkgs/pacman/template
@@ -0,0 +1,22 @@
+# Template file for 'pacman'
+pkgname=pacman
+version=5.2.1
+revision=1
+wrksrc="pacman-${version}"
+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"
+configure_args="--prefix=/usr --sysconfdir=/etc
+ --localstatedir=/var"
+build_style=configure
+hostmakedepends="autoconf automake libtool gettext-devel pkg-config"
+makedepends="libarchive-devel gpgme-devel libcurl-devel"
+depends="gnupg2"
+short_desc="Arch Linux's 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.gz"
+checksum=1930c407265fd039cb3a8e6edc82f69e122aa9239d216d9d57b9d1b9315af312

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] New package: pacman-5.2.1
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
@ 2020-05-24 10:23 ` Oreo639
  2020-05-24 11:59 ` Oreo639
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Oreo639 @ 2020-05-24 10:23 UTC (permalink / raw)
  To: ml

[-- 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: 3049 bytes --]

From 807a83d0eae14d5ffd4a7dd35235f57184667b3e 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               | 22 ++++++++++++++++
 2 files changed, 59 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..3a2a769b9ff
--- /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/scripts/pacman-key.sh.in pacman-5.2.1.orig/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..c4f13411264
--- /dev/null
+++ b/srcpkgs/pacman/template
@@ -0,0 +1,22 @@
+# Template file for 'pacman'
+pkgname=pacman
+version=5.2.1
+revision=1
+wrksrc="pacman-${version}"
+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
+configure_args="--prefix=/usr --sysconfdir=/etc
+ --localstatedir=/var"
+hostmakedepends="autoconf automake libtool gettext-devel pkg-config"
+makedepends="libarchive-devel gpgme-devel libcurl-devel"
+depends="gnupg2"
+short_desc="Arch Linux's 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.gz"
+checksum=1930c407265fd039cb3a8e6edc82f69e122aa9239d216d9d57b9d1b9315af312

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] New package: pacman-5.2.1
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
  2020-05-24 10:23 ` [PR PATCH] [Updated] " Oreo639
@ 2020-05-24 11:59 ` Oreo639
  2020-05-24 23:02 ` Oreo639
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Oreo639 @ 2020-05-24 11:59 UTC (permalink / raw)
  To: ml

[-- 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: 3049 bytes --]

From db175d2341ed99b3d41f494950399a8cafcf24a0 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               | 22 ++++++++++++++++
 2 files changed, 59 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..c4f13411264
--- /dev/null
+++ b/srcpkgs/pacman/template
@@ -0,0 +1,22 @@
+# Template file for 'pacman'
+pkgname=pacman
+version=5.2.1
+revision=1
+wrksrc="pacman-${version}"
+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
+configure_args="--prefix=/usr --sysconfdir=/etc
+ --localstatedir=/var"
+hostmakedepends="autoconf automake libtool gettext-devel pkg-config"
+makedepends="libarchive-devel gpgme-devel libcurl-devel"
+depends="gnupg2"
+short_desc="Arch Linux's 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.gz"
+checksum=1930c407265fd039cb3a8e6edc82f69e122aa9239d216d9d57b9d1b9315af312

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] New package: pacman-5.2.1
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
  2020-05-24 10:23 ` [PR PATCH] [Updated] " Oreo639
  2020-05-24 11:59 ` Oreo639
@ 2020-05-24 23:02 ` Oreo639
  2020-05-24 23:14 ` Oreo639
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Oreo639 @ 2020-05-24 23:02 UTC (permalink / raw)
  To: ml

[-- 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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] New package: pacman-5.2.1
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (2 preceding siblings ...)
  2020-05-24 23:02 ` Oreo639
@ 2020-05-24 23:14 ` Oreo639
  2020-05-24 23:16 ` Oreo639
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Oreo639 @ 2020-05-24 23:14 UTC (permalink / raw)
  To: ml

[-- 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: 2900 bytes --]

From 0b29dcb7f4047e4862b8bcd53a915f2a44f942ca 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               | 18 +++++++++++++
 2 files changed, 55 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..a3d19de5bc5
--- /dev/null
+++ b/srcpkgs/pacman/template
@@ -0,0 +1,18 @@
+# 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"
+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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] New package: pacman-5.2.1
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (3 preceding siblings ...)
  2020-05-24 23:14 ` Oreo639
@ 2020-05-24 23:16 ` Oreo639
  2020-05-24 23:52 ` Oreo639
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Oreo639 @ 2020-05-24 23:16 UTC (permalink / raw)
  To: ml

[-- 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: 2895 bytes --]

From f6d9059f212504a179e8b8035f57329eff76e9cb 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               | 18 +++++++++++++
 2 files changed, 55 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..4b32854755a
--- /dev/null
+++ b/srcpkgs/pacman/template
@@ -0,0 +1,18 @@
+# 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"
+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="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.gz"
+checksum=1930c407265fd039cb3a8e6edc82f69e122aa9239d216d9d57b9d1b9315af312

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] New package: pacman-5.2.1
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (4 preceding siblings ...)
  2020-05-24 23:16 ` Oreo639
@ 2020-05-24 23:52 ` Oreo639
  2020-05-24 23:54 ` Oreo639
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Oreo639 @ 2020-05-24 23:52 UTC (permalink / raw)
  To: ml

[-- 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: 4009 bytes --]

From f6d9059f212504a179e8b8035f57329eff76e9cb 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 1/2] New package: pacman-5.2.1

---
 srcpkgs/pacman/patches/gpg2gpg2.patch | 37 +++++++++++++++++++++++++++
 srcpkgs/pacman/template               | 18 +++++++++++++
 2 files changed, 55 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..4b32854755a
--- /dev/null
+++ b/srcpkgs/pacman/template
@@ -0,0 +1,18 @@
+# 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"
+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="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.gz"
+checksum=1930c407265fd039cb3a8e6edc82f69e122aa9239d216d9d57b9d1b9315af312

From 97b3b30e82f816193c1efe8a18361127606eef66 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Sun, 24 May 2020 16:52:04 -0700
Subject: [PATCH 2/2] New package: arch-install-scripts-23

---
 srcpkgs/arch-install-scripts/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/arch-install-scripts/template

diff --git a/srcpkgs/arch-install-scripts/template b/srcpkgs/arch-install-scripts/template
new file mode 100644
index 00000000000..5b180e32a71
--- /dev/null
+++ b/srcpkgs/arch-install-scripts/template
@@ -0,0 +1,12 @@
+# Template file for 'arch-install-scripts'
+pkgname=arch-install-scripts
+version=23
+revision=1
+build_style=gnu-makefile
+hostmakedepends="m4 asciidoc"
+short_desc="Scripts to aid in installing Arch Linux"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://git.archlinux.org/arch-install-scripts.git/"
+distfiles="https://git.archlinux.org/${pkgname}.git/snapshot/${pkgname}-${version}.tar.gz"
+checksum=4b25e55401097f102e2b0bf019f0d67a1f75e55469ec58399d60e3f940a8d476

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] New package: pacman-5.2.1
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (5 preceding siblings ...)
  2020-05-24 23:52 ` Oreo639
@ 2020-05-24 23:54 ` Oreo639
  2020-05-25  0:02 ` Oreo639
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Oreo639 @ 2020-05-24 23:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 561 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 useful for those who want to install Arch from Void:
https://www.linuxsecrets.com/archlinux-wiki/wiki.archlinux.org/index.php/Installation_guide.html#Installation

It is also useful for this:
https://devkitpro.org/wiki/devkitPro_pacman

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: 4028 bytes --]

From f6d9059f212504a179e8b8035f57329eff76e9cb 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 1/2] New package: pacman-5.2.1

---
 srcpkgs/pacman/patches/gpg2gpg2.patch | 37 +++++++++++++++++++++++++++
 srcpkgs/pacman/template               | 18 +++++++++++++
 2 files changed, 55 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..4b32854755a
--- /dev/null
+++ b/srcpkgs/pacman/template
@@ -0,0 +1,18 @@
+# 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"
+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="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.gz"
+checksum=1930c407265fd039cb3a8e6edc82f69e122aa9239d216d9d57b9d1b9315af312

From 64dac7a9a156ac7e1d9fe46b811977c0c618a040 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Sun, 24 May 2020 16:52:04 -0700
Subject: [PATCH 2/2] New package: arch-install-scripts-23

---
 srcpkgs/arch-install-scripts/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/arch-install-scripts/template

diff --git a/srcpkgs/arch-install-scripts/template b/srcpkgs/arch-install-scripts/template
new file mode 100644
index 00000000000..2bf224982e5
--- /dev/null
+++ b/srcpkgs/arch-install-scripts/template
@@ -0,0 +1,13 @@
+# Template file for 'arch-install-scripts'
+pkgname=arch-install-scripts
+version=23
+revision=1
+build_style=gnu-makefile
+depends="pacman"
+hostmakedepends="m4 asciidoc"
+short_desc="Scripts to aid in installing Arch Linux"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://git.archlinux.org/arch-install-scripts.git/"
+distfiles="https://git.archlinux.org/${pkgname}.git/snapshot/${pkgname}-${version}.tar.gz"
+checksum=4b25e55401097f102e2b0bf019f0d67a1f75e55469ec58399d60e3f940a8d476

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] New package: pacman-5.2.1
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (6 preceding siblings ...)
  2020-05-24 23:54 ` Oreo639
@ 2020-05-25  0:02 ` Oreo639
  2020-05-26  0:48 ` Oreo639
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Oreo639 @ 2020-05-25  0:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 561 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 useful for those who want to install Arch from Void:
https://www.linuxsecrets.com/archlinux-wiki/wiki.archlinux.org/index.php/Installation_guide.html#Installation

It is also useful for this:
https://devkitpro.org/wiki/devkitPro_pacman

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: 4028 bytes --]

From f6d9059f212504a179e8b8035f57329eff76e9cb 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 1/2] New package: pacman-5.2.1

---
 srcpkgs/pacman/patches/gpg2gpg2.patch | 37 +++++++++++++++++++++++++++
 srcpkgs/pacman/template               | 18 +++++++++++++
 2 files changed, 55 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..4b32854755a
--- /dev/null
+++ b/srcpkgs/pacman/template
@@ -0,0 +1,18 @@
+# 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"
+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="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.gz"
+checksum=1930c407265fd039cb3a8e6edc82f69e122aa9239d216d9d57b9d1b9315af312

From b19033ee5309206db0144aa44ed3ab313b453f12 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Sun, 24 May 2020 16:52:04 -0700
Subject: [PATCH 2/2] New package: arch-install-scripts-23

---
 srcpkgs/arch-install-scripts/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/arch-install-scripts/template

diff --git a/srcpkgs/arch-install-scripts/template b/srcpkgs/arch-install-scripts/template
new file mode 100644
index 00000000000..6fda22202cb
--- /dev/null
+++ b/srcpkgs/arch-install-scripts/template
@@ -0,0 +1,13 @@
+# Template file for 'arch-install-scripts'
+pkgname=arch-install-scripts
+version=23
+revision=1
+build_style=gnu-makefile
+hostmakedepends="m4 asciidoc"
+depends="pacman"
+short_desc="Scripts to aid in installing Arch Linux"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://git.archlinux.org/arch-install-scripts.git/"
+distfiles="https://git.archlinux.org/${pkgname}.git/snapshot/${pkgname}-${version}.tar.gz"
+checksum=4b25e55401097f102e2b0bf019f0d67a1f75e55469ec58399d60e3f940a8d476

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] New package: pacman-5.2.1
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (7 preceding siblings ...)
  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
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Oreo639 @ 2020-05-26  0:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 685 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 useful for those who want to install Arch from Void:
https://wiki.archlinux.org/index.php/Install_Arch_Linux_from_existing_Linux#From_a_host_running_another_Linux_distribution
https://www.linuxsecrets.com/archlinux-wiki/wiki.archlinux.org/index.php/Installation_guide.html#Installation

It is also useful for this:
https://devkitpro.org/wiki/devkitPro_pacman

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: 2895 bytes --]

From f6d9059f212504a179e8b8035f57329eff76e9cb 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               | 18 +++++++++++++
 2 files changed, 55 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..4b32854755a
--- /dev/null
+++ b/srcpkgs/pacman/template
@@ -0,0 +1,18 @@
+# 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"
+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="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.gz"
+checksum=1930c407265fd039cb3a8e6edc82f69e122aa9239d216d9d57b9d1b9315af312

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Closed]: New package: pacman-5.2.2
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (8 preceding siblings ...)
  2020-05-26  0:48 ` Oreo639
@ 2020-07-06 23:37 ` sgn
  2020-07-07 14:03 ` [PR REVIEW] " eli-schwartz
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: sgn @ 2020-07-06 23:37 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: pacman-5.2.2
https://github.com/void-linux/void-packages/pull/22253

Description:


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] New package: pacman-5.2.2
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (9 preceding siblings ...)
  2020-07-06 23:37 ` [PR PATCH] [Closed]: New package: pacman-5.2.2 sgn
@ 2020-07-07 14:03 ` eli-schwartz
  2020-07-07 14:05 ` eli-schwartz
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: eli-schwartz @ 2020-07-07 14:03 UTC (permalink / raw)
  To: ml

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

New review comment by eli-schwartz on void-packages repository

https://github.com/void-linux/void-packages/pull/22253#discussion_r450889197

Comment:
You might want the keyrings directory in order to package the archlinux-keyring. Then `pacman-key --populate $keyring_name` will merge the keyring into /etc/pacman.d/gnupg and lsign the master keys.

If you're going to bootstrap archlinux from void, then pacman --root /path/to/chroot -Sy base_sytsem_packages is going to check those keys...

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] New package: pacman-5.2.2
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (10 preceding siblings ...)
  2020-07-07 14:03 ` [PR REVIEW] " eli-schwartz
@ 2020-07-07 14:05 ` eli-schwartz
  2020-07-07 15:10 ` sgn
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: eli-schwartz @ 2020-07-07 14:05 UTC (permalink / raw)
  To: ml

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

New review comment by eli-schwartz on void-packages repository

https://github.com/void-linux/void-packages/pull/22253#discussion_r450890607

Comment:
FWIW: The arch-install-scripts are basically like debootstrap. Their only use is for installing chroots, in contrast to pacman which *could* be misused to scribble on xbps-tracked `/usr`.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] New package: pacman-5.2.2
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (11 preceding siblings ...)
  2020-07-07 14:05 ` eli-schwartz
@ 2020-07-07 15:10 ` sgn
  2020-07-07 15:13 ` sgn
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: sgn @ 2020-07-07 15:10 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/22253#discussion_r450940242

Comment:
@eli-schwartz: I guess my acceptance to this PR is not that broken?
Please correct me if I were wrong. I'm not accepting `arch-install-scripts` is correct action, I guess?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] New package: pacman-5.2.2
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (12 preceding siblings ...)
  2020-07-07 15:10 ` sgn
@ 2020-07-07 15:13 ` sgn
  2020-07-07 15:25 ` eli-schwartz
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: sgn @ 2020-07-07 15:13 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/22253#discussion_r450941931

Comment:
@eli-schwartz I guess my acceptance for this PR was wrong?
I'm pretty much prefer to have you as maintainer for `pacman`.
Since you're obviously known pacman better than other people.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] New package: pacman-5.2.2
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (13 preceding siblings ...)
  2020-07-07 15:13 ` sgn
@ 2020-07-07 15:25 ` eli-schwartz
  2020-07-07 15:37 ` eli-schwartz
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: eli-schwartz @ 2020-07-07 15:25 UTC (permalink / raw)
  To: ml

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

New review comment by eli-schwartz on void-packages repository

https://github.com/void-linux/void-packages/pull/22253#discussion_r450950963

Comment:
The pacman package is useful either way. For example, you can manage *existing* archlinux chroots with `/usr/bin/pacman --sysroot /path/to/chroot`.

However, I would argue that accepting `arch-install-scripts` is the correct action, and would encourage adding it in a followup PR. This would make it possible to create *new* archlinux chroots with `/usr/bin/pacstrap /path/to/chroot`.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] New package: pacman-5.2.2
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (14 preceding siblings ...)
  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
  17 siblings, 0 replies; 19+ messages in thread
From: eli-schwartz @ 2020-07-07 15:37 UTC (permalink / raw)
  To: ml

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

New review comment by eli-schwartz on void-packages repository

https://github.com/void-linux/void-packages/pull/22253#discussion_r450959155

Comment:
To be honest, the keyrings/ directory isn't a direct requirement of pacman-key and it can be created just fine by e.g. an `archlinux-keyring` package or anything else which packages actual data there.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] New package: pacman-5.2.2
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (15 preceding siblings ...)
  2020-07-07 15:37 ` eli-schwartz
@ 2020-07-07 15:39 ` sgn
  2020-07-07 15:46 ` eli-schwartz
  17 siblings, 0 replies; 19+ messages in thread
From: sgn @ 2020-07-07 15:39 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/22253#discussion_r450960191

Comment:
I'm sorry in advance if this sounds arguative.
I think `arch-install-scripts` could be downloaded to some unnamed directories.
From there, we can bootstrap a new ArchLinux chroot.

I've never used `arch-install-scripts` but I've used `debootstrap` (for some definition of use) and I think it's not necessary to be installed system-wide.

Based on that, I think I wasn't wrong to discourage `arch-install-scripts`

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR REVIEW] New package: pacman-5.2.2
  2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
                   ` (16 preceding siblings ...)
  2020-07-07 15:39 ` sgn
@ 2020-07-07 15:46 ` eli-schwartz
  17 siblings, 0 replies; 19+ messages in thread
From: eli-schwartz @ 2020-07-07 15:46 UTC (permalink / raw)
  To: ml

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

New review comment by eli-schwartz on void-packages repository

https://github.com/void-linux/void-packages/pull/22253#discussion_r450964755

Comment:
That's true, pacstrap is a shellscript which is fairly trivial to download and build with m4 and make. You can run it directly from the git checkout. Minimal fuss.

There is still convenience value in having it installable, but that needs to be balanced against "yet-another-package" and "who's-going-to-review/maintain-this". I can hear both sides. :)

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2020-07-07 15:46 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-24 10:13 [PR PATCH] New package: pacman-5.2.1 Oreo639
2020-05-24 10:23 ` [PR PATCH] [Updated] " Oreo639
2020-05-24 11:59 ` Oreo639
2020-05-24 23:02 ` Oreo639
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

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).