gnu: signing-party: Update to 2.7.

* gnu/packages/gnupg.scm (signing-party): Update to 2.7.
[home-page]: Update to new home-page.
[arguments]: All phases end with #t.
This commit is contained in:
Efraim Flashner 2019-01-02 21:10:38 +02:00
parent c7a2b36daf
commit 33678041ce
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 85 additions and 86 deletions

View File

@ -4,7 +4,7 @@
;;; Copyright © 2014, 2018 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2014, 2018 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org> ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org> ;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is> ;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
@ -661,87 +661,86 @@ PGP keysigning parties.")
(home-page "https://www.phildev.net/pius/index.shtml"))) (home-page "https://www.phildev.net/pius/index.shtml")))
(define-public signing-party (define-public signing-party
;; Upstream moved from alioth.debian.org to salsa.debian.org but the (package
;; automatic svn import did not preserve tags apparently, so there's no real (name "signing-party")
;; version number. (version "2.7")
(let ((commit "d6f2296325605ee96ddf9f5b156e5e3f667a6df3") (home-page "https://salsa.debian.org/debian/signing-party")
(revision "0")) (source (origin
(package (method git-fetch)
(name "signing-party") (uri (git-reference
(version (git-version "2.6" revision commit)) (url home-page)
(home-page "https://salsa.debian.org/stappers/pgp-tools") (commit (string-append "release-" version))))
(source (origin (file-name (git-file-name name version))
(method git-fetch) (sha256
(uri (git-reference (base32
(url home-page) "1gx9017wag4bgc0h7kca9n3jwwdm7z77yv3viayhg62flbwkvbgb"))))
(commit commit))) (build-system gnu-build-system)
(sha256 (native-inputs
(base32 `(("autoconf" ,autoconf-wrapper)
"00f7zasbwcbjzd92br2j10pyjxv0aw1qb4540qfz2dxzxgmdscrz")))) ("automake" ,automake)))
(build-system gnu-build-system) (inputs `(("perl" ,perl)
(native-inputs ("perl-text-template" ,perl-text-template)
`(("autoconf" ,autoconf-wrapper) ("perl-mime-tools" ,perl-mime-tools)
("automake" ,automake))) ("perl-gnupg-interface" ,perl-gnupg-interface)
(inputs `(("perl" ,perl) ("perl-net-idn-encode" ,perl-net-idn-encode)
("perl-text-template" ,perl-text-template) ("libmd" ,libmd)))
("perl-mime-tools" ,perl-mime-tools) (arguments
("perl-gnupg-interface" ,perl-gnupg-interface) `(#:tests? #f
("perl-net-idn-encode" ,perl-net-idn-encode) #:phases
("libmd" ,libmd))) (modify-phases %standard-phases
(arguments (replace 'configure
`(#:tests? #f (lambda* (#:key outputs #:allow-other-keys)
#:phases (let ((out (assoc-ref outputs "out")))
(modify-phases %standard-phases (substitute* "keyanalyze/Makefile"
(replace 'configure (("LDLIBS") (string-append "CC=" (which "gcc") "\nLDLIBS")))
(lambda* (#:key outputs #:allow-other-keys) (substitute* "keyanalyze/Makefile"
(let ((out (assoc-ref outputs "out"))) (("\\./configure") (string-append "./configure --prefix=" out)))
(substitute* "keyanalyze/Makefile" (substitute* "gpgwrap/Makefile"
(("LDLIBS") (string-append "CC=" (which "gcc") "\nLDLIBS"))) (("\\} clean")
(substitute* "keyanalyze/Makefile" (string-append "} clean\ninstall:\n\tinstall -D bin/gpgwrap "
(("\\./configure") (string-append "./configure --prefix=" out))) out "/bin/gpgwrap\n")))
(substitute* "gpgwrap/Makefile" (substitute* '("gpgsigs/Makefile" "keyanalyze/Makefile"
(("\\} clean") "keylookup/Makefile" "sig2dot/Makefile"
(string-append "} clean\ninstall:\n\tinstall -D bin/gpgwrap " "springgraph/Makefile")
out "/bin/gpgwrap\n"))) (("/usr") out))
(substitute* '("gpgsigs/Makefile" "keyanalyze/Makefile" (setenv "CONFIG_SHELL" (which "sh")))
"keylookup/Makefile" "sig2dot/Makefile" #t))
"springgraph/Makefile") (replace 'install
(("/usr") out)) (lambda* (#:key outputs #:allow-other-keys #:rest args)
(setenv "CONFIG_SHELL" (which "sh"))))) (let ((out (assoc-ref outputs "out"))
(replace 'install (install (assoc-ref %standard-phases 'install)))
(lambda* (#:key outputs #:allow-other-keys #:rest args) (apply install args)
(let ((out (assoc-ref outputs "out")) (for-each
(install (assoc-ref %standard-phases 'install))) (lambda (dir file)
(apply install args) (copy-file (string-append dir "/" file)
(for-each (string-append out "/bin/" file)))
(lambda (dir file) '("caff" "caff" "caff" "gpgdir" "gpg-key2ps"
(copy-file (string-append dir "/" file) "gpglist" "gpg-mailkeys" "gpgparticipants")
(string-append out "/bin/" file))) '("caff" "pgp-clean" "pgp-fixkey" "gpgdir" "gpg-key2ps"
'("caff" "caff" "caff" "gpgdir" "gpg-key2ps" "gpglist" "gpg-mailkeys" "gpgparticipants"))
"gpglist" "gpg-mailkeys" "gpgparticipants") (for-each
'("caff" "pgp-clean" "pgp-fixkey" "gpgdir" "gpg-key2ps" (lambda (dir file)
"gpglist" "gpg-mailkeys" "gpgparticipants")) (copy-file (string-append dir "/" file)
(for-each (string-append out "/share/man/man1/" file)))
(lambda (dir file) '("caff" "caff" "caff" "gpgdir"
(copy-file (string-append dir "/" file) "gpg-key2ps" "gpglist" "gpg-mailkeys"
(string-append out "/share/man/man1/" file))) "gpgparticipants" "gpgsigs" "gpgwrap/doc"
'("caff" "caff" "caff" "gpgdir" "keyanalyze" "keyanalyze/pgpring" "keyanalyze")
"gpg-key2ps" "gpglist" "gpg-mailkeys" '("caff.1" "pgp-clean.1" "pgp-fixkey.1" "gpgdir.1"
"gpgparticipants" "gpgsigs" "gpgwrap/doc" "gpg-key2ps.1" "gpglist.1" "gpg-mailkeys.1"
"keyanalyze" "keyanalyze/pgpring" "keyanalyze") "gpgparticipants.1" "gpgsigs.1" "gpgwrap.1"
'("caff.1" "pgp-clean.1" "pgp-fixkey.1" "gpgdir.1" "process_keys.1" "pgpring.1" "keyanalyze.1")))
"gpg-key2ps.1" "gpglist.1" "gpg-mailkeys.1" #t))
"gpgparticipants.1" "gpgsigs.1" "gpgwrap.1" (add-after 'install 'wrap-programs
"process_keys.1" "pgpring.1" "keyanalyze.1"))))) (lambda* (#:key outputs #:allow-other-keys)
(add-after 'install 'wrap-programs (let* ((out (assoc-ref outputs "out")))
(lambda* (#:key outputs #:allow-other-keys) (wrap-program
(let* ((out (assoc-ref outputs "out"))) (string-append out "/bin/caff")
(wrap-program `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))
(string-append out "/bin/caff") #t)))))
`("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))))))) (synopsis "Collection of scripts for simplifying gnupg key signing")
(synopsis "Collection of scripts for simplifying gnupg key signing") (description
(description "Signing-party is a collection for all kinds of PGP/GnuPG related things,
"Signing-party is a collection for all kinds of PGP/GnuPG related things,
including tools for signing keys, keyring analysis, and party preparation. including tools for signing keys, keyring analysis, and party preparation.
@enumerate @enumerate
@item caff: CA - Fire and Forget signs and mails a key @item caff: CA - Fire and Forget signs and mails a key
@ -759,10 +758,10 @@ including tools for signing keys, keyring analysis, and party preparation.
@item sig2dot: converts a list of GnuPG signatures to a .dot file @item sig2dot: converts a list of GnuPG signatures to a .dot file
@item springgraph: creates a graph from a .dot file @item springgraph: creates a graph from a .dot file
@end enumerate") @end enumerate")
;; gpl2+ for almost all programs, except for keyanalyze: gpl2 ;; gpl2+ for almost all programs, except for keyanalyze: gpl2
;; and caff and gpgsigs: bsd-3, see ;; and caff and gpgsigs: bsd-3, see
;; http://packages.debian.org/changelogs/pool/main/s/signing-party/current/copyright ;; http://packages.debian.org/changelogs/pool/main/s/signing-party/current/copyright
(license license:gpl2)))) (license license:gpl2)))
(define-public pinentry-tty (define-public pinentry-tty
(package (package