Hello community,

here is the log from the commit of package hylafax+.13050 for 
openSUSE:Leap:15.1:Update checked in at 2020-07-14 06:27:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.1:Update/hylafax+.13050 (Old)
 and      /work/SRC/openSUSE:Leap:15.1:Update/.hylafax+.13050.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hylafax+.13050"

Tue Jul 14 06:27:22 2020 rev:1 rq:819038 version:7.0.2

Changes:
--------
New Changes file:

--- /dev/null   2020-06-25 10:56:43.568241769 +0200
+++ 
/work/SRC/openSUSE:Leap:15.1:Update/.hylafax+.13050.new.3060/hylafax+.changes   
    2020-07-14 06:27:23.383839481 +0200
@@ -0,0 +1,503 @@
+-------------------------------------------------------------------
+Tue Jun  9 13:04:05 UTC 2020 - Axel Braun <[email protected]>
+
+- fix for boo#1172731 
+  VUL-0: EMBARGOED: CVE-2020-8024: hylafax+: Problematic permissions allow 
+         escalation from uucp to other users
+  * adjusted authorisation
+  * adjusted pre*/post* snipplets 
+-------------------------------------------------------------------
+Fri Feb 14 17:31:40 UTC 2020 - Axel Braun <[email protected]>
+
+- Version 7.0.2
+* change FIXEDWIDTH default to better accommodate auto-rotation (13 Dec 2019)
+* prevent SSL_accept() from blocking (5 Dec 2019)
+* support libtiff v4.1 (5 Dec 2019)
+* fix ignoremodembusy feature broken by ModemGroup limits feature (16 Nov 2019)
+
+-------------------------------------------------------------------
+Fri Nov 22 15:00:52 UTC 2019 - Hans-Peter Jansen <[email protected]>
+
+- Version 7.0.1
+* create a client timeout setting and change the default from 60 to
+  3600 seconds (26 Sep 2019)
+* extend timeout for receiving ECM frames (21 Aug 2019)
+* fix timeout in Class 1 frame reception (5 Aug 2019)
+* improve Class 1 protocol handling when MaxRecvPages exceeded (31 Jul 2019)
+* fix ModemGroup limit default (11 Jul 2019)
+* fix recovery for SSL Fax write failures (6 Jun 2019)
+
+
+-------------------------------------------------------------------
+Fri Nov 22 11:43:31 UTC 2019 - Hans-Peter Jansen <[email protected]>
+
+- build fails with libtiff 4.1: pretend, that 4.1 is similar to 4.0
+
+-------------------------------------------------------------------
+Thu Jul 18 12:45:43 UTC 2019 - Axel Braun <[email protected]>
+
+- Version 7.0.0
+* add LDAP features for compatibility with ActiveDirectory (25 Mar-1 Apr 2019)
+* fix recovery after SSL Fax "accept failure" (18 Mar 2019)
+* add TextFormat overstrike option and disable by default (6 Feb 2019)
+* fix the page size of cover sheets returned via notify (8 Jan 2019)
+* fix or silence numerous compiler warnings (19, 22, 28 Dec 2018)
+* fix pagehandling updating after a proxy has been used (7-8 Dec 2018)
+* add faxmail stderr output of RFC2047 decoding results (5 Dec 2018)
+* fix faxmail handling of headers encoded with UTF-8 (4 Dec 2018)
+* fix faxmail handling of base64-encoded text parts (4 Dec 2018)
+* add SSL Fax support (9-26, 29 Nov; 11, 18, 25 Dec 2018; 2, 7, 23 Jan 2019)
+
+-------------------------------------------------------------------
+Wed Jan 23 00:45:23 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Reduce boilerplate generated from %service_* by calling it just
+  once.
+
+-------------------------------------------------------------------
+Fri Jan 18 14:10:13 UTC 2019 - Axel Braun <[email protected]>
+
+- faxgetty@ service removed from %pre section, as it is only a placeholder
+
+-------------------------------------------------------------------
+Wed Jan 16 17:11:37 UTC 2019 - Axel Braun <[email protected]>
+
+- Dependency on hylafax-hfaxd for timers added
+
+-------------------------------------------------------------------
+Tue Jan  8 19:53:15 UTC 2019 - Axel Braun <[email protected]>
+
+- migrate from cron to systemd timers (boo#1115442)
+
+-------------------------------------------------------------------
+Tue Nov 27 21:18:13 UTC 2018 - Hans-Peter Jansen <[email protected]>
+
+- move textfmt to client package (used by sendfax only)
+
+-------------------------------------------------------------------
+Wed Nov 14 12:33:37 UTC 2018 - Tomáš Chvátal <[email protected]>
+
+- Do not use tabs in spec
+
+-------------------------------------------------------------------
+Mon Nov 12 15:50:24 UTC 2018 - Axel Braun <[email protected]>
+
+- boo#1115532 JBIG-in-tiff conversion added 
+  (Build Requirement tiff, libtiff)
+
+-------------------------------------------------------------------
+Wed Sep 19 13:38:15 UTC 2018 - Hans-Peter Jansen <[email protected]>
+
+- add systemd hylafax.target
+
+-------------------------------------------------------------------
+Tue Sep 18 18:31:26 UTC 2018 - Hans-Peter Jansen <[email protected]>
+
+- version 5.6.1:
+  * CVE-2018-17141: fixes multiple JPEG vulnerabilities affecting
+    fax page reception in JPEG format. Specially crafted input may
+    have allowed remote execution of arbitrary code (boo#1109084)
+
+-------------------------------------------------------------------
+Mon Sep 17 10:15:34 UTC 2018 - Hans-Peter Jansen <[email protected]>
+
+- use systemd template unit file for hylafax-faxgetty services
+- fix services
+
+-------------------------------------------------------------------
+Sat Aug 25 19:03:25 UTC 2018 - [email protected]
+
+- Trim "enterprise" nonsense marketing.
+
+-------------------------------------------------------------------
+Wed Aug 15 05:47:30 UTC 2018 - [email protected]
+
+- version 5.6.0
+
+* notification.diff removed (part of 5.6.0 now)
+* some adjustments to assist AIX 6.1 builds (29 Jun 2018)
+* initial support for systemd in faxsetup (29 Jun 2018)
+* fix RFC2047 encoding by notify (27 Jun, 3 Jul 2018)
+* add jobcontrol PageSize feature (27 Jun 2018)
+* fix various compiler warnings (27 Jun 2018)
+* fix build on musl-based distribution (27 Jun 2018)
+* don't wait forever after +FRH:3 (18 Jun 2018)
+* add -A and -B options to tagtest (22 Feb 2018)
+* make tagtest use the TSI and CallerID data, if available (21 Feb 2018)
+* make tagtest use the date from the TIFF tags, if available,
+  instead of "now" (20 Feb 2018)
+* pass Content-Type name and Content-Disposition filename
+  information to faxmail MIMEHandlers (15 Jan 2018)
+* fix faxmail transition between a message and external types (15 Jan 2018)
+* fix warning for major and minor macros move to sysmacros.h (19 Dec 2017)
+* avoid pagehandling from introducing some unnecessary EOM signals (15 Dec 
2017)
+* improve proxy connection error handling and logging (5 Dec 2017)
+* fix for reproducible builds (11 Sep 2017)
+* fix quote escaping in client apps (5 Sep 2017)
+* treat callingnumber  as null (25, 31 Aug 2017)
+* add initial ModemGroup limits feature (24 Aug 2017)
+* add CLEANFAXDATA and BADFAXLINES TIFF tags for ECM receptions (10 Aug 2017)
+* pass the user's uid onto the session log file for sent faxes (25 Jul 2017)
+* improve job waits to minimize triggers (30 May 2017)
+* increase FIFO read size and add logging information (25 May 2017)
+* add ProxyTaglineFormat and ProxyTSI features (13 Mar 2017)
+ 
+-------------------------------------------------------------------
+Sun Jun 17 20:04:35 UTC 2018 - [email protected]
+
+- boo#1091476: hfaxd needs to run as root
+  otherwise error message '550 Cannot set privileges'
+
+-------------------------------------------------------------------
+Wed May  9 11:28:36 UTC 2018 - [email protected]
+
+- boo#1091476: faxq must always run as real user root
+
+-------------------------------------------------------------------
+Sun Mar  4 12:19:04 UTC 2018 - [email protected]
+
+- Remove uucp user creation for pre-1500: aaa_base provides
+  this user/group already.
+
+-------------------------------------------------------------------
+Wed Feb 21 20:49:11 UTC 2018 - [email protected]
+
+- create user/group uucp
+  adapt services to use uucp
+  boo#1081899
+
+-------------------------------------------------------------------
+Sat Nov  4 15:42:28 UTC 2017 - [email protected]
+
+- bnc1052195 localized Email notification chops german Umlauts
+  correction in bin/notify common_functions dictionary
+  * notification.diff
+
+-------------------------------------------------------------------
+Fri Jul 21 13:54:38 UTC 2017 - [email protected]
+
+- Drop hylafax+_rh.init
+- Drop conditionals for distros we never build against in OBS
+- Switch to LCMS2
+- Add jbikgit-devel dependency so it is detected by configure
+
+-------------------------------------------------------------------
+Mon Apr  3 11:40:04 UTC 2017 - [email protected]
+
+- hylafax+ 5.5.9
+* fix a handful of compiler warnings for gcc v7 (13, 17 Feb 2017)
+* fix job rescheduling if the proxy connection attempt fails (13 Jul 2016)
+* increase the maximum number of triggers from 1024 to 4096 (13 Jul 2016)
+* eliminate faxq job priority "bounding" (13 Jul 2016)
+* attempt to detect premature non-ECM Phase C carrier loss (15 Jun 2016)
+* add missing recvq error message indications (6 May 2016)
+* fix tagtest support for multi-strip images (25 Mar 2016)
+* enhance textfmt wrapping to occur on word boundaries (24 Feb 2016)
+
+-------------------------------------------------------------------
++++ 306 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.1:Update/.hylafax+.13050.new.3060/hylafax+.changes

New:
----
  README.SUSE
  hylafax+.changes
  hylafax+.spec
  hylafax-7.0.2.tar.gz
  [email protected]
  hylafax-faxq.service
  hylafax-faxqclean.service
  hylafax-faxqclean.timer
  hylafax-hfaxd.service
  hylafax-usage.service
  hylafax-usage.timer
  hylafax.target
  sendonly.conf

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

Other differences:
------------------
++++++ hylafax+.spec ++++++
#
# spec file for package hylafax+
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%global faxspool    %{_localstatedir}/spool/hylafax
%define lib_version %(echo %{version} | tr \. _)
Name:           hylafax+
Version:        7.0.2
Release:        0
Summary:        A fax server
License:        BSD-3-Clause
Group:          Productivity/Telephony/Servers
URL:            http://hylafax.sourceforge.net
Source0:        
http://downloads.sourceforge.net/hylafax/hylafax-%{version}.tar.gz
Source4:        hylafax-hfaxd.service
Source5:        hylafax-faxq.service
Source6:        [email protected]
Source7:        hylafax.target
Source8:        README.SUSE
Source9:        sendonly.conf
# systemd-timer
Source10:       hylafax-usage.timer
Source11:       hylafax-usage.service
Source12:       hylafax-faxqclean.timer
Source13:       hylafax-faxqclean.service

BuildRequires:  gcc-c++
BuildRequires:  ghostscript
BuildRequires:  libjbig-devel
BuildRequires:  libjpeg-devel
BuildRequires:  libtiff-devel
BuildRequires:  openldap2-devel
BuildRequires:  pam-devel
BuildRequires:  pkgconfig
BuildRequires:  systemd-rpm-macros
# needed together with devel for proper configure detection
BuildRequires:  tiff
BuildRequires:  pkgconfig(lcms2)
BuildRequires:  pkgconfig(libtiff-4)
BuildRequires:  pkgconfig(systemd)
BuildRequires:  pkgconfig(zlib)
Requires:       gawk
Requires:       ghostscript
Requires:       ghostscript-fonts
# Server checks for existence of sendfax
Requires:       hylafax+-client
Requires:       mailx
Requires:       sharutils
Requires:       tiff
Conflicts:      hylafax < 30.0.0
Conflicts:      mgetty-sendfax
Provides:       hylafax = 30.0.0
%{?systemd_requires}
%if 0%{?suse_version} >= 1500
Requires(pre):  group(uucp)
Requires(pre):  user(uucp)
%else
Requires(pre):  aaa_base
%endif

%description
HylaFAX is a fax server supporting Class 1 and 2 fax modems on UNIX
systems. It provides spooling services and numerous supporting fax
management tools. The fax clients may reside on machines different
from the server, and client implementations exist for a number of
platforms, including Windows.

%package -n libfaxutil%{lib_version}
Summary:        Runtime library needed by both fax server and client
Group:          System/Libraries

%description -n libfaxutil%{lib_version}
This runtime lib is needed by both the fax server and the client.

%package client
Summary:        Client package for the Hylafax server
Group:          Hardware/Fax
Conflicts:      hylafax-client < 30.0.0
Conflicts:      sendfax
Provides:       hylafax-client = 30.0.0

%description client
This is client part of the Hylafax fax server. If the Hylafax fax
server is already running on another machine, this package can be
used to access the server.

%prep
%setup -q -n hylafax-%{version}
cp %{SOURCE8} .
cp %{SOURCE9} .
# pretend, that libtiff 4.1 is similar to 4.0
sed -i 's/4.0)/4.[01])/' configure

%build
# - Can't use the configure macro because HylaFAX configure script does
#   not understand the config options used by that macro
CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" \
STRIP=':' \
./configure \
        --with-DIR_BIN=%{_bindir} \
        --with-DIR_SBIN=%{_sbindir} \
        --with-DIR_LIB=%{_libdir} \
        --with-DIR_LIBEXEC=%{_sbindir} \
        --with-DIR_LIBDATA=%{_sysconfdir}/hylafax \
        --with-DIR_LOCKS=%{_localstatedir}/lock \
        --with-LIBDIR=%{_libdir} \
        --with-TIFFBIN=%{_bindir} \
        --with-DIR_MAN=%{_mandir} \
        --with-PATH_GSRIP=%{_bindir}/gs \
        --with-TIFFINC=-L%{_includedir} \
        --with-LIBTIFF="-ltiff" \
        --with-DIR_SPOOL=%{faxspool} \
        --with-AFM=no \
        --with-AWK=%{_bindir}/gawk \
        --with-PATH_VGETTY=/sbin/vgetty \
        --with-PATH_GETTY=/sbin/mgetty \
        --with-PAGESIZE=A4 \
        --with-PATH_DPSRIP=%{faxspool}/bin/ps2fax \
        --with-PATH_IMPRIP="" \
        --with-SYSVINIT=%{_initddir}/hylafax+ \
        --with-INTERACTIVE=no \
        --with-JBIGTIFF=yes
# can't use _smp_mflags because it breaks libfaxutil dso building
make -j1

%install
# install: make some dirs...
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/hylafax
mkdir -p -m 755 %{buildroot}%{_unitdir}
mkdir -p -m 755 %{buildroot}%{_initddir}
mkdir -p -m 755 %{buildroot}%{_bindir}
mkdir -p -m 755 %{buildroot}%{_sbindir}
mkdir -p -m 755 %{buildroot}%{_libdir}
mkdir -p -m 755 %{buildroot}%{_mandir}
mkdir -p -m 755 %{buildroot}%{faxspool}/config

# install: binaries and man pages
# FAXUSER, FAXGROUP, SYSUSER and SYSGROUP are set to the current user to
# avoid warnings about chown/chgrp if the user building the SRPM is not root;
# they are set to the correct values with the RPM attr macro
make install -e \
        FAXUSER=`id -u` \
        FAXGROUP=`id -g` \
        SYSUSER=`id -u` \
        SYSGROUP=`id -g` \
        BIN=%{buildroot}%{_bindir} \
        SBIN=%{buildroot}%{_sbindir} \
        LIBDIR=%{buildroot}%{_libdir} \
        LIBDATA=%{buildroot}%{_sysconfdir}/hylafax \
        LIBEXEC=%{buildroot}%{_sbindir} \
        SPOOL=%{buildroot}%{faxspool} \
        MAN=%{buildroot}%{_mandir} \
        INSTALL_ROOT=%{buildroot}

install -p -m 644 %{SOURCE4} %{buildroot}%{_unitdir}/hylafax-hfaxd.service
install -p -m 644 %{SOURCE5} %{buildroot}%{_unitdir}/hylafax-faxq.service
install -p -m 644 %{SOURCE6} %{buildroot}%{_unitdir}/[email protected]
install -p -m 644 %{SOURCE7} %{buildroot}%{_unitdir}/hylafax.target
install -D -m 0644 %{SOURCE10} %{buildroot}%{_unitdir}/hylafax-usage.timer
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

for lnk in hylafax-hfaxd hylafax-faxq; do
    ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc$lnk
done
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rchylafax

# not being executable is rather unconvenient
chmod +x %{buildroot}%{_sbindir}/edit-faxcover

# Prepare docdir by removing non-doc files
# Remove files that are not needed on Linux
rm -f %{buildroot}%{_sbindir}/{faxsetup.irix,faxsetup.bsdi}
rm -f %{buildroot}%{faxspool}/bin/{ps2fax.imp,ps2fax.dps}

rm -f %{buildroot}%{faxspool}/COPYRIGHT

%pre
%service_add_pre hylafax-faxq.service 
%service_add_pre hylafax-hfaxd.service 
%service_add_pre hylafax-usage.service
%service_add_pre hylafax-faxqclean.service
%service_add_pre hylafax-usage.timer 
%service_add_pre hylafax-faxqclean.timer
%service_add_pre hylafax.target
%service_add_pre [email protected]

%post
/sbin/ldconfig
%service_add_post hylafax-faxq.service 
%service_add_post hylafax-hfaxd.service 
%service_add_post hylafax-usage.service 
%service_add_post hylafax-faxqclean.service
%service_add_post hylafax-usage.timer 
%service_add_post hylafax-faxqclean.timer
%service_add_post hylafax.target
%service_add_post [email protected]

%preun
%service_del_preun hylafax-faxq.service 
%service_del_preun hylafax-hfaxd.service 
%service_del_preun hylafax-usage.service
%service_del_preun hylafax-faxqclean.service
%service_del_preun hylafax-usage.timer 
%service_del_preun hylafax-faxqclean.timer
%service_del_preun hylafax.target
%service_del_preun [email protected]

%postun
/sbin/ldconfig
%service_del_postun hylafax-faxq.service 
%service_del_postun hylafax-hfaxd.service 
%service_del_postun hylafax-usage.service
%service_del_postun hylafax-faxqclean.service
%service_del_postun hylafax-usage.timer 
%service_del_postun hylafax-faxqclean.timer
%service_del_postun hylafax.target
%service_del_postun [email protected]

%post -n libfaxutil%{lib_version} -p /sbin/ldconfig
%postun -n libfaxutil%{lib_version} -p /sbin/ldconfig

%files
%{_unitdir}/hylafax-hfaxd.service
%{_unitdir}/hylafax-faxq.service
%{_unitdir}/[email protected]
%{_unitdir}/hylafax.target
%{_unitdir}/hylafax-usage.timer
%{_unitdir}/hylafax-usage.service
%{_unitdir}/hylafax-faxqclean.timer
%{_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
%exclude %{_libdir}/libfaxutil*
%{_libdir}/libfax*
%{_mandir}/man5/hylafax-config.5f%{ext_man}
%{_mandir}/man5/doneq.5f%{ext_man}
%{_mandir}/man5/dialrules.5f%{ext_man}
%{_mandir}/man5/hosts.hfaxd.5f%{ext_man}
%{_mandir}/man5/hylafax-server.5f%{ext_man}
%{_mandir}/man5/hylafax-info.5f%{ext_man}
%{_mandir}/man5/hylafax-log.5f%{ext_man}
%{_mandir}/man5/pagermap.5f%{ext_man}
%{_mandir}/man5/pagesizes.5f%{ext_man}
%{_mandir}/man5/recvq.5f%{ext_man}
%{_mandir}/man5/sendq.5f%{ext_man}
%{_mandir}/man5/hylafax-shutdown.5f%{ext_man}
%{_mandir}/man5/status.5f%{ext_man}
%{_mandir}/man5/tsi.5f%{ext_man}
%{_mandir}/man5/typerules.5f%{ext_man}
%{_mandir}/man5/xferfaxlog.5f%{ext_man}
%{_mandir}/man8/choptest.8c%{ext_man}
%{_mandir}/man8/cqtest.8c%{ext_man}
%{_mandir}/man8/dialtest.8c%{ext_man}
%{_mandir}/man8/faxabort.8c%{ext_man}
%{_mandir}/man8/faxaddmodem.8c%{ext_man}
%{_mandir}/man8/faxadduser.8c%{ext_man}
%{_mandir}/man8/faxanswer.8c%{ext_man}
%{_mandir}/man8/faxconfig.8c%{ext_man}
%{_mandir}/man8/faxcron.8c%{ext_man}
%{_mandir}/man8/faxdeluser.8c%{ext_man}
%{_mandir}/man8/faxgetty.8c%{ext_man}
%{_mandir}/man8/faxinfo.8c%{ext_man}
%{_mandir}/man8/faxlock.8c%{ext_man}
%{_mandir}/man8/faxmodem.8c%{ext_man}
%{_mandir}/man8/faxq.8c%{ext_man}
%{_mandir}/man8/faxqclean.8c%{ext_man}
%{_mandir}/man8/faxquit.8c%{ext_man}
%{_mandir}/man8/faxrcvd.8c%{ext_man}
%{_mandir}/man8/faxsend.8c%{ext_man}
%{_mandir}/man8/faxsetup.8c%{ext_man}
%{_mandir}/man8/faxstate.8c%{ext_man}
%{_mandir}/man8/faxwatch.8c%{ext_man}
%{_mandir}/man8/hfaxd.8c%{ext_man}
%{_mandir}/man8/jobcontrol.8c%{ext_man}
%{_mandir}/man8/mkcover.8c%{ext_man}
%{_mandir}/man8/notify.8c%{ext_man}
%{_mandir}/man8/pagesend.8c%{ext_man}
%{_mandir}/man8/pollrcvd.8c%{ext_man}
%{_mandir}/man8/pdf2fax.8c%{ext_man}
%{_mandir}/man8/ps2fax.8c%{ext_man}
%{_mandir}/man8/recvstats.8c%{ext_man}
%{_mandir}/man8/tagtest.8c%{ext_man}
%{_mandir}/man8/tiff2fax.8c%{ext_man}
%{_mandir}/man8/tiffcheck.8c%{ext_man}
%{_mandir}/man8/tsitest.8c%{ext_man}
%{_mandir}/man8/wedged.8c%{ext_man}
%{_mandir}/man8/xferfaxstats.8c%{ext_man}
%{_mandir}/man8/faxfetch.8c%{ext_man}
%{_mandir}/man8/faxmsg.8c%{ext_man}
%{_mandir}/man8/faxsetup.linux.8c%{ext_man}
%{_mandir}/man8/hylafax.8c%{ext_man}
%{_mandir}/man8/lockname.8c%{ext_man}
%{_mandir}/man8/ondelay.8c%{ext_man}
%{_mandir}/man8/probemodem.8c%{ext_man}
%{_mandir}/man8/typetest.8c%{ext_man}
%defattr(755,root,root,-)
%dir %{_sysconfdir}/hylafax
%dir %{_sysconfdir}/hylafax/faxmail
%dir %{_sysconfdir}/hylafax/faxmail/application
%dir %{_sysconfdir}/hylafax/faxmail/image
%config(noreplace) %{_sysconfdir}/hylafax/hfaxd.conf
%defattr(-,uucp,uucp,-)
%dir %{faxspool}/config
%dir %{faxspool}/dev
%{faxspool}/config/*
%{faxspool}/bin/dict/*
%{faxspool}/bin/genfontmap.ps
%{faxspool}/bin/auto-rotate.ps
%{faxspool}%{_sysconfdir}/dpsprinter.ps
%{faxspool}%{_sysconfdir}/cover.templ
%{faxspool}%{_sysconfdir}/lutRS18.pcf
%{faxspool}%{_sysconfdir}/LiberationSans-25.pcf
%config(noreplace) %{faxspool}%{_sysconfdir}/dialrules*
%defattr(755,root,root,-)
%{_sbindir}/choptest
%{_sbindir}/cqtest
%{_sbindir}/dialtest
%{_sbindir}/faxabort
%{_sbindir}/faxaddmodem
%{_sbindir}/faxadduser
%{_sbindir}/faxanswer
%{_sbindir}/faxconfig
%{_sbindir}/faxcron
%{_sbindir}/faxdeluser
%{_sbindir}/faxinfo
%{_sbindir}/faxlock
%{_sbindir}/faxmodem
%{_sbindir}/faxmsg
%{_sbindir}/faxq
%{_sbindir}/faxqclean
%{_sbindir}/faxquit
%{_sbindir}/faxsetup
%{_sbindir}/faxsetup.linux
%{_sbindir}/faxstate
%{_sbindir}/faxwatch
%{_sbindir}/probemodem
%{_sbindir}/recvstats
%{_sbindir}/tagtest
%{_sbindir}/tiffcheck
%{_sbindir}/tsitest
%{_sbindir}/typetest
%{_sbindir}/xferfaxstats
%{_sbindir}/faxfetch
%{_sbindir}/faxgetty
%{_sbindir}/faxsend
%{_sbindir}/hfaxd
%{_sbindir}/hylafax
%{_sbindir}/lockname
%{_sbindir}/ondelay
%{_sbindir}/pagesend
%{faxspool}/bin/archive
%{faxspool}/bin/common-functions
%{faxspool}/bin/dictionary
%{faxspool}/bin/faxrcvd
%{faxspool}/bin/mkcover
%{faxspool}/bin/notify
%{faxspool}/bin/pcl2fax
%{faxspool}/bin/pdf2fax.gs
%{faxspool}/bin/pollrcvd
%{faxspool}/bin/ps2fax.gs
%{faxspool}/bin/qp-encode.awk
%{faxspool}/bin/rfc2047-encode.awk
%{faxspool}/bin/tiff2fax
%{faxspool}/bin/tiff2pdf
%{faxspool}/bin/wedged
%{_sysconfdir}/hylafax/faxmail/application/pdf
%{_sysconfdir}/hylafax/faxmail/application/octet-stream
%{_sysconfdir}/hylafax/faxmail/application/binary
%{_sysconfdir}/hylafax/faxmail/image/tiff
%defattr(-,uucp,uucp,-)
%dir %{faxspool}
%attr(755,root,root) %dir %{faxspool}/bin
%dir %{faxspool}/bin/dict
%dir %{faxspool}/client
%attr(755,root,root) %dir %{faxspool}%{_sysconfdir}
%dir %{faxspool}/info
%dir %{faxspool}/log
%dir %{faxspool}/recvq
%dir %{faxspool}/status
%config(noreplace) %{faxspool}%{_sysconfdir}/xferfaxlog
%attr(700,uucp,uucp) %dir %{faxspool}/docq
%attr(700,uucp,uucp) %dir %{faxspool}/doneq
%attr(700,uucp,uucp) %dir %{faxspool}/archive
%attr(700,uucp,uucp) %dir %{faxspool}/sendq
%attr(700,uucp,uucp) %dir %{faxspool}/tmp
%attr(700,uucp,uucp) %dir %{faxspool}/pollq
%defattr(600,uucp,uucp,-)
%config(noreplace) %{faxspool}%{_sysconfdir}/hosts.hfaxd

%files -n libfaxutil%{lib_version}
%defattr(-,root,root,-)
%{_libdir}/libfaxutil*

%files client
%config(noreplace) %{_sysconfdir}/hylafax/faxcover.ps
%config(noreplace) %{_sysconfdir}/hylafax/faxmail.ps
%config(noreplace) %{_sysconfdir}/hylafax/pagesizes
%config(noreplace) %{_sysconfdir}/hylafax/typerules
%{_bindir}/faxalter
%{_bindir}/faxcover
%{_bindir}/faxmail
%{_bindir}/faxrm
%{_bindir}/faxstat
%{_bindir}/sendfax
%{_bindir}/sendpage
%{_sbindir}/edit-faxcover
%{_sbindir}/textfmt
%{_mandir}/man1/edit-faxcover.1%{?ext_man}
%{_mandir}/man1/faxalter.1%{?ext_man}
%{_mandir}/man1/faxcover.1%{?ext_man}
%{_mandir}/man1/faxmail.1%{?ext_man}
%{_mandir}/man1/faxrm.1%{?ext_man}
%{_mandir}/man1/faxstat.1%{?ext_man}
%{_mandir}/man1/hylafax-client.1%{?ext_man}
%{_mandir}/man1/sendfax.1%{?ext_man}
%{_mandir}/man1/sendpage.1%{?ext_man}
%{_mandir}/man1/sgi2fax.1%{?ext_man}
%{_mandir}/man1/textfmt.1%{?ext_man}

%changelog
++++++ README.SUSE ++++++
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 [email protected]
systemctl start [email protected]

Starting them at boot time with:

systemctl enable [email protected]
systemctl enable [email protected]


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.
In a systemd environment, it is easiest to add additional configuration for 
systemd.
Create a directory
/etc/systemd/system/hylafax-hfaxd.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.

For general documentation on how to set up hylafax, please see
http://hylafax.sourceforge.net/howto/install.php
++++++ [email protected] ++++++
[Unit]
Description=HylaFAX faxgetty for %I
Documentation=man:faxgetty(8C)
After=hylafax-faxq.service
PartOf=hylafax.target

[Service]
ExecStart=-/usr/sbin/faxgetty /dev/%I
Type=idle
Restart=always
RestartSec=0
UtmpIdentifier=%I
TTYPath=/dev/%I
KillMode=process
IgnoreSIGPIPE=no

[Install]
WantedBy=multi-user.target 
++++++ hylafax-faxq.service ++++++
[Unit]
Description=HylaFAX faxq (job scheduler service)
ConditionPathExists=/var/spool/hylafax/etc/setup.cache
PartOf=hylafax.target

[Service]
User=root
Group=root
Restart=always
SuccessExitStatus=255
ExecStart=/usr/sbin/faxq -D
LimitNOFILE=8192

[Install]
WantedBy=multi-user.target 
++++++ hylafax-faxqclean.service ++++++
#
# Hylafax usage timers for systemd-timers - service 
# Copyright (c) 2019 Dr. Axel Braun <[email protected]>
#

[Unit]
Description=Faxqueue cleaner process
Documentation=man:faxqclean(8) 

[Service]
Type=oneshot
ExecStart=/usr/sbin/faxqclean
++++++ hylafax-faxqclean.timer ++++++
#
# Hylafax cleaner timer for systemd-timers
# Copyright (c) 2019 Dr. Axel Braun <[email protected]>
#

[Unit]
Description=Faxqueue cleaner process
Documentation=man:faxqclean(8) 
Requires=hylafax-hfaxd.service

[Timer]
OnCalendar=hourly
AccuracySec=30m
Persistent=true

[Install]
WantedBy=timers.target
++++++ hylafax-hfaxd.service ++++++
[Unit]
Description=HylaFAX hfaxd (client service)
ConditionPathExists=/var/spool/hylafax/etc/setup.cache
PartOf=hylafax.target

[Service]
User=root       
Group=root
Restart=always
ExecStart=/usr/sbin/hfaxd -d -i hylafax

[Install]
WantedBy=multi-user.target 
++++++ hylafax-usage.service ++++++
#
# Hylafax usage file for systemd-timers - service 
# Copyright (c) 2019 Dr. Axel Braun <[email protected]>
#

[Unit]
Description=Daily usage statistics for hylafax
Documentation=man:faxcron(8) 

[Service]
Type=oneshot
ExecStart=/bin/bash -c '/usr/sbin/faxcron | mail -s "HylaFAX Usage Report" 
faxmaster'
++++++ hylafax-usage.timer ++++++
#
# Hylafax usage file for systemd-timers
# Copyright (c) 2019 Dr. Axel Braun <[email protected]>
#

[Unit]
Description=Daily usage statistics for hylafax
Documentation=man:faxcron(8) 
Requires=hylafax-hfaxd.service

[Timer]
OnCalendar=daily
AccuracySec=12h
Persistent=true

[Install]
WantedBy=timers.target
++++++ hylafax.target ++++++
[Unit]
Description=Target to restart all parts of HylaFax+

++++++ sendonly.conf ++++++
[Service]
ExecStartPost=/usr/sbin/faxmodem ttyS0

Reply via email to