Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] WIP: New package: signing party-2.11_1
@ 2021-06-18 16:23 jcgruenhage
  2021-06-18 16:25 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (28 more replies)
  0 siblings, 29 replies; 30+ messages in thread
From: jcgruenhage @ 2021-06-18 16:23 UTC (permalink / raw)
  To: ml

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

There is a new pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

WIP: New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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/31552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 24014 bytes --]

From bae04e8d930182a0a965d489d9aca8f55b220834 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/12] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From d823187790084485cac02da8955fc06ab7f50ac3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/12] New package: perl-Type-Tiny-1.012003

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..9d01dba99f89
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012003
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=d41be1d944899e47e0a56ae1c9ca0b64b8b53eccb554184d47da4b3927cd2168

From f988b918522f6a08862284a7489b17cde285bcf6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/12] New package: perl-Sub-HandlesVia-0.016

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..f94eaa593d80
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.016
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=69ded44ae54724027401667476c8af268a900af4ea6047ff44f283bc5e2cf9d5

From 95cecc675f2bc2c42f9d8bf4fa63e45e2e69659a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/12] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..066da4bb35c9
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 7c2c0c4e647083cbb75752db87df599e4d83d762 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/12] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From 69deb4f7fd819dc1e3b785c50e47cff02a0e2b8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/12] New package: perl-GnuPG-Interface-1.02

---
 srcpkgs/perl-GnuPG-Interface/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..d94dc9043888
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template build file for 'perl-GnuPG-Interface'.
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From f57df71e8cc8136db2c13bb1a3011e72ea771cdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:53 +0200
Subject: [PATCH 07/12] New package: perl-Text-Template-1.59

---
 srcpkgs/perl-Text-Template/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Text-Template/template

diff --git a/srcpkgs/perl-Text-Template/template b/srcpkgs/perl-Text-Template/template
new file mode 100644
index 000000000000..569fdc243276
--- /dev/null
+++ b/srcpkgs/perl-Text-Template/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Text-Template'
+pkgname=perl-Text-Template
+version=1.59
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for text templating"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Text-Template"
+distfiles="${CPAN_SITE}/Text/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1dd2c788c05303ed9a970e1881109642151fa93e02c7a80d4c70608276bab1ee

From a93d60aea2d83dcf91779b875133682d293f91f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 08/12] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..c30c94a002b1
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template build file for 'perl-Net-IDN-Encode'.
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 5a1b0df00b9433f6eb221d728ee4bc1e57babc30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 09/12] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..f6bfeda9974e
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="perl"
+depends="$makedepends"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From bc676a6d634c13116c136848d4d4cd15a6fae5fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 10/12] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 0e9ec17216d8387f160719efb7aa1fb5276b91ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 11/12] New package: qprint-1.1

---
 srcpkgs/qprint/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..11fa6d0ac55f
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,27 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+#archs="i686 x86_64"
+#wrksrc=
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends=""
+makedepends=""
+depends=""
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="unclear"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-1.1.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}

From 98b99c660827469834a9d925d635de4ee7075f24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 12/12] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 233 ++++++++++++++++++
 srcpkgs/signing-party/template                |  22 ++
 2 files changed, 255 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..94c650c113d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,233 @@
+commit 5d6aaae5eab6f9cd13c3a75fdac1cebb44a6e911
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- caff/Makefile
++++ caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- gpg-key2latex/Makefile
++++ gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- gpg-key2ps/Makefile
++++ gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- gpglist/Makefile
++++ gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..7bb14f8
+--- /dev/null
++++ gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..71f676f 100644
+--- gpgsigs/Makefile
++++ gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..5a17fcb 100644
+--- gpgwrap/Makefile
++++ gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+-	cd src && ${MAKE} all DIET="${DIET}"
++	cd src && ${MAKE} gpgwrap DIET="${DIET}"
++
++install:
++	install -Dm755 src/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
+ 
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- keyanalyze/Makefile
++++ keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..4898dfb
+--- /dev/null
++++ keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- keylookup/Makefile
++++ keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- sig2dot/Makefile
++++ sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- springgraph/Makefile
++++ springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..d6bf13cd459d
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,22 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+#archs="i686 x86_64"
+wrksrc="${pkgname}-v${version}"
+#create_wrksrc=yes
+build_style=gnu-makefile
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template qprint"
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="unclear???"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2

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

* Re: [PR PATCH] [Updated] WIP: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
@ 2021-06-18 16:25 ` jcgruenhage
  2021-06-18 16:55 ` jcgruenhage
                   ` (27 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2021-06-18 16:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

WIP: New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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/31552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 23850 bytes --]

From bae04e8d930182a0a965d489d9aca8f55b220834 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/12] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From d823187790084485cac02da8955fc06ab7f50ac3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/12] New package: perl-Type-Tiny-1.012003

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..9d01dba99f89
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012003
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=d41be1d944899e47e0a56ae1c9ca0b64b8b53eccb554184d47da4b3927cd2168

From f988b918522f6a08862284a7489b17cde285bcf6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/12] New package: perl-Sub-HandlesVia-0.016

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..f94eaa593d80
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.016
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=69ded44ae54724027401667476c8af268a900af4ea6047ff44f283bc5e2cf9d5

From 95cecc675f2bc2c42f9d8bf4fa63e45e2e69659a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/12] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..066da4bb35c9
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 7c2c0c4e647083cbb75752db87df599e4d83d762 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/12] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From 69deb4f7fd819dc1e3b785c50e47cff02a0e2b8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/12] New package: perl-GnuPG-Interface-1.02

---
 srcpkgs/perl-GnuPG-Interface/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..d94dc9043888
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template build file for 'perl-GnuPG-Interface'.
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From f57df71e8cc8136db2c13bb1a3011e72ea771cdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:53 +0200
Subject: [PATCH 07/12] New package: perl-Text-Template-1.59

---
 srcpkgs/perl-Text-Template/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Text-Template/template

diff --git a/srcpkgs/perl-Text-Template/template b/srcpkgs/perl-Text-Template/template
new file mode 100644
index 000000000000..569fdc243276
--- /dev/null
+++ b/srcpkgs/perl-Text-Template/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Text-Template'
+pkgname=perl-Text-Template
+version=1.59
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for text templating"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Text-Template"
+distfiles="${CPAN_SITE}/Text/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1dd2c788c05303ed9a970e1881109642151fa93e02c7a80d4c70608276bab1ee

From a93d60aea2d83dcf91779b875133682d293f91f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 08/12] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..c30c94a002b1
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template build file for 'perl-Net-IDN-Encode'.
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 5a1b0df00b9433f6eb221d728ee4bc1e57babc30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 09/12] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..f6bfeda9974e
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="perl"
+depends="$makedepends"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From bc676a6d634c13116c136848d4d4cd15a6fae5fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 10/12] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 0e9ec17216d8387f160719efb7aa1fb5276b91ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 11/12] New package: qprint-1.1

---
 srcpkgs/qprint/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..11fa6d0ac55f
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,27 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+#archs="i686 x86_64"
+#wrksrc=
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends=""
+makedepends=""
+depends=""
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="unclear"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-1.1.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}

From e5225ec097b25acc53c1a8ce4b821a29c34465ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 12/12] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 233 ++++++++++++++++++
 srcpkgs/signing-party/template                |  15 ++
 2 files changed, 248 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..94c650c113d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,233 @@
+commit 5d6aaae5eab6f9cd13c3a75fdac1cebb44a6e911
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- caff/Makefile
++++ caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- gpg-key2latex/Makefile
++++ gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- gpg-key2ps/Makefile
++++ gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- gpglist/Makefile
++++ gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..7bb14f8
+--- /dev/null
++++ gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..71f676f 100644
+--- gpgsigs/Makefile
++++ gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..5a17fcb 100644
+--- gpgwrap/Makefile
++++ gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+-	cd src && ${MAKE} all DIET="${DIET}"
++	cd src && ${MAKE} gpgwrap DIET="${DIET}"
++
++install:
++	install -Dm755 src/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
+ 
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- keyanalyze/Makefile
++++ keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..4898dfb
+--- /dev/null
++++ keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- keylookup/Makefile
++++ keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- sig2dot/Makefile
++++ sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- springgraph/Makefile
++++ springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..da33d9caefdd
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,15 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template qprint"
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="unclear???"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2

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

* Re: [PR PATCH] [Updated] WIP: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
  2021-06-18 16:25 ` [PR PATCH] [Updated] " jcgruenhage
@ 2021-06-18 16:55 ` jcgruenhage
  2021-06-18 16:58 ` jcgruenhage
                   ` (26 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2021-06-18 16:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

WIP: New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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/31552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 23791 bytes --]

From 13a98fbe9e62cf94cdd33ece93f096b6b7c0d396 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/12] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From 7f1c21d8c39af5df2e766bb44115ec777389805b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/12] New package: perl-Type-Tiny-1.012003

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..9d01dba99f89
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012003
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=d41be1d944899e47e0a56ae1c9ca0b64b8b53eccb554184d47da4b3927cd2168

From 0ba62c7a4288379a775fa284c701d9b27dea7f47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/12] New package: perl-Sub-HandlesVia-0.016

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..f94eaa593d80
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.016
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=69ded44ae54724027401667476c8af268a900af4ea6047ff44f283bc5e2cf9d5

From 12b3d6d1e2b6bba97347ac4a3f4e9225adb9f069 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/12] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 7f0a9702dec2bdfc7efd77464806c2ff2a959b12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/12] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From 68b330bd0a19643ef3bc3af5e82e4a477d926aa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/12] New package: perl-GnuPG-Interface-1.02

---
 srcpkgs/perl-GnuPG-Interface/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From f959f9987b577e889f5ea9fbb8bef8d856a7845c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:53 +0200
Subject: [PATCH 07/12] New package: perl-Text-Template-1.59

---
 srcpkgs/perl-Text-Template/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Text-Template/template

diff --git a/srcpkgs/perl-Text-Template/template b/srcpkgs/perl-Text-Template/template
new file mode 100644
index 000000000000..569fdc243276
--- /dev/null
+++ b/srcpkgs/perl-Text-Template/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Text-Template'
+pkgname=perl-Text-Template
+version=1.59
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for text templating"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Text-Template"
+distfiles="${CPAN_SITE}/Text/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1dd2c788c05303ed9a970e1881109642151fa93e02c7a80d4c70608276bab1ee

From 4b8bf8de6f7aa0582e8682ddd0f09967f66f1b76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 08/12] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 7ddb36127f2bd374df55e032a5d78e203cdde478 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 09/12] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..f6bfeda9974e
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="perl"
+depends="$makedepends"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From e659200f3535743d6a6a5c0cb31f761ccb6667be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 10/12] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 8fae9a6d9e99ddacbe6a86f90345da5a5f5c15ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 11/12] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..e9ca622f1492
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="custom:Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From 777e737645cd7128e77aa9a98b059970ffa1421c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 12/12] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 233 ++++++++++++++++++
 srcpkgs/signing-party/template                |  19 ++
 2 files changed, 252 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..94c650c113d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,233 @@
+commit 5d6aaae5eab6f9cd13c3a75fdac1cebb44a6e911
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- caff/Makefile
++++ caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- gpg-key2latex/Makefile
++++ gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- gpg-key2ps/Makefile
++++ gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- gpglist/Makefile
++++ gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..7bb14f8
+--- /dev/null
++++ gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..71f676f 100644
+--- gpgsigs/Makefile
++++ gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..5a17fcb 100644
+--- gpgwrap/Makefile
++++ gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+-	cd src && ${MAKE} all DIET="${DIET}"
++	cd src && ${MAKE} gpgwrap DIET="${DIET}"
++
++install:
++	install -Dm755 src/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
+ 
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- keyanalyze/Makefile
++++ keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..4898dfb
+--- /dev/null
++++ keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- keylookup/Makefile
++++ keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- sig2dot/Makefile
++++ sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- springgraph/Makefile
++++ springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..3e97b1161426
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,19 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template qprint"
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: [PR PATCH] [Updated] WIP: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
  2021-06-18 16:25 ` [PR PATCH] [Updated] " jcgruenhage
  2021-06-18 16:55 ` jcgruenhage
@ 2021-06-18 16:58 ` jcgruenhage
  2021-06-18 17:19 ` jcgruenhage
                   ` (25 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2021-06-18 16:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

WIP: New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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/31552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 23791 bytes --]

From 13a98fbe9e62cf94cdd33ece93f096b6b7c0d396 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/12] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From 7f1c21d8c39af5df2e766bb44115ec777389805b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/12] New package: perl-Type-Tiny-1.012003

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..9d01dba99f89
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012003
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=d41be1d944899e47e0a56ae1c9ca0b64b8b53eccb554184d47da4b3927cd2168

From 0ba62c7a4288379a775fa284c701d9b27dea7f47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/12] New package: perl-Sub-HandlesVia-0.016

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..f94eaa593d80
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.016
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=69ded44ae54724027401667476c8af268a900af4ea6047ff44f283bc5e2cf9d5

From 12b3d6d1e2b6bba97347ac4a3f4e9225adb9f069 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/12] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 7f0a9702dec2bdfc7efd77464806c2ff2a959b12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/12] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From 68b330bd0a19643ef3bc3af5e82e4a477d926aa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/12] New package: perl-GnuPG-Interface-1.02

---
 srcpkgs/perl-GnuPG-Interface/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From f959f9987b577e889f5ea9fbb8bef8d856a7845c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:53 +0200
Subject: [PATCH 07/12] New package: perl-Text-Template-1.59

---
 srcpkgs/perl-Text-Template/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Text-Template/template

diff --git a/srcpkgs/perl-Text-Template/template b/srcpkgs/perl-Text-Template/template
new file mode 100644
index 000000000000..569fdc243276
--- /dev/null
+++ b/srcpkgs/perl-Text-Template/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Text-Template'
+pkgname=perl-Text-Template
+version=1.59
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for text templating"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Text-Template"
+distfiles="${CPAN_SITE}/Text/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1dd2c788c05303ed9a970e1881109642151fa93e02c7a80d4c70608276bab1ee

From 4b8bf8de6f7aa0582e8682ddd0f09967f66f1b76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 08/12] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 7ddb36127f2bd374df55e032a5d78e203cdde478 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 09/12] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..f6bfeda9974e
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="perl"
+depends="$makedepends"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From e659200f3535743d6a6a5c0cb31f761ccb6667be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 10/12] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 8fae9a6d9e99ddacbe6a86f90345da5a5f5c15ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 11/12] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..e9ca622f1492
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="custom:Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From 2608e3186c1c9dfd88282563e7ae4ee746d5828c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 12/12] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 233 ++++++++++++++++++
 srcpkgs/signing-party/template                |  19 ++
 2 files changed, 252 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..94c650c113d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,233 @@
