diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-03-03 04:45:33 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-03-03 04:48:54 +0100 |
commit | 1db0e77efeb963b5f83c99fb5dbab14af9f1774a (patch) | |
tree | 6f68a022affeec2a4ad75566dcb4dc249d68b682 /pkgs/tools | |
parent | 893fe6ffb80ce8e1ebf4b155d953acf96af4b735 (diff) |
encfs 1.7.4 -> 1.8-rc1 (fix timing vulnerability) + clean up
Many other flaws remain: <https://defuse.ca/audits/encfs.htm>
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/filesystems/encfs/default.nix | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/pkgs/tools/filesystems/encfs/default.nix b/pkgs/tools/filesystems/encfs/default.nix index ea96001a421b3..0e71f8f9c2bc5 100644 --- a/pkgs/tools/filesystems/encfs/default.nix +++ b/pkgs/tools/filesystems/encfs/default.nix @@ -1,19 +1,30 @@ -{ stdenv, fetchurl, openssl, fuse, boost, rlog }: +{ stdenv, fetchFromGitHub, autoreconfHook, boost, fuse, openssl, perl +, pkgconfig, rlog }: -stdenv.mkDerivation { - name = "encfs-1.7.4"; +let version = "1.8-rc1"; in +stdenv.mkDerivation rec { + name = "encfs-${version}"; - src = fetchurl { - url = "http://encfs.googlecode.com/files/encfs-1.7.4.tgz"; - sha256 = "1a3h47f4h0qdc0bf3vic1i8wrdw5nkx22mml4wsvmmrd9zqg0bi8"; + src = fetchFromGitHub { + sha256 = "17a09pg7752nlbgm2nmrwhm90kv2z3dj20xs79qvvr6x7rdgzck8"; + rev = "v${version}"; + repo = "encfs"; + owner = "vgough"; }; - buildInputs = [ boost fuse openssl rlog ]; + buildInputs = [ autoreconfHook boost fuse openssl perl pkgconfig rlog ]; - configureFlags = "--with-boost-serialization=boost_wserialization --with-boost-filesystem=boost_filesystem"; + configureFlags = [ + "--with-boost-serialization=boost_wserialization" + "--with-boost-filesystem=boost_filesystem" + ]; - meta = { - homepage = http://www.arg0.net/encfs; + enableParallelBuilding = true; + + meta = with stdenv.lib; { + homepage = https://vgough.github.io/encfs; description = "Provides an encrypted filesystem in user-space via FUSE"; + license = with licenses; lgpl; + maintainers = with maintainers; [ nckx ]; }; } |