Add signing-party (aka., gpg-tools)

This commit is contained in:
Damien Cassou 2015-06-03 17:08:45 +02:00
parent f93a8ee110
commit a4ac0caa52
3 changed files with 56 additions and 0 deletions

View 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;
};
}

View 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

View File

@ -2769,6 +2769,9 @@ let
sigil = callPackage ../applications/editors/sigil { }; 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_client = callPackage ../applications/networking/instant-messengers/silc-client { };
silc_server = callPackage ../servers/silc-server { }; silc_server = callPackage ../servers/silc-server { };