+commit 5d6aaae5eab6f9cd13c3a75fdac1cebb44a6e911
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- caff/Makefile
++++ caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- gpg-key2latex/Makefile
++++ gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- gpg-key2ps/Makefile
++++ gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- gpglist/Makefile
++++ gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..7bb14f8
+--- /dev/null
++++ gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..71f676f 100644
+--- gpgsigs/Makefile
++++ gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..5a17fcb 100644
+--- gpgwrap/Makefile
++++ gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+-	cd src && ${MAKE} all DIET="${DIET}"
++	cd src && ${MAKE} gpgwrap DIET="${DIET}"
++
++install:
++	install -Dm755 src/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
+ 
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- keyanalyze/Makefile
++++ keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..4898dfb
+--- /dev/null
++++ keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- keylookup/Makefile
++++ keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- sig2dot/Makefile
++++ sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- springgraph/Makefile
++++ springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..9c6e9febba00
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,19 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template qprint"
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: [PR PATCH] [Updated] WIP: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (2 preceding siblings ...)
  2021-06-18 16:58 ` jcgruenhage
@ 2021-06-18 17:19 ` jcgruenhage
  2021-06-18 18:05 ` [PR REVIEW] " the-eater
                   ` (24 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2021-06-18 17:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

WIP: New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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/31552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 24004 bytes --]

From 13a98fbe9e62cf94cdd33ece93f096b6b7c0d396 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/12] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From 7f1c21d8c39af5df2e766bb44115ec777389805b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/12] New package: perl-Type-Tiny-1.012003

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..9d01dba99f89
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012003
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=d41be1d944899e47e0a56ae1c9ca0b64b8b53eccb554184d47da4b3927cd2168

From 0ba62c7a4288379a775fa284c701d9b27dea7f47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/12] New package: perl-Sub-HandlesVia-0.016

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..f94eaa593d80
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.016
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=69ded44ae54724027401667476c8af268a900af4ea6047ff44f283bc5e2cf9d5

From 12b3d6d1e2b6bba97347ac4a3f4e9225adb9f069 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/12] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 7f0a9702dec2bdfc7efd77464806c2ff2a959b12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/12] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From 68b330bd0a19643ef3bc3af5e82e4a477d926aa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/12] New package: perl-GnuPG-Interface-1.02

---
 srcpkgs/perl-GnuPG-Interface/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From f959f9987b577e889f5ea9fbb8bef8d856a7845c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:53 +0200
Subject: [PATCH 07/12] New package: perl-Text-Template-1.59

---
 srcpkgs/perl-Text-Template/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Text-Template/template

diff --git a/srcpkgs/perl-Text-Template/template b/srcpkgs/perl-Text-Template/template
new file mode 100644
index 000000000000..569fdc243276
--- /dev/null
+++ b/srcpkgs/perl-Text-Template/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Text-Template'
+pkgname=perl-Text-Template
+version=1.59
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for text templating"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Text-Template"
+distfiles="${CPAN_SITE}/Text/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1dd2c788c05303ed9a970e1881109642151fa93e02c7a80d4c70608276bab1ee

From 4b8bf8de6f7aa0582e8682ddd0f09967f66f1b76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 08/12] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 7ddb36127f2bd374df55e032a5d78e203cdde478 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 09/12] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..f6bfeda9974e
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="perl"
+depends="$makedepends"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From e659200f3535743d6a6a5c0cb31f761ccb6667be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 10/12] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 8fae9a6d9e99ddacbe6a86f90345da5a5f5c15ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 11/12] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..e9ca622f1492
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="custom:Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From e1be0e16c1e7be636f2d821e439d4223b472e74d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 12/12] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 233 ++++++++++++++++++
 srcpkgs/signing-party/template                |  20 ++
 2 files changed, 253 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..94c650c113d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,233 @@
+commit 5d6aaae5eab6f9cd13c3a75fdac1cebb44a6e911
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- caff/Makefile
++++ caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- gpg-key2latex/Makefile
++++ gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- gpg-key2ps/Makefile
++++ gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- gpglist/Makefile
++++ gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..7bb14f8
+--- /dev/null
++++ gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..71f676f 100644
+--- gpgsigs/Makefile
++++ gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..5a17fcb 100644
+--- gpgwrap/Makefile
++++ gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+-	cd src && ${MAKE} all DIET="${DIET}"
++	cd src && ${MAKE} gpgwrap DIET="${DIET}"
++
++install:
++	install -Dm755 src/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
+ 
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- keyanalyze/Makefile
++++ keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..4898dfb
+--- /dev/null
++++ keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- keylookup/Makefile
++++ keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- sig2dot/Makefile
++++ sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- springgraph/Makefile
++++ springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..51905dc312a0
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,20 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template qprint"
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+nocross="Super weird stacked build systems which call configure from make, while not accounting for cross compilation - see: https://github.com/void-linux/void-packages/pull/31552/checks?check_run_id=2860372307"
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: [PR REVIEW] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (3 preceding siblings ...)
  2021-06-18 17:19 ` jcgruenhage
@ 2021-06-18 18:05 ` the-eater
  2021-06-18 18:08 ` the-eater
                   ` (23 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: the-eater @ 2021-06-18 18:05 UTC (permalink / raw)
  To: ml

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

New review comment by the-eater on void-packages repository

https://github.com/void-linux/void-packages/pull/31552#discussion_r654602581

Comment:
link does not work :(

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

* Re: [PR REVIEW] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (4 preceding siblings ...)
  2021-06-18 18:05 ` [PR REVIEW] " the-eater
@ 2021-06-18 18:08 ` the-eater
  2021-06-18 18:16 ` the-eater
                   ` (22 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: the-eater @ 2021-06-18 18:08 UTC (permalink / raw)
  To: ml

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

New review comment by the-eater on void-packages repository

https://github.com/void-linux/void-packages/pull/31552#discussion_r654603758

Comment:
consistency: use `${makedepends}`

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

* Re: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (5 preceding siblings ...)
  2021-06-18 18:08 ` the-eater
@ 2021-06-18 18:16 ` the-eater
  2021-06-18 18:23 ` [PR REVIEW] " jcgruenhage
                   ` (21 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: the-eater @ 2021-06-18 18:16 UTC (permalink / raw)
  To: ml

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

New comment by the-eater on void-packages repository

https://github.com/void-linux/void-packages/pull/31552#issuecomment-864202413

Comment:
call me out if I'm wrong here, but no prefix should be needed for `Public Domain`

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

* Re: [PR REVIEW] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (6 preceding siblings ...)
  2021-06-18 18:16 ` the-eater
@ 2021-06-18 18:23 ` jcgruenhage
  2021-06-18 18:27 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (20 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2021-06-18 18:23 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31552#discussion_r654610979

Comment:
arg, does github remove old builds?? :/


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

* Re: [PR PATCH] [Updated] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (7 preceding siblings ...)
  2021-06-18 18:23 ` [PR REVIEW] " jcgruenhage
@ 2021-06-18 18:27 ` jcgruenhage
  2021-06-18 18:37 ` jcgruenhage
                   ` (19 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2021-06-18 18:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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/31552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 23928 bytes --]

From 13a98fbe9e62cf94cdd33ece93f096b6b7c0d396 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/12] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From 7f1c21d8c39af5df2e766bb44115ec777389805b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/12] New package: perl-Type-Tiny-1.012003

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..9d01dba99f89
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012003
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=d41be1d944899e47e0a56ae1c9ca0b64b8b53eccb554184d47da4b3927cd2168

From 0ba62c7a4288379a775fa284c701d9b27dea7f47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/12] New package: perl-Sub-HandlesVia-0.016

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..f94eaa593d80
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.016
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=69ded44ae54724027401667476c8af268a900af4ea6047ff44f283bc5e2cf9d5

From 12b3d6d1e2b6bba97347ac4a3f4e9225adb9f069 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/12] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 7f0a9702dec2bdfc7efd77464806c2ff2a959b12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/12] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From 68b330bd0a19643ef3bc3af5e82e4a477d926aa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/12] New package: perl-GnuPG-Interface-1.02

---
 srcpkgs/perl-GnuPG-Interface/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From f959f9987b577e889f5ea9fbb8bef8d856a7845c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:53 +0200
Subject: [PATCH 07/12] New package: perl-Text-Template-1.59

---
 srcpkgs/perl-Text-Template/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Text-Template/template

diff --git a/srcpkgs/perl-Text-Template/template b/srcpkgs/perl-Text-Template/template
new file mode 100644
index 000000000000..569fdc243276
--- /dev/null
+++ b/srcpkgs/perl-Text-Template/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Text-Template'
+pkgname=perl-Text-Template
+version=1.59
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for text templating"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Text-Template"
+distfiles="${CPAN_SITE}/Text/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1dd2c788c05303ed9a970e1881109642151fa93e02c7a80d4c70608276bab1ee

From 4b8bf8de6f7aa0582e8682ddd0f09967f66f1b76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 08/12] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 0ca868316e66f2f2f0b1c67b228405524b6ad8a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 09/12] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..71d9e06d8ba9
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From 70a247161144fa4921d90c7e6906e53b25ca7804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 10/12] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 94aaeebc5adec672e57d9b184da6bcc4db3cb6b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 11/12] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..e9ca622f1492
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="custom:Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From 140893a4264a3255d20189490a7f33f48371094e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 12/12] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 233 ++++++++++++++++++
 srcpkgs/signing-party/template                |  20 ++
 2 files changed, 253 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..94c650c113d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,233 @@
+commit 5d6aaae5eab6f9cd13c3a75fdac1cebb44a6e911
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- caff/Makefile
++++ caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- gpg-key2latex/Makefile
++++ gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- gpg-key2ps/Makefile
++++ gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- gpglist/Makefile
++++ gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..7bb14f8
+--- /dev/null
++++ gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..71f676f 100644
+--- gpgsigs/Makefile
++++ gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..5a17fcb 100644
+--- gpgwrap/Makefile
++++ gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+-	cd src && ${MAKE} all DIET="${DIET}"
++	cd src && ${MAKE} gpgwrap DIET="${DIET}"
++
++install:
++	install -Dm755 src/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
+ 
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- keyanalyze/Makefile
++++ keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..4898dfb
+--- /dev/null
++++ keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- keylookup/Makefile
++++ keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- sig2dot/Makefile
++++ sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- springgraph/Makefile
++++ springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..51af664d873e
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,20 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template qprint"
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+nocross="Super weird stacked build systems which call configure from make, while not accounting for cross compilation."
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (8 preceding siblings ...)
  2021-06-18 18:27 ` [PR PATCH] [Updated] " jcgruenhage
@ 2021-06-18 18:37 ` jcgruenhage
  2021-06-18 18:43 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (18 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2021-06-18 18:37 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31552#issuecomment-864211992

Comment:
> call me out if I'm wrong here, but no prefix should be needed for `Public Domain`

We require the `custom:` prefix for everything that's not an SPDX license identifier, and while there are a few public domain alike licenses, there is not really the one, so this needs to be there

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

* Re: [PR PATCH] [Updated] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (9 preceding siblings ...)
  2021-06-18 18:37 ` jcgruenhage
@ 2021-06-18 18:43 ` jcgruenhage
  2021-06-18 18:49 ` the-eater
                   ` (17 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2021-06-18 18:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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/31552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 23921 bytes --]

From 13a98fbe9e62cf94cdd33ece93f096b6b7c0d396 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/12] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From 7f1c21d8c39af5df2e766bb44115ec777389805b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/12] New package: perl-Type-Tiny-1.012003

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..9d01dba99f89
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012003
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=d41be1d944899e47e0a56ae1c9ca0b64b8b53eccb554184d47da4b3927cd2168

From 0ba62c7a4288379a775fa284c701d9b27dea7f47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/12] New package: perl-Sub-HandlesVia-0.016

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..f94eaa593d80
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.016
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=69ded44ae54724027401667476c8af268a900af4ea6047ff44f283bc5e2cf9d5

From 12b3d6d1e2b6bba97347ac4a3f4e9225adb9f069 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/12] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 7f0a9702dec2bdfc7efd77464806c2ff2a959b12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/12] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From 68b330bd0a19643ef3bc3af5e82e4a477d926aa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/12] New package: perl-GnuPG-Interface-1.02

---
 srcpkgs/perl-GnuPG-Interface/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From f959f9987b577e889f5ea9fbb8bef8d856a7845c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:53 +0200
Subject: [PATCH 07/12] New package: perl-Text-Template-1.59

---
 srcpkgs/perl-Text-Template/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Text-Template/template

diff --git a/srcpkgs/perl-Text-Template/template b/srcpkgs/perl-Text-Template/template
new file mode 100644
index 000000000000..569fdc243276
--- /dev/null
+++ b/srcpkgs/perl-Text-Template/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Text-Template'
+pkgname=perl-Text-Template
+version=1.59
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for text templating"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Text-Template"
+distfiles="${CPAN_SITE}/Text/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1dd2c788c05303ed9a970e1881109642151fa93e02c7a80d4c70608276bab1ee

From 4b8bf8de6f7aa0582e8682ddd0f09967f66f1b76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 08/12] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 0ca868316e66f2f2f0b1c67b228405524b6ad8a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 09/12] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..71d9e06d8ba9
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From 70a247161144fa4921d90c7e6906e53b25ca7804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 10/12] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 0503633687e92bb11283e57acfa403a666b40d93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 11/12] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..a09afbc36cba
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From 6cb4a70de8a347d22be7b9e4f7a6fd80545edb78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 12/12] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 233 ++++++++++++++++++
 srcpkgs/signing-party/template                |  20 ++
 2 files changed, 253 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..94c650c113d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,233 @@
