* GnuPG updated to 1.4.2. Added support to optionally build it with
IDEA support (requires a license). svn path=/nixpkgs/trunk/; revision=4399
This commit is contained in:
parent
784605f8de
commit
272e44da1c
@ -281,6 +281,11 @@ rec {
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gnupg = import ../tools/security/gnupg {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
|
ideaSupport = false; # enable for IDEA crypto support
|
||||||
|
};
|
||||||
|
|
||||||
mjpegtools = (import ../tools/video/mjpegtools) {
|
mjpegtools = (import ../tools/video/mjpegtools) {
|
||||||
inherit fetchurl stdenv libjpeg;
|
inherit fetchurl stdenv libjpeg;
|
||||||
inherit (xlibs) libX11;
|
inherit (xlibs) libX11;
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
source $stdenv/setup
|
source $stdenv/setup
|
||||||
|
|
||||||
|
preConfigure=preConfigure
|
||||||
|
preConfigure() {
|
||||||
|
if test -n "$idea"; then
|
||||||
|
gunzip < $idea > ./cipher/idea.c
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
genericBuild
|
genericBuild
|
||||||
|
@ -1,10 +1,20 @@
|
|||||||
{ stdenv, fetchurl }:
|
{
|
||||||
|
# Support for the IDEA cipher (used by the old PGP) should only be
|
||||||
|
# enabled if it is legal for you to do so.
|
||||||
|
ideaSupport ? false
|
||||||
|
|
||||||
|
, stdenv, fetchurl
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "gnupg-1.4.0";
|
name = "gnupg-1.4.2";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://nix.cs.uu.nl/dist/tarballs/gnupg_1.4.0.orig.tar.gz;
|
url = ftp://ftp.surfnet.nl/pub/security/gnupg/gnupg/gnupg-1.4.2.tar.bz2;
|
||||||
md5 = "74e407a8dcb09866555f79ae797555da";
|
md5 = "c7afd50c7d01fcfada229326b3958404";
|
||||||
};
|
};
|
||||||
|
idea = if ideaSupport then fetchurl {
|
||||||
|
url = ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz;
|
||||||
|
md5 = "9dc3bc086824a8c7a331f35e09a3e57f";
|
||||||
|
} else null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user