summary refs log tree commit diff
path: root/pkgs/servers/hylafaxplus
diff options
context:
space:
mode:
authorYarny0 <41838844+Yarny0@users.noreply.github.com>2022-07-27 09:00:14 +0200
committerYarny0 <41838844+Yarny0@users.noreply.github.com>2022-07-27 14:34:58 +0200
commitad9e5b93860a05d8c4c9f022501892a4734cf5b8 (patch)
treecf9e2740907a6642c91b31c8c6659493bd5de038 /pkgs/servers/hylafaxplus
parent5a0e0d73b944157328d54c4ded1cf2f0146a86a5 (diff)
downloadnixpkgs-ad9e5b93860a05d8c4c9f022501892a4734cf5b8.tar
nixpkgs-ad9e5b93860a05d8c4c9f022501892a4734cf5b8.tar.gz
nixpkgs-ad9e5b93860a05d8c4c9f022501892a4734cf5b8.tar.bz2
nixpkgs-ad9e5b93860a05d8c4c9f022501892a4734cf5b8.tar.lz
nixpkgs-ad9e5b93860a05d8c4c9f022501892a4734cf5b8.tar.xz
nixpkgs-ad9e5b93860a05d8c4c9f022501892a4734cf5b8.tar.zst
nixpkgs-ad9e5b93860a05d8c4c9f022501892a4734cf5b8.zip
hylafaxplus: 7.0.5 -> 7.0.6
* update libtiff patch due to
  https://sourceforge.net/p/hylafax/HylaFAX+/2682/
* add openssl to buildInputs due to
  https://sourceforge.net/p/hylafax/HylaFAX+/2664/

Release notes: https://hylafax.sourceforge.io/news/7.0.6.php
Diffstat (limited to 'pkgs/servers/hylafaxplus')
-rw-r--r--pkgs/servers/hylafaxplus/default.nix8
-rw-r--r--pkgs/servers/hylafaxplus/libtiff-4.patch2
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/servers/hylafaxplus/default.nix b/pkgs/servers/hylafaxplus/default.nix
index c5966a10937..d02f1b5a7e3 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 7faa8974033..c890f317e51 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'