Mass GnuPG upgrade

gnupg tests fail. Will try to fix later.

svn path=/nixpkgs/trunk/; revision=21884
This commit is contained in:
Yury G. Kudryashov
2010-05-19 20:58:56 +00:00
parent ea1953d744
commit d0b56edcf2
6 changed files with 33 additions and 14 deletions
+11
View File
@@ -0,0 +1,11 @@
{ stdenv, fetchurl, libgpgerror, libgcrypt, libassuan, libksba, openldap }:
stdenv.mkDerivation rec {
name = "dirmngr-1.0.3";
src = fetchurl {
url = "mirror://gnupg/${name}.tar.bz2";
sha256 = "03f54582caxgwjdv1b71azyk612a738ckgk2k05bmg466r1cw8jd";
};
buildInputs = [ libgpgerror libgcrypt libassuan libksba openldap ];
}
+5 -1
View File
@@ -25,7 +25,11 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional useUsb libusb
++ stdenv.lib.optional useCurl curl;
patchPhase = "sed -e 's@/bin/pwd@pwd@g' -i tests/pkits/*";
patchPhase = ''
find tests -type f | xargs sed -e 's@/bin/pwd@${stdenv.coreutils}&@g' -i
'';
checkPhase="GNUPGHOME=`pwd` ./agent/gpg-agent --daemon make check";
postInstall = ''
ln -s gpg2 $out/bin/gpg