diff --git a/pkgs/servers/hylafaxplus/default.nix b/pkgs/servers/hylafaxplus/default.nix index c5966a10937e..d02f1b5a7e37 100644 --- a/pkgs/servers/hylafaxplus/default.nix +++ b/pkgs/servers/hylafaxplus/default.nix @@ -13,6 +13,7 @@ , gnugrep , gnused , libtiff +, openssl , psmisc , sharutils , util-linux @@ -30,8 +31,8 @@ let pname = "hylafaxplus"; - version = "7.0.5"; - sha256 = "1blv251r0yhnhxk9wgkjgr35al50q23hiskjkcbs8lmqqrz0cm8f"; + version = "7.0.6"; + hash = "sha512-0faeEwF/XQE/85zwUMOnrGzvGanuWRDr53SnrgbX0i/SHjHelzSEd2TK6plVOfV4w8RY7Ox7lSO1gjqEEzfZyw=="; configSite = substituteAll { name = "${pname}-config.site"; @@ -65,7 +66,7 @@ stdenv.mkDerivation { inherit pname version; src = fetchurl { url = "mirror://sourceforge/hylafax/hylafax-${version}.tar.gz"; - inherit sha256; + inherit hash; }; patches = [ # adjust configure check to work with libtiff > 4.1 @@ -78,6 +79,7 @@ stdenv.mkDerivation { file # for `file` command ghostscript libtiff + openssl psmisc # for `fuser` command sharutils # for `uuencode` command util-linux # for `agetty` command diff --git a/pkgs/servers/hylafaxplus/libtiff-4.patch b/pkgs/servers/hylafaxplus/libtiff-4.patch index 7faa89740338..c890f317e513 100644 --- a/pkgs/servers/hylafaxplus/libtiff-4.patch +++ b/pkgs/servers/hylafaxplus/libtiff-4.patch @@ -5,7 +5,7 @@ https://bugs.gentoo.org/706154 echo '#define TIFFSTRIPBYTECOUNTS uint32_t' echo '#define TIFFVERSION TIFF_VERSION' echo '#define TIFFHEADER TIFFHeader';; -- 4.[0123]) tiff_runlen_t="uint32_t" +- 4.[01234]) tiff_runlen_t="uint32_t" + 4.[0-9]) tiff_runlen_t="uint32_t" tiff_offset_t="uint64_t" echo '#define TIFFSTRIPBYTECOUNTS uint64_t'