+commit 5d6aaae5eab6f9cd13c3a75fdac1cebb44a6e911
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- caff/Makefile
++++ caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- gpg-key2latex/Makefile
++++ gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- gpg-key2ps/Makefile
++++ gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- gpglist/Makefile
++++ gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..7bb14f8
+--- /dev/null
++++ gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..71f676f 100644
+--- gpgsigs/Makefile
++++ gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..5a17fcb 100644
+--- gpgwrap/Makefile
++++ gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+-	cd src && ${MAKE} all DIET="${DIET}"
++	cd src && ${MAKE} gpgwrap DIET="${DIET}"
++
++install:
++	install -Dm755 src/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
+ 
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- keyanalyze/Makefile
++++ keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..4898dfb
+--- /dev/null
++++ keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- keylookup/Makefile
++++ keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- sig2dot/Makefile
++++ sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- springgraph/Makefile
++++ springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..51af664d873e
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,20 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template qprint"
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+nocross="Super weird stacked build systems which call configure from make, while not accounting for cross compilation."
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (10 preceding siblings ...)
  2021-06-18 18:43 ` [PR PATCH] [Updated] " jcgruenhage
@ 2021-06-18 18:49 ` the-eater
  2021-06-18 18:49 ` jcgruenhage
                   ` (16 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: the-eater @ 2021-06-18 18:49 UTC (permalink / raw)
  To: ml

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

New comment by the-eater on void-packages repository

https://github.com/void-linux/void-packages/pull/31552#issuecomment-864217106

Comment:
on IRC I have pointed them to

```
license A string matching the license's SPDX Short identifier, Public Domain, or string prefixed with custom: for other licenses.
```

LGTM

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

* Re: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (11 preceding siblings ...)
  2021-06-18 18:49 ` the-eater
@ 2021-06-18 18:49 ` jcgruenhage
  2021-07-09 13:28 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (15 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2021-06-18 18:49 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31552#issuecomment-864211992

Comment:
> call me out if I'm wrong here, but no prefix should be needed for `Public Domain`

We require the `custom:` prefix for everything that's not an SPDX license identifier, and while there are a few public domain alike licenses, there is not really the one, so this needs to be there.

Edit: argh, yes, I cant read. updated.

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

* Re: [PR PATCH] [Updated] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (12 preceding siblings ...)
  2021-06-18 18:49 ` jcgruenhage
@ 2021-07-09 13:28 ` jcgruenhage
  2021-07-31 10:24 ` Chocimier
                   ` (14 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2021-07-09 13:28 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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/31552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 23925 bytes --]

From 84a9e819c5965e948e3afa954d700a32c6f1aa79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/12] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From 5443f850637992f7d0149d4d24bc29e1b441d4fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/12] New package: perl-Type-Tiny-1.012003

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..9d01dba99f89
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012003
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=d41be1d944899e47e0a56ae1c9ca0b64b8b53eccb554184d47da4b3927cd2168

From 1d31771d8650977d8e81b2e08659acdc429113c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/12] New package: perl-Sub-HandlesVia-0.016

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..f94eaa593d80
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.016
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=69ded44ae54724027401667476c8af268a900af4ea6047ff44f283bc5e2cf9d5

From 4577347c6411903d642d8fa42e5ddff04561e18b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/12] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 305e5e81ca72094e5a0986359dbd4518dd370e4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/12] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From 2ec80631e2f8c43abb66f1f2bcf15fd5e6e6f02a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/12] New package: perl-GnuPG-Interface-1.02

---
 srcpkgs/perl-GnuPG-Interface/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From 79453db44e4d40643fc4506eab38e4eec730a69b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:53 +0200
Subject: [PATCH 07/12] New package: perl-Text-Template-1.59

---
 srcpkgs/perl-Text-Template/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Text-Template/template

diff --git a/srcpkgs/perl-Text-Template/template b/srcpkgs/perl-Text-Template/template
new file mode 100644
index 000000000000..569fdc243276
--- /dev/null
+++ b/srcpkgs/perl-Text-Template/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Text-Template'
+pkgname=perl-Text-Template
+version=1.59
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for text templating"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Text-Template"
+distfiles="${CPAN_SITE}/Text/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1dd2c788c05303ed9a970e1881109642151fa93e02c7a80d4c70608276bab1ee

From 803c768098d4e5e23d17e0689a267dbcd881f4e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 08/12] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 48999c15e02aba9720224bbcc5305635e88dcc58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 09/12] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..71d9e06d8ba9
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From b5f75d7c540419b3aca9803d5def9a6d812cfd42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 10/12] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 226798e9d05230cbcdaccbb34090a3f815d8d273 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 11/12] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..a09afbc36cba
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From 2ec424423298a37168e11164cfb5e89c17c93d80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 12/12] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 232 ++++++++++++++++++
 srcpkgs/signing-party/template                |  20 ++
 2 files changed, 252 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..fa8d9d2e82d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,232 @@
+commit 2ef002d78cbdeae8867a6aac63da451f0bb017c9
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- a/caff/Makefile
++++ b/caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- a/gpg-key2latex/Makefile
++++ b/gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- a/gpg-key2ps/Makefile
++++ b/gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ b/gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ b/gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- a/gpglist/Makefile
++++ b/gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..c308340
+--- /dev/null
++++ b/gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..994983b 100644
+--- a/gpgsigs/Makefile
++++ b/gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..8355e91 100644
+--- a/gpgwrap/Makefile
++++ b/gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+ 	cd src && ${MAKE} all DIET="${DIET}"
+ 
++install:
++	install -Dm755 bin/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
++
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- a/keyanalyze/Makefile
++++ b/keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..0efc12c
+--- /dev/null
++++ b/keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- a/keylookup/Makefile
++++ b/keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- a/sig2dot/Makefile
++++ b/sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- a/springgraph/Makefile
++++ b/springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..51af664d873e
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,20 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template qprint"
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+nocross="Super weird stacked build systems which call configure from make, while not accounting for cross compilation."
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (13 preceding siblings ...)
  2021-07-09 13:28 ` [PR PATCH] [Updated] " jcgruenhage
@ 2021-07-31 10:24 ` Chocimier
  2021-08-11 18:49 ` jcgruenhage
                   ` (13 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Chocimier @ 2021-07-31 10:24 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/31552#issuecomment-890326119

Comment:
Cross compilation works when keyanalyze is build separately:

```
post_patch() {
       vsed -i Makefile -e 's/keyanalyze//'
}
```

``` bash
# Template file for 'keyanalyze'
pkgname=keyanalyze
version=2.11
revision=1
wrksrc="signing-party-v${version}"
build_wrksrc="keyanalyze/pgpring"
build_style=gnu-configure
make_install_args="-C .."
hostmakedepends="autoconf automake"
makedepends="libmd-devel"
short_desc="Analyses the relationships between the keys in public key ring"
maintainer=" <@>"
license="GPL-2.0-only"
homepage="https://salsa.debian.org/signing-party-team/signing-party"
distfiles="https://salsa.debian.org/signing-party-team/signing-party/-/archive/v${version}/signing-party-v${version}.tar.gz"
checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2

pre_configure() {
	autoreconf -fi
}

post_build() {
	cd ..
	vsed -i Makefile -e '/all:/s:pgpring/pgpring::'
	make CFLAGS="$CFLAGS"
}
```

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

* Re: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (14 preceding siblings ...)
  2021-07-31 10:24 ` Chocimier
@ 2021-08-11 18:49 ` jcgruenhage
  2021-09-06 12:24 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (12 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2021-08-11 18:49 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31552#issuecomment-897067174

Comment:
@Chocimier Thanks! I'll include that.

Aside of fixing crosscompiling, I've noticed another problem, in perl-GnuPG-Interface, it fails to get the currently installed gpg version, which means that more elaborate usage of the tools (which actually call that library) fail with an error about that. Anyone with knowledge of perl magic available to maybe take a look? I worked around this locally by overriding the version check, but that surely wouldn't be the way to properly fix this.

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

* Re: [PR PATCH] [Updated] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (15 preceding siblings ...)
  2021-08-11 18:49 ` jcgruenhage
@ 2021-09-06 12:24 ` jcgruenhage
  2021-09-06 12:26 ` jcgruenhage
                   ` (11 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2021-09-06 12:24 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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/31552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 23925 bytes --]

From 84a9e819c5965e948e3afa954d700a32c6f1aa79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/12] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From 5443f850637992f7d0149d4d24bc29e1b441d4fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/12] New package: perl-Type-Tiny-1.012003

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..9d01dba99f89
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012003
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=d41be1d944899e47e0a56ae1c9ca0b64b8b53eccb554184d47da4b3927cd2168

From 1d31771d8650977d8e81b2e08659acdc429113c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/12] New package: perl-Sub-HandlesVia-0.016

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..f94eaa593d80
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.016
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=69ded44ae54724027401667476c8af268a900af4ea6047ff44f283bc5e2cf9d5

From 4577347c6411903d642d8fa42e5ddff04561e18b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/12] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 305e5e81ca72094e5a0986359dbd4518dd370e4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/12] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From 2ec80631e2f8c43abb66f1f2bcf15fd5e6e6f02a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/12] New package: perl-GnuPG-Interface-1.02

---
 srcpkgs/perl-GnuPG-Interface/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From 79453db44e4d40643fc4506eab38e4eec730a69b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:53 +0200
Subject: [PATCH 07/12] New package: perl-Text-Template-1.59

---
 srcpkgs/perl-Text-Template/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Text-Template/template

diff --git a/srcpkgs/perl-Text-Template/template b/srcpkgs/perl-Text-Template/template
new file mode 100644
index 000000000000..569fdc243276
--- /dev/null
+++ b/srcpkgs/perl-Text-Template/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Text-Template'
+pkgname=perl-Text-Template
+version=1.59
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for text templating"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Text-Template"
+distfiles="${CPAN_SITE}/Text/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1dd2c788c05303ed9a970e1881109642151fa93e02c7a80d4c70608276bab1ee

From 803c768098d4e5e23d17e0689a267dbcd881f4e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 08/12] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 48999c15e02aba9720224bbcc5305635e88dcc58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 09/12] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..71d9e06d8ba9
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From b5f75d7c540419b3aca9803d5def9a6d812cfd42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 10/12] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 226798e9d05230cbcdaccbb34090a3f815d8d273 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 11/12] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..a09afbc36cba
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From 2ec424423298a37168e11164cfb5e89c17c93d80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 12/12] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 232 ++++++++++++++++++
 srcpkgs/signing-party/template                |  20 ++
 2 files changed, 252 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..fa8d9d2e82d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,232 @@
+commit 2ef002d78cbdeae8867a6aac63da451f0bb017c9
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- a/caff/Makefile
++++ b/caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- a/gpg-key2latex/Makefile
++++ b/gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- a/gpg-key2ps/Makefile
++++ b/gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ b/gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ b/gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- a/gpglist/Makefile
++++ b/gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..c308340
+--- /dev/null
++++ b/gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..994983b 100644
+--- a/gpgsigs/Makefile
++++ b/gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..8355e91 100644
+--- a/gpgwrap/Makefile
++++ b/gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+ 	cd src && ${MAKE} all DIET="${DIET}"
+ 
++install:
++	install -Dm755 bin/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
++
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- a/keyanalyze/Makefile
++++ b/keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..0efc12c
+--- /dev/null
++++ b/keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- a/keylookup/Makefile
++++ b/keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- a/sig2dot/Makefile
++++ b/sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- a/springgraph/Makefile
++++ b/springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..51af664d873e
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,20 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template qprint"
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+nocross="Super weird stacked build systems which call configure from make, while not accounting for cross compilation."
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: [PR PATCH] [Updated] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (16 preceding siblings ...)
  2021-09-06 12:24 ` [PR PATCH] [Updated] " jcgruenhage
@ 2021-09-06 12:26 ` jcgruenhage
  2022-05-22  2:11 ` github-actions
                   ` (10 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2021-09-06 12:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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/31552.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 25309 bytes --]

From e70f355f36f65d38a5938548018b12cf728976d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/13] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From 322eb77120b7574ccff7a80976e5464cc1bda605 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/13] New package: perl-Type-Tiny-1.012003

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..9d01dba99f89
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012003
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=d41be1d944899e47e0a56ae1c9ca0b64b8b53eccb554184d47da4b3927cd2168

From 518076ec4d2e79facdcfdca227f07ad2bdd1cd80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/13] New package: perl-Sub-HandlesVia-0.016

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..f94eaa593d80
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.016
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=69ded44ae54724027401667476c8af268a900af4ea6047ff44f283bc5e2cf9d5

From eed2d3f87148c1ccd8c80280bc09fd33252bc39b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/13] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 7adfc851585bc9a397cf8920e1c8bf73810629e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/13] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From bba0dcdce523fcfe0aa74f007336fb914aeb4fa0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/13] New package: perl-GnuPG-Interface-1.02

---
 srcpkgs/perl-GnuPG-Interface/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From acb728173ba1f860f665cbd1ec9c8b68a341e2ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:53 +0200
Subject: [PATCH 07/13] New package: perl-Text-Template-1.59

---
 srcpkgs/perl-Text-Template/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Text-Template/template

diff --git a/srcpkgs/perl-Text-Template/template b/srcpkgs/perl-Text-Template/template
new file mode 100644
index 000000000000..569fdc243276
--- /dev/null
+++ b/srcpkgs/perl-Text-Template/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Text-Template'
+pkgname=perl-Text-Template
+version=1.59
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for text templating"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Text-Template"
+distfiles="${CPAN_SITE}/Text/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1dd2c788c05303ed9a970e1881109642151fa93e02c7a80d4c70608276bab1ee

From af0fa5a169ce2c7df5ac30e040617e8350ba044c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 08/13] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From d55dcecf99dfb45ad45db7c558f3990d7a5fe5b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 09/13] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..71d9e06d8ba9
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From 475b00c65e99d1d342390044fa7387ee85b9df53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 10/13] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 91344c318e019f471a612db053f1e3ff95b7d51a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 11/13] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..a09afbc36cba
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From ede9f9a0e3510a267a131a68615be4369f8a7373 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 6 Sep 2021 14:12:55 +0200
Subject: [PATCH 12/13] New package: keyanalyze-2.11

---
 srcpkgs/keyanalyze/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/keyanalyze/template

diff --git a/srcpkgs/keyanalyze/template b/srcpkgs/keyanalyze/template
new file mode 100644
index 000000000000..7f46a2547d35
--- /dev/null
+++ b/srcpkgs/keyanalyze/template
@@ -0,0 +1,26 @@
+# Template file for 'keyanalyze'
+pkgname=keyanalyze
+version=2.11
+revision=1
+wrksrc="signing-party-v${version}"
+build_wrksrc="keyanalyze/pgpring"
+build_style=gnu-configure
+make_install_args="-C .."
+hostmakedepends="autoconf automake"
+makedepends="libmd-devel"
+short_desc="Analyses the relationships between the keys in public key ring"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-only"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/signing-party-team/signing-party/-/archive/v${version}/signing-party-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+
+pre_configure() {
+	autoreconf -fi
+}
+
+post_build() {
+	cd ..
+	vsed -i Makefile -e '/all:/s:pgpring/pgpring::'
+	make CFLAGS="$CFLAGS"
+}

From 561c7a297c2f471a07a3419b087791749995e7a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 13/13] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 232 ++++++++++++++++++
 srcpkgs/signing-party/template                |  23 ++
 2 files changed, 255 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..fa8d9d2e82d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,232 @@
