[arch-commits] Commit in (5 files)

Bruno Pagani archange at archlinux.org
Sun Dec 23 17:34:35 UTC 2018


    Date: Sunday, December 23, 2018 @ 17:34:33
  Author: archange
Revision: 417660

Initial addition of signing-party to [community]

Added:
  signing-party/
  signing-party/repos/
  signing-party/trunk/
  signing-party/trunk/PKGBUILD
  signing-party/trunk/gpgwrap_makefile.patch

------------------------+
 PKGBUILD               |   85 +++++++++++++++++++++++++++++++++++++++++++++++
 gpgwrap_makefile.patch |   38 +++++++++++++++++++++
 2 files changed, 123 insertions(+)

Added: signing-party/trunk/PKGBUILD
===================================================================
--- signing-party/trunk/PKGBUILD	                        (rev 0)
+++ signing-party/trunk/PKGBUILD	2018-12-23 17:34:33 UTC (rev 417660)
@@ -0,0 +1,85 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: C. Dominik Bódi <dominik dot bodi at gmx dot de>
+
+pkgname=signing-party
+pkgver=2.7
+pkgrel=1
+pkgdesc="Collection for all kinds of pgp related things, including signing scripts, party preparation scripts, etc."
+arch=(x86_64)
+url="https://salsa.debian.org/debian/signing-party"
+license=(GPL)
+depends=(libmd
+         perl-class-methodmaker
+         perl-gnupg-interface
+         perl-mailtools
+         perl-mime-tools
+         perl-net-idn-encode 
+         perl-term-readkey
+         perl-text-template
+         qprint)
+optdepends=('python: keyart support'
+            'imagemagick: photo uid support in gpgsigs'
+            'perl-gd: springgraph support'
+            'qrencode: QR code support in gpg-key2latex'
+            'texlive-latexextra: QR code support in gpg-key2latex'
+            'noto-fonts: fonts for pretty printouts'
+            'noto-fonts-cjk: fonts for pretty printouts')
+source=("https://deb.debian.org/debian/pool/main/s/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz"
+        'gpgwrap_makefile.patch')
+# https://packages.debian.org/source/sid/signing-party
+md5sums=('92011416569ba67eb4b2db229411e832'
+         '62a274a7eb766ccfbb43f463003089b5')
+sha256sums=('41641cbf3fb5c8d91da678e4aa64a3f1d76f906490a17cb0b9671edbf7a3d37e'
+            '1a5b7ec8dca7642b744270ab5011707f9f4b732cba8062c76b5195c40f13f5e0')
+
+prepare() {
+    # Remove useless buggy Makefile
+    rm gpgwrap/src/Makefile
+    patch -p1 -i gpgwrap_makefile.patch
+}
+
+build() {
+    make
+}
+
+package() {
+    make DESTDIR="${pkgdir}" install
+
+    # Manually install all files the Makefiles in the subpackages are not installing
+    # TODO: Fix this upstream instead
+
+    install -Dm644 README -t "${pkgdir}"/usr/share/doc/signing-party/
+
+    for project in caff gpgdir gpg-key2latex gpg-key2ps gpglist gpg-mailkeys gpgparticipants gpgsigs ; do
+        install -Dm755 ${project}/${project} -t "${pkgdir}"/usr/bin/
+        install -Dm644 ${project}/${project}.1 -t "${pkgdir}"/usr/share/man/man1/
+    done
+
+    install -Dm755 caff/{pgp-clean,pgp-fixkey} -t "${pkgdir}"/usr/bin/
+    install -Dm644 caff/{pgp-clean,pgp-fixkey}.1 -t "${pkgdir}"/usr/share/man/man1/
+    install -Dm644 caff/{caffrc.sample,README*} -t "${pkgdir}"/usr/share/doc/signing-party/caff/
+
+    install -Dm644 gpg-key2ps/README -t "${pkgdir}"/usr/share/doc/signing-party/gpg-key2ps/
+
+    install -Dm755 gpgparticipants/gpgparticipants-prefill -t "${pkgdir}"/usr/bin/
+    install -Dm644 gpgparticipants/gpgparticipants-prefill.1 -t "${pkgdir}"/usr/share/man/man1/
+
+    install -Dm644 gpgsigs/gpgsigs-lt2k5{,-annotated}.txt -t "${pkgdir}"/usr/share/doc/signing-party/examples/gpgsigs/
+
+    install -Dm755 gpgwrap/src/gpgwrap -t "${pkgdir}"/usr/bin/
+    install -Dm644 gpgwrap/doc/gpgwrap.1 -t "${pkgdir}"/usr/share/man/man1/
+
+    install -Dm644 keyanalyze/{keyanalyze,process_keys,pgpring/pgpring}.1 -t "${pkgdir}"/usr/share/man/man1/
+    install -Dm755 keyanalyze/{allkeys,analyze}.sh -t "${pkgdir}"/usr/share/doc/signing-party/examples/keyanalyze/
+    install -Dm644 keyanalyze/README -t "${pkgdir}"/usr/share/doc/signing-party/examples/keyanalyze/
+
+    install -Dm755 keyanalyze/scripts/* -t "${pkgdir}"/usr/share/doc/signing-party/examples/keyanalyze/scripts/
+    chmod 644 "${pkgdir}"/usr/share/doc/signing-party/examples/keyanalyze/scripts/top50comments.txt
+    install -Dm755 keyanalyze/willy/* -t "${pkgdir}"/usr/share/doc/signing-party/examples/keyanalyze/willy/
+    chmod 644 "${pkgdir}"/usr/share/doc/signing-party/examples/keyanalyze/willy/README
+
+    install -Dm755 keyart/keyart -t "${pkgdir}"/usr/bin/
+    install -Dm644 keyart/doc/keyart.1 -t "${pkgdir}"/usr/share/man/man1/
+    install -Dm644 keyart/{README,doc/{druken-bishop.txt,party-worksheet}} -t "${pkgdir}"/usr/share/doc/signing-party/keyart/
+    install -Dm755 keyart/doc/examples/party.sh -t "${pkgdir}"/usr/share/doc/signing-party/examples/keyart/
+}

Added: signing-party/trunk/gpgwrap_makefile.patch
===================================================================
--- signing-party/trunk/gpgwrap_makefile.patch	                        (rev 0)
+++ signing-party/trunk/gpgwrap_makefile.patch	2018-12-23 17:34:33 UTC (rev 417660)
@@ -0,0 +1,38 @@
+From: Franck Joncourt <franck.mail at dthconnex.com>
+Subject: [PATCH] fixes/gpgwrap_makefile
+
+This allows the main Makefile not to fail when trying to install gpgwrap.
+It just adds the install target in the gpgwrap Makefile.
+
+That could be avoided by handling differently the gpgwrap project in the main
+Makefile, but then it is going to be the mess.
+
+The new target does not install anything since so far the man page is currently
+installed from debian/rules, and thus everything to install gpgwrap is added to
+debian.rules for consistency purpose.
+
+Signed-off-by: Franck Joncourt <franck.mail at dthconnex.com>
+
+---
+ gpgwrap/Makefile |    4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..3dc65b9 100644
+--- a/gpgwrap/Makefile
++++ b/gpgwrap/Makefile
+@@ -1,9 +1,11 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+-	cd src && ${MAKE} all DIET="${DIET}"
++	cd src && ${MAKE} gpgwrap DIET="${DIET}"
+ 
++install:
++
+ clean:
+ 	cd src && ${MAKE} clean
+-- 


More information about the arch-commits mailing list