forked from mirrors/nixpkgs
Merge pull request #8158 from DamienCassou/add-signing-party
Add signing-party (aka., gpg-tools)
This commit is contained in:
commit
e7f898a17c
37
pkgs/tools/security/signing-party/default.nix
Normal file
37
pkgs/tools/security/signing-party/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{stdenv, fetchurl, gnupg, perl, automake111x, autoconf}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.0";
|
||||
basename = "signing-party";
|
||||
name = "${basename}-${version}";
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/s/${basename}/${basename}_${version}.orig.tar.gz";
|
||||
sha256 = "0vn15sb2yyzd57xdblw48p5hi6fnpvgy83mqyz5ygph65y5y88yc";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace sig2dot/Makefile --replace "\$(DESTDIR)/usr" "$out"
|
||||
substituteInPlace gpgsigs/Makefile --replace "\$(DESTDIR)/usr" "$out"
|
||||
substituteInPlace keylookup/Makefile --replace "\$(DESTDIR)/usr" "$out"
|
||||
substituteInPlace springgraph/Makefile --replace "\$(DESTDIR)/usr" "$out"
|
||||
substituteInPlace keyanalyze/Makefile --replace "\$(DESTDIR)/usr" "$out"
|
||||
'';
|
||||
|
||||
# - perl is required for its pod2man (used in caff)
|
||||
buildInputs = [ automake111x autoconf perl gnupg ];
|
||||
|
||||
patches = [ ./gpgwrap_makefile.patch ];
|
||||
|
||||
installFlags = [ "DESTDIR=\${out}" ];
|
||||
|
||||
doCheck = false; # no check rule
|
||||
|
||||
meta = {
|
||||
description = "PGP Tools is a collection for all kinds of pgp related things, including signing scripts, party preparation scripts etc.";
|
||||
homepage = http://pgp-tools.alioth.debian.org;
|
||||
platforms = gnupg.meta.platforms;
|
||||
licence = stdenv.lib.licences.gpl2;
|
||||
};
|
||||
}
|
16
pkgs/tools/security/signing-party/gpgwrap_makefile.patch
Normal file
16
pkgs/tools/security/signing-party/gpgwrap_makefile.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
--- a/gpgwrap/Makefile 2015-06-03 16:24:48.723129144 +0200
|
||||
+++ b/gpgwrap/Makefile 2015-06-03 16:24:11.639744346 +0200
|
||||
@@ -1,9 +1,12 @@
|
||||
MAKE=make
|
||||
|
||||
-.PHONY: all clean
|
||||
+.PHONY: all clean install
|
||||
|
||||
all:
|
||||
cd src && ${MAKE} all DIET="${DIET}"
|
||||
|
||||
+install:
|
||||
+
|
||||
+
|
||||
clean:
|
||||
cd src && ${MAKE} clean
|
|
@ -2817,6 +2817,9 @@ let
|
|||
|
||||
sigil = callPackage ../applications/editors/sigil { };
|
||||
|
||||
# aka., gpg-tools
|
||||
signing-party = callPackage ../tools/security/signing-party { };
|
||||
|
||||
silc_client = callPackage ../applications/networking/instant-messengers/silc-client { };
|
||||
|
||||
silc_server = callPackage ../servers/silc-server { };
|
||||
|
|
Loading…
Reference in a new issue