+commit 2ef002d78cbdeae8867a6aac63da451f0bb017c9
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- a/caff/Makefile
++++ b/caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- a/gpg-key2latex/Makefile
++++ b/gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- a/gpg-key2ps/Makefile
++++ b/gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ b/gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ b/gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- a/gpglist/Makefile
++++ b/gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..c308340
+--- /dev/null
++++ b/gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..994983b 100644
+--- a/gpgsigs/Makefile
++++ b/gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..8355e91 100644
+--- a/gpgwrap/Makefile
++++ b/gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+ 	cd src && ${MAKE} all DIET="${DIET}"
+ 
++install:
++	install -Dm755 bin/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
++
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- a/keyanalyze/Makefile
++++ b/keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..0efc12c
+--- /dev/null
++++ b/keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- a/keylookup/Makefile
++++ b/keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- a/sig2dot/Makefile
++++ b/sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- a/springgraph/Makefile
++++ b/springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..b22bbbb8fec8
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,23 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template qprint keyanalyze"
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+
+post_patch() {
+	vsed -i Makefile -e 's/keyanalyze//'
+}
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (17 preceding siblings ...)
  2021-09-06 12:26 ` jcgruenhage
@ 2022-05-22  2:11 ` github-actions
  2022-06-05  2:13 ` [PR PATCH] [Closed]: " github-actions
                   ` (9 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: github-actions @ 2022-05-22  2:11 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/31552#issuecomment-1133802487

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Closed]: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (18 preceding siblings ...)
  2022-05-22  2:11 ` github-actions
@ 2022-06-05  2:13 ` github-actions
  2022-06-14 10:24 ` jcgruenhage
                   ` (8 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: github-actions @ 2022-06-05  2:13 UTC (permalink / raw)
  To: ml

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

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

New package: signing party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

Description:
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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
-->

### TODOs
 - [x] fix cross compilation
 - [ ] fix bug in <del>perl-Interface-GnuPG (version detection is broken, which causes it to refuse operation)</del> caff, which does *something* to break version detection in perl-Interface-GnuPG


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

* Re: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (19 preceding siblings ...)
  2022-06-05  2:13 ` [PR PATCH] [Closed]: " github-actions
@ 2022-06-14 10:24 ` jcgruenhage
  2022-06-16 17:49 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (7 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2022-06-14 10:24 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31552#issuecomment-1155000157

Comment:
So, a few things here:
 - can we reopen this?
 - @Chocimier keyanalyze does build with that template, but the resulting package is broken. I've commented it out for now, because keyanalyze isn't really all that useful for me anyway
 - the problem with perl-GnuPG-Interface still persists, any guesses what's going wrong there?
 ```text
 error determining fileno for STDIN: Illegal seek at (eval 270) line 55.
Use of uninitialized value $line in pattern match (m//) at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 827.
Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
GnuPG Version 1.4 or 2.2+ required at (eval 270) line 55.
```

Here's the code:
```perl
sub _version {
    my ( $self ) = @_;

    my $out = IO::Handle->new;
    my $handles = GnuPG::Handles->new( stdout => $out );
    my $pid = $self->wrap_call( commands => [ '--no-options', '--version' ], handles => $handles );
    my $line = $out->getline;
    $line =~ /(\d+\.\d+\.\d+)/;

    my $version = $1;
    unless ($self->cmp_version($version, '2.2') >= 0 or
        ($self->cmp_version($version, '1.4') >= 0 and $self->cmp_version($version, '1.5') < 0 )) {
        croak "GnuPG Version 1.4 or 2.2+ required";
    }
    waitpid $pid, 0;

    return $version;
}
```

And here's the output of `gpg --no-options --version`:
```text
gpg (GnuPG) 2.2.34
libgcrypt 1.10.1
Copyright (C) 2022 g10 Code GmbH
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/jcgruenhage/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
```

From my understanding of perl, this looks like it should work. I've also not been able to find any patches that other distros that have this packaged apply.

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

* Re: [PR PATCH] [Updated] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (20 preceding siblings ...)
  2022-06-14 10:24 ` jcgruenhage
@ 2022-06-16 17:49 ` jcgruenhage
  2022-07-01 13:13 ` jcgruenhage
                   ` (6 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2022-06-16 17:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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
-->

### TODOs
 - [x] fix cross compilation
 - [ ] fix bug in <del>perl-Interface-GnuPG (version detection is broken, which causes it to refuse operation)</del> caff, which does *something* to break version detection in perl-Interface-GnuPG


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 28618 bytes --]

From 7fdbcc05dadcb4578915e6150efbefe142a01b12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/12] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From f7193ea8ca31c5015267bf620f8e08d9f09f387d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/12] New package: perl-Type-Tiny-1.012005

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..626e7f7b13a9
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012005
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=87ed66e2dbfd3342847e5945692be77883e961c684df803b2ec98c64576c41e9

From 54d9f9a5a78401bde134be1b76d79a36a6177401 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/12] New package: perl-Sub-HandlesVia-0.021

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..0022f8076e4f
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.021
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=cc0f1d7e3ff2697d3dc8df5168806d75b9af27cbf6b6781b972299246c698f07

From 0bff5b40ac1208e82b80348acb7e50134e9430bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/12] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 068980b5d1f98b7be5b5baebe06d4d0b59d36e64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/12] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From a254e3b49d73f795530846c5e2348ddbd2dacbc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/12] New package: perl-GnuPG-Interface-1.02

---
 .../patches/0001-disables-version-check.patch | 53 +++++++++++++++++++
 .../0002-Hardcode-path-to-usr-bin-gpg.patch   | 38 +++++++++++++
 srcpkgs/perl-GnuPG-Interface/template         | 15 ++++++
 3 files changed, 106 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
 create mode 100644 srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch b/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
new file mode 100644
index 000000000000..b60d04997551
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
@@ -0,0 +1,53 @@
+From 63927d2932e1b880dcc146f89662f2c20976907c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 15 Jun 2022 13:05:40 +0200
+Subject: [PATCH 1/2] disables version check
+
+Void ships GnuPG in a new enough version anyway, so this check is not
+necessary. The reason to disable the check is that it's broken rn:
+
+```
+error determining fileno for STDIN: Illegal seek at (eval 270) line 55.
+Use of uninitialized value $line in pattern match (m//) at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 827.
+Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
+Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
+GnuPG Version 1.4 or 2.2+ required at (eval 270) line 55.
+```
+---
+ lib/GnuPG/Interface.pm | 14 +++++++-------
+ 1 file changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
+index 905ae30..9c93567 100644
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -820,18 +820,18 @@ sub search_keys( $% ) {
+ sub _version {
+     my ( $self ) = @_;
+ 
+-    my $out = IO::Handle->new;
+-    my $handles = GnuPG::Handles->new( stdout => $out );
+-    my $pid = $self->wrap_call( commands => [ '--no-options', '--version' ], handles => $handles );
+-    my $line = $out->getline;
+-    $line =~ /(\d+\.\d+\.\d+)/;
++    #my $out = IO::Handle->new;
++    #my $handles = GnuPG::Handles->new( stdout => $out );
++    #my $pid = $self->wrap_call( commands => [ '--no-options', '--version' ], handles => $handles );
++    #my $line = $out->getline;
++    #$line =~ /(\d+\.\d+\.\d+)/;
+ 
+-    my $version = $1;
++    my $version = '2.2.34';
+     unless ($self->cmp_version($version, '2.2') >= 0 or
+         ($self->cmp_version($version, '1.4') >= 0 and $self->cmp_version($version, '1.5') < 0 )) {
+         croak "GnuPG Version 1.4 or 2.2+ required";
+     }
+-    waitpid $pid, 0;
++    #waitpid $pid, 0;
+ 
+     return $version;
+ }
+-- 
+2.36.1
+
diff --git a/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch b/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
new file mode 100644
index 000000000000..b390384be5df
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
@@ -0,0 +1,38 @@
+From 74734624e9905ec0e8fd9ed578e8b86936210f1c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 15 Jun 2022 13:10:01 +0200
+Subject: [PATCH 2/2] Hardcode path to /usr/bin/gpg
+
+---
+ lib/GnuPG/Interface.pm | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
+index 9c93567..1353f9a 100644
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -76,7 +76,7 @@ sub gnupg_call { shift->call(@_); }
+ 
+ sub BUILD {
+     my ( $self, $args ) = @_;
+-    $self->hash_init( call => 'gpg', %$args );
++    $self->hash_init( call => '/usr/bin/gpg', %$args );
+ }
+ 
+ struct(
+@@ -1197,9 +1197,8 @@ keys to list in a key-listing.
+ 
+ =item call
+ 
+-This defines the call made to invoke GnuPG.  Defaults to 'gpg'; this
+-should be changed if 'gpg' is not in your path, or there is a different
+-name for the binary on your system.
++This defines the call made to invoke GnuPG.  Defaults to '/usr/bin/gpg'; this
++should be changed if there is a different name for the binary on your system.
+ 
+ =item passphrase
+ 
+-- 
+2.36.1
+
diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From 59bf48ddd83cf8838fe4e6b92b475ab88c2267d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 07/12] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 35bb4001865280f8b7c4594e38e062863f3e39c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 08/12] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..71d9e06d8ba9
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From 15a6d11faefeb7b3640b97f71cf99224c1b0de5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 09/12] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From acbeb823fbf1f37078fd7ef4a22bd5640bedcedb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 10/12] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..a09afbc36cba
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From 2120600c723d2d3f8a615d1e6684fb947754129d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 6 Sep 2021 14:12:55 +0200
Subject: [PATCH 11/12] New package: keyanalyze-2.11

---
 srcpkgs/keyanalyze/template | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/keyanalyze/template

diff --git a/srcpkgs/keyanalyze/template b/srcpkgs/keyanalyze/template
new file mode 100644
index 000000000000..f004ab1ddf54
--- /dev/null
+++ b/srcpkgs/keyanalyze/template
@@ -0,0 +1,34 @@
+# Template file for 'keyanalyze'
+pkgname=keyanalyze
+version=2.11
+revision=1
+wrksrc="signing-party-v${version}"
+build_wrksrc="keyanalyze/pgpring"
+build_style=gnu-configure
+make_install_args="-C .."
+hostmakedepends="autoconf automake"
+makedepends="libmd-devel"
+short_desc="Analyses the relationships between the keys in public key ring"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-only"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/signing-party-team/signing-party/-/archive/v${version}/signing-party-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+
+pre_configure() {
+	autoreconf -fi
+}
+
+post_build() {
+	cd ..
+	vsed -i Makefile -e '/all:/s:pgpring/pgpring::'
+	make CFLAGS="$CFLAGS"
+}
+
+## Currently borked:
+#
+# ❯ xbps-query --repository=hostdir/binpkgs/signing-party-2.11_1 -f keyanalyze
+# /usr/bin
+#
+##
+broken="Package contains a binary at /usr/bin, nothing else"

From 696b2abcfe1caab9a62530ecf5bfe442779fa7d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 12/12] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 232 ++++++++++++++++++
 srcpkgs/signing-party/template                |  25 ++
 2 files changed, 257 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..fa8d9d2e82d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,232 @@
