nncp: 8.11.0 -> 8.12.1

Upstream release:

* Combine all executables in single 'nncp'. You should symlink all
'nncp-*' commands to it.

* Prevent path traversal during freqing and file saving. Previously
malicious paths in packets may request or overwrite file outside
freq or incoming directories.
Thanks to Eugene Medvedev for finding and fixing that serious issue!

* Update 'hjson' and 'compress' dependant libraries.

* Set 'hjson-cli' utility's version during the build process.
Thanks to Klaus Alexander Seistrup for finding that problem!

authored by Frank Doepper and committed by Frank Doepper 6124f9a5 0acf58e8

+3 -3
+3 -3
pkgs/by-name/nn/nncp/package.nix
··· 12 13 stdenv.mkDerivation (finalAttrs: { 14 pname = "nncp"; 15 - version = "8.11.0"; 16 outputs = [ 17 "out" 18 "doc" ··· 21 22 src = fetchurl { 23 url = "http://www.nncpgo.org/download/nncp-${finalAttrs.version}.tar.xz"; 24 - hash = "sha256-7EEUvNkYSqh4HzjbqjqgQlXfu6nDU2v3WWnma8M0r/I="; 25 }; 26 27 nativeBuildInputs = [ ··· 36 37 buildPhase = '' 38 runHook preBuild 39 - ./bin/build 40 runHook postBuild 41 ''; 42
··· 12 13 stdenv.mkDerivation (finalAttrs: { 14 pname = "nncp"; 15 + version = "8.12.1"; 16 outputs = [ 17 "out" 18 "doc" ··· 21 22 src = fetchurl { 23 url = "http://www.nncpgo.org/download/nncp-${finalAttrs.version}.tar.xz"; 24 + hash = "sha256-yTwndQ43aBCned7iKPZm70zCC3zMapf2GXtornjiZos="; 25 }; 26 27 nativeBuildInputs = [ ··· 36 37 buildPhase = '' 38 runHook preBuild 39 + ./build 40 runHook postBuild 41 ''; 42