Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hylafax+ for openSUSE:Factory 
checked in at 2021-10-19 23:03:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hylafax+ (Old)
 and      /work/SRC/openSUSE:Factory/.hylafax+.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hylafax+"

Tue Oct 19 23:03:56 2021 rev:39 rq:926155 version:7.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/hylafax+/hylafax+.changes        2021-10-16 
22:56:19.217130718 +0200
+++ /work/SRC/openSUSE:Factory/.hylafax+.new.1890/hylafax+.changes      
2021-10-19 23:04:17.081285408 +0200
@@ -1,0 +2,35 @@
+Mon Oct 18 15:14:38 UTC 2021 - Axel Braun <axel.br...@gmx.de>
+
+- version 7.0.4
+  * README.SUSE renamed 
+  * hylafax.diff added for boo#1191571 (pre-correction)
+  * Dependencies on systemd-services adjusted
+  * retry training twice at the same bitrate unless FTT (26 Aug 2021)
+  * add missing reason messages for session failures (21 Aug 2021)
+  * stop attempts to send or receive signals if the call ended prematurely 
(16-19 Aug 2021)
+  * add Class1HasRMHookIndication (16 Aug 2021)
+  * don't attempt sending DCN if we're already on hook (15, 17 Aug 2021)
+  * end session sooner if receiver hangs up immediately after TCF or during 
prologue (14 Aug 2021)
+  * fix some behavior following frame reception timeouts (13 Aug 2021)
+  * improve behavior if procedural interrupt fails (12 Aug 2021)
+  * handle sender repeating RR after we transmit MCF (10 Aug 2021)
+  * add session logging of receipt of CFR/FTT signals (3 Aug 2021)
+  * cope with receipt of PPR following CTC (3 Aug 2021)
+  * attempt to cope with NSF/CSI/DIS after PPS, CTR, ERR, RR and improve 
coping with
+    the same after MPS/EOP/EOM (2, 12, 14, 18 Aug 2021)
+  * identify DCN after PPS as a receiver abort (2 Aug 2021)
+  * attempt to cope with receipt of CTR after sending PPS (2 Aug 2021)
+  * remove use of deprecated libtiff integer types and "register" storage 
class specifier (25 Jul 2021)
+  * don't employ senderFumblesECM if V.34-Fax was negotiated (25 Jul 2021)
+  * update configure to accept libtiff v4.2 and v4.3 (24 Jul 2021)
+  * fix page handling "botch" if a job's first and previous attempts were on a 
proxy (20 Jul 2021)
+  * fix data timeout for bitrates less than 14400 bps when non-zero scanline 
time (15 Jul 2021)
+  * try to cope with T.38 invite stutter at beginning of send (15 Jul 2021)
+  * decouple session logging from direct filesystem I/O (15 Jul 2021)
+  * try to help receivers who may expect initial 1-bits to start high-speed 
data (8, 9 Jul, 4 Aug 2021)
+  * improve tenacity of "persistent" ECM (26 Jun 2021)
+  * maintain the same SSL Fax passcode during a single session (20 May 2021)
+  * log detection of binary file transfer support in receivers (1 Apr 2021)
+  * add support for SiLabs Si2417/Si2435 (5 Feb 2021)
+
+-------------------------------------------------------------------

Old:
----
  README.SUSE
  hylafax-7.0.3.tar.gz

New:
----
  README.openSUSE
  hylafax-7.0.4.tar.gz
  hylafax-faxmodem@.service
  hylafax.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hylafax+.spec ++++++
--- /var/tmp/diff_new_pack.nDEs8k/_old  2021-10-19 23:04:17.777285724 +0200
+++ /var/tmp/diff_new_pack.nDEs8k/_new  2021-10-19 23:04:17.777285724 +0200
@@ -19,7 +19,7 @@
 %global faxspool    %{_localstatedir}/spool/hylafax
 %define lib_version %(echo %{version} | tr \. _)
 Name:           hylafax+
