[hylafax+] Initial import (#188542).
Lee Howard
faxguy at fedoraproject.org
Fri Dec 14 17:18:30 UTC 2012
commit 7c2f8540cee6c1e1d0da2fede0faa50898ea3155
Author: Lee Howard <faxguy at howardsilvan.com>
Date: Fri Dec 14 09:17:23 2012 -0800
Initial import (#188542).
.gitignore | 1 +
hylafax+-badshebangs.patch | 120 ++++++++
hylafax+-clearlinkage.patch | 22 ++
hylafax+-moremanpages.patch | 623 ++++++++++++++++++++++++++++++++++++++++
hylafax+.spec | 373 ++++++++++++++++++++++++
hylafax+_daily.cron | 5 +
hylafax+_faxq_systemd.service | 12 +
hylafax+_hfaxd_systemd.service | 12 +
hylafax+_hourly.cron | 5 +
hylafax+_rh.init | 124 ++++++++
sources | 1 +
11 files changed, 1298 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..506f7d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hylafax-5.5.2.tar.gz
diff --git a/hylafax+-badshebangs.patch b/hylafax+-badshebangs.patch
new file mode 100644
index 0000000..4c6451d
--- /dev/null
+++ b/hylafax+-badshebangs.patch
@@ -0,0 +1,120 @@
+diff -Nru hylafax.orig/util/dict-de.in hylafax/util/dict-de.in
+--- hylafax.orig/util/dict-de.in 2012-10-23 15:45:40.000000000 -0700
++++ hylafax/util/dict-de.in 2012-12-03 20:45:34.521371736 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-de.in,v 1.1 2008/01/18 19:28:14 faxguy Exp $
+
+ CHARSET=iso-8859-1;
+diff -Nru hylafax.orig/util/dict-en.in hylafax/util/dict-en.in
+--- hylafax.orig/util/dict-en.in 2012-10-23 15:45:40.000000000 -0700
++++ hylafax/util/dict-en.in 2012-12-03 20:45:39.019687888 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-en.in,v 1.1 2008/01/18 19:28:14 faxguy Exp $
+
+ CHARSET=iso-8859-1;
+diff -Nru hylafax.orig/util/dict-es.in hylafax/util/dict-es.in
+--- hylafax.orig/util/dict-es.in 2012-10-23 15:45:40.000000000 -0700
++++ hylafax/util/dict-es.in 2012-12-03 20:45:41.356332664 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-es.in,v 1.1 2008/01/18 19:28:15 faxguy Exp $
+
+ CHARSET=iso-8859-1;
+diff -Nru hylafax.orig/util/dict-fr.in hylafax/util/dict-fr.in
+--- hylafax.orig/util/dict-fr.in 2012-10-23 15:45:40.000000000 -0700
++++ hylafax/util/dict-fr.in 2012-12-03 20:45:46.514548496 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-fr.in,v 1.1 2008/01/18 19:28:15 faxguy Exp $
+
+ CHARSET=UTF-8;
+diff -Nru hylafax.orig/util/dict-it.in hylafax/util/dict-it.in
+--- hylafax.orig/util/dict-it.in 2012-10-23 15:45:39.000000000 -0700
++++ hylafax/util/dict-it.in 2012-12-03 20:45:49.371114232 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-it.in,v 1.1 2008/01/18 19:28:17 faxguy Exp $
+
+ CHARSET=iso-8859-1;
+diff -Nru hylafax.orig/util/dict-nl_BE.in hylafax/util/dict-nl_BE.in
+--- hylafax.orig/util/dict-nl_BE.in 2012-10-23 15:45:40.000000000 -0700
++++ hylafax/util/dict-nl_BE.in 2012-12-03 20:45:51.436800200 -0800
+@@ -1,4 +1,3 @@
+-#! /bin/bash
+ # $Id: dict-nl_BE.in,v 1.1 2009/12/03 04:56:02 faxguy Exp $
+
+ CHARSET=iso-8859-1;
+diff -Nru hylafax.orig/util/dict-pl.in hylafax/util/dict-pl.in
+--- hylafax.orig/util/dict-pl.in 2012-10-23 15:45:39.000000000 -0700
++++ hylafax/util/dict-pl.in 2012-12-03 20:45:53.677459568 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-pl.in,v 1.1 2008/01/18 19:28:17 faxguy Exp $
+
+ CHARSET=iso-8859-2;
+diff -Nru hylafax.orig/util/dict-pt_BR.in hylafax/util/dict-pt_BR.in
+--- hylafax.orig/util/dict-pt_BR.in 2012-10-23 15:45:39.000000000 -0700
++++ hylafax/util/dict-pt_BR.in 2012-12-03 20:45:56.259067104 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-pt_BR.in,v 1.1 2008/01/18 19:28:18 faxguy Exp $
+
+ CHARSET=iso-8859-1;
+diff -Nru hylafax.orig/util/dict-pt.in hylafax/util/dict-pt.in
+--- hylafax.orig/util/dict-pt.in 2012-10-23 15:45:40.000000000 -0700
++++ hylafax/util/dict-pt.in 2012-12-03 20:45:58.368746384 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-pt.in,v 1.1 2008/01/18 19:28:18 faxguy Exp $
+
+ CHARSET=iso-8859-1;
+diff -Nru hylafax.orig/util/dict-ro.in hylafax/util/dict-ro.in
+--- hylafax.orig/util/dict-ro.in 2012-10-23 15:45:40.000000000 -0700
++++ hylafax/util/dict-ro.in 2012-12-03 20:46:00.513420344 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-ro.in,v 1.1 2008/01/18 19:28:19 faxguy Exp $
+
+ CHARSET=UTF-8;
+diff -Nru hylafax.orig/util/dict-ru.in hylafax/util/dict-ru.in
+--- hylafax.orig/util/dict-ru.in 2012-10-23 15:45:40.000000000 -0700
++++ hylafax/util/dict-ru.in 2012-12-03 20:46:03.512964344 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-ru.in,v 1.1 2011/02/16 18:21:47 faxguy Exp $
+
+ CHARSET=utf-8;
+diff -Nru hylafax.orig/util/dict-sr.in hylafax/util/dict-sr.in
+--- hylafax.orig/util/dict-sr.in 2012-10-23 15:45:40.000000000 -0700
++++ hylafax/util/dict-sr.in 2012-12-03 20:46:05.622643624 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-sr.in,v 1.1 2008/01/18 19:28:19 faxguy Exp $
+
+ CHARSET=utf-8;
+diff -Nru hylafax.orig/util/dict-tr.in hylafax/util/dict-tr.in
+--- hylafax.orig/util/dict-tr.in 2012-10-23 15:45:39.000000000 -0700
++++ hylafax/util/dict-tr.in 2012-12-03 20:46:08.023278672 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-tr.in,v 1.1 2008/01/18 19:28:19 faxguy Exp $
+
+ CHARSET=utf-8;
+diff -Nru hylafax.orig/util/dict-uk.in hylafax/util/dict-uk.in
+--- hylafax.orig/util/dict-uk.in 2012-10-23 15:45:40.000000000 -0700
++++ hylafax/util/dict-uk.in 2012-12-03 20:46:10.061968744 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-uk.in,v 1.1 2011/02/16 18:21:47 faxguy Exp $
+
+ CHARSET=utf-8;
+diff -Nru hylafax.orig/util/dict-zh.in hylafax/util/dict-zh.in
+--- hylafax.orig/util/dict-zh.in 2012-10-23 15:45:39.000000000 -0700
++++ hylafax/util/dict-zh.in 2012-12-03 20:46:20.201427312 -0800
+@@ -1,4 +1,3 @@
+-#! @SCRIPT_SH@
+ # $Id: dict-zh.in,v 1.1 2008/01/18 19:28:19 faxguy Exp $
+
+ CHARSET=UTF-8;
diff --git a/hylafax+-clearlinkage.patch b/hylafax+-clearlinkage.patch
new file mode 100644
index 0000000..5e28172
--- /dev/null
+++ b/hylafax+-clearlinkage.patch
@@ -0,0 +1,22 @@
+--- faxd/Makefile.LINUXdso.orig 2012-11-03 21:33:30.868895438 -0700
++++ faxd/Makefile.LINUXdso 2012-11-03 21:35:00.413140146 -0700
+@@ -33,7 +33,7 @@
+
+ libfaxserver.${DSO}: ${SERVER_OBJS} ${MODEM_OBJS}
+ ${C++} ${DSOOPTS} -o libfaxserver.${DSO} \
+- ${SERVER_OBJS} ${MODEM_OBJS} ${DSODELAY} ../util/libfaxutil.${DSO} ${DSODELAY} ${LIBTIFF}
++ ${SERVER_OBJS} ${MODEM_OBJS} ${DSODELAY} ../util/libfaxutil.${DSO} ${DSODELAY} ${LIBTIFF} ${LIBJBIG} ${LIBLCMS} ${LIBPORT}
+
+ installDSO: libfaxserver.${DSO}
+ ${PUTSERV} -root ${INSTALLROOT} -F ${LIBDIR} -m 755 -O libfaxserver.${DSO}
+--- defs.in.orig 2012-11-03 22:08:14.256998474 -0700
++++ defs.in 2012-11-03 22:08:29.612212332 -0700
+@@ -189,6 +189,8 @@
+ LIBFAXSERVER = @LIBFAXSERVER@
+ LIBUTIL = @LIBUTIL@
+ LIBPORT = @LIBPORT@
++LIBJBIG = @LIBJBIG@
++LIBLCMS = @LIBLCMS@
+
+ #
+ # Definitions used by common rules.
diff --git a/hylafax+-moremanpages.patch b/hylafax+-moremanpages.patch
new file mode 100644
index 0000000..22ba97b
--- /dev/null
+++ b/hylafax+-moremanpages.patch
@@ -0,0 +1,623 @@
+diff -Nru hylafax.orig/distrules hylafax/distrules
+--- hylafax.orig/distrules 2012-10-23 15:45:40.000000000 -0700
++++ hylafax/distrules 2012-12-03 19:56:07.687399056 -0800
+@@ -646,14 +646,17 @@
+ man/faxaddmodem.1m \
+ man/faxadduser.1m \
+ man/faxsetup.1m \
++ man/faxsetup.linux.1m \
+ man/faxalter.1 \
+ man/faxanswer.1m \
+ man/faxconfig.1m \
+ man/faxcover.1 \
++ man/faxfetch.1m \
+ man/faxqclean.1m \
+ man/faxcron.1m \
+ man/faxdeluser.1m \
+ man/faxinfo.1m \
++ man/faxmsg.1m \
+ man/faxq.1m \
+ man/faxgetty.1m \
+ man/faxsend.1m \
+@@ -668,17 +671,21 @@
+ man/faxlock.1m \
+ man/hfaxd.1m \
+ man/hosts.hfaxd.4f \
++ man/hylafax.1m \
+ man/hylafax-client.1 \
+ man/hylafax-server.4f \
+ man/hylafax-info.4f \
+ man/hylafax-log.4f \
+ man/jobcontrol.1m \
++ man/lockname.1m \
+ man/mkcover.1m \
+ man/notify.1m \
++ man/ondelay.1m \
+ man/pagermap.4f \
+ man/pagesend.1m \
+ man/pagesizes.4f \
+ man/pollrcvd.1m \
++ man/probemodem.1m \
+ man/ps2fax.1m \
+ man/pdf2fax.1m \
+ man/recvq.4f \
+@@ -696,6 +703,7 @@
+ man/tsi.4f \
+ man/tsitest.1m \
+ man/typerules.4f \
++ man/typetest.1m \
+ man/xferfaxlog.4f \
+ man/wedged.1m \
+ man/xferfaxstats.1m \
+diff -Nru hylafax.orig/man/faxfetch.1m hylafax/man/faxfetch.1m
+--- hylafax.orig/man/faxfetch.1m 1969-12-31 16:00:00.000000000 -0800
++++ hylafax/man/faxfetch.1m 2012-12-03 18:37:21.129945008 -0800
+@@ -0,0 +1,55 @@
++.\" $Id: faxfetch.1m,v 1.1.1.1 2005/11/11 21:32:03 faxguy Exp $
++.\"
++.\" HylaFAX Facsimile Software
++.\"
++.\" Copyright (c) 2012 Lee Howard
++.\"
++.\" HylaFAX is a trademark of Silicon Graphics
++.\"
++.\" Permission to use, copy, modify, distribute, and sell this software and
++.\" its documentation for any purpose is hereby granted without fee, provided
++.\" that (i) the above copyright notices and this permission notice appear in
++.\" all copies of the software and related documentation, and (ii) the names of
++.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
++.\" publicity relating to the software without the specific, prior written
++.\" permission of Sam Leffler and Silicon Graphics.
++.\"
++.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
++.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
++.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
++.\"
++.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
++.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
++.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
++.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
++.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
++.\" OF THIS SOFTWARE.
++.\"
++.if n .po 0
++.ds Fx \fIHyla\s-1FAX\s+1\fP
++.TH FAXFETCH ${MANNUM1_8} "Dec 3, 2012"
++.SH NAME
++faxfetch \- retrieve a file from a \fIHyla\s-1FAX\s+1\fP server
++.SH SYNOPSIS
++.B ${SBIN}/faxfetch
++[
++.B \-h
++.I server-host
++] [
++.B \-v
++]
++.I file
++.SH DESCRIPTION
++.I faxfetch
++retrieves a file from a \fIHyla\s-1FAX\s+1\fP server
++.PP
++.SH OPTIONS
++The following options are available:
++.TP 10
++.BI \-h " server-host"
++Specifies the server with which
++.I faxfetch
++should communicate.
++.TP 10
++.BI \-v
++Output verbose communication with the server
+diff -Nru hylafax.orig/man/faxmsg.1m hylafax/man/faxmsg.1m
+--- hylafax.orig/man/faxmsg.1m 1969-12-31 16:00:00.000000000 -0800
++++ hylafax/man/faxmsg.1m 2012-12-03 18:45:04.134557608 -0800
+@@ -0,0 +1,36 @@
++.\" $Id: faxmsg.1m,v 1.1.1.1 2005/11/11 21:32:03 faxguy Exp $
++.\"
++.\" HylaFAX Facsimile Software
++.\"
++.\" Copyright (c) 2012 Lee Howard
++.\"
++.\" HylaFAX is a trademark of Silicon Graphics
++.\"
++.\" Permission to use, copy, modify, distribute, and sell this software and
++.\" its documentation for any purpose is hereby granted without fee, provided
++.\" that (i) the above copyright notices and this permission notice appear in
++.\" all copies of the software and related documentation, and (ii) the names of
++.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
++.\" publicity relating to the software without the specific, prior written
++.\" permission of Sam Leffler and Silicon Graphics.
++.\"
++.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
++.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
++.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
++.\"
++.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
++.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
++.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
++.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
++.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
++.\" OF THIS SOFTWARE.
++.\"
++.if n .po 0
++.ds Fx \fIHyla\s-1FAX\s+1\fP
++.TH FAXMSG ${MANNUM1_8} "Dec 3, 2012"
++.SH NAME
++faxmsg \- utility program used by other \fIHyla\s-1FAX\s+1\fP client programs
++.SH DESCRIPTION
++.I faxmsg
++is a utility program used by other \fIHyla\s-1FAX\s+1\fP client programs.
++It is not intended to be run directly.
+diff -Nru hylafax.orig/man/faxsetup.linux.1m hylafax/man/faxsetup.linux.1m
+--- hylafax.orig/man/faxsetup.linux.1m 1969-12-31 16:00:00.000000000 -0800
++++ hylafax/man/faxsetup.linux.1m 2012-12-03 18:51:34.677186104 -0800
+@@ -0,0 +1,35 @@
++.\" $Id: faxsetup.linux.1m,v 1.1.1.1 2005/11/11 21:32:03 faxguy Exp $
++.\"
++.\" HylaFAX Facsimile Software
++.\"
++.\" Copyright (c) 2012 Lee Howard
++.\"
++.\" HylaFAX is a trademark of Silicon Graphics
++.\"
++.\" Permission to use, copy, modify, distribute, and sell this software and
++.\" its documentation for any purpose is hereby granted without fee, provided
++.\" that (i) the above copyright notices and this permission notice appear in
++.\" all copies of the software and related documentation, and (ii) the names of
++.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
++.\" publicity relating to the software without the specific, prior written
++.\" permission of Sam Leffler and Silicon Graphics.
++.\"
++.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
++.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
++.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
++.\"
++.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
++.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
++.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
++.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
++.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
++.\" OF THIS SOFTWARE.
++.\"
++.if n .po 0
++.ds Fx \fIHyla\s-1FAX\s+1\fP
++.TH FAXSETUP.LINUX ${MANNUM1_8} "Dec 3, 2012"
++.SH NAME
++faxsetup.linux \- Linux-specific version of
++.I faxsetup
++.SH "SEE ALSO"
++.IR faxsetup (${MANNUM1_8}),
+diff -Nru hylafax.orig/man/hylafax.1m hylafax/man/hylafax.1m
+--- hylafax.orig/man/hylafax.1m 1969-12-31 16:00:00.000000000 -0800
++++ hylafax/man/hylafax.1m 2012-12-03 19:07:34.436280544 -0800
+@@ -0,0 +1,90 @@
++.\" $Id: hylafax.1m,v 1.1.1.1 2005/11/11 21:32:03 faxguy Exp $
++.\"
++.\" HylaFAX Facsimile Software
++.\"
++.\" Copyright (c) 2012 Lee Howard
++.\"
++.\" HylaFAX is a trademark of Silicon Graphics
++.\"
++.\" Permission to use, copy, modify, distribute, and sell this software and
++.\" its documentation for any purpose is hereby granted without fee, provided
++.\" that (i) the above copyright notices and this permission notice appear in
++.\" all copies of the software and related documentation, and (ii) the names of
++.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
++.\" publicity relating to the software without the specific, prior written
++.\" permission of Sam Leffler and Silicon Graphics.
++.\"
++.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
++.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
++.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
++.\"
++.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
++.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
++.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
++.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
++.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
++.\" OF THIS SOFTWARE.
++.\"
++.if n .po 0
++.ds Fx \fIHyla\s-1FAX\s+1\fP
++.TH HYLAFAX ${MANNUM1_8} "Dec 3, 2012"
++.SH NAME
++\fIHyla\s-1FAX\s+1\fP
++.SH DESCRIPTION
++\fIHyla\s-1FAX\s+1\fP is a sophisticated enterprise-strength fax
++package for class 1 and 2 fax modems on unix systems.
++.SH SEE ALSO
++.IR archive (${MANNUM4_5}),
++.IR dialrules (${MANNUM4_5}),
++.IR dialtest (${MANNUM1_8}),
++.IR doneq (${MANNUM4_5}),
++.IR edit-faxcover (1)
++.IR faxabort (${MANNUM1_8}),
++.IR faxaddmodem (${MANNUM1_8}),
++.IR faxadduser (${MANNUM1_8}),
++.IR faxalter (1),
++.IR faxanswer (${MANNUM1_8}),
++.IR faxconfig (${MANNUM1_8}),
++.IR faxcover (1),
++.IR faxcron (${MANNUM1_8}),
++.IR faxdeluser (${MANNUM1_8}),
++.IR faxd (${MANNUM1_8}),
++.IR faxgetty (${MANNUM1_8}),
++.IR faxlock (${MANNUM1_8}),
++.IR faxmail (1),
++.IR faxmodem (${MANNUM1_8}),
++.IR faxqclean (${MANNUM1_8}),
++.IR faxq (${MANNUM1_8}),
++.IR faxquit (${MANNUM1_8}),
++.IR faxrcvd (${MANNUM1_8}),
++.IR faxrm (1),
++.IR faxsend (${MANNUM1_8}),
++.IR faxsetup (${MANNUM1_8}),
++.IR faxstat (1),
++.IR faxstate (${MANNUM1_8}),
++.IR hfaxd (${MANNUM1_8}),
++.IR hosts.hfaxd (${MANNUM4_5}),
++.IR hylafax-client (1),
++.IR hylafax-config (${MANNUM4_5}),
++.IR hylafax-info (${MANNUM4_5}),
++.IR hylafax-log (${MANNUM4_5}),
++.IR hylafax-server (${MANNUM4_5}),
++.IR hylafax-shutdown (${MANNUM4_5}),
++.IR notify (${MANNUM1_8}),
++.IR pagesend (${MANNUM1_8}),
++.IR pagesizes (${MANNUM4_5}),
++.IR pollrcvd (${MANNUM1_8}),
++.IR recvq (${MANNUM4_5}),
++.IR recvstats (${MANNUM1_8}),
++.IR sendfax (1),
++.IR sendpage (1),
++.IR sendq (${MANNUM4_5}),
++.IR status (${MANNUM4_5}),
++.IR textfmt (1),
++.IR tiff2fax (${MANNUM1_8}),
++.IR tsi (${MANNUM4_5}),
++.IR typerules (${MANNUM4_5}),
++.IR viewfax (1),
++.IR xferfaxlog (${MANNUM4_5}),
++and
++.IR xferfaxstats (${MANNUM1_8}).
+diff -Nru hylafax.orig/man/lockname.1m hylafax/man/lockname.1m
+--- hylafax.orig/man/lockname.1m 1969-12-31 16:00:00.000000000 -0800
++++ hylafax/man/lockname.1m 2012-12-03 19:11:19.404080240 -0800
+@@ -0,0 +1,38 @@
++.\" $Id: lockname.1m,v 1.1.1.1 2005/11/11 21:32:03 faxguy Exp $
++.\"
++.\" HylaFAX Facsimile Software
++.\"
++.\" Copyright (c) 2012 Lee Howard
++.\"
++.\" HylaFAX is a trademark of Silicon Graphics
++.\"
++.\" Permission to use, copy, modify, distribute, and sell this software and
++.\" its documentation for any purpose is hereby granted without fee, provided
++.\" that (i) the above copyright notices and this permission notice appear in
++.\" all copies of the software and related documentation, and (ii) the names of
++.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
++.\" publicity relating to the software without the specific, prior written
++.\" permission of Sam Leffler and Silicon Graphics.
++.\"
++.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
++.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
++.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
++.\"
++.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
++.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
++.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
++.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
++.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
++.\" OF THIS SOFTWARE.
++.\"
++.if n .po 0
++.ds Fx \fIHyla\s-1FAX\s+1\fP
++.TH LOCKNAME ${MANNUM1_8} "Dec 3, 2012"
++.SH NAME
++lockname \- program invoked by faxaddmodem and probemodem to generate a
++UUCP lock filename according to SVR4 conventions
++.SH DESCRIPTION
++.I lockname
++is a program invoked by faxaddmodem and probemodem to generate a
++UUCP lock filename according to SVR4 conventions.
++It is not intended to be run directly.
+diff -Nru hylafax.orig/man/Makefile.in hylafax/man/Makefile.in
+--- hylafax.orig/man/Makefile.in 2012-10-23 15:45:40.000000000 -0700
++++ hylafax/man/Makefile.in 2012-12-03 20:02:27.109718096 -0800
+@@ -73,6 +73,8 @@
+ sman.apps/faxmodem.1m \
+ sman.apps/faxstate.1m \
+ sman.apps/faxcron.1m \
++ sman.apps/faxfetch.1m \
++ sman.apps/faxmsg.1m \
+ sman.apps/faxgetty.1m \
+ sman.apps/faxinfo.1m \
+ sman.apps/faxq.1m \
+@@ -82,14 +84,19 @@
+ sman.apps/faxrcvd.1m \
+ sman.apps/faxsend.1m \
+ sman.apps/faxsetup.1m \
++ sman.apps/faxsetup.linux.1m \
+ sman.apps/faxstate.1m \
+ sman.apps/faxwatch.1m \
+ sman.apps/hfaxd.1m \
++ sman.apps/hylafax.1m \
+ sman.apps/jobcontrol.1m \
++ sman.apps/lockname.1m \
+ sman.apps/mkcover.1m \
+ sman.apps/notify.1m \
++ sman.apps/ondelay.1m \
+ sman.apps/pagesend.1m \
+ sman.apps/pollrcvd.1m \
++ sman.apps/probemodem.1m \
+ sman.apps/ps2fax.1m \
+ sman.apps/pdf2fax.1m \
+ sman.apps/recvstats.1m \
+@@ -97,6 +104,7 @@
+ sman.apps/tiff2fax.1m \
+ sman.apps/tiffcheck.1m \
+ sman.apps/tsitest.1m \
++ sman.apps/typetest.1m \
+ sman.apps/wedged.1m \
+ sman.apps/xferfaxstats.1m
+ MANSFILE=sman.files/hylafax-server.4f \
+@@ -167,9 +175,11 @@
+ sman.apps/faxcron.1m:: ${SRCDIR}/faxcron.1m; ${MANCVT}
+ sman.apps/faxdeluser.1m::${SRCDIR}/faxdeluser.1m; ${MANCVT}
+ sman.apps/hfaxd.1m:: ${SRCDIR}/hfaxd.1m; ${MANCVT}
++sman.apps/faxfetch.1m:: ${SRCDIR}/faxfetch.1m; ${MANCVT}
+ sman.apps/faxgetty.1m:: ${SRCDIR}/faxgetty.1m; ${MANCVT}
+ sman.apps/faxinfo.1m:: ${SRCDIR}/faxinfo.1m; ${MANCVT}
+ sman.apps/faxmodem.1m:: ${SRCDIR}/faxmodem.1m; ${MANCVT}
++sman.apps/faxmsg.1m:: ${SRCDIR}/faxmsg.1m; ${MANCVT}
+ sman.apps/faxq.1m:: ${SRCDIR}/faxq.1m; ${MANCVT}
+ sman.apps/faxqclean.1m::${SRCDIR}/faxqclean.1m; ${MANCVT}
+ sman.apps/faxquit.1m:: ${SRCDIR}/faxquit.1m; ${MANCVT}
+@@ -177,13 +187,18 @@
+ sman.apps/faxrcvd.1m:: ${SRCDIR}/faxrcvd.1m; ${MANCVT}
+ sman.apps/faxsend.1m:: ${SRCDIR}/faxsend.1m; ${MANCVT}
+ sman.apps/faxsetup.1m:: ${SRCDIR}/faxsetup.1m; ${MANCVT}
++sman.apps/faxsetup.linux.1m:: ${SRCDIR}/faxsetup.linux.1m; ${MANCVT}
+ sman.apps/faxstate.1m::${SRCDIR}/faxstate.1m; ${MANCVT}
+ sman.apps/faxwatch.1m::${SRCDIR}/faxwatch.1m; ${MANCVT}
++sman.apps/hylafax.1m:: ${SRCDIR}/hylafax.1m; ${MANCVT}
+ sman.apps/jobcontrol.1m:: ${SRCDIR}/jobcontrol.1m; ${MANCVT}
++sman.apps/lockname.1m:: ${SRCDIR}/lockname.1m; ${MANCVT}
+ sman.apps/mkcover.1m:: ${SRCDIR}/mkcover.1m; ${MANCVT}
++sman.apps/ondelay.1m:: ${SRCDIR}/ondelay.1m; ${MANCVT}
+ sman.apps/notify.1m:: ${SRCDIR}/notify.1m; ${MANCVT}
+ sman.apps/pagesend.1m:: ${SRCDIR}/pagesend.1m; ${MANCVT}
+ sman.apps/pollrcvd.1m:: ${SRCDIR}/pollrcvd.1m; ${MANCVT}
++sman.apps/probemodem.1m:: ${SRCDIR}/probemodem.1m; ${MANCVT}
+ sman.apps/ps2fax.1m:: ${SRCDIR}/ps2fax.1m; ${MANCVT}
+ sman.apps/pdf2fax.1m:: ${SRCDIR}/pdf2fax.1m; ${MANCVT}
+ sman.apps/recvstats.1m:: ${SRCDIR}/recvstats.1m; ${MANCVT}
+@@ -191,6 +206,7 @@
+ sman.apps/tiff2fax.1m:: ${SRCDIR}/tiff2fax.1m; ${MANCVT}
+ sman.apps/tiffcheck.1m::${SRCDIR}/tiffcheck.1m; ${MANCVT}
+ sman.apps/tsitest.1m:: ${SRCDIR}/tsitest.1m; ${MANCVT}
++sman.apps/typetest.1m:: ${SRCDIR}/typetest.1m; ${MANCVT}
+ sman.apps/wedged.1m:: ${SRCDIR}/wedged.1m; ${MANCVT}
+ sman.apps/xferfaxstats.1m:: ${SRCDIR}/xferfaxstats.1m; ${MANCVT}
+ sman.files/hylafax-server.4f:: ${SRCDIR}/hylafax-server.4f; ${MANCVT}
+diff -Nru hylafax.orig/man/ondelay.1m hylafax/man/ondelay.1m
+--- hylafax.orig/man/ondelay.1m 1969-12-31 16:00:00.000000000 -0800
++++ hylafax/man/ondelay.1m 2012-12-03 19:14:24.672915096 -0800
+@@ -0,0 +1,38 @@
++.\" $Id: ondelay.1m,v 1.1.1.1 2005/11/11 21:32:03 faxguy Exp $
++.\"
++.\" HylaFAX Facsimile Software
++.\"
++.\" Copyright (c) 2012 Lee Howard
++.\"
++.\" HylaFAX is a trademark of Silicon Graphics
++.\"
++.\" Permission to use, copy, modify, distribute, and sell this software and
++.\" its documentation for any purpose is hereby granted without fee, provided
++.\" that (i) the above copyright notices and this permission notice appear in
++.\" all copies of the software and related documentation, and (ii) the names of
++.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
++.\" publicity relating to the software without the specific, prior written
++.\" permission of Sam Leffler and Silicon Graphics.
++.\"
++.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
++.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
++.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
++.\"
++.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
++.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
++.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
++.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
++.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
++.\" OF THIS SOFTWARE.
++.\"
++.if n .po 0
++.ds Fx \fIHyla\s-1FAX\s+1\fP
++.TH ONDELAY ${MANNUM1_8} "Dec 3, 2012"
++.SH NAME
++ondelay \- program invoked by faxaddmodem and probemodem to configure a
++a modem device for use by those programs
++.SH DESCRIPTION
++.I ondelay
++is a program invoked by faxaddmodem and probemodem to configure a
++modem device for use by those programs.
++It is not intended to be run directly.
+diff -Nru hylafax.orig/man/probemodem.1m hylafax/man/probemodem.1m
+--- hylafax.orig/man/probemodem.1m 1969-12-31 16:00:00.000000000 -0800
++++ hylafax/man/probemodem.1m 2012-12-03 19:46:14.351599808 -0800
+@@ -0,0 +1,73 @@
++.\" $Id: probemodem.1m,v 1.1.1.1 2005/11/11 21:32:03 faxguy Exp $
++.\"
++.\" HylaFAX Facsimile Software
++.\"
++.\" Copyright (c) 2012 Lee Howard
++.\"
++.\" HylaFAX is a trademark of Silicon Graphics
++.\"
++.\" Permission to use, copy, modify, distribute, and sell this software and
++.\" its documentation for any purpose is hereby granted without fee, provided
++.\" that (i) the above copyright notices and this permission notice appear in
++.\" all copies of the software and related documentation, and (ii) the names of
++.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
++.\" publicity relating to the software without the specific, prior written
++.\" permission of Sam Leffler and Silicon Graphics.
++.\"
++.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
++.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
++.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
++.\"
++.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
++.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
++.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
++.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
++.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
++.\" OF THIS SOFTWARE.
++.\"
++.if n .po 0
++.ds Fx \fIHyla\s-1FAX\s+1\fP
++.TH PROBEMODEM ${MANNUM1_8} "Dec 3, 2012"
++.SH NAME
++probemodem \- This script probes a modem attached to a serial line and
++reports the results of certain commands.
++.SH SYNOPSIS
++.B ${SBIN}/probemodem
++[
++.B \-f
++] [
++.B \-c
++.I AT_COMMAND
++] [
++.B \-os
++.I OS
++] [
++.B \-s
++.I SPEED
++] [
++.I ttyname
++]
++.SH DESCRIPTION
++.I probemodem
++probes a modem attached to a serial line and
++reports the results of certain commands.
++.PP
++.SH OPTIONS
++The following options are available:
++.TP 10
++.BI \-f
++Instructs
++.I faxfetch
++to not run fuser to terminate other programs that may be using the modem device.
++.TP 10
++.BI \-c " AT_COMMAND"
++Query the modem with the specified command instead of the usual sequence.
++.TP 10
++.BI \-os " OS"
++Specify the operating system type.
++.TP 10
++.BI \-s " SPEED"
++Specify the bitrate with which to communicate to the modem device.
++.TP 10
++.BI ttyname
++Specify the modem device name.
+diff -Nru hylafax.orig/man/typetest.1m hylafax/man/typetest.1m
+--- hylafax.orig/man/typetest.1m 1969-12-31 16:00:00.000000000 -0800
++++ hylafax/man/typetest.1m 2012-12-03 19:43:50.648446008 -0800
+@@ -0,0 +1,56 @@
++.\" $Id: typetest.1m,v 1.1.1.1 2005/11/11 21:32:03 faxguy Exp $
++.\"
++.\" HylaFAX Facsimile Software
++.\"
++.\" Copyright (c) 2012 Lee Howard
++.\"
++.\" HylaFAX is a trademark of Silicon Graphics
++.\"
++.\" Permission to use, copy, modify, distribute, and sell this software and
++.\" its documentation for any purpose is hereby granted without fee, provided
++.\" that (i) the above copyright notices and this permission notice appear in
++.\" all copies of the software and related documentation, and (ii) the names of
++.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
++.\" publicity relating to the software without the specific, prior written
++.\" permission of Sam Leffler and Silicon Graphics.
++.\"
++.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
++.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
++.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
++.\"
++.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
++.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
++.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
++.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
++.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
++.\" OF THIS SOFTWARE.
++.\"
++.if n .po 0
++.ds Fx \fIHyla\s-1FAX\s+1\fP
++.TH TYPETEST ${MANNUM1_8} "Dec 3, 2012"
++.SH NAME
++typetest \- Program for testing out typerules.
++.SH SYNOPSIS
++.B ${SBIN}/typetest
++[
++.B \-f
++.I rulesfile
++] [
++.I files
++]
++.SH DESCRIPTION
++.I typetest
++is a program for testing out typerules.
++.PP
++.SH OPTIONS
++The following options are available:
++.TP 10
++.BI \-f " rulesfile"
++Specifies the file where the
++.I typerules
++information is located.
++.TP 10
++.BI files
++Return a TypeRule for the specified files.
++.SH SEE ALSO
++.IR typerules (${MANNUM4_5}).
+diff -Nru hylafax.orig/pkg/sproto.stub.in hylafax/pkg/sproto.stub.in
+--- hylafax.orig/pkg/sproto.stub.in 2012-10-23 15:45:40.000000000 -0700
++++ hylafax/pkg/sproto.stub.in 2012-12-03 20:05:49.938883376 -0800
+@@ -43,7 +43,9 @@
+ f man @MANDIR@/@MANAPPS@/faxconfig. at MANNUM1_8@=../man/sman.apps/faxconfig.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/faxcron. at MANNUM1_8@=../man/sman.apps/faxcron.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/faxdeluser. at MANNUM1_8@=../man/sman.apps/faxdeluser.1m 0444 @SYSUID@ @SYSGID@
++f man @MANDIR@/@MANAPPS@/faxfetch. at MANNUM1_8@=../man/sman.apps/faxfetch.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/faxgetty. at MANNUM1_8@=../man/sman.apps/faxgetty.1m 0444 @SYSUID@ @SYSGID@
++f man @MANDIR@/@MANAPPS@/faxmsg. at MANNUM1_8@=../man/sman.apps/faxmsg.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/faxinfo. at MANNUM1_8@=../man/sman.apps/faxinfo.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/faxmodem. at MANNUM1_8@=../man/sman.apps/faxmodem.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/faxq. at MANNUM1_8@=../man/sman.apps/faxq.1m 0444 @SYSUID@ @SYSGID@
+@@ -53,20 +55,26 @@
+ f man @MANDIR@/@MANAPPS@/faxrcvd. at MANNUM1_8@=../man/sman.apps/faxrcvd.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/faxsend. at MANNUM1_8@=../man/sman.apps/faxsend.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/faxsetup. at MANNUM1_8@=../man/sman.apps/faxsetup.1m 0444 @SYSUID@ @SYSGID@
++f man @MANDIR@/@MANAPPS@/faxsetup.linux. at MANNUM1_8@=../man/sman.apps/faxsetup.linux.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/faxstate. at MANNUM1_8@=../man/sman.apps/faxstate.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/faxwatch. at MANNUM1_8@=../man/sman.apps/faxwatch.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/hfaxd. at MANNUM1_8@=../man/sman.apps/hfaxd.1m 0444 @SYSUID@ @SYSGID@
++f man @MANDIR@/@MANAPPS@/hylafax. at MANNUM1_8@=../man/sman.apps/hylafax.1m 0444 @SYSUID@ @SYSGID@
++f man @MANDIR@/@MANAPPS@/lockname. at MANNUM1_8@=../man/sman.apps/lockname.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/mkcover. at MANNUM1_8@=../man/sman.apps/mkcover.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/notify. at MANNUM1_8@=../man/sman.apps/notify.1m 0444 @SYSUID@ @SYSGID@
++f man @MANDIR@/@MANAPPS@/ondelay. at MANNUM1_8@=../man/sman.apps/ondelay.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/pdf2fax. at MANNUM1_8@=../man/sman.apps/pdf2fax.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/pagesend. at MANNUM1_8@=../man/sman.apps/pagesend.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/pollrcvd. at MANNUM1_8@=../man/sman.apps/pollrcvd.1m 0444 @SYSUID@ @SYSGID@
++f man @MANDIR@/@MANAPPS@/probemodem. at MANNUM1_8@=../man/sman.apps/probemodem.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/ps2fax. at MANNUM1_8@=../man/sman.apps/ps2fax.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/recvstats. at MANNUM1_8@=../man/sman.apps/recvstats.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/tagtest. at MANNUM1_8@=../man/sman.apps/tagtest.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/tiff2fax. at MANNUM1_8@=../man/sman.apps/tiff2fax.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/tiffcheck. at MANNUM1_8@=../man/sman.apps/tiffcheck.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/tsitest. at MANNUM1_8@=../man/sman.apps/tsitest.1m 0444 @SYSUID@ @SYSGID@
++f man @MANDIR@/@MANAPPS@/typetest. at MANNUM1_8@=../man/sman.apps/typetest.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/wedged. at MANNUM1_8@=../man/sman.apps/wedged.1m 0444 @SYSUID@ @SYSGID@
+ f man @MANDIR@/@MANAPPS@/xferfaxstats. at MANNUM1_8@=../man/sman.apps/xferfaxstats.1m 0444 @SYSUID@ @SYSGID@
+ d man @MANDIR@/@MANFILES@ ? ? ?
diff --git a/hylafax+.spec b/hylafax+.spec
new file mode 100644
index 0000000..106949c
--- /dev/null
+++ b/hylafax+.spec
@@ -0,0 +1,373 @@
+%global faxspool /var/spool/hylafax
+
+Summary: An enterprise-strength fax server
+Name: hylafax+
+Version: 5.5.2
+Release: 6%{?dist}
+License: libtiff and BSD with advertising
+Group: Applications/Communications
+URL: http://hylafax.sourceforge.net
+
+Source0: http://downloads.sourceforge.net/hylafax/hylafax-%{version}.tar.gz
+Source1: hylafax+_rh.init
+Source2: hylafax+_daily.cron
+Source3: hylafax+_hourly.cron
+Source4: hylafax+_hfaxd_systemd.service
+Source5: hylafax+_faxq_systemd.service
+
+Patch0: hylafax+-clearlinkage.patch
+Patch1: hylafax+-moremanpages.patch
+Patch2: hylafax+-badshebangs.patch
+
+BuildRequires: libjpeg-devel, libtiff-devel, zlib-devel, pam-devel, openldap-devel, lcms-devel, jbigkit-devel, /usr/bin/tiffcp
+%if 0%{?fedora} >= 16
+BuildRequires: systemd-units
+%endif
+%if 0%{?fedora} >= 18
+BuildRequires: systemd
+%endif
+Requires: ghostscript, ghostscript-fonts, gawk, sharutils, mailx, crontabs, /usr/bin/tiffcp
+Conflicts: mgetty-sendfax
+Provides: hylafax = %{version}-%{release}
+Obsoletes: hylafax < 5.5.2-1
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+%if 0%{?fedora} >= 16
+Requires(post): systemd-units
+Requires(preun): systemd-units
+Requires(postun): systemd-units
+%else
+Requires(post): /sbin/chkconfig
+Requires(preun): /sbin/chkconfig
+Requires(preun): /sbin/service
+Requires(postun): /sbin/service
+%endif
+
+%description
+HylaFAX(tm) is a enterprise-strength 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.
+
+%prep
+%setup -q -n hylafax-%{version}
+%patch0 -p0
+%patch1 -p1
+%patch2 -p1
+
+%build
+# - Can't use the configure macro because HylaFAX configure script does
+# not understand the config options used by that macro
+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=/var/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=%{_initrddir}/hylafax+ \
+ --with-INTERACTIVE=no
+
+# can't use %{?_smp_mflags} because it breaks libfaxutil dso building
+make OPTIMIZER="$RPM_OPT_FLAGS"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+# install: make some dirs...
+mkdir -p -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/{cron.daily,cron.hourly}
+mkdir -p -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/hylafax
+%if 0%{?fedora} >= 16
+mkdir -p -m 755 $RPM_BUILD_ROOT%{_unitdir}
+%else
+mkdir -p -m 755 $RPM_BUILD_ROOT%{_initrddir}
+%endif
+mkdir -p -m 755 $RPM_BUILD_ROOT%{_bindir}
+mkdir -p -m 755 $RPM_BUILD_ROOT%{_sbindir}
+mkdir -p -m 755 $RPM_BUILD_ROOT%{_libdir}
+mkdir -p -m 755 $RPM_BUILD_ROOT%{_mandir}
+mkdir -p -m 755 $RPM_BUILD_ROOT%{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=$RPM_BUILD_ROOT%{_bindir} \
+ SBIN=$RPM_BUILD_ROOT%{_sbindir} \
+ LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
+ LIBDATA=$RPM_BUILD_ROOT%{_sysconfdir}/hylafax \
+ LIBEXEC=$RPM_BUILD_ROOT%{_sbindir} \
+ SPOOL=$RPM_BUILD_ROOT%{faxspool} \
+ MAN=$RPM_BUILD_ROOT%{_mandir} \
+ INSTALL_ROOT=$RPM_BUILD_ROOT
+
+# install: remaining files
+%if 0%{?fedora} >= 16
+install -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_unitdir}/hylafax-hfaxd.service
+install -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_unitdir}/hylafax-faxq.service
+%else
+install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/hylafax+
+%endif
+install -p -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/hylafax
+install -p -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly/hylafax
+
+# Prepare docdir by removing non-doc files
+# Remove files that are not needed on Linux
+rm -f $RPM_BUILD_ROOT%{_sbindir}/{faxsetup.irix,faxsetup.bsdi}
+rm -f $RPM_BUILD_ROOT%{faxspool}/bin/{ps2fax.imp,ps2fax.dps}
+
+rm -f $RPM_BUILD_ROOT%{faxspool}/COPYRIGHT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%if 0%{?fedora} >= 16
+%post
+/sbin/ldconfig
+if [ 0$1 -eq 1 ]; then
+ # Initial installation
+ /bin/systemctl daemon-reload >/dev/null 2>&1 || :
+fi
+
+%preun
+if [ 0$1 -eq 0 ]; then
+ /bin/systemctl --no-reload disable hylafax-hfaxd.service > /dev/null 2>&1 || :
+ /bin/systemctl stop hylafax-hfaxd.service > /dev/null 2>&1 || :
+ /bin/systemctl --no-reload disable hylafax-faxq.service > /dev/null 2>&1 || :
+ /bin/systemctl stop hylafax-faxq.service > /dev/null 2>&1 || :
+fi
+
+%postun
+/sbin/ldconfig
+/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+if [ 0$1 -ge 1 ]; then
+ /bin/systemctl try-restart hylafax-hfaxd.service >/dev/null 2>&1 || :
+ /bin/systemctl try-restart hylafax-faxq.service >/dev/null 2>&1 || :
+fi
+%else
+%post
+/sbin/ldconfig
+if [ 0$1 -eq 1 ]; then
+ /sbin/chkconfig --add hylafax+
+fi
+
+%preun
+if [ 0$1 -eq 0 ]; then
+ /sbin/chkconfig --del hylafax+
+ /sbin/service hylafax stop >/dev/null 2>&1 || :
+fi
+
+%postun
+/sbin/ldconfig
+if [ 0$1 -ge 1 ]; then
+ /sbin/service hylafax+ condrestart >/dev/null 2>&1 || :
+fi
+%endif
+
+%files
+%if 0%{?fedora} >= 16
+%{_unitdir}/hylafax-hfaxd.service
+%{_unitdir}/hylafax-faxq.service
+%endif
+%doc CHANGES CONTRIBUTORS COPYRIGHT README TODO VERSION
+%{_libdir}/libfax*
+%{_mandir}/*/*
+%dir %{_sysconfdir}/hylafax
+%dir %{_sysconfdir}/hylafax/faxmail
+%dir %{_sysconfdir}/hylafax/faxmail/application
+%dir %{_sysconfdir}/hylafax/faxmail/image
+%config(noreplace) %{_sysconfdir}/hylafax/faxcover.ps
+%config(noreplace) %{_sysconfdir}/hylafax/faxmail.ps
+%config(noreplace) %{_sysconfdir}/hylafax/hfaxd.conf
+%config(noreplace) %{_sysconfdir}/hylafax/pagesizes
+%config(noreplace) %{_sysconfdir}/hylafax/typerules
+%dir %{faxspool}/config
+%dir %{faxspool}/dev
+%{faxspool}/config/*
+%{faxspool}/bin/dict/*
+%{faxspool}/bin/genfontmap.ps
+%{faxspool}/bin/auto-rotate.ps
+%{faxspool}/etc/dpsprinter.ps
+%{faxspool}/etc/cover.templ
+%{faxspool}/etc/lutRS18.pcf
+%{faxspool}/etc/LiberationSans-25.pcf
+%config(noreplace) %{faxspool}/etc/dialrules*
+%defattr(755,root,root,-)
+%if 0%{?fedora} < 16
+%{_initrddir}/hylafax+
+%endif
+%config(noreplace) %{_sysconfdir}/cron.daily/hylafax
+%config(noreplace) %{_sysconfdir}/cron.hourly/hylafax
+%{_bindir}/*
+%{_sbindir}/*
+%{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/image/tiff
+%defattr(-,uucp,uucp,-)
+%dir %{faxspool}
+%dir %{faxspool}/client
+%dir %{faxspool}/etc
+%dir %{faxspool}/info
+%dir %{faxspool}/log
+%dir %{faxspool}/recvq
+%dir %{faxspool}/status
+%config(noreplace) %{faxspool}/etc/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}/etc/hosts.hfaxd
+
+%changelog
+* Tue Dec 11 2012 Lee Howard <faxguy at howardsilvan.com> - 5.5.2-6
+- make dependency on systemd-units and system instead of /bin/systemctl
+- modify systemd scriptlets
+- use defattr to accomodate correct permissions for mock builds
+
+* Sat Dec 8 2012 Lee Howard <faxguy at howardsilvan.com> - 5.5.2-5
+- remove defattr from files
+- rename patches and all but Source0 to hylafax+
+- remove config(noreplace) from FIFO
+- add /bin/systemctl build dependency for Fedora > 16
+
+* Mon Dec 3 2012 Lee Howard <faxguy at howardsilvan.com> - 5.5.2-4
+- add missing man pages
+
+* Thu Nov 4 2012 Lee Howard <faxguy at howardsilvan.com> - 5.5.2-3
+- spec optimizations
+- clarify linkage in libfaxserver
+- add systemd support
+
+* Thu Nov 1 2012 Lee Howard <faxguy at howardsilvan.com> - 5.5.2-2
+- change package name to hylafax+
+- add Provides: hylafax
+
+* Sat Oct 13 2012 Lee Howard <faxguy at howardsilvan.com> - 5.5.2-1
+- update to 5.5.2
+
+* Mon Jan 12 2012 Lee Howard <faxguy at howardsilvan.com> - 5.5.1-1
+- update to 5.5.1
+
+* Sat Dec 18 2010 Lee Howard <faxguy at howardsilvan.com> - 5.5.0-1
+- update to 5.5.0
+
+* Sun Oct 13 2010 Lee Howard <faxguy at howardsilvan.com> - 5.4.3-1
+- update to 5.4.3
+
+* Sun May 2 2010 Lee Howard <faxguy at howardsilvan.com> - 5.4.2-1
+- update to 5.4.2
+
+* Mon Feb 22 2010 Lee Howard <faxguy at howardsilvan.com> - 5.4.1-1
+- update to 5.4.1
+
+* Tue Dec 23 2009 Lee Howard <faxguy at howardsilvan.com> - 5.4.0-1
+- update to 5.4.0
+- add lcms-devel build dependency
+
+* Mon Oct 25 2009 Lee Howard <faxguy at howardsilvan.com> - 5.3.0-1
+- update to 5.3.0
+
+* Sat Feb 28 2009 Lee Howard <faxguy at howardsilvan.com> - 5.2.9-1
+- update to 5.2.9
+- remove "Provides: hylafax"
+
+* Sun Dec 21 2008 Lee Howard <faxguy at howardsilvan.com> - 5.2.8-1
+- update to 5.2.8
+
+* Mon Apr 28 2008 Lee Howard <faxguy at howardsilvan.com> - 5.2.4-3
+- openldap-devel and pam-devel build dependencies
+
+* Wed Apr 23 2008 Lee Howard <faxguy at howardsilvan.com> - 5.2.4-1
+- update to 5.2.4
+
+* Sat Mar 29 2008 Lee Howard <faxguy at howardsilvan.com> - 5.2.3-1
+- update to 5.2.3
+
+* Fri Jan 18 2008 Lee Howard <faxguy at howardsilvan.com> - 5.2.2-1
+- make licensing BSD, initscript is not config, remove libtiff dependency
+
+* Thu Nov 8 2007 Lee Howard <faxguy at howardsilvan.com> - 5.1.11-1
+- add libtiff dependency
+
+* Thu Aug 2 2007 Lee Howard <faxguy at howardsilvan.com> - 5.1.7-1
+- update to 5.1.7
+
+* Sat Jul 14 2007 Lee Howard <faxguy at howardsilvan.com> - 5.1.6-1
+- accomodate MIMEConverter script location change
+
+* Fri Mar 23 2007 Lee Howard <faxguy at howardsilvan.com> - 5.1.2-1
+- made faxq's FIFO "noreplace" to keep upgrades from messing up a running faxq
+
+* Thu Mar 8 2007 Lee Howard <faxguy at howardsilvan.com> - 5.1.1-1
+- update to 5.1.1
+
+* Thu Feb 22 2007 Lee Howard <faxguy at howardsilvan.com> - 5.1.0-1
+- update to 5.1.0
+
+* Thu Jan 11 2007 Lee Howard <faxguy at howardsilvan.com> - 5.0.4-1
+- update to 5.0.4
+
+* Tue Jan 1 2007 Lee Howard <faxguy at howardsilvan.com> - 5.0.3-1
+- update to 5.0.3
+
+* Wed Dec 13 2006 Lee Howard <faxguy at howardsilvan.com> - 5.0.2-1
+- update to 5.0.2
+
+* Wed Nov 1 2006 Lee Howard <faxguy at howardsilvan.com> - 5.0.0-1
+- update to 5.0.0
+- disable build of debuginfo package
+- change ownership of config and dev to root,root
+- move changelog to the end of the spec file
+
+* Mon Sep 18 2006 Lee Howard <faxguy at howardsilvan.com> - 4.3.0.11-1
+- update to 4.3.0.1
+
+* Tue Apr 11 2006 Lee Howard <faxguy at howardsilvan.com> - 4.2.5.6-1
+- update to 4.2.5.6
+
+* Tue Apr 11 2006 Lee Howard <faxguy at howardsilvan.com> - 4.2.5.5-1
+- initial 4.2.5.5 build
diff --git a/hylafax+_daily.cron b/hylafax+_daily.cron
new file mode 100644
index 0000000..3591b28
--- /dev/null
+++ b/hylafax+_daily.cron
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+/usr/sbin/faxcron | mail -s "HylaFAX Usage Report" faxmaster
+
+exit 0
diff --git a/hylafax+_faxq_systemd.service b/hylafax+_faxq_systemd.service
new file mode 100644
index 0000000..dab4a1f
--- /dev/null
+++ b/hylafax+_faxq_systemd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=HylaFAX faxq (job scheduler service)
+ConditionPathExists=/var/spool/hylafax/etc/setup.cache
+
+[Service]
+User=root
+Group=root
+Restart=always
+ExecStart=/usr/sbin/faxq -D
+
+[Install]
+WantedBy=multi-user.target
diff --git a/hylafax+_hfaxd_systemd.service b/hylafax+_hfaxd_systemd.service
new file mode 100644
index 0000000..eb09071
--- /dev/null
+++ b/hylafax+_hfaxd_systemd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=HylaFAX hfaxd (client service)
+ConditionPathExists=/var/spool/hylafax/etc/setup.cache
+
+[Service]
+User=root
+Group=root
+Restart=always
+ExecStart=/usr/sbin/hfaxd -d -i hylafax
+
+[Install]
+WantedBy=multi-user.target
diff --git a/hylafax+_hourly.cron b/hylafax+_hourly.cron
new file mode 100644
index 0000000..a9592d2
--- /dev/null
+++ b/hylafax+_hourly.cron
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+/usr/sbin/faxqclean
+
+exit 0
diff --git a/hylafax+_rh.init b/hylafax+_rh.init
new file mode 100644
index 0000000..69f9bf2
--- /dev/null
+++ b/hylafax+_rh.init
@@ -0,0 +1,124 @@
+#!/bin/sh
+#
+# chkconfig: - 95 5
+# description: Starts and stops the HylaFAX server and queue manager \
+# used to provide FAX services
+#
+
+# Source function library.
+if [ -f /etc/init.d/functions ] ; then
+ . /etc/init.d/functions
+elif [ -f /etc/rc.d/init.d/functions ] ; then
+ . /etc/rc.d/init.d/functions
+else
+ exit 0
+fi
+
+
+# HylaFAX spool directory
+if [ -d /var/spool/hylafax ]; then
+ SPOOL=/var/spool/hylafax
+else
+ SPOOL=/var/spool/fax
+fi
+
+HFAXD_ARGS=
+if [ -f "$SPOOL/etc/pagermap" ] ; then
+ HFAXD_ARGS="-s snpp"
+fi
+
+start() {
+ check_config || exit 1
+
+ echo -n "Starting HylaFAX queue manager (faxq): "
+ daemon faxq
+ RETVAL=$?
+ echo
+
+ echo -n "Starting HylaFAX server (hfaxd): "
+ daemon hfaxd -i hylafax $HFAXD_ARGS
+ RETVAL2=$?
+ echo
+
+ reset_faxgetty
+
+ [ $RETVAL -eq 0 -a $RETVAL2 -eq 0 ] && \
+ touch /var/lock/subsys/hylafax+ || RETVAL=1
+ return $RETVAL
+}
+
+stop() {
+ action "Shutting down HylaFAX queue manager (faxq): " /usr/sbin/faxquit
+ RETVAL=$?
+
+ echo -n "Shutting down HylaFAX server (hfaxd): "
+ killproc hfaxd
+ RETVAL2=$?
+ echo
+
+ [ $RETVAL -eq 0 -a $RETVAL2 -eq 0 ] && \
+ rm -f /var/lock/subsys/hylafax+ || RETVAL=1
+ return $RETVAL
+}
+
+restart() {
+ stop
+ start
+}
+
+rhstatus() {
+ status hfaxd
+ status faxq
+}
+
+check_config() {
+ test -f $SPOOL/etc/setup.cache || {
+ cat<<-EOF
+
+ HylaFAX FATAL ERROR: $SPOOL/etc/setup.cache is missing!
+
+ The file $SPOOL/etc/setup.cache is not present.
+ This probably means the machine has not been setup using the
+ faxsetup(8C) command. Read the documentation on setting up
+ HylaFAX before you startup a server system.
+
+ EOF
+
+ exit 1
+ }
+}
+
+reset_faxgetty () {
+ pids=`pidofproc faxgetty`
+ if [ -n "$pids" ] && ps h $pids >/dev/null 2>&1; then
+ echo -n "Restarting HylaFAX modem manager (faxgetty):"
+ # will be respawned from /etc/inittab
+ killproc faxgetty
+ echo
+ fi
+}
+
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
+ ;;
+ status)
+ rhstatus
+ ;;
+ restart|reload)
+ restart
+ ;;
+ condrestart)
+ [ -f /var/lock/subsys/hylafax+ ] && restart
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|status|restart|reload|condrestart}"
+ exit 1
+ ;;
+esac
+
+exit $?
+
diff --git a/sources b/sources
index e69de29..4529c8c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+170d32041c44391d6bd5dc44349a8961 hylafax-5.5.2.tar.gz
More information about the scm-commits
mailing list