+commit 2ef002d78cbdeae8867a6aac63da451f0bb017c9
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- a/caff/Makefile
++++ b/caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- a/gpg-key2latex/Makefile
++++ b/gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- a/gpg-key2ps/Makefile
++++ b/gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ b/gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ b/gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- a/gpglist/Makefile
++++ b/gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..c308340
+--- /dev/null
++++ b/gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..994983b 100644
+--- a/gpgsigs/Makefile
++++ b/gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..8355e91 100644
+--- a/gpgwrap/Makefile
++++ b/gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+ 	cd src && ${MAKE} all DIET="${DIET}"
+ 
++install:
++	install -Dm755 bin/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
++
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- a/keyanalyze/Makefile
++++ b/keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..0efc12c
+--- /dev/null
++++ b/keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- a/keylookup/Makefile
++++ b/keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- a/sig2dot/Makefile
++++ b/sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- a/springgraph/Makefile
++++ b/springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..57438cbae03f
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,25 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools
+ perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template
+ qprint" # keyanalyze should be in here, but it's currently broken
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+
+post_patch() {
+	vsed -i Makefile -e 's/keyanalyze//' # keyanalyze is built separately
+}
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: [PR PATCH] [Updated] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (21 preceding siblings ...)
  2022-06-16 17:49 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-07-01 13:13 ` jcgruenhage
  2022-07-01 13:21 ` jcgruenhage
                   ` (5 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2022-07-01 13:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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
-->

### TODOs
 - [x] fix cross compilation
 - [ ] fix bug in <del>perl-Interface-GnuPG (version detection is broken, which causes it to refuse operation)</del> caff, which does *something* to break version detection in perl-Interface-GnuPG


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 27959 bytes --]

From 1a2b6c6e8188f62e92db5c9bcbfb69cfcd8fac4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/11] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From 2ca00a8646cac0e299ccca5ad26189f54342e81e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/11] New package: perl-Type-Tiny-1.012005

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..626e7f7b13a9
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012005
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=87ed66e2dbfd3342847e5945692be77883e961c684df803b2ec98c64576c41e9

From 5b33d306c8f1daf9b4e2fce27f82bf21b1038124 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/11] New package: perl-Sub-HandlesVia-0.021

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..0022f8076e4f
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.021
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=cc0f1d7e3ff2697d3dc8df5168806d75b9af27cbf6b6781b972299246c698f07

From 8fb741faf06f380f6409167760b7d0c3dc807064 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/11] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 5766561cacd2e82b3c8c747709374569f291047a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/11] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From 559e6c30884718a7521c7e6a0467ae891bada162 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/11] New package: perl-GnuPG-Interface-1.02

---
 .../patches/0001-disables-version-check.patch | 91 +++++++++++++++++++
 .../0002-Hardcode-path-to-usr-bin-gpg.patch   | 38 ++++++++
 srcpkgs/perl-GnuPG-Interface/template         | 15 +++
 3 files changed, 144 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
 create mode 100644 srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch b/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
new file mode 100644
index 000000000000..e7423a02cc6c
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
@@ -0,0 +1,91 @@
+From 8c008d0a08642190affc27a3f8f496b664c437a3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 15 Jun 2022 13:05:40 +0200
+Subject: [PATCH 1/2] disables version check
+
+Void ships GnuPG in a new enough version anyway, so this check is not
+necessary. The reason to disable the check is that it's broken rn:
+
+```
+error determining fileno for STDIN: Illegal seek at (eval 270) line 55.
+Use of uninitialized value $line in pattern match (m//) at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 827.
+Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
+Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
+GnuPG Version 1.4 or 2.2+ required at (eval 270) line 55.
+```
+---
+ lib/GnuPG/Interface.pm | 14 +++++++-------
+ t/version_updates.t    | 30 ------------------------------
+ 2 files changed, 7 insertions(+), 37 deletions(-)
+ delete mode 100644 t/version_updates.t
+
+diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
+index 905ae30..9c93567 100644
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -820,18 +820,18 @@ sub search_keys( $% ) {
+ sub _version {
+     my ( $self ) = @_;
+ 
+-    my $out = IO::Handle->new;
+-    my $handles = GnuPG::Handles->new( stdout => $out );
+-    my $pid = $self->wrap_call( commands => [ '--no-options', '--version' ], handles => $handles );
+-    my $line = $out->getline;
+-    $line =~ /(\d+\.\d+\.\d+)/;
++    #my $out = IO::Handle->new;
++    #my $handles = GnuPG::Handles->new( stdout => $out );
++    #my $pid = $self->wrap_call( commands => [ '--no-options', '--version' ], handles => $handles );
++    #my $line = $out->getline;
++    #$line =~ /(\d+\.\d+\.\d+)/;
+ 
+-    my $version = $1;
++    my $version = '2.2.34';
+     unless ($self->cmp_version($version, '2.2') >= 0 or
+         ($self->cmp_version($version, '1.4') >= 0 and $self->cmp_version($version, '1.5') < 0 )) {
+         croak "GnuPG Version 1.4 or 2.2+ required";
+     }
+-    waitpid $pid, 0;
++    #waitpid $pid, 0;
+ 
+     return $version;
+ }
+diff --git a/t/version_updates.t b/t/version_updates.t
+deleted file mode 100644
+index 758ee7b..0000000
+--- a/t/version_updates.t
++++ /dev/null
+@@ -1,30 +0,0 @@
+-#!/usr/bin/perl -w
+-
+-use strict;
+-
+-use lib './t';
+-use MyTest;
+-use MyTestSpecific;
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v1');
+-    return ($gpg->version() eq '1.4.23');
+-};
+-
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v2');
+-    return ($gpg->version() eq '2.2.12');
+-};
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v1');
+-    my $v1 = $gpg->version();
+-    $gpg->call('./test/fake-gpg-v2');
+-    my $v2 = $gpg->version();
+-
+-    return ($v1 eq '1.4.23' && $v2 eq '2.2.12');
+-}
+-- 
+2.36.1
+
diff --git a/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch b/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
new file mode 100644
index 000000000000..38b942efb965
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
@@ -0,0 +1,38 @@
+From d74706095734cd7e7292efe3c7630f6a95ec5350 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 15 Jun 2022 13:10:01 +0200
+Subject: [PATCH 2/2] Hardcode path to /usr/bin/gpg
+
+---
+ lib/GnuPG/Interface.pm | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
+index 9c93567..1353f9a 100644
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -76,7 +76,7 @@ sub gnupg_call { shift->call(@_); }
+ 
+ sub BUILD {
+     my ( $self, $args ) = @_;
+-    $self->hash_init( call => 'gpg', %$args );
++    $self->hash_init( call => '/usr/bin/gpg', %$args );
+ }
+ 
+ struct(
+@@ -1197,9 +1197,8 @@ keys to list in a key-listing.
+ 
+ =item call
+ 
+-This defines the call made to invoke GnuPG.  Defaults to 'gpg'; this
+-should be changed if 'gpg' is not in your path, or there is a different
+-name for the binary on your system.
++This defines the call made to invoke GnuPG.  Defaults to '/usr/bin/gpg'; this
++should be changed if there is a different name for the binary on your system.
+ 
+ =item passphrase
+ 
+-- 
+2.36.1
+
diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From 39eee3254edf93b904b12fa0231e9e21a0ca96d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 07/11] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 6b0a4c4dd14139fcda2f5d28954f542ffc4e63d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 08/11] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..71d9e06d8ba9
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From e6b08728a460d9682a0203cdcbde1c7611ee8b20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 09/11] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 9cd2e103e9bda42cb67c88f82f1733edc64007a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 10/11] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..a09afbc36cba
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From b2a6ee9738d1b8f7d0ca7c67a0b35598f7df516f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 11/11] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 232 ++++++++++++++++++
 srcpkgs/signing-party/template                |  26 ++
 2 files changed, 258 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..fa8d9d2e82d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,232 @@
+commit 2ef002d78cbdeae8867a6aac63da451f0bb017c9
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- a/caff/Makefile
++++ b/caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- a/gpg-key2latex/Makefile
++++ b/gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- a/gpg-key2ps/Makefile
++++ b/gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ b/gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ b/gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- a/gpglist/Makefile
++++ b/gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..c308340
+--- /dev/null
++++ b/gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..994983b 100644
+--- a/gpgsigs/Makefile
++++ b/gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..8355e91 100644
+--- a/gpgwrap/Makefile
++++ b/gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+ 	cd src && ${MAKE} all DIET="${DIET}"
+ 
++install:
++	install -Dm755 bin/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
++
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- a/keyanalyze/Makefile
++++ b/keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..0efc12c
+--- /dev/null
++++ b/keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- a/keylookup/Makefile
++++ b/keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- a/sig2dot/Makefile
++++ b/sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- a/springgraph/Makefile
++++ b/springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..40efa49c6ba9
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,26 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools
+ perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template
+ qprint" # keyanalyze should be in here, but it's currently broken
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+
+post_patch() {
+# keyanalyze has built separately for crosscompiling to work.
+# building keyanalyze is also broken right now, so it's not included so far
+	vsed -i Makefile -e 's/keyanalyze//'}
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: [PR PATCH] [Updated] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (22 preceding siblings ...)
  2022-07-01 13:13 ` jcgruenhage
@ 2022-07-01 13:21 ` jcgruenhage
  2022-07-01 20:30 ` jcgruenhage
                   ` (4 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2022-07-01 13:21 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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
-->

### TODOs
 - [x] fix cross compilation
 - [ ] fix bug in <del>perl-Interface-GnuPG (version detection is broken, which causes it to refuse operation)</del> caff, which does *something* to break version detection in perl-Interface-GnuPG


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 27961 bytes --]

From 1a2b6c6e8188f62e92db5c9bcbfb69cfcd8fac4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/11] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From 2ca00a8646cac0e299ccca5ad26189f54342e81e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/11] New package: perl-Type-Tiny-1.012005

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..626e7f7b13a9
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012005
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=87ed66e2dbfd3342847e5945692be77883e961c684df803b2ec98c64576c41e9

From 5b33d306c8f1daf9b4e2fce27f82bf21b1038124 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/11] New package: perl-Sub-HandlesVia-0.021

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..0022f8076e4f
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.021
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=cc0f1d7e3ff2697d3dc8df5168806d75b9af27cbf6b6781b972299246c698f07

From 8fb741faf06f380f6409167760b7d0c3dc807064 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/11] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 5766561cacd2e82b3c8c747709374569f291047a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/11] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From 559e6c30884718a7521c7e6a0467ae891bada162 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/11] New package: perl-GnuPG-Interface-1.02

---
 .../patches/0001-disables-version-check.patch | 91 +++++++++++++++++++
 .../0002-Hardcode-path-to-usr-bin-gpg.patch   | 38 ++++++++
 srcpkgs/perl-GnuPG-Interface/template         | 15 +++
 3 files changed, 144 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
 create mode 100644 srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch b/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
new file mode 100644
index 000000000000..e7423a02cc6c
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
@@ -0,0 +1,91 @@
+From 8c008d0a08642190affc27a3f8f496b664c437a3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 15 Jun 2022 13:05:40 +0200
+Subject: [PATCH 1/2] disables version check
+
+Void ships GnuPG in a new enough version anyway, so this check is not
+necessary. The reason to disable the check is that it's broken rn:
+
+```
+error determining fileno for STDIN: Illegal seek at (eval 270) line 55.
+Use of uninitialized value $line in pattern match (m//) at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 827.
+Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
+Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
+GnuPG Version 1.4 or 2.2+ required at (eval 270) line 55.
+```
+---
+ lib/GnuPG/Interface.pm | 14 +++++++-------
+ t/version_updates.t    | 30 ------------------------------
+ 2 files changed, 7 insertions(+), 37 deletions(-)
+ delete mode 100644 t/version_updates.t
+
+diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
+index 905ae30..9c93567 100644
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -820,18 +820,18 @@ sub search_keys( $% ) {
+ sub _version {
+     my ( $self ) = @_;
+ 
+-    my $out = IO::Handle->new;
+-    my $handles = GnuPG::Handles->new( stdout => $out );
+-    my $pid = $self->wrap_call( commands => [ '--no-options', '--version' ], handles => $handles );
+-    my $line = $out->getline;
+-    $line =~ /(\d+\.\d+\.\d+)/;
++    #my $out = IO::Handle->new;
++    #my $handles = GnuPG::Handles->new( stdout => $out );
++    #my $pid = $self->wrap_call( commands => [ '--no-options', '--version' ], handles => $handles );
++    #my $line = $out->getline;
++    #$line =~ /(\d+\.\d+\.\d+)/;
+ 
+-    my $version = $1;
++    my $version = '2.2.34';
+     unless ($self->cmp_version($version, '2.2') >= 0 or
+         ($self->cmp_version($version, '1.4') >= 0 and $self->cmp_version($version, '1.5') < 0 )) {
+         croak "GnuPG Version 1.4 or 2.2+ required";
+     }
+-    waitpid $pid, 0;
++    #waitpid $pid, 0;
+ 
+     return $version;
+ }
+diff --git a/t/version_updates.t b/t/version_updates.t
+deleted file mode 100644
+index 758ee7b..0000000
+--- a/t/version_updates.t
++++ /dev/null
+@@ -1,30 +0,0 @@
+-#!/usr/bin/perl -w
+-
+-use strict;
+-
+-use lib './t';
+-use MyTest;
+-use MyTestSpecific;
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v1');
+-    return ($gpg->version() eq '1.4.23');
+-};
+-
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v2');
+-    return ($gpg->version() eq '2.2.12');
+-};
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v1');
+-    my $v1 = $gpg->version();
+-    $gpg->call('./test/fake-gpg-v2');
+-    my $v2 = $gpg->version();
+-
+-    return ($v1 eq '1.4.23' && $v2 eq '2.2.12');
+-}
+-- 
+2.36.1
+
diff --git a/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch b/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
new file mode 100644
index 000000000000..38b942efb965
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
@@ -0,0 +1,38 @@
+From d74706095734cd7e7292efe3c7630f6a95ec5350 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 15 Jun 2022 13:10:01 +0200
+Subject: [PATCH 2/2] Hardcode path to /usr/bin/gpg
+
+---
+ lib/GnuPG/Interface.pm | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
+index 9c93567..1353f9a 100644
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -76,7 +76,7 @@ sub gnupg_call { shift->call(@_); }
+ 
+ sub BUILD {
+     my ( $self, $args ) = @_;
+-    $self->hash_init( call => 'gpg', %$args );
++    $self->hash_init( call => '/usr/bin/gpg', %$args );
+ }
+ 
+ struct(
+@@ -1197,9 +1197,8 @@ keys to list in a key-listing.
+ 
+ =item call
+ 
+-This defines the call made to invoke GnuPG.  Defaults to 'gpg'; this
+-should be changed if 'gpg' is not in your path, or there is a different
+-name for the binary on your system.
++This defines the call made to invoke GnuPG.  Defaults to '/usr/bin/gpg'; this
++should be changed if there is a different name for the binary on your system.
+ 
+ =item passphrase
+ 
+-- 
+2.36.1
+
diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From 39eee3254edf93b904b12fa0231e9e21a0ca96d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 07/11] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 6b0a4c4dd14139fcda2f5d28954f542ffc4e63d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 08/11] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..71d9e06d8ba9
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From e6b08728a460d9682a0203cdcbde1c7611ee8b20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 09/11] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 9cd2e103e9bda42cb67c88f82f1733edc64007a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 10/11] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..a09afbc36cba
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From fc87152c7d619ca600617e4749144003e2410449 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 11/11] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 232 ++++++++++++++++++
 srcpkgs/signing-party/template                |  27 ++
 2 files changed, 259 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..fa8d9d2e82d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,232 @@
+commit 2ef002d78cbdeae8867a6aac63da451f0bb017c9
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- a/caff/Makefile
++++ b/caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- a/gpg-key2latex/Makefile
++++ b/gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- a/gpg-key2ps/Makefile
++++ b/gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ b/gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ b/gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- a/gpglist/Makefile
++++ b/gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..c308340
+--- /dev/null
++++ b/gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..994983b 100644
+--- a/gpgsigs/Makefile
++++ b/gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..8355e91 100644
+--- a/gpgwrap/Makefile
++++ b/gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+ 	cd src && ${MAKE} all DIET="${DIET}"
+ 
++install:
++	install -Dm755 bin/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
++
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- a/keyanalyze/Makefile
++++ b/keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..0efc12c
+--- /dev/null
++++ b/keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- a/keylookup/Makefile
++++ b/keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- a/sig2dot/Makefile
++++ b/sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- a/springgraph/Makefile
++++ b/springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..13fa5838e4a0
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,27 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools
+ perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template
+ qprint" # keyanalyze should be in here, but it's currently broken
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+
+post_patch() {
+# keyanalyze has built separately for crosscompiling to work.
+# building keyanalyze is also broken right now, so it's not included so far
+	vsed -i Makefile -e 's/keyanalyze//'
+}
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: [PR PATCH] [Updated] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (23 preceding siblings ...)
  2022-07-01 13:21 ` jcgruenhage
@ 2022-07-01 20:30 ` jcgruenhage
  2022-07-01 20:38 ` jcgruenhage
                   ` (3 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2022-07-01 20:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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
-->

### TODOs
 - [x] fix cross compilation
 - [x] <del>fix bug in perl-Interface-GnuPG (version detection is broken, which causes it to refuse operation)</del> Bug has not been found, but the check has been disabled. xbps makes sure we have a new enough version of GnuPG installed.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 27769 bytes --]

From 1a2b6c6e8188f62e92db5c9bcbfb69cfcd8fac4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/11] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From 2ca00a8646cac0e299ccca5ad26189f54342e81e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/11] New package: perl-Type-Tiny-1.012005

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..626e7f7b13a9
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012005
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=87ed66e2dbfd3342847e5945692be77883e961c684df803b2ec98c64576c41e9

From 5b33d306c8f1daf9b4e2fce27f82bf21b1038124 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/11] New package: perl-Sub-HandlesVia-0.021

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..0022f8076e4f
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.021
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=cc0f1d7e3ff2697d3dc8df5168806d75b9af27cbf6b6781b972299246c698f07

From 8fb741faf06f380f6409167760b7d0c3dc807064 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/11] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 5766561cacd2e82b3c8c747709374569f291047a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/11] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From f8a2cff69d3786f1990e6ef21030e6cc977ebaee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/11] New package: perl-GnuPG-Interface-1.02

---
 .../patches/0001-disables-version-check.patch | 90 +++++++++++++++++++
 .../0002-Hardcode-path-to-usr-bin-gpg.patch   | 38 ++++++++
 srcpkgs/perl-GnuPG-Interface/template         | 15 ++++
 3 files changed, 143 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
 create mode 100644 srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch b/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
new file mode 100644
index 000000000000..7b20bc88b874
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
@@ -0,0 +1,90 @@
+From b71a0c72fbc95d9b956e577b67431fddfd0d4e67 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 15 Jun 2022 13:05:40 +0200
+Subject: [PATCH 1/2] disables version check
+
+Void ships GnuPG in a new enough version anyway, so this check is not
+necessary. The reason to disable the check is that it's broken rn:
+
+```
+error determining fileno for STDIN: Illegal seek at (eval 270) line 55.
+Use of uninitialized value $line in pattern match (m//) at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 827.
+Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
+Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
+GnuPG Version 1.4 or 2.2+ required at (eval 270) line 55.
+```
+---
+ lib/GnuPG/Interface.pm | 18 ++----------------
+ t/version_updates.t    | 30 ------------------------------
+ 2 files changed, 2 insertions(+), 46 deletions(-)
+ delete mode 100644 t/version_updates.t
+
+diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
+index 905ae30..b623062 100644
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -818,22 +818,8 @@ sub search_keys( $% ) {
+ }
+ 
+ sub _version {
+-    my ( $self ) = @_;
+-
+-    my $out = IO::Handle->new;
+-    my $handles = GnuPG::Handles->new( stdout => $out );
+-    my $pid = $self->wrap_call( commands => [ '--no-options', '--version' ], handles => $handles );
+-    my $line = $out->getline;
+-    $line =~ /(\d+\.\d+\.\d+)/;
+-
+-    my $version = $1;
+-    unless ($self->cmp_version($version, '2.2') >= 0 or
+-        ($self->cmp_version($version, '1.4') >= 0 and $self->cmp_version($version, '1.5') < 0 )) {
+-        croak "GnuPG Version 1.4 or 2.2+ required";
+-    }
+-    waitpid $pid, 0;
+-
+-    return $version;
++    # version detection is broken, hardcoding that we're on 2.2+
++    return '2.2.0';
+ }
+ 
+ sub cmp_version($$) {
+diff --git a/t/version_updates.t b/t/version_updates.t
+deleted file mode 100644
+index 758ee7b..0000000
+--- a/t/version_updates.t
++++ /dev/null
+@@ -1,30 +0,0 @@
+-#!/usr/bin/perl -w
+-
+-use strict;
+-
+-use lib './t';
+-use MyTest;
+-use MyTestSpecific;
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v1');
+-    return ($gpg->version() eq '1.4.23');
+-};
+-
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v2');
+-    return ($gpg->version() eq '2.2.12');
+-};
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v1');
+-    my $v1 = $gpg->version();
+-    $gpg->call('./test/fake-gpg-v2');
+-    my $v2 = $gpg->version();
+-
+-    return ($v1 eq '1.4.23' && $v2 eq '2.2.12');
+-}
+-- 
+2.36.1
+
diff --git a/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch b/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
new file mode 100644
index 000000000000..5838cb62fa48
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
@@ -0,0 +1,38 @@
+From e32ef2f2fc42a7ab84404f4108a033283c1d5da8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 15 Jun 2022 13:10:01 +0200
+Subject: [PATCH 2/2] Hardcode path to /usr/bin/gpg
+
+---
+ lib/GnuPG/Interface.pm | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
+index b623062..860eec8 100644
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -76,7 +76,7 @@ sub gnupg_call { shift->call(@_); }
+ 
+ sub BUILD {
+     my ( $self, $args ) = @_;
+-    $self->hash_init( call => 'gpg', %$args );
++    $self->hash_init( call => '/usr/bin/gpg', %$args );
+ }
+ 
+ struct(
+@@ -1183,9 +1183,8 @@ keys to list in a key-listing.
+ 
+ =item call
+ 
+-This defines the call made to invoke GnuPG.  Defaults to 'gpg'; this
+-should be changed if 'gpg' is not in your path, or there is a different
+-name for the binary on your system.
++This defines the call made to invoke GnuPG.  Defaults to '/usr/bin/gpg'; this
++should be changed if there is a different name for the binary on your system.
+ 
+ =item passphrase
+ 
+-- 
+2.36.1
+
diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From ec289a982a89a5467ab8519e24d4ba9c7d30bb54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 07/11] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 82d0cf7e40bfa5af5e2565ac2a0d5ba3d6b4ef23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 08/11] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..71d9e06d8ba9
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From efbc1dab13ffa6a4c8a299adfcd2284941557e85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 09/11] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 8c6441be1af460d663bb1157a3cc057c58eab4a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 10/11] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..a09afbc36cba
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From b573c61ef6ce6b63dacf6af1f9823116bb684d9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 11/11] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 232 ++++++++++++++++++
 srcpkgs/signing-party/template                |  27 ++
 2 files changed, 259 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..fa8d9d2e82d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,232 @@
+commit 2ef002d78cbdeae8867a6aac63da451f0bb017c9
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- a/caff/Makefile
++++ b/caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- a/gpg-key2latex/Makefile
++++ b/gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- a/gpg-key2ps/Makefile
++++ b/gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ b/gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ b/gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- a/gpglist/Makefile
++++ b/gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..c308340
+--- /dev/null
++++ b/gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..994983b 100644
+--- a/gpgsigs/Makefile
++++ b/gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..8355e91 100644
+--- a/gpgwrap/Makefile
++++ b/gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+ 	cd src && ${MAKE} all DIET="${DIET}"
+ 
++install:
++	install -Dm755 bin/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
++
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- a/keyanalyze/Makefile
++++ b/keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..0efc12c
+--- /dev/null
++++ b/keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- a/keylookup/Makefile
++++ b/keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- a/sig2dot/Makefile
++++ b/sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- a/springgraph/Makefile
++++ b/springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..13fa5838e4a0
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,27 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools
+ perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template
+ qprint" # keyanalyze should be in here, but it's currently broken
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+
+post_patch() {
+# keyanalyze has built separately for crosscompiling to work.
+# building keyanalyze is also broken right now, so it's not included so far
+	vsed -i Makefile -e 's/keyanalyze//'
+}
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: [PR PATCH] [Updated] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (24 preceding siblings ...)
  2022-07-01 20:30 ` jcgruenhage
@ 2022-07-01 20:38 ` jcgruenhage
  2022-07-12 13:07 ` jcgruenhage
                   ` (2 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2022-07-01 20:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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
-->

### TODOs
 - [x] fix cross compilation
 - [x] <del>fix bug in perl-Interface-GnuPG (version detection is broken, which causes it to refuse operation)</del> Bug has not been found, but the check has been disabled. xbps makes sure we have a new enough version of GnuPG installed.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 27770 bytes --]

From 1a2b6c6e8188f62e92db5c9bcbfb69cfcd8fac4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/11] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From 2ca00a8646cac0e299ccca5ad26189f54342e81e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/11] New package: perl-Type-Tiny-1.012005

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..626e7f7b13a9
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.012005
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=87ed66e2dbfd3342847e5945692be77883e961c684df803b2ec98c64576c41e9

From 5b33d306c8f1daf9b4e2fce27f82bf21b1038124 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 03/11] New package: perl-Sub-HandlesVia-0.021

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..0022f8076e4f
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.021
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=cc0f1d7e3ff2697d3dc8df5168806d75b9af27cbf6b6781b972299246c698f07

From 8fb741faf06f380f6409167760b7d0c3dc807064 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 04/11] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 5766561cacd2e82b3c8c747709374569f291047a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:16 +0200
Subject: [PATCH 05/11] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From e735f80211edd5143d8de250f939814426c54d76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 06/11] New package: perl-GnuPG-Interface-1.02

---
 .../patches/0001-disables-version-check.patch | 90 +++++++++++++++++++
 .../0002-Hardcode-path-to-usr-bin-gpg.patch   | 38 ++++++++
 srcpkgs/perl-GnuPG-Interface/template         | 15 ++++
 3 files changed, 143 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
 create mode 100644 srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch b/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
new file mode 100644
index 000000000000..65841b95d2b8
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
@@ -0,0 +1,90 @@
+From fe898b9211fd0a6d273c438c21755e39b9b221b3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 15 Jun 2022 13:05:40 +0200
+Subject: [PATCH 1/2] disables version check
+
+Void ships GnuPG in a new enough version anyway, so this check is not
+necessary. The reason to disable the check is that it's broken rn:
+
+```
+error determining fileno for STDIN: Illegal seek at (eval 270) line 55.
+Use of uninitialized value $line in pattern match (m//) at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 827.
+Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
+Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
+GnuPG Version 1.4 or 2.2+ required at (eval 270) line 55.
+```
+---
+ lib/GnuPG/Interface.pm | 18 ++----------------
+ t/version_updates.t    | 30 ------------------------------
+ 2 files changed, 2 insertions(+), 46 deletions(-)
+ delete mode 100644 t/version_updates.t
+
+diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
+index 905ae30..7fd2321 100644
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -818,22 +818,8 @@ sub search_keys( $% ) {
+ }
+ 
+ sub _version {
+-    my ( $self ) = @_;
+-
+-    my $out = IO::Handle->new;
+-    my $handles = GnuPG::Handles->new( stdout => $out );
+-    my $pid = $self->wrap_call( commands => [ '--no-options', '--version' ], handles => $handles );
+-    my $line = $out->getline;
+-    $line =~ /(\d+\.\d+\.\d+)/;
+-
+-    my $version = $1;
+-    unless ($self->cmp_version($version, '2.2') >= 0 or
+-        ($self->cmp_version($version, '1.4') >= 0 and $self->cmp_version($version, '1.5') < 0 )) {
+-        croak "GnuPG Version 1.4 or 2.2+ required";
+-    }
+-    waitpid $pid, 0;
+-
+-    return $version;
++    # version detection is broken, hardcoding that we're on 2.2+
++    return '2.2.34';
+ }
+ 
+ sub cmp_version($$) {
+diff --git a/t/version_updates.t b/t/version_updates.t
+deleted file mode 100644
+index 758ee7b..0000000
+--- a/t/version_updates.t
++++ /dev/null
+@@ -1,30 +0,0 @@
+-#!/usr/bin/perl -w
+-
+-use strict;
+-
+-use lib './t';
+-use MyTest;
+-use MyTestSpecific;
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v1');
+-    return ($gpg->version() eq '1.4.23');
+-};
+-
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v2');
+-    return ($gpg->version() eq '2.2.12');
+-};
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v1');
+-    my $v1 = $gpg->version();
+-    $gpg->call('./test/fake-gpg-v2');
+-    my $v2 = $gpg->version();
+-
+-    return ($v1 eq '1.4.23' && $v2 eq '2.2.12');
+-}
+-- 
+2.36.1
+
diff --git a/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch b/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
new file mode 100644
index 000000000000..6052103f5468
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
@@ -0,0 +1,38 @@
+From 4185798921211925d38e9ea2cd0f28f3eb32ddca Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 15 Jun 2022 13:10:01 +0200
+Subject: [PATCH 2/2] Hardcode path to /usr/bin/gpg
+
+---
+ lib/GnuPG/Interface.pm | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
+index 7fd2321..ed2f49e 100644
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -76,7 +76,7 @@ sub gnupg_call { shift->call(@_); }
+ 
+ sub BUILD {
+     my ( $self, $args ) = @_;
+-    $self->hash_init( call => 'gpg', %$args );
++    $self->hash_init( call => '/usr/bin/gpg', %$args );
+ }
+ 
+ struct(
+@@ -1183,9 +1183,8 @@ keys to list in a key-listing.
+ 
+ =item call
+ 
+-This defines the call made to invoke GnuPG.  Defaults to 'gpg'; this
+-should be changed if 'gpg' is not in your path, or there is a different
+-name for the binary on your system.
++This defines the call made to invoke GnuPG.  Defaults to '/usr/bin/gpg'; this
++should be changed if there is a different name for the binary on your system.
+ 
+ =item passphrase
+ 
+-- 
+2.36.1
+
diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From c30bacd647cdd4db2afd49a094167f09a71c5599 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 07/11] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From f593b8e022e8a75fc4a9d3c8a2cac2ba7dae100a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 08/11] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..71d9e06d8ba9
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From bb15ad015548023cf09cc1ff9d42997a57e05f8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 09/11] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 7c3073d146ff26149b282e5418ad1b13afae3901 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 10/11] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..a09afbc36cba
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From bd2005ba89eafd2fff5c1a36af803ad343ce71f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 11/11] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 232 ++++++++++++++++++
 srcpkgs/signing-party/template                |  27 ++
 2 files changed, 259 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..fa8d9d2e82d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,232 @@
+commit 2ef002d78cbdeae8867a6aac63da451f0bb017c9
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- a/caff/Makefile
++++ b/caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- a/gpg-key2latex/Makefile
++++ b/gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- a/gpg-key2ps/Makefile
++++ b/gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ b/gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ b/gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- a/gpglist/Makefile
++++ b/gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..c308340
+--- /dev/null
++++ b/gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..994983b 100644
+--- a/gpgsigs/Makefile
++++ b/gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..8355e91 100644
+--- a/gpgwrap/Makefile
++++ b/gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+ 	cd src && ${MAKE} all DIET="${DIET}"
+ 
++install:
++	install -Dm755 bin/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
++
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- a/keyanalyze/Makefile
++++ b/keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..0efc12c
+--- /dev/null
++++ b/keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- a/keylookup/Makefile
++++ b/keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- a/sig2dot/Makefile
++++ b/sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- a/springgraph/Makefile
++++ b/springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..13fa5838e4a0
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,27 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools
+ perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template
+ qprint" # keyanalyze should be in here, but it's currently broken
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+
+post_patch() {
+# keyanalyze has built separately for crosscompiling to work.
+# building keyanalyze is also broken right now, so it's not included so far
+	vsed -i Makefile -e 's/keyanalyze//'
+}
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: [PR PATCH] [Updated] New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (25 preceding siblings ...)
  2022-07-01 20:38 ` jcgruenhage
@ 2022-07-12 13:07 ` jcgruenhage
  2022-07-12 13:40 ` jcgruenhage
  2022-07-12 14:35 ` [PR PATCH] [Merged]: " leahneukirchen
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2022-07-12 13:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages signing-party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

New package: signing party-2.11_1
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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
-->

### TODOs
 - [x] fix cross compilation
 - [x] <del>fix bug in perl-Interface-GnuPG (version detection is broken, which causes it to refuse operation)</del> Bug has not been found, but the check has been disabled. xbps makes sure we have a new enough version of GnuPG installed.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-signing-party-2.11_1-31552.patch --]
[-- Type: text/x-diff, Size: 29040 bytes --]

From eddde2cf28c7d85274e351778dc417e13eaefefe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:27:56 +0200
Subject: [PATCH 01/12] New package: perl-Data-Perl-0.002011

---
 srcpkgs/perl-Data-Perl/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Data-Perl/template

diff --git a/srcpkgs/perl-Data-Perl/template b/srcpkgs/perl-Data-Perl/template
new file mode 100644
index 000000000000..1b213d2e29b5
--- /dev/null
+++ b/srcpkgs/perl-Data-Perl/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Data-Perl'
+pkgname=perl-Data-Perl
+version=0.002011
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl perl-strictures perl-List-MoreUtils perl-Class-Method-Modifiers perl-Role-Tiny perl-Module-Runtime"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Deep perl-Test-Output perl-Test-Fatal"
+short_desc="Base classes wrapping fundamental Perl data types"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Data-Perl"
+distfiles="${CPAN_SITE}/Data/${pkgname/perl-/}-${version}.tar.gz"
+checksum=8d34dbe314cfa2d99bd9aae546bbde94c38bb05b74b07c89bde1673a6f6c55f4

From b35864250e26c529e79343d874a46f240ccd045d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:16 +0200
Subject: [PATCH 02/12] New package: perl-Type-Tiny-1.014000

---
 srcpkgs/perl-Type-Tiny/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Type-Tiny/template

diff --git a/srcpkgs/perl-Type-Tiny/template b/srcpkgs/perl-Type-Tiny/template
new file mode 100644
index 000000000000..8e63f9491a10
--- /dev/null
+++ b/srcpkgs/perl-Type-Tiny/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Type-Tiny'
+pkgname=perl-Type-Tiny
+version=1.014000
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Exporter-Tiny"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Perl module for type constraints"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Type-Tiny"
+distfiles="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=ae3b784c7b86386f81f0a5a475c02e7b1f1b3e357ceb07d9f5c62761378b3086

From 32cdeee314e10765e17c92176dedf38fda9adc86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 12 Jul 2022 15:02:29 +0200
Subject: [PATCH 03/12] New package: perl-Role-Hooks-0.008

---
 srcpkgs/perl-Role-Hooks/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Role-Hooks/template

diff --git a/srcpkgs/perl-Role-Hooks/template b/srcpkgs/perl-Role-Hooks/template
new file mode 100644
index 000000000000..753eff1fa78e
--- /dev/null
+++ b/srcpkgs/perl-Role-Hooks/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Role-Hooks'
+pkgname=perl-Role-Hooks
+version=0.008
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires"
+short_desc="Perl module for role callbacks"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://metacpan.org/pod/Role::Hooks"
+distfiles="${CPAN_SITE}/Devel/TOBYINK/${pkgname/perl-/}-${version}.tar.gz"
+checksum=28d66ea0a8dc306b76da83ff0879493d808f73185bcf9c4ed372f3946fb543ec

From 54f6a004debb42e9d8b1cf86be7b4bee2b85c126 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:28:50 +0200
Subject: [PATCH 04/12] New package: perl-Sub-HandlesVia-0.031

---
 srcpkgs/perl-Sub-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Sub-HandlesVia/template

diff --git a/srcpkgs/perl-Sub-HandlesVia/template b/srcpkgs/perl-Sub-HandlesVia/template
new file mode 100644
index 000000000000..616d5bba4c97
--- /dev/null
+++ b/srcpkgs/perl-Sub-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Sub-HandlesVia'
+pkgname=perl-Sub-HandlesVia
+version=0.031
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl perl-Type-Tiny perl-Exporter-Tiny perl-Class-Tiny perl-Class-Method-Modifiers"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-Requires perl-Test-Fatal perl-Moo perl-Role-Hooks"
+short_desc="Sub::HandlesVia - alternative handles_via implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Sub-HandlesVia"
+distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-${version}.tar.gz"
+checksum=53824b58ba392e0ba04d39f119f6f03132f9fb22aa7c0460f29378e287d0f689

From 855675506b5b4773efbb06b1f7bce1416bdeb4f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:06 +0200
Subject: [PATCH 05/12] New package: perl-MooX-late-0.100

---
 srcpkgs/perl-MooX-late/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-late/template

diff --git a/srcpkgs/perl-MooX-late/template b/srcpkgs/perl-MooX-late/template
new file mode 100644
index 000000000000..c4729bee6085
--- /dev/null
+++ b/srcpkgs/perl-MooX-late/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-late'
+pkgname=perl-MooX-late
+version=0.100
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Moo perl-Sub-HandlesVia perl-Type-Tiny"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Requires"
+short_desc="Easily translate Moose code to Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-late"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=2ae5b1e3da5abc0e4006278ecbcfa8fa7c224ea5529a6a688acbb229c09e6a5f

From 91e3fed3624863ab52870b44bbd16549c86d30bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 12 Jul 2022 15:05:58 +0200
Subject: [PATCH 06/12] New package: perl-MooX-HandlesVia-0.001009

---
 srcpkgs/perl-MooX-HandlesVia/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-HandlesVia/template

diff --git a/srcpkgs/perl-MooX-HandlesVia/template b/srcpkgs/perl-MooX-HandlesVia/template
new file mode 100644
index 000000000000..a622d1f841be
--- /dev/null
+++ b/srcpkgs/perl-MooX-HandlesVia/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-HandlesVia'
+pkgname=perl-MooX-HandlesVia
+version=0.001009
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Data-Perl perl-Moo perl-Class-Method-Modifiers perl-Role-Tiny perl-MooX-Types-MooseLike"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="NativeTrait-like behavior for Moo"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-HandlesVia"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=716353e38894ecb7e8e4c17bc95483db5f59002b03541b54a72c27f2a8f36c12

From b4e699939a4305969e5c026ade241446867ed3cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:29:45 +0200
Subject: [PATCH 07/12] New package: perl-GnuPG-Interface-1.02

---
 .../patches/0001-disables-version-check.patch | 90 +++++++++++++++++++
 .../0002-Hardcode-path-to-usr-bin-gpg.patch   | 38 ++++++++
 srcpkgs/perl-GnuPG-Interface/template         | 15 ++++
 3 files changed, 143 insertions(+)
 create mode 100644 srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
 create mode 100644 srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
 create mode 100644 srcpkgs/perl-GnuPG-Interface/template

diff --git a/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch b/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
new file mode 100644
index 000000000000..2807cf114e69
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/patches/0001-disables-version-check.patch
@@ -0,0 +1,90 @@
+From fe898b9211fd0a6d273c438c21755e39b9b221b3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 15 Jun 2022 13:05:40 +0200
+Subject: [PATCH 1/2] disables version check
+
+Void ships GnuPG in a new enough version anyway, so this check is not
+necessary. The reason to disable the check is that it's broken rn:
+
+```
+error determining fileno for STDIN: Illegal seek at (eval 270) line 55.
+Use of uninitialized value $line in pattern match (m//) at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 827.
+Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
+Use of uninitialized value $a in split at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 841.
+GnuPG Version 1.4 or 2.2+ required at (eval 270) line 55.
+```
+---
+ lib/GnuPG/Interface.pm | 18 ++----------------
+ t/version_updates.t    | 30 ------------------------------
+ 2 files changed, 2 insertions(+), 46 deletions(-)
+ delete mode 100644 t/version_updates.t
+
+diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
+index 905ae30..7fd2321 100644
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -818,22 +818,8 @@ sub search_keys( $% ) {
+ }
+ 
+ sub _version {
+-    my ( $self ) = @_;
+-
+-    my $out = IO::Handle->new;
+-    my $handles = GnuPG::Handles->new( stdout => $out );
+-    my $pid = $self->wrap_call( commands => [ '--no-options', '--version' ], handles => $handles );
+-    my $line = $out->getline;
+-    $line =~ /(\d+\.\d+\.\d+)/;
+-
+-    my $version = $1;
+-    unless ($self->cmp_version($version, '2.2') >= 0 or
+-        ($self->cmp_version($version, '1.4') >= 0 and $self->cmp_version($version, '1.5') < 0 )) {
+-        croak "GnuPG Version 1.4 or 2.2+ required";
+-    }
+-    waitpid $pid, 0;
+-
+-    return $version;
++    # version detection is broken, hardcoding that we're on 2.2+
++    return '2.3.7';
+ }
+ 
+ sub cmp_version($$) {
+diff --git a/t/version_updates.t b/t/version_updates.t
+deleted file mode 100644
+index 758ee7b..0000000
+--- a/t/version_updates.t
++++ /dev/null
+@@ -1,30 +0,0 @@
+-#!/usr/bin/perl -w
+-
+-use strict;
+-
+-use lib './t';
+-use MyTest;
+-use MyTestSpecific;
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v1');
+-    return ($gpg->version() eq '1.4.23');
+-};
+-
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v2');
+-    return ($gpg->version() eq '2.2.12');
+-};
+-
+-TEST
+-{
+-    my $gpg = GnuPG::Interface->new(call => './test/fake-gpg-v1');
+-    my $v1 = $gpg->version();
+-    $gpg->call('./test/fake-gpg-v2');
+-    my $v2 = $gpg->version();
+-
+-    return ($v1 eq '1.4.23' && $v2 eq '2.2.12');
+-}
+-- 
+2.36.1
+
diff --git a/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch b/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
new file mode 100644
index 000000000000..6052103f5468
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/patches/0002-Hardcode-path-to-usr-bin-gpg.patch
@@ -0,0 +1,38 @@
+From 4185798921211925d38e9ea2cd0f28f3eb32ddca Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 15 Jun 2022 13:10:01 +0200
+Subject: [PATCH 2/2] Hardcode path to /usr/bin/gpg
+
+---
+ lib/GnuPG/Interface.pm | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
+index 7fd2321..ed2f49e 100644
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -76,7 +76,7 @@ sub gnupg_call { shift->call(@_); }
+ 
+ sub BUILD {
+     my ( $self, $args ) = @_;
+-    $self->hash_init( call => 'gpg', %$args );
++    $self->hash_init( call => '/usr/bin/gpg', %$args );
+ }
+ 
+ struct(
+@@ -1183,9 +1183,8 @@ keys to list in a key-listing.
+ 
+ =item call
+ 
+-This defines the call made to invoke GnuPG.  Defaults to 'gpg'; this
+-should be changed if 'gpg' is not in your path, or there is a different
+-name for the binary on your system.
++This defines the call made to invoke GnuPG.  Defaults to '/usr/bin/gpg'; this
++should be changed if there is a different name for the binary on your system.
+ 
+ =item passphrase
+ 
+-- 
+2.36.1
+
diff --git a/srcpkgs/perl-GnuPG-Interface/template b/srcpkgs/perl-GnuPG-Interface/template
new file mode 100644
index 000000000000..20756374d957
--- /dev/null
+++ b/srcpkgs/perl-GnuPG-Interface/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-GnuPG-Interface'
+pkgname=perl-GnuPG-Interface
+version=1.02
+revision=1
+wrksrc="${pkgname/perl-/}-$version"
+build_style=perl-module
+hostmakedepends="perl which gnupg"
+makedepends="${hostmakedepends} perl-Moo perl-MooX-HandlesVia perl-MooX-late"
+depends="${makedepends}"
+short_desc="Perl interface GnuPG"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/GnuPG-Interface"
+distfiles="${CPAN_SITE}/GnuPG/${pkgname/perl-/}-${version}.tar.gz"
+checksum=c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6

From c797c079056e40d0e1f1cc3a6da7a168d763b254 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:02 +0200
Subject: [PATCH 08/12] New package: perl-Net-IDN-Encode-2.500

---
 srcpkgs/perl-Net-IDN-Encode/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-Net-IDN-Encode/template

diff --git a/srcpkgs/perl-Net-IDN-Encode/template b/srcpkgs/perl-Net-IDN-Encode/template
new file mode 100644
index 000000000000..a4022ba73d26
--- /dev/null
+++ b/srcpkgs/perl-Net-IDN-Encode/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-Net-IDN-Encode'
+pkgname=perl-Net-IDN-Encode
+version=2.500
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+checkdepends="perl-Test-NoWarnings"
+short_desc="Internationalizing Domain Names in Applications (IDNA) for Perl"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Net-IDN-Encode"
+distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-${version}.tar.gz"
+checksum=55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa

From 59fd3c33b7963dae93ed042142b8254cb5d52de8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:19 +0200
Subject: [PATCH 09/12] New package: perl-Class-MethodMaker-2.24

---
 srcpkgs/perl-Class-MethodMaker/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/perl-Class-MethodMaker/template

diff --git a/srcpkgs/perl-Class-MethodMaker/template b/srcpkgs/perl-Class-MethodMaker/template
new file mode 100644
index 000000000000..71d9e06d8ba9
--- /dev/null
+++ b/srcpkgs/perl-Class-MethodMaker/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Class-MethodMaker'
+pkgname=perl-Class-MethodMaker
+version=2.24
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Easy building of Perl Classes"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/Class-MethodMaker"
+distfiles="${CPAN_SITE}/Class/${pkgname/perl-/}-${version}.tar.gz"
+checksum=5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328

From 7ec53398b8bac2eb035ec67d934dbb8e19d6eccb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:32 +0200
Subject: [PATCH 10/12] New package: perl-MooX-Types-MooseLike-0.29

---
 srcpkgs/perl-MooX-Types-MooseLike/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/perl-MooX-Types-MooseLike/template

diff --git a/srcpkgs/perl-MooX-Types-MooseLike/template b/srcpkgs/perl-MooX-Types-MooseLike/template
new file mode 100644
index 000000000000..dc6441ed9142
--- /dev/null
+++ b/srcpkgs/perl-MooX-Types-MooseLike/template
@@ -0,0 +1,16 @@
+# Template file for 'perl-MooX-Types-MooseLike'
+pkgname=perl-MooX-Types-MooseLike
+version=0.29
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends} perl-Module-Runtime perl-Moo"
+depends="${makedepends}"
+checkdepends="perl-Test-Fatal perl-Test-Exception"
+short_desc="Moosish types and a type builder"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://metacpan.org/release/MooX-Types-MooseLike"
+distfiles="${CPAN_SITE}/MooX/${pkgname/perl-/}-${version}.tar.gz"
+checksum=1d3780aa9bea430afbe65aa8c76e718f1045ce788aadda4116f59d3b7a7ad2b4

From 03f54fd08bb12dcdae2d08b681e3b8276188b965 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:43 +0200
Subject: [PATCH 11/12] New package: qprint-1.1

---
 srcpkgs/qprint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/qprint/template

diff --git a/srcpkgs/qprint/template b/srcpkgs/qprint/template
new file mode 100644
index 000000000000..a09afbc36cba
--- /dev/null
+++ b/srcpkgs/qprint/template
@@ -0,0 +1,20 @@
+# Template file for 'qprint'
+pkgname=qprint
+version=1.1
+revision=1
+build_style=gnu-configure
+short_desc="Encode and decode Quoted-Printable files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Public Domain"
+homepage="https://www.fourmilab.ch/webtools/qprint/"
+distfiles="https://www.fourmilab.ch/webtools/qprint/qprint-${version}.tar.gz"
+checksum=ffa9ca1d51c871fb3b56a4bf0165418348cf080f01ff7e59cd04511b9665019c
+
+pre_install() {
+	mkdir -p "${DESTDIR}/usr/bin"
+	mkdir -p "${DESTDIR}/usr/share/man/man1"
+}
+
+post_install() {
+	vlicense COPYING
+}

From c8df88b6ca32705de145a3874223a6f114ff6813 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 17 Jun 2021 11:30:47 +0200
Subject: [PATCH 12/12] New package: signing-party-2.11

---
 srcpkgs/signing-party/patches/makefiles.patch | 232 ++++++++++++++++++
 srcpkgs/signing-party/template                |  27 ++
 2 files changed, 259 insertions(+)
 create mode 100644 srcpkgs/signing-party/patches/makefiles.patch
 create mode 100644 srcpkgs/signing-party/template

diff --git a/srcpkgs/signing-party/patches/makefiles.patch b/srcpkgs/signing-party/patches/makefiles.patch
new file mode 100644
index 000000000000..fa8d9d2e82d2
--- /dev/null
+++ b/srcpkgs/signing-party/patches/makefiles.patch
@@ -0,0 +1,232 @@
+commit 2ef002d78cbdeae8867a6aac63da451f0bb017c9
+Author: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+Date:   Fri Jun 18 17:57:01 2021 +0200
+
+    make `make install` install stuff actually
+    
+    So far, installing was done outside of the Makefiles, which means that
+    the installing has to be duplicated per distro. This can be seen in the
+    files in the `debian` folder and in
+    https://github.com/archlinux/svntogit-community/blob/276cd50659b33f4b0ee2cc2b3d22b07665ff7a07/trunk/PKGBUILD#L48-L84.
+    To avoid things like these while I was packaging this for Void Linux, I
+    added or changed Makefiles for the individual projects. This way, I only
+    need this patch in Void instead of workarounds like Arch has.
+
+diff --git a/caff/Makefile b/caff/Makefile
+index 714aa8f..e9bf872 100644
+--- a/caff/Makefile
++++ b/caff/Makefile
+@@ -6,6 +6,9 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 {caff,pgp-clean,pgp-fixkey} -t $(DESTDIR)/usr/bin/
++	install -Dm644 {caff,pgp-clean,pgp-fixkey}.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {caffrc.sample,README*} -t $(DESTDIR)/usr/share/doc/signing-party/caff/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2latex/Makefile b/gpg-key2latex/Makefile
+index c2d35d8..33ac35b 100644
+--- a/gpg-key2latex/Makefile
++++ b/gpg-key2latex/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2latex -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2latex.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpg-key2ps/Makefile b/gpg-key2ps/Makefile
+index 5f483c5..9e66cce 100644
+--- a/gpg-key2ps/Makefile
++++ b/gpg-key2ps/Makefile
+@@ -4,6 +4,9 @@ gpg-key2ps.1: gpg-key2ps
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpg-key2ps -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-key2ps.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 README -t $(DESTDIR)/usr/share/doc/signing-party/gpg-key2ps/
+ 
+ clean:
+ 	rm -f gpg-key2ps.1
+diff --git a/gpg-mailkeys/Makefile b/gpg-mailkeys/Makefile
+new file mode 100644
+index 0000000..bf94df8
+--- /dev/null
++++ b/gpg-mailkeys/Makefile
+@@ -0,0 +1,9 @@
++
++all:
++
++install:
++	install -Dm755 gpg-mailkeys -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg-mailkeys.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {example.gpg-mailkeysrc,README} -t $(DESTDIR)/usr/share/doc/signing-party/gpg-mailkeys/
++
++clean:
+diff --git a/gpgdir/Makefile b/gpgdir/Makefile
+new file mode 100644
+index 0000000..22f4fc0
+--- /dev/null
++++ b/gpgdir/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 gpgdir -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpgdir.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,ChangeLog} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/gpglist/Makefile b/gpglist/Makefile
+index f4f8487..72679b9 100644
+--- a/gpglist/Makefile
++++ b/gpglist/Makefile
+@@ -6,6 +6,8 @@ all: $(MAN)
+ 	pod2man $< > $@
+ 
+ install:
++	install -Dm755 gpglist -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpglist.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	rm -f $(MAN)
+diff --git a/gpgparticipants/Makefile b/gpgparticipants/Makefile
+new file mode 100644
+index 0000000..c308340
+--- /dev/null
++++ b/gpgparticipants/Makefile
+@@ -0,0 +1,7 @@
++all:
++
++install:
++	install -Dm755 gpg{participants,participants-filter,participants-prefill} -t $(DESTDIR)/usr/bin/
++	install -Dm644 gpg{participants,participants-filter,participants-prefill}.1 -t ${DESTDIR}/usr/share/man/man1/
++
++clean:
+diff --git a/gpgsigs/Makefile b/gpgsigs/Makefile
+index 339ddb8..994983b 100644
+--- a/gpgsigs/Makefile
++++ b/gpgsigs/Makefile
+@@ -4,10 +4,9 @@ gpgsigs.1: gpgsigs
+ 	pod2man $< > $@
+ 
+ install:
+-	install -D gpgsigs $(DESTDIR)/usr/bin/gpgsigs
+-	install -d $(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
+-	install -m644 gpgsigs-lt2k5*.txt \
+-		$(DESTDIR)/usr/share/doc/signing-party/examples/gpgsigs
++	install -Dm755 gpgsigs $(DESTDIR)/usr/bin/gpgsigs
++	install -Dm644 gpgsigs.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 gpgsigs-lt2k5*.txt -t $(DESTDIR)/usr/share/doc/signing-party/gpgsigs/examples
+ 
+ clean:
+ 	rm -f gpgsigs.1
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..8355e91 100644
+--- a/gpgwrap/Makefile
++++ b/gpgwrap/Makefile
+@@ -1,9 +1,14 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+ 	cd src && ${MAKE} all DIET="${DIET}"
+ 
++install:
++	install -Dm755 bin/gpgwrap -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/gpgwrap.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,NEWS} -t $(DESTDIR)/usr/share/doc/signing-party/gpgwrap
++
+ clean:
+ 	cd src && ${MAKE} clean
+diff --git a/keyanalyze/Makefile b/keyanalyze/Makefile
+index 3517b74..a9ce7b7 100644
+--- a/keyanalyze/Makefile
++++ b/keyanalyze/Makefile
+@@ -16,9 +16,8 @@ pgpring/pgpring: pgpring/config.status
+ 	$(MAKE) -C pgpring pgpring
+ 
+ install:
+-	install pgpring/pgpring $(DESTDIR)/usr/bin
+-	install keyanalyze $(DESTDIR)/usr/bin
+-	install process_keys $(DESTDIR)/usr/bin
++	install -Dm755 {pgpring/pgpring,keyanalyze,process_keys} $(DESTDIR)/usr/bin
++	install -Dm644 {pgpring/pgpring,keyanalyze,process_keys}.1 -t ${DESTDIR}/usr/share/man/man1/
+ 
+ clean:
+ 	[ ! -f pgpring/Makefile ] || $(MAKE) -C pgpring distclean
+diff --git a/keyart/Makefile b/keyart/Makefile
+new file mode 100644
+index 0000000..0efc12c
+--- /dev/null
++++ b/keyart/Makefile
+@@ -0,0 +1,8 @@
++all:
++
++install:
++	install -Dm755 keyart -t $(DESTDIR)/usr/bin/
++	install -Dm644 doc/keyart.1 -t ${DESTDIR}/usr/share/man/man1/
++	install -Dm644 {README,doc/druken-bishop.txt,doc/party-worksheet} -t $(DESTDIR)/usr/share/doc/signing-party/gpgdir/
++
++clean:
+diff --git a/keylookup/Makefile b/keylookup/Makefile
+index dacd4db..4b91390 100644
+--- a/keylookup/Makefile
++++ b/keylookup/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D keylookup $(DESTDIR)/usr/bin/keylookup
+-	install -D -m644 keylookup.1 $(DESTDIR)/usr/share/man/man1/keylookup.1
+-	install -D -m644 NEWS \
+-		$(DESTDIR)/usr/share/doc/signing-party/NEWS.keylookup
++	install -Dm755 keylookup -t $(DESTDIR)/usr/bin/
++	install -Dm644 keylookup.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 NEWS -t \
++		$(DESTDIR)/usr/share/doc/signing-party/keylookup/NEWS
+ 
+ clean:
+diff --git a/sig2dot/Makefile b/sig2dot/Makefile
+index 772207c..37d6665 100644
+--- a/sig2dot/Makefile
++++ b/sig2dot/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D sig2dot $(DESTDIR)/usr/bin/sig2dot
+-	install -D -m644 sig2dot.1 $(DESTDIR)/usr/share/man/man1/sig2dot.1
+-	install -D -m644 README.sig2dot \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.sig2dot
++	install -Dm755 sig2dot -t $(DESTDIR)/usr/bin/
++	install -Dm644 sig2dot.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.sig2dot \
++		$(DESTDIR)/usr/share/doc/signing-party/sig2dot/README
+ 
+ clean:
+diff --git a/springgraph/Makefile b/springgraph/Makefile
+index 8f174b7..d3ee8ab 100644
+--- a/springgraph/Makefile
++++ b/springgraph/Makefile
+@@ -1,9 +1,9 @@
+ all:
+ 
+ install:
+-	install -D springgraph $(DESTDIR)/usr/bin/springgraph
+-	install -D -m644 springgraph.1 $(DESTDIR)/usr/share/man/man1/springgraph.1
+-	install -D -m644 README.springgraph \
+-		$(DESTDIR)/usr/share/doc/signing-party/README.springgraph
++	install -Dm755 springgraph -t $(DESTDIR)/usr/bin/
++	install -Dm644 springgraph.1 -t $(DESTDIR)/usr/share/man/man1/
++	install -Dm644 README.springgraph \
++		$(DESTDIR)/usr/share/doc/signing-party/springgraph/README
+ 
+ clean:
diff --git a/srcpkgs/signing-party/template b/srcpkgs/signing-party/template
new file mode 100644
index 000000000000..13fa5838e4a0
--- /dev/null
+++ b/srcpkgs/signing-party/template
@@ -0,0 +1,27 @@
+# Template file for 'signing-party'
+pkgname=signing-party
+version=2.11
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-makefile
+hostmakedepends="perl autoconf automake"
+makedepends="libmd-devel"
+depends="perl-Class-MethodMaker perl-GnuPG-Interface perl-MailTools
+ perl-MIME-tools perl-Net-IDN-Encode perl-Term-ReadKey perl-Text-Template
+ qprint" # keyanalyze should be in here, but it's currently broken
+short_desc="OpenPGP tools for signing keys, keyring analysis, and party preparation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause, GPL-2.0-or-later, GPL-2.0-only, MIT, BSD-2-Clause, GPL-3.0-or-later"
+homepage="https://salsa.debian.org/signing-party-team/signing-party"
+distfiles="https://salsa.debian.org/${pkgname}-team/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=e339cfea9af6f12bf09de8aa6c8972c168d2eb712cb72a8a7415e3f7ecb43cf2
+
+post_patch() {
+# keyanalyze has built separately for crosscompiling to work.
+# building keyanalyze is also broken right now, so it's not included so far
+	vsed -i Makefile -e 's/keyanalyze//'
+}
+
+post_install() {
+	vlicense debian/copyright
+}

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

* Re: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (26 preceding siblings ...)
  2022-07-12 13:07 ` jcgruenhage
@ 2022-07-12 13:40 ` jcgruenhage
  2022-07-12 14:35 ` [PR PATCH] [Merged]: " leahneukirchen
  28 siblings, 0 replies; 30+ messages in thread
From: jcgruenhage @ 2022-07-12 13:40 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31552#issuecomment-1181775117

Comment:
Update on the current situation:
 - The remaining problematic package (keyanalyze) has been removed from the scope of this PR. I do not use it, and I haven't heard of anyone else doing so, so I'd be inclined to just skip it entirely.
 - The patch to perl-GnuPG-Interface was modified not to comment out lines but to remove them, to return a more up2date version (not returning a version breaks other parts, which would require a bigger patch), and to also remove the tests that started breaking because of the changes in the patch.
 - This has been tested with #38021, works as expected.
 
afaict, this addresses all the remaining feedback. I'd be happy if we could get this merged soon now :)

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

* Re: [PR PATCH] [Merged]: New package: signing party-2.11_1
  2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
                   ` (27 preceding siblings ...)
  2022-07-12 13:40 ` jcgruenhage
@ 2022-07-12 14:35 ` leahneukirchen
  28 siblings, 0 replies; 30+ messages in thread
From: leahneukirchen @ 2022-07-12 14:35 UTC (permalink / raw)
  To: ml

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

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

New package: signing party-2.11_1
https://github.com/void-linux/void-packages/pull/31552

Description:
<!-- Mark items with [x] where applicable -->

#### General
- [x] 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] 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
-->

### TODOs
 - [x] fix cross compilation
 - [x] <del>fix bug in perl-Interface-GnuPG (version detection is broken, which causes it to refuse operation)</del> Bug has not been found, but the check has been disabled. xbps makes sure we have a new enough version of GnuPG installed.


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

end of thread, other threads:[~2022-07-12 14:35 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18 16:23 [PR PATCH] WIP: New package: signing party-2.11_1 jcgruenhage
2021-06-18 16:25 ` [PR PATCH] [Updated] " jcgruenhage
2021-06-18 16:55 ` jcgruenhage
2021-06-18 16:58 ` jcgruenhage
2021-06-18 17:19 ` jcgruenhage
2021-06-18 18:05 ` [PR REVIEW] " the-eater
2021-06-18 18:08 ` the-eater
2021-06-18 18:16 ` the-eater
2021-06-18 18:23 ` [PR REVIEW] " jcgruenhage
2021-06-18 18:27 ` [PR PATCH] [Updated] " jcgruenhage
2021-06-18 18:37 ` jcgruenhage
2021-06-18 18:43 ` [PR PATCH] [Updated] " jcgruenhage
2021-06-18 18:49 ` the-eater
2021-06-18 18:49 ` jcgruenhage
2021-07-09 13:28 ` [PR PATCH] [Updated] " jcgruenhage
2021-07-31 10:24 ` Chocimier
2021-08-11 18:49 ` jcgruenhage
2021-09-06 12:24 ` [PR PATCH] [Updated] " jcgruenhage
2021-09-06 12:26 ` jcgruenhage
2022-05-22  2:11 ` github-actions
2022-06-05  2:13 ` [PR PATCH] [Closed]: " github-actions
2022-06-14 10:24 ` jcgruenhage
2022-06-16 17:49 ` [PR PATCH] [Updated] " jcgruenhage
2022-07-01 13:13 ` jcgruenhage
2022-07-01 13:21 ` jcgruenhage
2022-07-01 20:30 ` jcgruenhage
2022-07-01 20:38 ` jcgruenhage
2022-07-12 13:07 ` jcgruenhage
2022-07-12 13:40 ` jcgruenhage
2022-07-12 14:35 ` [PR PATCH] [Merged]: " leahneukirchen

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