From: Christopher Baines <mail@cbaines.net>
To: 28272@debbugs.gnu.org
Subject: [bug#28272] [PATCH 12/12] gnu: Update signing-party.
Date: Tue, 29 Aug 2017 07:13:05 +0100 [thread overview]
Message-ID: <20170829061305.2290-12-mail@cbaines.net> (raw)
In-Reply-To: <20170829061305.2290-1-mail@cbaines.net>
Also add more inputs to make the caff program run. I haven't successfully used
it yet though.
* gnu/packages/gnupg.scm (signing-party)[version]: Update to 2.6.
[source]: Update origin sha256.
[native-inputs]: Add autoconf and automake.
[inputs]: Add perl-text-template, perl-mime-tools, perl-gnupg-interface and
perl-net-idn-encode as these are required by caff. Also add libmd as this is
required by TODO.
[arguments]: Add the change-directory and wrap-programs phase, and fix a
regex and Makefile path in the configure phase.
---
gnu/packages/gnupg.scm | 40 +++++++++++++++++++++++++++++-----------
1 file changed, 29 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index b1b63caa2..a518c8e7b 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -32,8 +32,10 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
#:use-module (gnu packages adns)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages curl)
+ #:use-module (gnu packages crypto)
#:use-module (gnu packages openldap)
#:use-module (gnu packages perl)
#:use-module (gnu packages pth)
@@ -605,38 +607,48 @@ PGP keysigning parties.")
(define-public signing-party
(package
(name "signing-party")
- (version "1.1.4")
+ (version "2.6")
(source (origin
(method url-fetch)
(uri (string-append "mirror://debian/pool/main/s/signing-party/"
"signing-party_" version ".orig.tar.gz"))
(sha256 (base32
- "188gp0prbh8qs29lq3pbf0qibfd6jq4fk7i0pfrybl8aahvm84rx"))))
+ "1n5bpcfpl9vg1xp6r1jhbyahrgdyxp05b5pria1rh4m0qnv8sifr"))))
(build-system gnu-build-system)
- (inputs `(("perl" ,perl)))
+ (native-inputs
+ `(("autoconf" ,(autoconf-wrapper))
+ ("automake" ,automake)))
+ (inputs `(("perl" ,perl)
+ ("perl-text-template" ,perl-text-template)
+ ("perl-mime-tools" ,perl-mime-tools)
+ ("perl-gnupg-interface" ,perl-gnupg-interface)
+ ("perl-net-idn-encode" ,perl-net-idn-encode)
+ ("libmd" ,libmd)))
(arguments
`(#:tests? #f
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'remove-spurious-links
- (lambda _ (delete-file "keyanalyze/pgpring/depcomp")))
+ (add-before 'configure 'change-directory
+ (lambda _
+ ;; The build system in the unpack phase changes to a less useful
+ ;; subdirectory, so move up one level
+ (chdir (dirname (getcwd)))))
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* "keyanalyze/Makefile"
(("LDLIBS") (string-append "CC=" (which "gcc") "\nLDLIBS")))
(substitute* "keyanalyze/Makefile"
- (("./configure") (string-append "./configure --prefix=" out)))
- (substitute* "keyanalyze/pgpring/configure"
- (("/bin/sh") (which "sh")))
- (substitute* "gpgwrap/Makefile"
+ (("\\./configure") (string-append "./configure --prefix=" out)))
+ (substitute* "gpgwrap/src/Makefile"
(("\\} clean")
(string-append "} clean\ninstall:\n\tinstall -D bin/gpgwrap "
out "/bin/gpgwrap\n")))
(substitute* '("gpgsigs/Makefile" "keyanalyze/Makefile"
"keylookup/Makefile" "sig2dot/Makefile"
"springgraph/Makefile")
- (("/usr") out)))))
+ (("/usr") out))
+ (setenv "CONFIG_SHELL" (which "sh")))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys #:rest args)
(let ((out (assoc-ref outputs "out"))
@@ -661,7 +673,13 @@ PGP keysigning parties.")
'("caff.1" "pgp-clean.1" "pgp-fixkey.1" "gpgdir.1"
"gpg-key2ps.1" "gpglist.1" "gpg-mailkeys.1"
"gpgparticipants.1" "gpgsigs.1" "gpgwrap.1"
- "process_keys.1" "pgpring.1" "keyanalyze.1"))))))))
+ "process_keys.1" "pgpring.1" "keyanalyze.1")))))
+ (add-after 'install 'wrap-programs
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (wrap-program
+ (string-append out "/bin/caff")
+ `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))))))))
(synopsis "Collection of scripts for simplifying gnupg key signing")
(description
"Signing-party is a collection for all kinds of PGP/GnuPG related things,
--
2.14.1
next prev parent reply other threads:[~2017-08-29 6:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-29 6:07 [bug#28272] [PATCH] Improve and upgrade signing-party Christopher Baines
2017-08-29 6:12 ` [bug#28272] [PATCH 01/12] gnu: Add perl-moox Christopher Baines
2017-08-29 6:12 ` [bug#28272] [PATCH 02/12] gnu: Add perl-data-perl Christopher Baines
2017-08-29 6:12 ` [bug#28272] [PATCH 03/12] gnu: Add perl-moox-handlesvia Christopher Baines
2017-08-29 6:12 ` [bug#28272] [PATCH 04/12] gnu: Add perl-moox-late Christopher Baines
2017-08-29 6:12 ` [bug#28272] [PATCH 05/12] gnu: Add perl-convert-binhex Christopher Baines
2017-08-29 6:12 ` [bug#28272] [PATCH 06/12] gnu: Add perl-mailtools Christopher Baines
2017-08-29 6:13 ` [bug#28272] [PATCH 07/12] gnu: Add perl-mime-tools Christopher Baines
2017-08-29 6:13 ` [bug#28272] [PATCH 08/12] gnu: Add perl-net-idn-encode Christopher Baines
2017-08-29 6:13 ` [bug#28272] [PATCH 09/12] gnu: Add perl-text-template Christopher Baines
2017-08-29 6:13 ` [bug#28272] [PATCH 10/12] gnu: Add perl-gnupg-interface Christopher Baines
2017-08-29 6:13 ` [bug#28272] [PATCH 11/12] gnu: Add libmd Christopher Baines
2017-08-29 6:13 ` Christopher Baines [this message]
2017-09-08 16:07 ` [bug#28272] [PATCH] Improve and upgrade signing-party Ludovic Courtès
2017-09-10 11:03 ` Christopher Baines
2017-09-10 13:14 ` Ludovic Courtès
2017-09-10 18:42 ` Christopher Baines
2017-09-12 22:03 ` bug#28272: " Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170829061305.2290-12-mail@cbaines.net \
--to=mail@cbaines.net \
--cc=28272@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).