-Version:        7.0.3
+Version:        7.0.4
 Release:        0
 Summary:        A fax server
 License:        BSD-3-Clause
@@ -30,13 +30,15 @@
 Source5:        hylafax-faxq.service
 Source6:        hylafax-faxgetty@.service
 Source7:        hylafax.target
-Source8:        README.SUSE
+Source8:        README.openSUSE
 Source9:        sendonly.conf
 # systemd-timer
 Source10:       hylafax-usage.timer
 Source11:       hylafax-usage.service
 Source12:       hylafax-faxqclean.timer
 Source13:       hylafax-faxqclean.service
+Source14:       hylafax-faxmodem@.service
+Patch0:         hylafax.diff
 
 BuildRequires:  gcc-c++
 BuildRequires:  ghostscript
@@ -100,6 +102,7 @@
 
 %prep
 %setup -q -n hylafax-%{version}
+%patch0 -p2
 cp %{SOURCE8} .
 cp %{SOURCE9} .
 # pretend, that libtiff 4.4 is similar to 4.{0,1}
@@ -174,6 +177,7 @@
 install -D -m 0644 %{SOURCE11} %{buildroot}%{_unitdir}/hylafax-usage.service
 install -D -m 0644 %{SOURCE12} %{buildroot}%{_unitdir}/hylafax-faxqclean.timer
 install -D -m 0644 %{SOURCE13} 
%{buildroot}%{_unitdir}/hylafax-faxqclean.service
+install -D -m 0644 %{SOURCE14} 
%{buildroot}%{_unitdir}/hylafax-faxmodem@.service
 
 for lnk in hylafax-hfaxd hylafax-faxq; do
     ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc$lnk
@@ -191,18 +195,18 @@
 rm -f %{buildroot}%{faxspool}/COPYRIGHT
 
 %pre
-%service_add_pre hylafax-faxq.service hylafax-hfaxd.service 
hylafax-usage.service hylafax-faxqclean.service hylafax-usage.timer 
hylafax-faxqclean.timer hylafax.target hylafax-faxgetty@.service
+%service_add_pre hylafax-faxq.service hylafax-hfaxd.service 
hylafax-usage.service hylafax-faxqclean.service hylafax-usage.timer 
hylafax-faxqclean.timer hylafax.target hylafax-faxgetty@.service 
hylafax-faxmodem@.service
 
 %post
 /sbin/ldconfig
-%service_add_post hylafax-faxq.service hylafax-hfaxd.service 
hylafax-usage.service hylafax-faxqclean.service hylafax-usage.timer 
hylafax-faxqclean.timer hylafax.target hylafax-faxgetty@.service
+%service_add_post hylafax-faxq.service hylafax-hfaxd.service 
hylafax-usage.service hylafax-faxqclean.service hylafax-usage.timer 
hylafax-faxqclean.timer hylafax.target hylafax-faxgetty@.service 
hylafax-faxmodem@.service
 
 %preun
-%service_del_preun hylafax-faxq.service hylafax-hfaxd.service 
hylafax-usage.service hylafax-faxqclean.service hylafax-usage.timer 
hylafax-faxqclean.timer hylafax.target hylafax-faxgetty@.service
+%service_del_preun hylafax-faxq.service hylafax-hfaxd.service 
hylafax-usage.service hylafax-faxqclean.service hylafax-usage.timer 
hylafax-faxqclean.timer hylafax.target hylafax-faxgetty@.service 
hylafax-faxmodem@.service
 
 %postun
 /sbin/ldconfig
-%service_del_postun hylafax-faxq.service hylafax-hfaxd.service 
hylafax-usage.service hylafax-faxqclean.service hylafax-usage.timer 
hylafax-faxqclean.timer hylafax.target hylafax-faxgetty@.service
+%service_del_postun hylafax-faxq.service hylafax-hfaxd.service 
hylafax-usage.service hylafax-faxqclean.service hylafax-usage.timer 
hylafax-faxqclean.timer hylafax.target hylafax-faxgetty@.service 
hylafax-faxmodem@.service
 
 %post -n libfaxutil%{lib_version} -p /sbin/ldconfig
 %postun -n libfaxutil%{lib_version} -p /sbin/ldconfig
