On 11/02/2026 12:55 am, Stuart Cassoff wrote:
Update to 6.0.7.

Unmark BROKEN; required programs returned in TIFF 4.7.0.
Drop a fix that was fixed upstream.



diff -Nurp /usr/ports//comms/hylafax/Makefile ./Makefile
--- /usr/ports//comms/hylafax/Makefile  Fri Oct 20 15:41:52 2023
+++ ./Makefile  Mon Feb  9 14:37:16 2026
@@ -1,8 +1,8 @@
  COMMENT=              send/receive faxes and share modems
-DISTNAME=              hylafax-6.0.6
-REVISION=              16
+
+DISTNAME=              hylafax-6.0.7
+
  CATEGORIES=           comms
-BROKEN=                        abandonware, uses binaries removed in tiff 4.6
HOMEPAGE= https://www.HylaFAX.org/ diff -Nurp /usr/ports//comms/hylafax/distinfo ./distinfo
--- /usr/ports//comms/hylafax/distinfo  Thu Jul 19 11:05:30 2012
+++ ./distinfo  Mon Feb  9 14:37:22 2026
@@ -1,2 +1,2 @@
-SHA256 (hylafax-6.0.6.tar.gz) = KJJpFbI85/W0iW3orF9YOJwsbmu3O07uW71RKWA798A=
-SIZE (hylafax-6.0.6.tar.gz) = 1297412
+SHA256 (hylafax-6.0.7.tar.gz) = o9yxp/2HlL0zzqmpQUwy2hABGd0hMb0IqzqzdJ/DAxU=
+SIZE (hylafax-6.0.7.tar.gz) = 1309111
diff -Nurp /usr/ports//comms/hylafax/patches/patch-libhylafax_FaxRecvInfo_c++ 
./patches/patch-libhylafax_FaxRecvInfo_c++
--- /usr/ports//comms/hylafax/patches/patch-libhylafax_FaxRecvInfo_c++  Fri Mar 
11 13:26:27 2022
+++ ./patches/patch-libhylafax_FaxRecvInfo_c++  Wed Dec 31 19:00:00 1969
@@ -1,14 +0,0 @@
-Allow building with C++14
-
-Index: libhylafax/FaxRecvInfo.c++
---- libhylafax/FaxRecvInfo.c++.orig
-+++ libhylafax/FaxRecvInfo.c++
-@@ -112,7 +112,7 @@ FaxRecvInfo::decode(const char* cp)
-     if (cp == NULL || cp[1] != ',' || cp[2] != '"')
-       return (false);
-     u_int i = 0;
--    while (cp+2 != '\0') {
-+    while (*(cp+2) != '\0') {
-       callid[i] = cp+3;               // +1 for "/+1 for ,/+1 for "
-       if (*cp == '\"') break;
-       callid[i].resize(callid[i].next(0,'"'));


Hi Stu,

In addition to these I applied changes to the Makefile and PLIST.

In my testing late last year I found that faxgetty in HylaFAX 6.0.6 will crash when receiving a facsimile when ECM is not negotiated during call establishment. The same occurs in 6.0.7.

This problem seems to go way back to OpenBSD 6.1 and possibly 6.0 but I didn't test that version. I did test with OpenBSD 5.9 and no problems were experienced with it.

If you would like to discuss this further you may PM me.

To overcome the faxgetty crash I disabled compiler optimisation;

diff -Nurp /usr/ports/comms/hylafax-6.0.7/Makefile

--- /usr/ports/comms/hylafax-6.0.7/Makefile     Wed Feb 11 19:19:10 2026
+++ ./Makefile  Sun Oct 12 16:43:14 2025
@@ -35,7 +35,7 @@ CONFIGURE_ARGS=               --nointeractive \
                        --with-CC="${CC}" \
                        --with-CXX="${CXX}" \
                        --with-INSTALL="" \
-                       --with-OPTIMIZER=""
+                       --with-OPTIMIZER="-O0"

 CONFIGURE_ENV+=                CCOMPILER="${CC}" CXXCOMPILER="${CXX}" \
                        GCOPTS="${CFLAGS}" GCXXOPTS="${CXXFLAGS}" \


The changes to PLIST are:

1) Change the permissions of libdata/hylafax/etc/hfaxd.conf

2) Removed libdata/hylafax/etc/xferfaxlog

The reason behind removing xferfaxlog are two fold. Firstly, faxgetty cannot update accounting records in this file due to the restrictive permissions;

Feb 11 21:16:16 openbsd-78-amd64 FaxGetty[32794]: Error writing CALL accounting record, dest=+61.REDACTED Feb 11 21:18:24 openbsd-78-amd64 FaxGetty[32794]: Error writing RECV accounting record, dest=+61.REDACTED

Secondly, this file will collect historical records over time. Should the package need to be removed for some reason this file will go - I believe that was my experience even though it had updated records in this file after I changed the permissions. faxgetty creates this file if it doesn't exists.

diff -Nurp /usr/ports/comms/hylafax-6.0.7/pkg/PLIST

--- /usr/ports/comms/hylafax-6.0.7/pkg/PLIST    Sat Mar 12 02:26:27 2022
+++ ./pkg/PLIST Sun Oct 12 16:33:43 2025
@@ -130,6 +130,7 @@ libdata/hylafax/etc/dpsprinter.ps
 libdata/hylafax/etc/faxcover.ps
 libdata/hylafax/etc/faxcover_example_sgi.ps
 libdata/hylafax/etc/faxmail.ps
+@mode 644
 libdata/hylafax/etc/hfaxd.conf
 @mode 600
 libdata/hylafax/etc/hosts.hfaxd
@@ -365,7 +366,6 @@ libdata/hylafax/etc/templates/ro/notify-removed.txt
 libdata/hylafax/etc/templates/ro/notify-requeued.txt
 libdata/hylafax/etc/templates/ro/notify-timedout.txt
 libdata/hylafax/etc/typerules
-libdata/hylafax/etc/xferfaxlog
 libdata/hylafax/info/
 libdata/hylafax/log/
 libdata/hylafax/pollq/


Cheers,

Larry.

Reply via email to