@@ -215,12 +219,13 @@
 %{_unitdir}/hylafax-usage.timer
 %{_unitdir}/hylafax-usage.service
 %{_unitdir}/hylafax-faxqclean.timer
+%{_unitdir}/hylafax-faxmodem@.service
 %{_unitdir}/hylafax-faxqclean.service
 %{_sbindir}/rchylafax-faxq
 %{_sbindir}/rchylafax-hfaxd
 %{_sbindir}/rchylafax
 %defattr(-,root,root)
-%doc CHANGES CONTRIBUTORS COPYRIGHT README TODO VERSION README.SUSE 
sendonly.conf
+%doc CHANGES CONTRIBUTORS COPYRIGHT README TODO VERSION README.openSUSE 
sendonly.conf
 %exclude %{_libdir}/libfaxutil*
 %{_libdir}/libfax*
 %{_mandir}/man5/hylafax-config.5f%{ext_man}

++++++ README.openSUSE ++++++
GENERAL NOTE
============
Due to history and structure of this package, the server part of HylaFAX+ 
should only be installed in isolated environments for security reasons,
allowing direct access for admins only. [bsc#1173519]

Setup of hylafax+ on openSUSE
-----------------------------

After installation of hylafax you need to run 
faxsetup
answer the questions and modify to your needs.

Run 
faxaddmodem
for each attached modem. It asks you for the device, leave out the /dev prefix; 
only enter eg. modem, ttyS0 or such things. 
Answer the other questions, important ones could be the ringtones, max pages, 
permissions on files or your the name that should be shown. 

Setting up hylafax for systemd
------------------------------

hylafax comes with three systemd service files. The first two are needed when 
you want to send faxes from your server:

hylafax-hfaxd.service - the hylafax server
hylafax-faxq.service - the fax scheduler

Enable systemd service for the daemons. They will start at boot time:

systemctl enable hylafax-hfaxd.service
systemctl enable hylafax-faxq.service


systemd-timers
--------------

openSUSE has moved from cron to systemd-timers. By default we ship 2 timers, 
for cleaning the faxqueue and for usage statistics. You need to enable them in 
case you want to make use of these features:

systemctl enable hylafax-faxqclean.timer
systemctl enable hylafax-usage.timer


Receiving faxes
---------------

In order to receive faxes as well, you need to run one faxgetty for each 
interface, e.g.:

systemctl start hylafax-faxgetty@ttyS0.service
systemctl start hylafax-faxgetty@ttyIAX0.service

Starting them at boot time with:

systemctl enable hylafax-faxgetty@ttyS0.service
systemctl enable hylafax-faxgetty@ttyIAX0.service


Send-only environment
---------------------

Many installations run hylafax just for sending faxes. To get this up and 
running, the command 
faxmodem
needs to run after hylafax is started.
For this we have created a separate service, hylafax-faxmodem@.service

You need to invoke this service with the interface, e.g.
systemctl enable hylafax-faxmodem@ttyS0.service

(Note: you may as well attach the faxmodem call to the faxq-service:
Create a directory
/etc/systemd/system/hylafax-faxq.service.d
and copy the file sendonly.conf into this directory.
Check that the mentioned port (ttyS0 - Parameter is the device the modem is 
attached 
to) in this file matches your configuration and restart the service.
Depending on how fast the FIFO comes up, you may see a restart of the service)

For general documentation on how to set up hylafax, please see
http://hylafax.sourceforge.net/howto/install.php
++++++ hylafax-7.0.3.tar.gz -> hylafax-7.0.4.tar.gz ++++++
++++ 2832 lines of diff (skipped)

++++++ hylafax-faxmodem@.service ++++++
#
# Hylafax service for sendonly environment
# Copyright (c) 2021 Dr. Axel Braun <d...@opensuse.org>
#

[Unit]
Description=HylaFAX sendonly environment
ConditionPathExists=/var/spool/hylafax/FIFO
Requires=hylafax-faxq.service
PartOf=hylafax.target

[Service]
Type=oneshot
User=root       
Group=root
ExecStartPre=/usr/bin/sleep 5
ExecStart=/usr/sbin/faxmodem %I

[Install]
WantedBy=multi-user.target 
++++++ hylafax-faxqclean.timer ++++++
--- /var/tmp/diff_new_pack.nDEs8k/_old  2021-10-19 23:04:18.053285850 +0200
+++ /var/tmp/diff_new_pack.nDEs8k/_new  2021-10-19 23:04:18.057285852 +0200
@@ -6,7 +6,7 @@
 [Unit]
 Description=Faxqueue cleaner process
 Documentation=man:faxqclean(8) 
-Requires=hylafax-hfaxd.service
+Requires=hylafax-faxq.service
 
 [Timer]
 OnCalendar=hourly

++++++ hylafax-hfaxd.service ++++++
--- /var/tmp/diff_new_pack.nDEs8k/_old  2021-10-19 23:04:18.073285859 +0200
+++ /var/tmp/diff_new_pack.nDEs8k/_new  2021-10-19 23:04:18.073285859 +0200
@@ -1,6 +1,7 @@
 [Unit]
 Description=HylaFAX hfaxd (client service)
 ConditionPathExists=/var/spool/hylafax/etc/setup.cache
+Requires=hylafax-faxq.service
 PartOf=hylafax.target
 
 [Service]

++++++ hylafax-usage.timer ++++++
--- /var/tmp/diff_new_pack.nDEs8k/_old  2021-10-19 23:04:18.097285870 +0200
+++ /var/tmp/diff_new_pack.nDEs8k/_new  2021-10-19 23:04:18.097285870 +0200
@@ -6,7 +6,7 @@
 [Unit]
 Description=Daily usage statistics for hylafax
 Documentation=man:faxcron(8) 
-Requires=hylafax-hfaxd.service
+Requires=hylafax-faxq.service
 
 [Timer]
 OnCalendar=daily

++++++ hylafax.diff ++++++
diff -U 3 -dHrN a/tr/etc/probemodem.sh.in b/tr/etc/probemodem.sh.in
--- a/tr/etc/probemodem.sh.in   2020-07-28 03:29:41.000000000 +0200
+++ b/tr/etc/probemodem.sh.in   2021-10-14 11:07:07.454848194 +0200
@@ -79,10 +79,10 @@
 # directory.
 #
 if [ -e $SPOOL/etc/setup.cache ] && [ ! -e $DIR_LIBDATA/setup.cache ]; then
-    ln $SPOOL/etc/setup.cache $DIR_LIBDATA/setup.cache
+    ln $SPOOL/etc/setup.cache $DIR_LIBDATA/setup.cache || ln -s 
$SPOOL/etc/setup.cache $DIR_LIBDATA/setup.cache
 fi
 if [ -e $SPOOL/etc/setup.modem ] && [ ! -e $DIR_LIBDATA/setup.modem ]; then
-    ln $SPOOL/etc/setup.modem $DIR_LIBDATA/setup.modem
+    ln $SPOOL/etc/setup.modem $DIR_LIBDATA/setup.modem || ln -s 
$SPOOL/etc/setup.modem $DIR_LIBDATA/setup.modem
 fi
 
 #
--- a/trunk/etc/faxaddmodem.sh.in
+++ b/trunk/etc/faxaddmodem.sh.in
@@ -92,10 +92,10 @@
 # directory.
 #
 if [ -e $SPOOL/etc/setup.cache ] && [ ! -e $DIR_LIBDATA/setup.cache ]; then
-    ln $SPOOL/etc/setup.cache $DIR_LIBDATA/setup.cache
+    ln $SPOOL/etc/setup.cache $DIR_LIBDATA/setup.cache || ln -s 
$SPOOL/etc/setup.cache $DIR_LIBDATA/setup.cache
 fi
 if [ -e $SPOOL/etc/setup.modem ] && [ ! -e $DIR_LIBDATA/setup.modem ]; then
-    ln $SPOOL/etc/setup.modem $DIR_LIBDATA/setup.modem
+    ln $SPOOL/etc/setup.modem $DIR_LIBDATA/setup.modem || ln -s 
$SPOOL/etc/setup.modem $DIR_LIBDATA/setup.modem
 fi
 
 test -f $DIR_LIBDATA/setup.cache || {
--- a/trunk/etc/faxsetup.sh.in
+++ b/trunk/etc/faxsetup.sh.in
@@ -778,10 +778,10 @@
 # directory.
 #
 if [ -e $SPOOL/etc/setup.cache ] && [ ! -e $DIR_LIBDATA/setup.cache ]; then
-    ln $SPOOL/etc/setup.cache $DIR_LIBDATA/setup.cache
+    ln $SPOOL/etc/setup.cache $DIR_LIBDATA/setup.cache || ln -s 
$SPOOL/etc/setup.cache $DIR_LIBDATA/setup.cache
 fi
 if [ -e $SPOOL/etc/setup.modem ] && [ ! -e $DIR_LIBDATA/setup.modem ]; then
-    ln $SPOOL/etc/setup.modem $DIR_LIBDATA/setup.modem
+    ln $SPOOL/etc/setup.modem $DIR_LIBDATA/setup.modem || ln -s 
$SPOOL/etc/setup.modem $DIR_LIBDATA/setup.modem
 fi
 
 #
@@ -2204,7 +2204,7 @@
     $RM $DIR_SPOOL/etc/setup.modem
     $MV $DIR_LIBDATA/setup.tmp $DIR_LIBDATA/setup.modem
     $CHMOD 444 $DIR_LIBDATA/setup.modem
-    $LN $DIR_LIBDATA/setup.modem $DIR_SPOOL/etc/setup.modem
+    $LN $DIR_LIBDATA/setup.modem $DIR_SPOOL/etc/setup.modem || $LN -s 
$DIR_LIBDATA/setup.modem $DIR_SPOOL/etc/setup.modem
 
     $RM $DIR_LIBDATA/setup.cache
     $RM $DIR_SPOOL/etc/setup.cache
@@ -2212,7 +2212,7 @@
      echo '# on' `date` "for ${USER:-$euid}"
      dumpvals |sort)> $DIR_LIBDATA/setup.cache
     $CHMOD 444 $DIR_LIBDATA/setup.cache
-    $LN $DIR_LIBDATA/setup.cache $DIR_SPOOL/etc/setup.cache
+    $LN $DIR_LIBDATA/setup.cache $DIR_SPOOL/etc/setup.cache || $LN -s 
$DIR_LIBDATA/setup.cache $DIR_SPOOL/etc/setup.cache
 
     Note ""
     Note "Modem support functions written to $DIR_LIBDATA/setup.modem."
--- a/trunk/etc/hylafax.in
+++ b/trunk/etc/hylafax.in
@@ -59,10 +59,10 @@
 # directory.
 #
 if [ -e $SPOOL/etc/setup.cache ] && [ ! -e $DIR_LIBDATA/setup.cache ]; then
-    ln $SPOOL/etc/setup.cache $DIR_LIBDATA/setup.cache
+    ln $SPOOL/etc/setup.cache $DIR_LIBDATA/setup.cache || ln -s 
$SPOOL/etc/setup.cache $DIR_LIBDATA/setup.cache
 fi
 if [ -e $SPOOL/etc/setup.modem ] && [ ! -e $DIR_LIBDATA/setup.modem ]; then
-    ln $SPOOL/etc/setup.modem $DIR_LIBDATA/setup.modem
+    ln $SPOOL/etc/setup.modem $DIR_LIBDATA/setup.modem || ln -s 
$SPOOL/etc/setup.modem $DIR_LIBDATA/setup.modem
 fi
 
 test -f $DIR_LIBDATA/setup.cache || {

Reply via email to