pax_global_header00006660000000000000000000000064117635254760014532gustar00rootroot0000000000000052 comment=54d9704e6d1311d699bf8f42bad5aec96bb6f793 hylafax-6.0.6/000077500000000000000000000000001176352547600131775ustar00rootroot00000000000000hylafax-6.0.6/.cvsignore000066400000000000000000000001711176352547600151760ustar00rootroot00000000000000config.cache config.local config.log config.h defs .empty_directory Makefile port.h rules .project .settings messages.po hylafax-6.0.6/CONTRIBUTORS000066400000000000000000000074251176352547600150670ustar00rootroot00000000000000This software is more than 6 years old and is the product of many folks' work. Robin Schaufler did the original scheme for delayed submission and worked on the client-server protocol. More recently, many additional people have helped either by testing or by contributing fixes and/or improvements (and surely others), since the project was moved to hylafax.org in 1998. Also, a special thanks to Ed McCreight for his help in making a working Class 1 driver. a.pogoda@web.de Simon Alvaro Aguilera Andre Albsmeier Bruno Almeida do Lago Carol Almquist Matthias Apitz Ronald Appelfelder Heinz-Ado Arnolds Jay R. Ashworth Abramo Bagnara Chris Bainbridge Charly Baker Toki Barron Stephan Bauer Giovanni Bechis Chris Beekhuis George Bell Dmitry Bely Peter Bentley Thomas Biege David Birnbaum Trevor Blackwell Siegfried Bosch Marc Boucher Marc Boucher Ross Boylan Frank Brock Piete Brooks James Budiono Glen Burkhardt Bill Campbell Yves Carlier Ed Casas Brent Chapman Jonathon Chen Camden Clarke Robert Colquhoun Ken Cornetet Tom Corson Claudiu Cristea Alan Crosswell Seth Cuaiklin Albert DeKnuydt Mark Diekhans Reeby Dobalina Paul Eggert Greg Ferguson Steve Fine Juergen Fischer Kevin Fleming John Florian Andrew Ford Patrice Fournier Vyacheslav Frolov Andrea Gabellini Nico Garcia John Gilman Philip Gwyn Craig Haskins Kris Henderson Wolfgang Henke Sascha Herrmann Viet Hoang Ryan Hobbs Carsten Hoeger Bert Hooyman Ken Hornstein Lee Howard Dirk Husemann John Interrante Sascha Ittner Damiam Ivereigh Bernard Jech Nico Kadel-Garcia Sean Kamath Jonathan Kamens Brian Katzung Dimitry Ketov Masao Kitano Steffan Klipsch Carsten Koch John T Kohl Hannu Koivisto Arjen de Korte Scott Kramer Bernd Krumböck Dmitry V. Kustov Ken Lalonde Ilguiz Latypov Rob Leadbeater Guillaume Legoupil Dario Lesca Rickard Linck Todd Lipcon Tom Lislegaard Greg Luck Rick Lyons Rob MacKinnon Andy MacNamara Riccardo Magliocchetti Lionel Mamane Pierluigi Mangani Simon Matter Campbell McKilligan Kevin McManamon Bodo Meissner Les Mikesell John Miller Aldo Mini Boris Mironov Bill Morrow Seth Mos Andy Moskoff Chris Munonye Rob Newberry Darren Nickerson Andrea Nicolini Dag Nygren Helge Oldach Jonas Olsson Giulio Orsero Dave Packer Davide Pagnin Paolo Panizza Chris Parsons Michael Pedersen John Perkins Damon Permezel Simon Perry Frank Peters Diego Pettena Reinhard Pfau Vu Pham David Pike Amir Plivatsky John Patrick Poet Michele Petrazzo Harald Pollack Andreas Pretzsch Bernd Proissl Andy Rabagliati Eric Rescorla Matthew Rice Tim Rice Daniel Robbins Tomasz Rolewski Marshall Rose Daniel Rosenblatt Joel Rosi-Schwartz Tim Rylance Giuseppe Sacco Joseph E. Sacco Michael Salzmann Sven Schmidt John Sellens Vilmos Soti Alan Sparks Andy Sparrow Marco Steinacher Iain Stevenson Marius Strobl John Sucaet Thomas A. Szybist Mikhail T. Kazuhide Takahashi Daryl Thachuk Brent Townshend Steve Tuckner Steve Underwood Aidan Van Dyk Paul Vixie David Vrona Rich Walker Norbert Warmuth Phil Watkinson James Werkowski Peter White Bruce Whittaker Chas Williams John Williams Steve Williams Steve Williams John Wolfe Scott Woodard Bill Young Bruce Young Christian Zahl We appreciate and recognize the upstreamed contributions from these distributions: Debian Linux FreeBSD Gentoo Linux Mandrake Linux NetBSD SuSE Linux For donated hardware, technical expertise, and other assistance we thank these manufacturers: Comtrol Digi International Eicon Networks Mainpine Ltd. MultiTech Systems hylafax-6.0.6/COPYRIGHT000066400000000000000000000124621176352547600144770ustar00rootroot00000000000000 HylaFAX Facsimile Software Copyright (c) 1990-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc. HylaFAX is a trademark of Silicon Graphics, Inc. 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. Acknowledgements ---------------- The regular expression support is based on Henry Spencer's POSIX 1003.2 compliant regex package that has ``Copyright 1992, 1993, 1994 Henry Spencer. All rights reserved.'' Consult regex/COPYRIGHT for the full copyright notice associated with this software. The code to read PCF fonts is distantly related to the X11R5 code that is ``Copyright 1990 Massachusetts Institute of Technology''; consult faxd/PCFFont.c++ for the full copyright notice. The textfmt program is distantly related to the lptops program written by Nelson Beebe; there was no copyright notice on the version of the code that textfmt grew out of. The config.guess and config.sub scripts are part of the GNU autoconf package and covered by the GNU Public License (GPL). Several ideas in the configure script are directly "borrowed" from autoconf (and I have tried to maintain as much compatibility as possible). The PCF font etc/lutRS18.pcf included for use with tag lines is a compiled version of a LucidaTypewriter font that was contributed to X11 by Bigelow & Holmes. Redistribution of this font requires inclusion of this copyright notice: NOTICE TO USER: The source code, including the glyphs or icons forming a par of the OPEN LOOK TM Graphic User Interface, on this tape and in these files is copyrighted under U.S. and international laws. Sun Microsystems, Inc. of Mountain View, California owns the copyright and has design patents pending on many of the icons. AT&T is the owner of the OPEN LOOK trademark associated with the materials on this tape. Users and possessors of this source code are hereby granted a nonexclusive, royalty-free copyright and design patent license to use this code in individual and commercial software. A royalty-free, nonexclusive trademark license to refer to the code and output as "OPEN LOOK" compatible is available from AT&T if, and only if, the appearance of the icons or glyphs is not changed in any manner except as absolutely necessary to accommodate the standard resolution of the screen or other output device, the code and output is not changed except as authorized herein, and the code and output is validated by AT&T. Bigelow & Holmes is the owner of the Lucida (R) trademark for the fonts and bit-mapped images associated with the materials on this tape. Users are granted a royalty-free, nonexclusive license to use the trademark only to identify the fonts and bit-mapped images if, and only if, the fonts and bit-mapped images are not modified in any way by the user. Any use of this source code must include, in the user documentation and internal comments to the code, notices to the end user as follows: (c) Copyright 1989 Sun Microsystems, Inc. Sun design patents pending in the U.S. and foreign countries. OPEN LOOK is a trademark of AT&T. Used by written permission of the owners. (c) Copyright Bigelow & Holmes 1986, 1985. Lucida is a registered trademark of Bigelow & Holmes. Permission to use the Lucida trademark is hereby granted only in association with the images and fonts described in this file. SUN MICROSYSTEMS, INC., AT&T, AND BIGELOW & HOLMES MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOURCE CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND. SUN MICROSYSTEMS, INC., AT&T AND BIGELOW & HOLMES, SEVERALLY AND INDIVIDUALLY, DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SUN MICROSYSTEMS, INC., AT&T OR BIGELOW & HOLMES BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOURCE CODE. hylafax-6.0.6/INSTALL000066400000000000000000000036421176352547600142350ustar00rootroot00000000000000$Id$ This note is basically just a placeholder. The real documentation is located online at the HylaFAX home page: http://www.hylafax.org/ The online documentation includes the full contents of the documentation as well as an HOWTO, FAQ, archives of the HylaFAX mailing list, and associated modem-related documentation. Installation Synopsis --------------------- Follow the directions in the online documentation. The main material on configuring, building, and installing the software is given in: http://www.hylafax.org/building.html Server setup information is found at: http://www.hylafax.org/setup.html The documentation is extensive and designed to be used when installing the software. There is also an FAQ that covers (or should cover) common problems. The basic procedure is: % ./configure % make % su # NB: must be root to setup software # make install # faxsetup If this does not work and the problem is not clear, then you will need to look at the documentation and/or the code. There is documentation! There is GOBS of documentation. The online materials present information needed to build+setup the software; the manual pages act as a reference guide. There are manual pages for all the programs and for all the files and directories that you may be curious about. Of course there is also source code for everything, but this should (hopefully) not be needed. A useful introduction to the client applications is given in the hylafax-client manpage. If you want to learn how the server and spooling system work, look first at the hylafax-server manpage. Remember however that the manual pages are for reference; the online documentation is designed to be more introductory in nature and should usually be consulted first when you're looking for general guidance. See the README for details on where to turn if you've done all of this and still need help! hylafax-6.0.6/Makefile.in000066400000000000000000000210671176352547600152520ustar00rootroot00000000000000#!smake # $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1988-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # 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. # # # @WARNING@ # # VERSION: @VERSION@ # DATE: @DATE@ # TARGET: @TARGET@ # CCOMPILER: @CCOMPILER@ # CXXCOMPILER: @CXXCOMPILER@ # COMMONPREF=fax DEPTH = . @MAKEINCLUDE@ @MAKELQUOTE@defs@MAKERQUOTE@ SRCDIR = ${TOPSRCDIR}/${DEPTH} DSODIRS = libhylafax SRCDIRS = ${DSODIRS} \ util \ faxalter \ faxcover \ faxd \ faxmail \ faxrm \ faxstat \ hfaxd \ sendfax \ sendpage DIRS= ${SRCDIRS} \ config \ etc \ man TARGETS=hylafax default all ${TARGETS}: @${MAKE} -f ${MAKEFILE} dirs @MAKEINCLUDE@ @MAKELQUOTE@rules@MAKERQUOTE@ dirs:: ${ECHO} "= "port; cd port; ${MAKE} || exit $?; @if [ "@REGEX@" = yes ]; then \ ${ECHO} "= "regex; cd regex; ${MAKE} || exit $?; \ else \ true; \ fi @for i in ${DIRS}; do \ (${ECHO} "= "$$i; cd $$i; ${MAKE}) || exit $?; \ done @if [ "@SGI2FAX@" = yes ]; then \ ${ECHO} "= "sgi2fax; cd sgi2fax; ${MAKE} || exit $?; \ else \ true; \ fi @if [ "@DPS@" = yes ]; then \ ${ECHO} "= "dps; cd dps; ${MAKE} || exit $?; \ else \ true; \ fi @if [ "@IMP@" = yes ]; then \ ${ECHO} "= "imp; cd imp; ${MAKE} || exit $?; \ else \ true; \ fi @if [ "@GS@" = yes ]; then \ ${ECHO} "= "gs; cd gs; ${MAKE} || exit $?; \ else \ true; \ fi @if [ "@NLS@" = yes ]; then \ ${ECHO} "= "po; cd po; ${MAKE} || exit $?; \ else \ true; \ fi @${ECHO} "= "pkg; cd pkg; ${MAKE} || exit $? depend:: ${ECHO} "= "port; cd port; ${MAKE} depend; @if [ "@REGEX@" = yes ]; then \ ${ECHO} "= "regex; cd regex; ${MAKE} depend; \ else \ true; \ fi @for i in ${DIRS}; do \ (${ECHO} "= "$$i; cd $$i; ${MAKE} depend); \ done @if [ "@SGI2FAX@" = yes ]; then \ ${ECHO} "= "sgi2fax; cd sgi2fax; ${MAKE} depend; \ else \ true; \ fi clean:: ${ECHO} "= "port; cd port; ${MAKE} clean; @if [ "@REGEX@" = yes ]; then \ ${ECHO} "= "regex; cd regex; ${MAKE} clean; \ else \ true; \ fi @for i in ${DIRS}; do \ (${ECHO} "= "$$i; cd $$i; ${MAKE} clean); \ done @if [ "@SGI2FAX@" = yes ]; then \ ${ECHO} "= "sgi2fax; cd sgi2fax; ${MAKE} clean; \ else \ true; \ fi @if [ "@DSO@" != no ]; then \ for i in ${DSODIRS}; do \ (${ECHO} "= "$$i; cd $$i; ${MAKE} cleanDSO); \ done; \ else \ true; \ fi @if [ "@DPS@" = yes ]; then \ ${ECHO} "= "dps; cd dps; ${MAKE} clean; \ else \ true; \ fi @if [ "@IMP@" = yes ]; then \ ${ECHO} "= "imp; cd imp; ${MAKE} clean; \ else \ true; \ fi @if [ "@GS@" = yes ]; then \ ${ECHO} "= "gs; cd gs; ${MAKE} clean; \ else \ true; \ fi @${ECHO} "= "pkg; cd pkg; ${MAKE} clean clobber:: (cd util; ${MAKE} clobberconfig) (cd etc; ${MAKE} clobberconfig) (cd faxcover; ${MAKE} clobberconfig) ${ECHO} "= "port; cd port; ${MAKE} clobberconfig; ${MAKE} clobber; @if [ "@REGEX@" = yes ]; then \ ${ECHO} "= "regex; cd regex; ${MAKE} clobber; \ else \ true; \ fi @if [ "@DSO@" != no ]; then \ for i in ${DSODIRS}; do \ (${ECHO} "= "$$i; cd $$i; ${MAKE} cleanDSO); \ done; \ else \ true; \ fi @for i in ${DSODIRS}; do \ (${ECHO} "= "$$i; cd $$i; ${MAKE} clobberconfig); \ done @for i in ${DIRS}; do \ (${ECHO} "= "$$i; cd $$i; ${MAKE} clobber); \ done @if [ "@NLS@" = yes ]; then \ ${ECHO} "= "po; cd po; ${MAKE} clobber; \ else \ true; \ fi @if [ "@SGI2FAX@" = yes ]; then \ ${ECHO} "= "sgi2fax; cd sgi2fax; ${MAKE} clobber; \ else \ true; \ fi -${RM} -f Makedepend port.h config.h config.log config.cache distclean: clobber @if [ "@DPS@" = yes ]; then \ ${ECHO} "= "dps; cd dps; ${MAKE} distclean; \ else \ true; \ fi @if [ "@IMP@" = yes ]; then \ ${ECHO} "= "imp; cd imp; ${MAKE} distclean; \ else \ true; \ fi @if [ "@GS@" = yes ]; then \ ${ECHO} "= "gs; cd gs; ${MAKE} distclean; \ else \ true; \ fi (cd pkg; ${MAKE} distclean) -${RM} -f defs rules Makefile update-po:: @if [ "@NLS@" != yes ]; then \ echo "NLS Not enabled"; false; \ fi @for i in ${SRCDIRS}; do \ (${ECHO} "= "$$i; cd $$i; ${MAKE} messages.po); \ done (cd po; ${MAKE} hylafax.pot) makeClientDirs:: -${INSTALL} -u ${SYSUSER} -g ${SYSGROUP} -m ${DIRMODE} \ -idb hylafax.sw.client -dir \ ${BIN} ${LIBDATA} ${LIBEXEC} ${SBIN} makeServerDirs:: -${INSTALL} -u ${SYSUSER} -g ${SYSGROUP} -m ${DIRMODE} \ -idb hylafax.sw.server -dir ${SBIN}; -${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m ${DIRMODE} \ -idb hylafax.sw.server -dir ${SPOOL} -${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m ${DIRMODE} \ -idb hylafax.sw.server -dir \ -F ${SPOOL} bin client config dev etc info log recvq status -${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m 700 \ -idb hylafax.sw.server -dir \ -F ${SPOOL} sendq doneq docq tmp pollq archive makeDirs: makeClientDirs makeServerDirs makeDevices:: ${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m 600 -fifo \ -idb hylafax.sw.server -F ${SPOOL} FIFO install: makeDirs makeDevices ${INSTALL} -m 444 -F ${SPOOL} -idb hylafax.sw.server \ -src ${SRCDIR}/COPYRIGHT -O COPYRIGHT @if [ "@REGEX@" = yes ]; then \ ${ECHO} "= "regex; cd regex; ${MAKE} install || exit 1; \ else \ true; \ fi @for i in ${DIRS}; do \ (${ECHO} "= "$$i; cd $$i; ${MAKE} install) || exit 1; \ done @if [ "@SGI2FAX@" = yes ]; then \ ${ECHO} "= "sgi2fax; cd sgi2fax; ${MAKE} install || exit 1; \ else \ true; \ fi @if [ "@DSO@" != no ]; then \ for i in ${DSODIRS}; do \ (${ECHO} "= "$$i; cd $$i; ${MAKE} installDSO) || exit 1; \ done; \ else \ true; \ fi @${ECHO} "= "etc; cd etc; ${MAKE} installSysVInit; @if [ "@DPS@" = yes ]; then \ ${ECHO} "= "dps; cd dps; ${MAKE} install || exit 1; \ else \ true; \ fi @if [ "@IMP@" = yes ]; then \ ${ECHO} "= "imp; cd imp; ${MAKE} install || exit 1; \ else \ true; \ fi @if [ "@GS@" = yes ]; then \ ${ECHO} "= "gs; cd gs; ${MAKE} install || exit 1; \ else \ true; \ fi @if [ "@NLS@" = yes ]; then \ ${ECHO} "= po"; cd po; ${MAKE} install || exit 1; \ else \ true; \ fi CLIENTDIRS=\ libhylafax \ faxalter \ faxcover \ faxmail \ faxrm \ faxstat \ sendfax \ sendpage installClient: makeClientDirs @for i in ${CLIENTDIRS}; do \ (${ECHO} "= "$$i; cd $$i; ${MAKE} install) || exit 1; \ done @if [ "@SGI2FAX@" = yes ]; then \ ${ECHO} "= "sgi2fax; cd sgi2fax; ${MAKE} install || exit 1; \ else \ true; \ fi @for i in etc util man; do \ (${ECHO} "= "$$i; cd $$i; ${MAKE} installClient) || exit 1; \ done @if [ "@DSO@" != no ]; then \ for i in libhylafax; do \ (${ECHO} "= "$$i; cd $$i; ${MAKE} installDSO) || exit 1; \ done; \ else \ true; \ fi @if [ "@NLS@" = yes ]; then \ (${ECHO} "= po"; cd po; ${MAKE} installClient) || exit 1; \ else \ true; \ fi package:: @${ECHO} "= "pkg; cd pkg; ${MAKE} package product:: test -d dist || ${MKDIR} dist ${RM} -f dist/rawidb SRC=`${PWDCMD}` RAWIDB=`${PWDCMD}`/dist/rawidb ${MAKE} install ${RM} -f dist/idb ${SORT} -u +4 dist/rawidb > dist/idb ${GENDIST} -v -dist dist -idb dist/idb -sbase `pwd` -spec ${SRCDIR}/dist/hylafax.dist dist.inst: VERSION="v`cat ${SRCDIR}/VERSION``awk '{print $$3}' ${SRCDIR}/dist/hylafax.alpha`"; \ rm -f $$VERSION.inst.tar; \ tar cf $$VERSION.inst.tar \ dist/hylafax \ dist/hylafax.idb \ dist/hylafax.sw \ dist/hylafax.man @MAKEINCLUDE@ @MAKELQUOTE@${SRCDIR}/distrules@MAKERQUOTE@ hylafax-6.0.6/README000066400000000000000000000110341176352547600140560ustar00rootroot00000000000000 HylaFAX - The world's most advanced open source fax server ======================================================================== HylaFAX(tm) is a system for sending and receiving facsimile. It supports queued transmission and asynchronous reception of facsimile. Ancillary programs are invoked by the system for flexibility and configurability. HylaFAX includes client and server programs to support remote submission of jobs for transmission, remote removal of queued jobs, and to remotely query the status of jobs queued for transmission. The latest version of this software may be obtained at: http://ftp.hylafax.org/source/ For more information look at our web site located at: http://www.hylafax.org/ Release notes for version 6.0 are available in: doc/RELEASENOTES-6.0.txt HYLAFAX BINARY PACKAGES ======================================================================== Binary packages for some operating systems and platforms are available. Please see: ftp://ftp.hylafax.org/binary/ http://www.hylafax.org/content/Binary_Packages http://www.hylafax.org/content/Handbook:Binary_Package_Install If you are able and willing to produce a binary package of HylaFAX for general distribution, and one is not already available for your platform/OS, then you are invited to add it to the Binary_Packages wiki page at www.hylafax.org. SUPPORT ======================================================================== HylaFAX has numerous public support resources available. The user is encouraged to utilize the manpage documentation before turning to other support arenas. However, if other support is desired, or if you would like to actively take part in the HylaFAX community, you are invited to: * join and participate in a HylaFAX mailing list See: http://www.hylafax.org/content/Mailing_Lists When corresponding about this software, please always specify: - what version of HylaFAX you have, - what system you're running on (if it is Linux please name the distribution) - if the problem is modem-related, identify it and the firmware rev For example: "HylaFAX 4.3.0 under CentOS 4.4 with gcc 3.4.6; ZyXEL 1496E with 6.11a firmware." * read the on-line documentation and resources See: http://www.hylafax.org/content/Documentation * review HylaFAX CVS See: http://www.hylafax.org/content/Developers * report confirmed bugs, feature requests, and submit patches See: http://bugs.hylafax.org/ ======================================================================== And now, a note from HylaFAX's original author ;-) Silicon Graphics has seen fit to allow me to give this work away. It is free. There is no support or guarantee of any sort as to its operations, correctness, or whatever. If you do anything useful with all or parts of it you need to honor the copyright notices. I would also be interested in knowing about it and, hopefully, be acknowledged. Finally, note that this software is called ``HylaFAX'', not ``Hylafax'', ``hylafax'', and certainly not ``FlexFAX'' (the old name which someone else has a copyright on). If you want to refer to this software use ``HylaFAX (tm)'' and be sure to honor the Silicon Graphics trademark. Sam Leffler Use and Copyright ----------------- Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc. 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. hylafax-6.0.6/TODO000066400000000000000000000241511176352547600136720ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # List of outstanding bug reports and change requests ######################################################################### # **NOTE** This file has not been maintained since HylaFAX transitioned # # from Sam to HylaFAX.ORG, and is probably of historic value only # # # # Bugs should now be reported & tracked by submitting a bug report at: # # # # http://bugs.hylafax.org/ # ######################################################################### BH job group support is broken B file write errors during receive are not processed correctly B polling bug in Class 1 driver (reset FCF sndr/rcvr bit at start of Phase B) B no timeout in Class 1 receive if data is received when waiting for OK after transmit of TSI (happens easily if wrong receive baud rate setup) B sloppy processing of +FHNG: response to AT+FDT (extra read+timeout) H faxadduser program equivalent of SITE ADDUSER command H job archival support in faxqclean H revamp modem status to have a fixed format and include useful info like type, manufacturer, etc. H fill-in VRFY op to support least-cost routing over a WAN H use T.30 subaddress routing for received facsimile (needs database) H polled transmission of documents (use SEP and PWD; add registration tools and query status support) H use PWD in TSI qualification H select modems based on criteria such as destination phone number (for locations where some lines are capable of long distance calls while others are not) H voice support integration H VOICE/ANSWER button support for ZyXEL H silent answer support? M optionally replace info directory with a hashed database file to reduce overhead on busy systems M batch multiple jobs to the same destination (important for pages) M bound transmit page count on a per-user basis M add type of call control for CID access control list? M restructure modem classes to support multi-class modems (e.g. class 1+2) M add faxq lock to avoid naive users starting multiple queuers BL race in queuer/Dispatcher collecting child process status (hack sleep in child to give parent time to install SIGCLD handler for now) BL aborted receives get an extra page written (use TIFFUnlinkDirectory) L change receive timeout to be based on seeing EOL code L faxmove program, analogous to lpmove L permit call type deduction logic used when answering an inbound call to be user-configurable (useful for distinctive ring)--not so important now with configurable distinctive ring support builtin O DataPort<->MicroPorte wedges when retraining after EOM X add TOD control to TSI+CID access control lists? (no, can do this with cron job that sends FIFO messages to change control list files) Since v4.0pl2 there is a new style for the collection of the bug and problem reports. If you want to hunt for bugs you may also fetch the article from the mailing-lists using the information from the "refs:" field. Please use the "report#:" if you have comments or hints to fix the problem. --------------- BH report#: 0001 problem: SIGSEGV in hfaxd after pagesend completed and faxq finished the job refs: 23/09/1996 Matthias.Apitz@SOFTCON.de 23/09/1996 sam@cthulhu.engr.sgi.com file: problemReports/0001 --------------- B report#: 0002 problem: faxconfig(1M) does not work for PostScriptTimeout: value refs: 23/09/1996 Matthias.Apitz@SOFTCON.de 23/09/1996 sam@cthulhu.engr.sgi.com file: problemReports/0001 --------------- B report#: 0003 problem: MCF/RTN bug in the Class 2/2.0 driver the modem says "+FPTS: 2,2219,0,0" which means the page isn't good, ends phase C and ends phase C and reports "+FET: 2"; HylaFAX just ignores the PPR value refs: 28/01/1997 Stefan Pettersson 02/02/1997 Matthias.Apitz@SOFTCON.de 03/02/1997 sam@sgi.com file: problemReports/0003 --------------- BH report#: 0004 problem: Bug in faxqclean the TIFF version of the document has a ";31" or ";71" or some such appended to it, NOT the "q file" number. The faxqclean program looks at these files, thinks the "q file" number is 0, and removes the file since the "q file" does not exist. refs: 20/02/1997 john@BlueSkyTours.COM file: problemReports/0004 --------------- B report#: 0005 problem: hp-ux 10.20 has no ut_xtime GettySysV.c++:215: `struct utmpx' has no member named `ut_xtime' in /usr/include/utmpx.h refs: 12/05/1997 meyer-jark@anaesthesie.klinik.uni-mainz.de file: problemReports/0005 --------------- X report#: 0006 -- resolved in v4.0pl2 problem: "Yes" in modem config doesn't work refs: 16/07/1997 jik@kamens.brookline.ma.us file: problemReports/0006 --------------- B report#: 0007 problem: spaces in typerules file not allowed, only TABs refs: 26/08/1997 stenny@troja.stuttgart.netsurf.de file: problemReports/0007 --------------- X report#: 0008 -- resolved in v4.0pl2 problem: adding UCP driver to pagesend refs: 06/02/1997 yngvi@hagkaup.is 28/09/1997 afm@macbeth.othello.ch file: problemReports/0008 --------------- C report#: 0009 problem: use "client" and "owner" for accounting instead "mailaddr" refs: 08/02/1997 Andreas.Eulitz@Informatik.TU-Chemnitz.DE file: problemReports/0009 --------------- B report#: 0010 problem: compiling HylafAX on HP-UX 10.x refs: 01/05/1997 meyer-jark@anaesthesie.klinik.uni-mainz.de file: problemReports/0010 --------------- L report#: 0011 problem: gettimeofday(a,b) for older SVR4 refs: 03/03/1997 dlw@seavme.xroads.com file: problemReports/0011 --------------- C report#: 0012 problem: add ELSA modem config file refs: 07/05/1997 gobbers@faw9370.faw.uni-ulm.de file: problemReports/0012 --------------- BH report#: 0013 problem: SEND recv RTN (retrain negative) but page received at called station refs: 30/07/1997 pks1@IPA.FhG.de file: problemReports/0013 --------------- B report#: 0014 problem: faxmail doesn't support 8-bit characters refs: 30/06/1997 oehansen@utbildning.halmstad.se file: problemReports/0014 --------------- C report#: 0015 problem: changes for class1 and class1.0 refs: 13/10/1997 sam@sgi.com file: problemReports/0015 --------------- L report#: 0016 problem: hfaxd only uses LogFacility from hfaxd.conf for client connections and runs with default LOG_FAX in parrent proc refs: - file: - --------------- O report#: 0017 problem: possible bug in FaxQueuer dealing with jobs refs: 29/09/1997 greg@pocketscience.com file: problemReports/0017 --------------- B report#: 0018 problem: 3 bugs in hfaxd/faxq dealing with the job file refs: 03/09/1997 davidb@chelsea.net file: problemReports/0018 --------------- B report#: 0019 problem: faxmail and attachments refs: 30/10/1997 lrei@ictlux.com file: problemReports/0019 --------------- O report#: 0020 problem: sendpage && hfaxd SNPP problem refs: 09/11/1997 frohme@memphis.edu file: problemReports/0020 --------------- O report#: 0021 problem: stopping faxq(1M) with TimeOfDay: refs: 17/11/1997 ytrudeau@jyrmatec.com file: problemReports/0021 --------------- L report#: 0022 problem: LineWrap: at word boundaries refs: 19/11/1997 patrick@cre8tivegroup.com file: problemReports/0022 --------------- OH report#: 0023 problem: documents in the docq directory being over writen refs: 25/11/1997 jared@4websites.com file: problemReports/0023 --------------- B report#: 0024 problem: better (recent) config.guess refs: 08/12/1997 jbauza@hotmail.com file: problemReports/0024 --------------- C report#: 0025 problem: option "-o owner" to sendfax(1) refs: 05/01/1998 alzhimer@cs.tu-berlin.de file: problemReports/0025 --------------- B report#: 0026 problem: wrong sendmail rules for faxmail refs: 07/02/1998 david@djwhome.demon.co.uk file: problemReports/0026 -- B = outright bug O = observe (seen at least once but cannot reproduce) C = change request H = high priority M = medium priority L = low priority X = resolved hylafax-6.0.6/VERSION000066400000000000000000000000061176352547600142430ustar00rootroot000000000000006.0.6 hylafax-6.0.6/config.guess000077500000000000000000001257621176352547600155340ustar00rootroot00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2006-03-13' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerppc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[45]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; i*:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; x86:Interix*:[345]*) echo i586-pc-interix${UNAME_RELEASE} exit ;; EM64T:Interix*:[345]*) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun) LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^LIBC/{ s: ::g p }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit } test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: hylafax-6.0.6/config.h.in000066400000000000000000000272171176352547600152330ustar00rootroot00000000000000/* $Id$ */ /* * Copyright (c) 1990-1996 Sam Leffler * Copyright (c) 1991-1996 Silicon Graphics, Inc. * 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. */ /* * Warning, this file was automatically created by the HylaFAX configure script * * VERSION: @VERSION@ * DATE: @DATE@ * TARGET: @TARGET@ * CCOMPILER: @CCOMPILER@ * CXXCOMPILER: @CXXCOMPILER@ */ #ifndef _CONFIG_ #define _CONFIG_ #include "port.h" /* * HylaFAX version number string */ #define HYLAFAX_VERSION HYLAFAX_VERSION_STRING #define FAX_SPOOLDIR "@SPOOL@" /* pathname to top of spooling area */ #define FAX_CLIENTBIN "@BIN@" /* place for client apps */ #define FAX_LIBEXEC "@LIBEXEC@" /* place for lib executables */ #define FAX_LIBDATA "@LIBDATA@" /* place for lib data files */ /* * Client-server configuration definitions. * * There are currently 2 possible transport methods: INET * (TCP/IP sockets), and Unix (Unix-domain sockets). * The latter has some limitations but may be useful to folks * not working in a network environment. * * NB: The Unix-domain support is unfinished. */ #define FAX_USER "@FAXUID@" /* account name of the ``fax user'' */ #define FAX_SERVICE "hylafax" /* client-server service name */ #define FAX_PROTONAME "tcp" /* protocol used by client+server */ #define FAX_DEFPORT 4559 /* port to use if service is unknown */ #define FAX_DEFHOST "localhost" /* default host for inet-service */ #define FAX_DEFUNIX "/tmp/hyla.unix"/* default Unix-domain socket */ #ifndef CONFIG_INETTRANSPORT #define CONFIG_INETTRANSPORT 1 /* support for TCP/IP sockets */ #endif #ifndef CONFIG_UNIXTRANSPORT #define CONFIG_UNIXTRANSPORT 0 /* support for Unix domain sockets */ #endif #define FAX_TYPERULES "typerules" /* file type and conversion rules */ #define FAX_DIALRULES "dialrules" /* client dialstring conversion rules */ #define FAX_PAGESIZES "pagesizes" /* page size database */ #define FAX_COVER "faxcover.ps" /* prototype cover sheet file */ /* * System-wide configuration files for client applications (and * the hfaxd process) are located in the LIBDATA directory. Apps * look first for FAX_SYSCONF, possibly followed by an * application-specific configuration file (e.g. sendfax.conf), * followed by a per-user configuration file located (by default) * in the user's home directory (~). This multi-level scheme * is intended to simplify both site and user customization. */ #define FAX_SYSCONF FAX_LIBDATA "/hyla.conf" #define FAX_USERCONF "~/.hylarc" /* per-user configuration file */ /* * Server configuration definitions. * * The master spooling directory is broken up into several * subdirectories to isolate information that should be * protected (e.g. documents) and to minimize the number * of files in a single directory (e.g. the send queue). */ #define FAX_ARCHDIR "archive" /* subdir for archived jobs */ #define FAX_BINDIR "bin" /* subdir for server helper cmds */ #define FAX_CLIENTDIR "client" /* subdir for client FIFO files */ #define FAX_DOCDIR "docq" /* subdir for documents to send */ #define FAX_DONEDIR "doneq" /* subdir for completed jobs */ #define FAX_ETCDIR "etc" /* subdir for configuration files */ #define FAX_INFODIR "info" /* subdir for remote machine info */ #define FAX_LOGDIR "log" /* subdir for log files */ #define FAX_POLLDIR "pollq" /* subdir for pollable documents */ #define FAX_RECVDIR "recvq" /* subdir for received facsimiles */ #define FAX_SENDDIR "sendq" /* subdir for send description files */ #define FAX_STATUSDIR "status" /* subdir for server status files */ #define FAX_TMPDIR "tmp" /* subdir for temp copies of docs */ /* * Files that reside in FAX_DOCDIR, FAX_SENDDIR, FAX_RECVDIR, * FAX_POLLDIR, and FAX_ARCHDIR are named using sequence number * information that is kept in a sequence file in the specific * directory (e.g. docq/seqf for document files). */ #define FAX_SEQF "seqf" /* sequencing info filename */ /* * Job description files that reside in FAX_SENDDIR and * FAX_DONEDIR are named using the job identifier and a * prefix string (``q'' currently). */ #define FAX_QFILEPREF "q" /* prefix for job queue file */ /* * Configuration files that reside in the spooling area * are all named with a ``config'' prefix to uniquely * identify them. */ #define FAX_CONFIG FAX_ETCDIR "/config" /* * Send/recv logging information is written to an xferfaxlog * file; currently in an ASCII format designed for processing * by programs like awk and perl. */ #define FAX_XFERLOG FAX_ETCDIR "/xferfaxlog" /* * Client access to services on the server machine is controlled * by information in the ``hosts.hfaxd'' file. This is actually a * minsomer; the file has much more information than host names * (but it used to only have host-related information). */ #define FAX_PERMFILE FAX_ETCDIR "/hosts.hfaxd" /* * Server processes write various status information to files * that reside in the ``status'' directory. These files are * named, by convention using their device identifier ad an * ``info'' suffix (e.g. ttyf2.info). */ #define FAX_INFOSUF "info" /* suffix for server info files */ #define FAX_FIFO "FIFO" /* FIFO file for talking to daemon */ #define MODEM_ANY "any" /* any modem acceptable identifier */ /* NB: all times are given in seconds */ #define FAX_REQBUSY (3*60) /* requeue interval on busy answer */ #define FAX_REQPROTO (1*60) /* requeue interval on protocol error */ #define FAX_REQUEUE (5*60) /* requeue interval on other */ #define FAX_RETBUSY (u_int)-1 /* retry maximum on busy answer */ #define FAX_RETRY (u_int)-1 /* retry maximum for others */ #define FAX_RETRIES 3 /* number times to retry send */ #define FAX_REDIALS 12 /* number times to dial phone */ #define FAX_TIMEOUT "now + 3 hours" /* default job timeout (at syntax) */ #define FAX_DEFVRES @DEFVRES@ /* default vertical resolution */ /* default is no email notification */ #define FAX_DEFNOTIFY SendFaxJob::no_notice #define FAX_DEFPRIORITY 127 /* default job priority */ /* * UUCP lock file support exists for both ASCII-style and * binary-style files. The difference refers to whether * the process ID's written to the lock file are written * in ASCII or binary. HylaFAX server programs can be * configured to use either through the configuration files * and there is also support for certain lock file naming * conventions required by different systems such as SCO * and SVR4. Consult the documentation for more details. */ #define UUCP_LOCKDIR "@UUCP_LOCKDIR@" /* directory for UUCP lock files */ #define UUCP_LOCKTYPE "@UUCP_LOCKTYPE@" /* UUCP lock file type */ #define UUCP_LOCKMODE 0444 /* UUCP lock file creation mode */ #define UUCP_PIDDIGITS 10 /* # digits to write to lock file */ /* * HylaFAX server processes that create UUCP lock files * check that the lock file owner exists and if they do * not they can be configured to automatically purge the * lock file. This operation is only done for lock files * that appear to be orphaned longer than some period of * time. The default value for this interval is 30 seconds * but it can be changed through the configuration files. * Setting this value to 0 disables this automatic purging * of UUCP lock files. */ #define UUCP_LCKTIMEOUT 30 /* UUCP lock auto-expiration (secs) */ /* * Default syslog facility. This value can be redefined * through the LogFaclity configuration parameters read * by all the server programs. */ #define LOG_FAX "daemon" /* logging identity */ /* * The pathnames of the getty, vgetty, and egetty programs * invoked by faxgetty to handle inbound data and voice * calls and for doing adaptive call type deduction. These * parameters are compiled into the binary to avoid possible * security problems. */ #ifndef _PATH_GETTY #define _PATH_GETTY "@PATHGETTY@" /* getty program for data call */ #endif #ifndef _PATH_VGETTY #define _PATH_VGETTY "@PATHVGETTY@" /* vgetty program for voice call */ #endif #ifndef _PATH_EGETTY #define _PATH_EGETTY "@PATHEGETTY@" /* egetty for deducing call type */ #endif /* * The default pathname for the Fontmap(s) file * is compiled into util/TextFormat.o but can be overridden * through configuration files. */ #ifndef _PATH_FONTMAP #define _PATH_FONTMAP "@FONTMAP@" /* location of Fontmap(s) */ #endif /* * The default pathname for the location of the fonts * is compiled into util/TextFormat.o but can be overridden * through configuration files. */ #ifndef _PATH_AFM #define _PATH_AFM "@FONTPATH@" /* location of Fonts */ #endif /* * The following commands are invoked by server processes * to do work that might need to be customized. Typically * these ``commands'' are shell scripts, but there's nothing * to stop them from being something else. * * Note that non-absolute pathnames must be given relative * to the top of the spooling area. */ #define FAX_NOTIFYCMD FAX_BINDIR "/notify" /* cmd to do job notification */ #define FAX_TRANSCMD FAX_BINDIR "/transcript"/* cmd to return transcript */ #define FAX_FAXRCVDCMD FAX_BINDIR "/faxrcvd" /* cmd to process a recvd fax */ #define FAX_POLLRCVDCMD FAX_BINDIR "/pollrcvd" /* cmd to process a recvd fax */ #define FAX_PS2FAXCMD FAX_BINDIR "/ps2fax" /* cmd to convert postscript */ #define FAX_PDF2FAXCMD FAX_BINDIR "/pdf2fax" /* cmd to convert PDF */ #define FAX_PCL2FAXCMD FAX_BINDIR "/pcl2fax" /* cmd to convert PCL */ #define FAX_TIFF2FAXCMD FAX_BINDIR "/tiff2fax" /* cmd to convert TIFF */ #define FAX_COVERCMD FAX_BINDIR "/mkcover" /* cmd to make cont coverpage */ #define FAX_WEDGEDCMD FAX_BINDIR "/wedged" /* cmd to handle wedged modem */ /* * SNPP-related client-server definitions. */ #define SNPP_SERVICE "snpp" /* Simple Network Pager Protocol */ #define SNPP_PROTONAME "tcp" /* protocol used by client+server */ #define SNPP_DEFPORT 444 /* port to use if service is unknown */ #define SNPP_DEFHOST "localhost" /* default host for SNPP service */ /* default values for SNPP job scheduling and handling */ #define SNPP_DEFQUEUE false /* default is synchronous delivery */ #define SNPP_DEFLEVEL 1 /* default service level */ #define SNPP_DEFRETRIES 3 /* number times to retry send */ #define SNPP_DEFREDIALS 12 /* number times to dial phone */ #define SNPP_DEFNOTIFY "none" /* default is no email notification */ #define SNPP_DEFPRIORITY 127 /* default job priority */ /* * Sequence numbers are assigned for jobs and documents * stored in the fax filesystem. We no longer constrain these * numbers to be 16-bit values. */ #define MAXSEQNUM 999999999 #define NEXTSEQNUM(x) (((x)+1) % MAXSEQNUM) /* * PAM Authentication */ @HAVE_PAM@ /* * JBIG library support */ @HAVE_JBIG@ @HAVE_JBIGTIFF@ /* * i18n support */ @ENABLE_NLS@ #define LOCALEDIR "@LOCALEDIR@" #define LOCALE_DOMAIN "@LOCALE_DOMAIN@" #endif hylafax-6.0.6/config.site000066400000000000000000000260161176352547600153370ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # This file holds site-specific configuration parameters. # # Nothing is defined in here by default, the definitions # commented out below serve as documentation for what you # can set in this file or a config.local file. # # Note that you do not need to set anything here unless you # want to override the auto-configuration behaviour and/or # interactive prompting done by the configure script. # # # Package controls. # #DSO="auto" # configure DSO support (auto|IRIX|no) #GETTY="auto" # type of getty support (auto|BSD|SysV) #PS="auto" # PostScript support to use (auto|gs|dps|imp) #SGI2FAX="auto" # configure SGI image support (auto|yes|no) #DPS="no" # install SGI DPS-based RIP (yes|no) #GS="no" # install Ghostscript RIP (yes|no) #IMP="no" # install SGI Impressario 2.1 support (yes|no) #REGEX="yes" # use distributed regular expression package #UTMP="utmpx" # type of utmp+wtmp handling (auto|utmp|utmpx) #NLS="auto" # enable NLS support (auto|yes|no) # # Directory parameters. # #DIR_BIN="/usr/local/bin" # directory for client apps #DIR_LIB="/usr/local/lib" # directory for libhylafax #DIR_LIBDATA="/usr/lib/fax" # directory for client data #DIR_LIBEXEC="/usr/lib/fax" # directory for libraries&hidden apps #DIR_MAN="/usr/local/man" # directory for manual pages #DIR_SPOOL="/var/spool/hylafax" # directory for spooling area #DIR_SBIN="/var/spool/hylafax/bin" # directory for system apps #DIR_LOCKS="/usr/spool/locks" # directory for UUCP lock files #FONTMAP="/usr/share/ghostscript/3.33" # directorys containing Fontmap files #PATH_AFM="/usr/lib/DPS/AFM" # directorys for AFM files # # Miscellaneous parameters. # #DEFVRES="196" # default vertical res for outbound fax #FILLORDER="MS2LSB" # bit order of cpu (MSB2LSB/LSB2MSB) #FAXGID="uucp" # group ID for fax user #FAXUID="uucp" # user ID for fax user #PAGESIZE="North American Letter" # default page size #SYSGID="sys" # group ID for system installs #SYSUID="bin" # user ID for system installs #LOCKS="ascii" # default UUCP lockfile scheme # #PATH_GETTY="/etc/getty" # pathname of suitable getty program #PATH_VGETTY="/bin/vgetty" # pathname of voice getty program #PATH_EGETTY="/bin/egetty" # pathname of external getty program #PATH_SENDMAIL="/usr/lib/sendmail" # pathname of suitable sendmail program #PATH_GSRIP="/usr/local/bin/gs" # pathname of Ghostscript-based RIP #PATH_DPSRIP="/var/spool/hylafax/bin/ps2fax.exe" # pathname of DPS-based RIP #PATH_IMPRIP="/usr/lib/print/psrip" # pathname of Impressario 2.1 RIP #MANSCHEME="sysv-source-cat-strip" # manual page installation scheme #SYSVINIT="auto" # install SysV-style init support (auto|yes|no) #DIR_SYSVINIT="/etc/init.d" # location of SysV-style init script #DIR_SYSVINITSTART="../rc2.d" # location of SysV-style start script #DIR_SYSVINITSTOP="../rc0.d" # location of SysV-style stop script #NAME_SYSVINITSTART="S80fax" # name of SysV-style start script #NAME_SYSVINITSTOP="K80fax" # name of SysV-style stop script #FAXQ_SERVER=yes # init script starts faxq #HFAXD_SERVER=yes # init script starts hfaxd #HFAXD_SNPP_SERVER=no # don't start paging protocol # SVR4 packaging stuff #PKG_ARCH= # ARCH variable in pkginfo file #PKG_EMAIL=someone@somehost.somedomain # EMAIL variable in pkginfo file #PKG_VENDOR="Your Name Here" # VENDOR variable in pkginfo file # # # Parameters used when building the software. # # Note that configure has several ENVOPTS built into it that are # set according to the target. This is done to help naive folks. # # Beware of changing the INSTALL definition; you *must* have an # install script that emulates the Silicon Graphics install program! # #AR="/bin/ar" # pathname of suitable ar program #AROPTS="rc" # options to ar for creating archive #CC="gcc" # name/pathname of C compiler #CXX="gcc" # name/pathname of C++ compiler #CXXFILE="-x c++" # options for proper C++ processing #ENVOPTS="-Aa" # options for getting ANSI C #GCOPTS="-g" # options to pass C compiler #GCXXOPTS="-g" # options to pass C++ compiler #GENDIST="/sbin/gendist" # pathname of SGI inst generator program #INSTALL='${SHELL} ${PORT}/install.sh' # SGI install program/emulator #LIBMALLOC="auto" # yes|no|auto configure -lmalloc use #LIBPORT='${PORT}/libport.a' # library with emulation code #LIBSUN="auto" # yes|no|auto configure -lsun use #LLDOPTS="" # extra link line options #MACHDEPLIBS="" # extra libraries for linking #OPTIMIZER="-O" # optimizer flags #PORTFUNCS="" # non-standard functions to emulate #PROTOTYPES="-prototypes" # C compiler options for checking function prototypes #RANLIB=":" # pathname of suitable ranlib program #SHDLIBC="-lc_s" # shared C library, if not standard #SIGHANDLERTYPES='(void(*)(int,...))' # types to check for signal handler #STRIP="/bin/strip" # strip program used by install.sh # # The source for the TIFF library is not required # to build this software, but the library is required # to link against. If libtiff is installed in a # non-standard location then setup LIBTIFF accordingly. # #LIBTIFF="-L/usr/local/lib -ltiff" # linkage convention for libtiff #TIFFINC="-I/usr/local/include" # place to find tiffio.h #TIFFBIN="/usr/local/bin" # where TIFF tools live # # The source for the ZLIB library is not required # to build this software, but the library is required # to link against. If ZLIB is installed in a # non-standard location then setup LIBZ accordingly. # #LIBZ="-L/usr/local/lib -lz" # linkage convention for libz #ZLIBINC="-I/usr/local/include" # place to find zlib.h # # The source for the POSIX regular expression package # is not required to build this software, but the package # is required to link against. If the copy of the software # that is included in this distribution is not to be used # then set REGEX=no and supply the following definitions. # #LIBREGEX="" # linkage convention for regex package #REGEXINC="-I/usr/include" # place to find regex.h # # NLS (gettext) library support is used by default if it's found # xgettext is not required to build this software, but if you try # and rebuild the message template catalogs, you will need it. Some # platforms may need extra options to link for libintl as well. # #INTLINC="-I/usr/local/include" #LIBINTL="" # configure will try LIBINTL="-lintl" #XGETTEXT="xgettext --foreign-user -ctranslator --no-wrap --sort-by-file --omit-header --strict --indent --force-po" #MSGMERGE="msgmerge --no-wrap --sort-by-file" #MSGFMT=msgfmt #MSGCAT=msgcat # # Parameters to control various workarounds for system bugs. # # These parameters are normally set in configure based on # the target system. If they are set here, then they will # override anything done by configure. # #CONFIG_OPENFIFO="O_RDONLY" # mode to open FIFOs in server proc's #CONFIG_FIFOBUG="yes" # enable workaround for FIFO select bug #CONFIG_TIOCMBISBYREF="yes" # pass arg by reference to ioctl #CONFIG_WINSZHACK="no" # include extra files for TIOCWINSZ use #CONFIG_ABORTBUG="no" # enable workaround for abort problems #CONFIG_NOREOPEN="yes" # reopen tty device after toggling DTR #CONFIG_NOSTDINDUP="yes" # do not redirect stdout to stdin in ondelay #CONFIG_BADEXECVPROTO="no" # system has incorrect execv func decl #CONFIG_BADEXECVEPROTO="no" # system has incorrect execve func decl #CONFIG_BADGETOPTPROTO="no" # system has incorrect getopt func decl #CONFIG_SOCKARGLENTYPE="unsigned long" # call-by-ref arg type for socket funcs #CONFIG_BADSELECTPROTO="no" # system has way old select func decl #CONFIG_MAXGID="5999" # maximum permissable GID #CONFIG_OSFCNH="auto" # control inclusion of # # Dynamic Shared Object (DSO) support. # # Beware that adding new support for DSOs may require some # modifications to the */Makefile.dso files. # #DSOSUF="so" # DSO filename suffix #DSODELAY="-delay_load" # DSO option for delayed loading #DSOOPTS="-shared -rdata_shared" # options for building DSOs # # Makefile construction parameters. # # These should not normally be set; configure will # deduce the appropriate syntax to use for includes. # #MAKECXXOVERRIDE="=.C" # make override stuff for SunPRO C++ #MAKEDEPINCLUDE="include" # make include for dependency files #MAKEDSOINCLUDE="#" # make include for DSO support #MAKEINCLUDE=".include" # make include syntax #MAKELQUOTE="<" # make include syntax #MAKERQUOTE=">" # make include syntax #SETMAKE='MAKE = ${MAKE}' # define if make does not setup $MAKE #MKDEPCOPTS="" # C compiler opts to supply w/ -M #MKDEPCXXOPTS="" # C++ compiler opts to supply w/ -M # # General system stuff used by the distribution. # # Beware of setting these as configure selects several programs # based on whether or not they are capable of processing scripts # included in the distribution (e.g AWK and SCRIPT_SH, SED). # #AWK="/bin/awk" # pathname of suitable awk program #CAT="/bin/cat" # pathname of suitable cat program #CHGRP="/etc/chgrp" # pathname of suitable chgrp program #CHMOD="/etc/chmod" # pathname of suitable chmod program #CHOWN="/etc/chown" # pathname of suitable chown program #CMP="/bin/cmp" # pathname of suitable cmp program #COL="/bin/col" # pathname of suitable col program #CP="/bin/cp" # pathname of suitable cp program #ECHO="/bin/echo" # pathname of suitable echo program #GREP="/bin/grep" # pathname of suitable grep program #LN="/bin/ln" # pathname of suitable ln program #LN_S="-s" # option to ${LN} to create symlink #MAN="/usr/bin/man" # pathname of suitable man program #MKDIR="/bin/mkdir" # pathname of suitable mkdir program #MKFIFO="/bin/mkfifo" # pathname of suitable mkfifo program #MV="/bin/mv" # pathname of suitable mv program #MV_F="-f" # option to ${MV} to force operation #RMCMD="/bin/rm" # pathname of suitable rm program #SED="/bin/sed" # pathname of suitable sed program #SCRIPT_SH="/bin/sh" # pathname of suitable shell #SORT="/bin/sort" # pathname of suitable sort program hylafax-6.0.6/config.sub000077500000000000000000000772551176352547600152020ustar00rootroot00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2006-03-07' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | mt \ | msp430 \ | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m32c) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; m32c-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; c90) basic_machine=c90-cray os=-unicos ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16c) basic_machine=cr16c-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; mvs) basic_machine=i370-ibm os=-mvs ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: hylafax-6.0.6/config/000077500000000000000000000000001176352547600144445ustar00rootroot00000000000000hylafax-6.0.6/config/.cvsignore000066400000000000000000000000111176352547600164340ustar00rootroot00000000000000Makefile hylafax-6.0.6/config/Makefile.in000066400000000000000000000053361176352547600165200ustar00rootroot00000000000000#!smake # $Id$ # # @WARNING@ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # 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. # # # VERSION: @VERSION@ # DATE: @DATE@ # TARGET: @TARGET@ # CCOMPILER: @CCOMPILER@ # CXXCOMPILER: @CXXCOMPILER@ # DEPTH=.. SUBDIR=config @MAKEINCLUDE@ @MAKELQUOTE@${DEPTH}/defs@MAKERQUOTE@ CONFIGFILES=class1 \ class1.0 \ class2 \ class2.0 \ class2.1 \ skel \ \ att-dataport-2 \ att-dataport-2.0 \ att-dataport \ att-dpexpress-2 \ cirrus \ conexant-1.0 \ digi \ digi-2 \ digi-20 \ davicom-2 \ dsi-scout+ \ e-tech \ eicon \ eicon-2 \ elsa-microlink-56k-basic-2.0 \ everex-2496d \ exar \ gvc-288 \ gvc-288-2 \ hayes \ iaxmodem \ intel-400e \ ip568x \ linux-isdn-2 \ lucent \ lucent-isa \ lucent-mt-2 \ lucent-mt-20 \ lucent-mt-21 \ lucent-mt-10 \ mainpine-10 \ mainpine-2 \ mainpine-20 \ mainpine-21 \ moto-288 \ mt-1432 \ nuvo-voyager \ ppi-pm14400fxmt \ ppi-pm14400fxsa \ prometheus \ rc144ac \ rc144ac-1 \ rc288dpi \ rc288dpi-1 \ rc32acl \ rc32acl-1 \ rockwell-k56 \ rockwell-rc \ t38modem \ telebit-t3000 \ telebit-qblazer \ telebit-wb \ topic \ tricom2842 \ uds-fastalk \ umc92144 \ umc9624\ usr-2.0 \ usr-rts \ usr-xon \ zyxel-1496e \ zyxel-1496e-1 \ zyxel-1496e-2.0 \ zyxel-2864 \ sierra TARGETS= default all:: @${MAKE} targets targets: ${TARGETS} @MAKEINCLUDE@ @MAKELQUOTE@${COMMONRULES}@MAKERQUOTE@ PUTSERVER=${INSTALL} -idb ${PRODUCT}.sw.server install: default ${CONFIGFILES} for i in ${CONFIGFILES}; do \ ${PUTSERVER} -F ${SPOOL}/config -m 444 -src ${SRCDIR}/$$i -O $$i; \ done hylafax-6.0.6/config/att-dataport000066400000000000000000000060051176352547600167740ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for using the Class 1 command interface with # an AT&T DataPort 14.4 modem. Firmware version 122 (ati1) # or newer. # # Hardware flow control is used by default. # # Note that due to a bug in the 1.22 firmware the FCS bytes in the HDLC # frames are NOT returned to the host. This is fixed in versions 1.33 # and later. To deal with this problem, early firmware revs should be # sure to have Class1FrameOverhead set to 2 instead of the normal 4. # # CONFIG:CLASS1:144:.*:.*: Manufacturer='AT&T' Model=Dataport # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use class 1 interface ModemRate: 19200 ModemFlowControl: rtscts # default # ModemHardFlowCmd: AT&R0\D1\Q3 # use RTS/CTS and enable RS232 handling ModemSoftFlowCmd: AT&R1\D0\Q1 # use RTS/CTS and enable RS232 handling ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD follows carrier ModemSetupAACmd: AT+FAA=0 # disable in case of Class 2 support # ModemMfrQueryCmd: !AT&T ModemModelQueryCmd: !DataPort ModemRevQueryCmd: ATI19 # # NB: this works around a bug in the 1.22 firmware; it is fixed # in versions 1.33 and later in which case you can remove this # line and use the default value of 4 (though leaving it as 2 # won't harm anything). # Class1FrameOverhead: 2 # 1.22 firmware does not include FCS # # The modem returns "OK" when there is a timeout before carrier is # established. This is treated as "NO CARRIER" by faxd. Thus we # need to up the NoCarrierRetrys parameter to avoid having the server # reject jobs prematurely. # NoCarrierRetrys: 3 # retry 3 times on no carrier # PagerSetupCmds: ATS41=10%B300 # use V.21 at 300 bps hylafax-6.0.6/config/att-dataport-2000066400000000000000000000067311176352547600171410ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for using the Class 2 command interface with # an AT&T DataPort 14.4 modem. Firmware version 166 (ati1) # or newer. # # Hardware flow control is used by default. # # CONFIG: CLASS2: AT?T*Paradyne*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 19200 # set rate for DCE-DTE communication ModemFlowControl: rtscts # default # ModemHardFlowCmd: AT&R0\D1\Q3 # use RTS/CTS and enable RS232 handling ModemSoftFlowCmd: AT&R1\D0\Q1 # use RTS/CTS and enable RS232 handling ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD follows carrier ModemSetupAACmd: AT+FAA=1 # enable adaptive-answer in Class 2 # ModemRecvFillOrder: MSB2LSB # bit order of received facsimile ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit # # The modem returns "OK" when there is a timeout before carrier is # established. This is treated as "NO CARRIER" by faxd. Thus we # need to up the NoCarrierRetrys parameter to avoid having the server # reject jobs prematurely. # NoCarrierRetrys: 3 # retry 3 times on no carrier # # Rev C01.66.10 firmware gives a bogus result string for # +FDCC=? query so we override it here. Syntax is: # # (vr),(br),(wd),(ln),(df),(ec),(bf),(st) # where, # vr vertical resolution # br bit rate # wd page width # ln page length # df data compression # ec error correction # bf binary file transfer # st scan time/line # # Note that if your modem does not support V.17 then you'll need # to restrict the values of br to (0-3) intead of (0-5). # Class2DCCQueryCmd: "!(0,1),(0-5),(0-4),(0-2),(0),(0),(0),(0-7)" # # There's no suport for HDLC frame tracing; silence the avoid # error message so naive folks don't ask if it's a problem. # Class2BugCmd: AT+FBUG=0 # # Enable copy quality checking with some "average" parameters: # # +FBADMUL=20 <20% bad lines for OK quality # +FBADLIN=10 no more than 10 consecutive bad line on a page # # Note that default values set by the rev 1.76 firmware are 20 and 0. # Class2CQCmd: AT+FCQ=1;+FBADMUL=20;+FBADLIN=10 # PagerSetupCmds: ATS41=10%B300 # use V.21 at 300 bps hylafax-6.0.6/config/att-dataport-2.0000066400000000000000000000043651176352547600173000ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for an AT&T Paradyne DataPort w/ Class 2.0 firmware. # # CONFIG: CLASS2.0: AT?T*Paradyne*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2.0 # use class 2.0 interface ModemRate: 19200 ModemFlowControl: rtscts # default # ModemHardFlowCmd: AT&R0\D1\Q3 # use RTS/CTS and enable RS232 handling ModemSoftFlowCmd: AT&R1\D0\Q1 # use RTS/CTS and enable RS232 handling ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD follows carrier # ModemSetupAACmd: AT+FAA=1 # enable in current class # # The modem returns "OK" when there is a timeout before carrier is # established. This is treated as "NO CARRIER" by faxd. Thus we # need to up the NoCarrierRetrys parameter to avoid having the server # reject jobs prematurely. # NoCarrierRetrys: 3 # retry 3 times on no carrier # PagerSetupCmds: ATS41=10%B300 # use V.21 at 300 bps hylafax-6.0.6/config/att-dpexpress-2000066400000000000000000000062201176352547600173310ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for using the Class 2 command interface with # an AT&T DataPort Express 14.4 modem. Model 3715-A1-202 # Firmware version (ati1) FW Level 091394 Checksum 182050 V1.15.07 SA # or newer. # # Hardware flow control is used by default. # # CONFIG: CLASS2: AT?T*PARADYNE*-ROCKWELL*144DPI* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 19200 # set rate for DCE-DTE communication ModemFlowControl: rtscts # default # ModemHardFlowCmd: AT&R0\D1\Q3 # use RTS/CTS and enable RS232 handling ModemSoftFlowCmd: AT&R1\D0\Q1 # use RTS/CTS and enable RS232 handling ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD follows carrier ModemSetupAACmd: AT+FAA=1 # enable adaptive-answer in Class 2 # ModemRecvFillOrder: MSB2LSB # bit order of received facsimile ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit # ModemDialCmd: ATDT%s # T for tone dialing # # Chip locks the line rate and switches to xon/xoff flow # control when receiving facsimile--we must follow suit. # ModemAnswerFaxBeginCmd: "<19200>" # lock line rate & switch flow control # Class2RecvDataTrigger: "\022" # character sent to modem to start recv # # These are known to not be implemented with the above # firmware rev. Sending them to the modem does not harm anything, # but generates an ERROR result that can generate questions from the # naive--so we disable them here. # Class2CQQueryCmd: AT # +FAQ=? query for copy quality capabilities Class2APQueryCmd: none # +FAP=? not supported on this modem Class2SPLCmd: none # +FSPL= Request to Poll Class2TBCCmd: none # +FTBC= Phase C Trasmit Data Block Size Class2PHCTOCmd: none # +FPHCTO= phase C timeout parameter Class2BugCmd: none # +FBUG= HDLC frame tracing hylafax-6.0.6/config/cirrus000066400000000000000000000053361176352547600157050ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for modems based on the Cirrus Logic Chipset # (such as the builtin modem that comes with a WinBook XP). # # This configuration file sets up the modem for # 57.6 w/ hardware flow control. # # CONFIG:CLASS1:1.02:.*:.*: Manufacturer="Cirrus Logic" Model="CL-MD1414AT/EC" # CONFIG:CLASS1:1.0:CL-MD34*:.*: Manufacturer="Cirrus Logic" Model="CL-MD34xx" # CONFIG:CLASS1:1.0:CL-MD56*:.*: Manufacturer="Cirrus Logic" Model="CL-MD56xx" # CONFIG:CLASS1:.*:MD56xx:.*: Manufacturer="Intel/Ambient/Cirrus Logic" Model="CL-MD56xx" # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use this to supply a hint ModemRate: 57600 # rate for DCE-DTE communication ModemFlowControl: rtscts # RTS/CTS flow control assumed # ModemSoftFlowCmd: AT\Q1 # set desired flow control method ModemHardFlowCmd: AT\Q3 # set desired flow control method ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD follows carrier ModemDialCmd: ATDT%s # # Happy days! This modem has proper support for querying # the model, manufacturer, and firmware revision! # ModemMfrQueryCmd: AT+FMFR? ModemModelQueryCmd: AT+FMDL? ModemRevQueryCmd: AT+FREV? Class1PPMWaitCmd: "" # \072 == : to avoid awk problem Class1TCFWaitCmd: "" Class1EOPWaitCmd: "" Class1SwitchingCmd: "" # assumption: +FRS not supported hylafax-6.0.6/config/class1000066400000000000000000000123721176352547600155620ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Generic Class 1 modem configuration. # # EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP # # BEGIN-SERVER #CountryCode: 1 # USA #LongDistancePrefix: 1 #InternationalPrefix: 011 #AreaCode: 415 #DialStringRules: etc/dialrules #FAXNumber: +1.999.555.1212 #LocalIdentifier: "NothingSetup" # default is canonical FAXNumber #ServerTracing: 1 # log server-related operations #SessionTracing: 11 # log server-related operations #RecvFileMode: 0600 # recvd facsimile are not public #LogFileMode: 0600 # private log files #DeviceMode: 0600 # device is accessible only to uucp/fax #QualifyTSI: etc/tsi # accept facsimile from anyone #SpeakerVolume: off # machine's are already too loud #RingsBeforeAnswer: 1 # answer on first ring #TagLineFont: etc/lutRS18.pcf # tag line font #TagLineFormat: "From %%l|%c|Page %%P of %%T" #MaxBadCalls: 5 # max 5 consecutive bad calls #PostScriptTimeout: 300 # 5 minute timeout on PostScript jobs #MaxSendPages: 25 # max pages in an outbound job #MaxRecvPages: 25 # max pages in an inbound job #ContCoverPage: etc/cover.templ # enable continuation cover pages #MaxConcurrentCalls: 1 # serialize jobs to the same dest #TimeOfDay: "Any" # outbound jobs any day, any time # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use this to supply a hint #ModemRate: 19200 # rate for DCE-DTE communication #ModemFlowControl: xonxoff # XON/XOFF flow control assumed # #ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem #ModemSetupDCDCmd: AT&C1 # setup so DCD follows carrier #GettyArgs: "-h %l dx_%s" # modem must auto-detect fax/data # # We can append the "@" symbol to the dial string so that # the modem will wait 5 seconds before attempting to connect # and return result codes that distinguish between no carrier # and no answer. This makes it possible to avoid problems with # repeatedly dialing a number that doesn't have a fax machine # (kudos to Stuart Lynne for this trick.) # # NB: If you need to prefix phone numbers to get through a PBX, # put it in the ModemDialCmd; e.g. "DT9%s@". # #ModemDialCmd: ATDT%s # T for tone dialing # # Other possible configuration stuff. The default strings are # shown below. Only those that are different from the defaults # need to be included in the configuration file. # #ModemResetCmds: "" # stuff to do when modem is reset #ModemAnswerCmd: ATA # use this to answer phone #ModemNoFlowCmd: AT&K # disable flow control cmd #ModemHardFlowCmd: AT&K3 # hardware flow control cmd #ModemSoftFlowCmd: AT&K4 # software flow control cmd #ModemNoAutoAnswerCmd: ATS0=0 # disable auto-answer # # Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH. # Note that we both turn the speaker on/off and set volume. # #ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1" #ModemEchoOffCmd: ATE0 # disable command echo #ModemVerboseResultsCmd: ATV1 # enable verbose command results #ModemResultCodesCmd: ATQ0 # enable result codes #ModemOnHookCmd: ATH0 # place phone on hook (hangup) #ModemSoftResetCmd: ATZ # do soft reset of modem #ModemSoftResetCmdDelay: 3000 # pause after soft reset #ModemWaitTimeCmd: ATS7=60 # wait 60 seconds for carrier #ModemCommaPauseTimeCmd: ATS8=2 # comma pause time is 2 seconds #ModemRecvFillOrder: LSB2MSB # bit order of received facsimile #ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit # Class1Cmd: AT+FCLASS=1 # command to enter class 1 Class1PPMWaitCmd: AT+FTS=7 # command to stop and wait before PPM Class1TCFWaitCmd: AT+FTS=7 # command to stop and wait before TCF Class1EOPWaitCmd: AT+FTS=9 # command to stop and wait before EOP Class1SwitchingCmd: AT+FRS=7 # silence between HDLC recv and trans Class1RecvAbortOK: 200 # wait 200ms for abort response Class1FrameOverhead: 4 # 4 byte overhead in recvd HDLC frames Class1RecvIdentTimer: 40000 # 35+5secs waiting for ident frames Class1TCFMaxNonZero: 10 # max 10% of data may be non-zero Class1TCFMinRun: 1000 # min run is 2/3rds of TCF duration hylafax-6.0.6/config/class1.0000066400000000000000000000125121176352547600157140ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Generic Class 1.0 modem configuration. # # EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP # # BEGIN-SERVER #CountryCode: 1 # USA #LongDistancePrefix: 1 #InternationalPrefix: 011 #AreaCode: 415 #DialStringRules: etc/dialrules #FAXNumber: +1.999.555.1212 #LocalIdentifier: "NothingSetup" # default is canonical FAXNumber #ServerTracing: 1 # log server-related operations #SessionTracing: 11 # log server-related operations #RecvFileMode: 0600 # recvd facsimile are not public #LogFileMode: 0600 # private log files #DeviceMode: 0600 # device is accessible only to uucp/fax #QualifyTSI: etc/tsi # accept facsimile from anyone #SpeakerVolume: off # machine's are already too loud #RingsBeforeAnswer: 1 # answer on first ring #TagLineFont: etc/lutRS18.pcf # tag line font #TagLineFormat: "From %%l|%c|Page %%P of %%T" #MaxBadCalls: 5 # max 5 consecutive bad calls #PostScriptTimeout: 300 # 5 minute timeout on PostScript jobs #MaxSendPages: 25 # max pages in an outbound job #MaxRecvPages: 25 # max pages in an inbound job #ContCoverPage: etc/cover.templ # enable continuation cover pages #MaxConcurrentCalls: 1 # serialize jobs to the same dest #TimeOfDay: "Any" # outbound jobs any day, any time # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # # We use "ModemType: Class1" with "Class1Cmd: AT+FCLASS=1.0" for now # ModemType: Class1 # use this to supply a hint #ModemRate: 19200 # rate for DCE-DTE communication #ModemFlowControl: xonxoff # XON/XOFF flow control assumed # #ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem #ModemSetupDCDCmd: AT&C1 # setup so DCD follows carrier #GettyArgs: "-h %l dx_%s" # modem must auto-detect fax/data # # We can append the "@" symbol to the dial string so that # the modem will wait 5 seconds before attempting to connect # and return result codes that distinguish between no carrier # and no answer. This makes it possible to avoid problems with # repeatedly dialing a number that doesn't have a fax machine # (kudos to Stuart Lynne for this trick.) # # NB: If you need to prefix phone numbers to get through a PBX, # put it in the ModemDialCmd; e.g. "DT9%s@". # #ModemDialCmd: ATDT%s # T for tone dialing # # Other possible configuration stuff. The default strings are # shown below. Only those that are different from the defaults # need to be included in the configuration file. # #ModemResetCmds: "" # stuff to do when modem is reset #ModemAnswerCmd: ATA # use this to answer phone #ModemNoFlowCmd: AT&K # disable flow control cmd #ModemHardFlowCmd: AT&K3 # hardware flow control cmd #ModemSoftFlowCmd: AT&K4 # software flow control cmd #ModemNoAutoAnswerCmd: ATS0=0 # disable auto-answer # # Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH. # Note that we both turn the speaker on/off and set volume. # #ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1" #ModemEchoOffCmd: ATE0 # disable command echo #ModemVerboseResultsCmd: ATV1 # enable verbose command results #ModemResultCodesCmd: ATQ0 # enable result codes #ModemOnHookCmd: ATH0 # place phone on hook (hangup) #ModemSoftResetCmd: ATZ # do soft reset of modem #ModemSoftResetCmdDelay: 3000 # pause after soft reset #ModemWaitTimeCmd: ATS7=60 # wait 60 seconds for carrier #ModemCommaPauseTimeCmd: ATS8=2 # comma pause time is 2 seconds #ModemRecvFillOrder: LSB2MSB # bit order of received facsimile #ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit # Class1Cmd: AT+FCLASS=1.0 # command to enter class 1.0 Class1PPMWaitCmd: AT+FTS=7 # command to stop and wait before PPM Class1TCFWaitCmd: AT+FTS=7 # command to stop and wait before TCF Class1EOPWaitCmd: AT+FTS=9 # command to stop and wait before EOP Class1SwitchingCmd: AT+FRS=7 # command to stop and listen for silence Class1RecvAbortOK: 200 # wait 200ms for abort response Class1FrameOverhead: 4 # 4 byte overhead in recvd HDLC frames Class1RecvIdentTimer: 40000 # 35+5secs waiting for ident frames Class1TCFMaxNonZero: 10 # max 10% of data may be non-zero Class1TCFMinRun: 1000 # min run is 2/3rds of TCF duration hylafax-6.0.6/config/class2000066400000000000000000000136111176352547600155600ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Generic Class 2 modem configuration. # # EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP # # BEGIN-SERVER #CountryCode: 1 # USA #LongDistancePrefix: 1 #InternationalPrefix: 011 #AreaCode: 415 #DialStringRules: etc/dialrules #FAXNumber: +1.999.555.1212 #LocalIdentifier: "NothingSetup" # default is canonical FAXNumber #ServerTracing: 1 # log server-related operations #SessionTracing: 11 # log server-related operations #RecvFileMode: 0600 # recvd facsimile are not public #LogFileMode: 0600 # private log files #DeviceMode: 0600 # device is accessible only to uucp/fax #GettyArgs: "-h %l dx_%s" # requires modem to auto-detect fax/data #QualifyTSI: etc/tsi # accept facsimile from anyone #SpeakerVolume: off # machine's are already too loud #RingsBeforeAnswer: 1 # answer on first ring #TagLineFont: etc/lutRS18.pcf # tag line font #TagLineFormat: "From %%l|%c|Page %%P of %%T" #MaxBadCalls: 5 # max 5 consecutive bad calls #PostScriptTimeout: 300 # 5 minute timeout on PostScript jobs #MaxSendPages: 25 # max pages in an outbound job #MaxRecvPages: 25 # max pages in an inbound job #ContCoverPage: etc/cover.templ # enable continuation cover pages #MaxConcurrentCalls: 1 # serialize jobs to the same dest #TimeOfDay: "Any" # outbound jobs any day, any time # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use this to supply a hint #ModemRate: 19200 # max rate for DCE-DTE communication #ModemFlowControl: xonxoff # XON/XOFF flow control assumed #ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem #ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) # # We can append the "@" symbol to the dial string so that # the modem will wait 5 seconds before attempting to connect # and return result codes that distinguish between no carrier # and no answer. This makes it possible to avoid problems with # repeatedly dialing a number that doesn't have a fax machine # (kudos to Stuart Lynne for this trick.) # # NB: If you need to prefix phone numbers to get through a PBX, # put it in the ModemDialCmd; e.g. "DT9%s@". # #ModemDialCmd: ATDT%s # T for tone dialing # # Other possible configuration stuff. The default strings are # shown below. Only those that are different from the defaults # need to be included in the configuration file. # #ModemResetCmds: "" # stuff to do when modem is reset #ModemAnswerCmd: ATA # use this to answer phone #ModemNoFlowCmd: AT&K # disable flow control cmd #ModemHardFlowCmd: AT&K3 # hardware flow control cmd #ModemSoftFlowCmd: AT&K4 # software flow control cmd #ModemNoAutoAnswerCmd: ATS0=0 # disable auto-answer # # Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH. # Note that we both turn the speaker on/off and set volume. # #ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1" #ModemEchoOffCmd: ATE0 # disable command echo #ModemVerboseResultsCmd: ATV1 # enable verbose command results #ModemResultCodesCmd: ATQ0 # enable result codes #ModemOnHookCmd: ATH0 # place phone on hook (hangup) #ModemSoftResetCmd: ATZ # do soft reset of modem #ModemSoftResetCmdDelay: 3000 # pause after soft reset #ModemWaitTimeCmd: ATS7=60 # wait 60 seconds for carrier #ModemCommaPauseTimeCmd: ATS8=2 # comma pause time is 2 seconds #ModemRecvFillOrder: LSB2MSB # bit order of received facsimile #ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit # # Configuration parameters for Class 2 modems. # Class2Cmd: AT+FCLASS=2 # command to enter class 2 Class2BORCmd: AT+FBOR=0 # bit order for phase B/C/D (direct) Class2RELCmd: AT+FREL=1 # byte-align EOL codes on recv Class2CQCmd: "" # commands to enable copy quality proc. Class2AbortCmd: AT+FK # abort session command Class2CQQueryCmd: AT+FCQ=? # query for copy quality capabilities Class2DCCQueryCmd: AT+FDCC=? # query for modem capabilities Class2TBCCmd: AT+FTBC=0 # setup stream mode Class2CRCmd: AT+FCR=1 # enable capability to receive Class2PHCTOCmd: AT+FPHCTO=30 # set phase C timeout parameter Class2BUGCmd: AT+FBUG=1 # enable HDLC frame tracing Class2LIDCmd: AT+FLID # set local identifier command Class2DCCCmd: AT+FDCC # set modem capabilities command Class2DISCmd: AT+FDIS # set session parameters command Class2DDISCmd: "" # disable pre-dial DIS command hack Class2CIGCmd: AT+FCIG # set polling identifier command Class2PTSCmd: AT+FPTS # set post-page status command Class2SPLCmd: AT+FSPL # set polling indicator command # # If Class2RecvDataTrigger is not set, then it is set to DC1 # Class2RecvDataTrigger: "" # character sent to modem to start recv Class2XmitWaitForXON: yes # if true, wait for XON before send hylafax-6.0.6/config/class2.0000066400000000000000000000137661176352547600157310ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Generic Class 2.0 modem configuration. # # EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP # # BEGIN-SERVER #CountryCode: 1 # USA #LongDistancePrefix: 1 #InternationalPrefix: 011 #AreaCode: 415 #DialStringRules: etc/dialrules #FAXNumber: +1.999.555.1212 #LocalIdentifier: "NothingSetup" # default is canonical FAXNumber #ServerTracing: 1 # log server-related operations #SessionTracing: 11 # log server-related operations #RecvFileMode: 0600 # recvd facsimile are not public #LogFileMode: 0600 # private log files #DeviceMode: 0600 # device is accessible only to uucp/fax #GettyArgs: "-h %l dx_%s" # requires modem to auto-detect fax/data #QualifyTSI: etc/tsi # accept facsimile from anyone #SpeakerVolume: off # machine's are already too loud #RingsBeforeAnswer: 1 # answer on first ring #TagLineFont: etc/lutRS18.pcf # tag line font #TagLineFormat: "From %%l|%c|Page %%P of %%T" #MaxBadCalls: 5 # max 5 consecutive bad calls #PostScriptTimeout: 300 # 5 minute timeout on PostScript jobs #MaxSendPages: 25 # max pages in an outbound job #MaxRecvPages: 25 # max pages in an inbound job #ContCoverPage: etc/cover.templ # enable continuation cover pages #MaxConcurrentCalls: 1 # serialize jobs to the same dest #TimeOfDay: "Any" # outbound jobs any day, any time # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2.0 # use this to supply a hint #ModemRate: 19200 # max rate for DCE-DTE communication #ModemFlowControl: xonxoff # XON/XOFF flow control assumed #ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem #ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) # # We can append the "@" symbol to the dial string so that # the modem will wait 5 seconds before attempting to connect # and return result codes that distinguish between no carrier # and no answer. This makes it possible to avoid problems with # repeatedly dialing a number that doesn't have a fax machine # (kudos to Stuart Lynne for this trick.) # # NB: If you need to prefix phone numbers to get through a PBX, # put it in the ModemDialCmd; e.g. "DT9%s@". # #ModemDialCmd: ATDT%s # T for tone dialing # # Other possible configuration stuff. The default strings are # shown below. Only those that are different from the defaults # need to be included in the configuration file. # #ModemResetCmds: "" # stuff to do when modem is reset #ModemAnswerCmd: ATA # use this to answer phone #ModemNoFlowCmd: AT&K # disable flow control cmd #ModemHardFlowCmd: AT&K3 # hardware flow control cmd #ModemSoftFlowCmd: AT&K4 # software flow control cmd #ModemNoAutoAnswerCmd: ATS0=0 # disable auto-answer # # Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH. # Note that we both turn the speaker on/off and set volume. # #ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1" #ModemEchoOffCmd: ATE0 # disable command echo #ModemVerboseResultsCmd: ATV1 # enable verbose command results #ModemResultCodesCmd: ATQ0 # enable result codes #ModemOnHookCmd: ATH0 # place phone on hook (hangup) #ModemSoftResetCmd: ATZ # do soft reset of modem #ModemSoftResetCmdDelay: 3000 # pause after soft reset #ModemWaitTimeCmd: ATS7=60 # wait 60 seconds for carrier #ModemCommaPauseTimeCmd: ATS8=2 # comma pause time is 2 seconds #ModemRecvFillOrder: LSB2MSB # bit order of received facsimile #ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit # # Configuration parameters for Class 2.0 modems. # Class2Cmd: AT+FCLASS=2.0 # command to enter class 2.0 Class2BORCmd: AT+FBO=0 # bit order for phase B/C/D (direct) Class2CQCmd: "" # commands to enable copy quality proc. Class2AbortCmd: AT+FKS # abort session command Class2CQQueryCmd: AT+FCQ=? # query for copy quality capabilities Class2DCCQueryCmd: AT+FCC=? # query for modem capabilities Class2TBCCmd: AT+FPP=0 # setup stream mode Class2CRCmd: AT+FCR=1 # enable capability to receive Class2PHCTOCmd: AT+FCT=30 # set phase C timeout parameter Class2BUGCmd: AT+FBU=1 # enable HDLC frame tracing Class2LIDCmd: AT+FLI # set local identifier command Class2DCCCmd: AT+FCC # set modem capabilities command Class2DISCmd: AT+FIS # set session parameters command Class2DDISCmd: "" # disable pre-dial DIS command hack Class2CIGCmd: AT+FPI # set polling identifier command Class2NRCmd: AT+FNR=1,1,1,1 # setup status reporting command Class2PIECmd: AT+FIE=0 # disable interrupt-enable command Class2PTSCmd: AT+FPS # set post-page status command Class2PTSQueryCmd: AT+FPS? # set post-page status query command Class2SPLCmd: AT+FSP # set polling indicator command Class2NFLOCmd: AT+FLO=0 # set no flow control command Class2SFLOCmd: AT+FLO=1 # set software flow control command Class2HFLOCmd: AT+FLO=2 # set hardware flow control command hylafax-6.0.6/config/class2.1000066400000000000000000000137121176352547600157210ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Generic Class 2.1 modem configuration. # # EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP # # BEGIN-SERVER #CountryCode: 1 # USA #LongDistancePrefix: 1 #InternationalPrefix: 011 #AreaCode: 415 #DialStringRules: etc/dialrules #FAXNumber: +1.999.555.1212 #LocalIdentifier: "NothingSetup" # default is canonical FAXNumber #ServerTracing: 1 # log server-related operations #SessionTracing: 11 # log server-related operations #RecvFileMode: 0600 # recvd facsimile are not public #LogFileMode: 0600 # private log files #DeviceMode: 0600 # device is accessible only to uucp/fax #GettyArgs: "-h %l dx_%s" # requires modem to auto-detect fax/data #QualifyTSI: etc/tsi # accept facsimile from anyone #SpeakerVolume: off # machine's are already too loud #RingsBeforeAnswer: 1 # answer on first ring #TagLineFont: etc/lutRS18.pcf # tag line font #TagLineFormat: "From %%l|%c|Page %%P of %%T" #MaxBadCalls: 5 # max 5 consecutive bad calls #PostScriptTimeout: 300 # 5 minute timeout on PostScript jobs #MaxSendPages: 25 # max pages in an outbound job #MaxRecvPages: 25 # max pages in an inbound job #ContCoverPage: etc/cover.templ # enable continuation cover pages #MaxConcurrentCalls: 1 # serialize jobs to the same dest #TimeOfDay: "Any" # outbound jobs any day, any time # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2.1 # use this to supply a hint #ModemRate: 38400 # max rate for DCE-DTE communication #ModemFlowControl: xonxoff # XON/XOFF flow control assumed #ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem #ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) # # We normally append the "@" symbol to the dial string so that # the modem will wait 5 seconds before attempting to connect # and return result codes that distinguish between no carrier # and no answer. This makes it possible to avoid problems with # repeatedly dialing a number that doesn't have a fax machine # (kudos to Stuart Lynne for this trick.) # # NB: If you need to prefix phone numbers to get through a PBX, # put it in the ModemDialCmd; e.g. "DT9%s@". # #ModemDialCmd: ATDT%s@ # T for tone dialing, @ for silence # # Other possible configuration stuff. The default strings are # shown below. Only those that are different from the defaults # need to be included in the configuration file. # #ModemResetCmds: "" # stuff to do when modem is reset #ModemAnswerCmd: ATA # use this to answer phone #ModemNoFlowCmd: AT&K # disable flow control cmd #ModemHardFlowCmd: AT&K3 # hardware flow control cmd #ModemSoftFlowCmd: AT&K4 # software flow control cmd #ModemNoAutoAnswerCmd: ATS0=0 # disable auto-answer # # Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH. # Note that we both turn the speaker on/off and set volume. # #ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1" #ModemEchoOffCmd: ATE0 # disable command echo #ModemVerboseResultsCmd: ATV1 # enable verbose command results #ModemResultCodesCmd: ATQ0 # enable result codes #ModemOnHookCmd: ATH0 # place phone on hook (hangup) #ModemSoftResetCmd: ATZ # do soft reset of modem #ModemSoftResetCmdDelay: 3000 # pause after soft reset #ModemWaitTimeCmd: ATS7=60 # wait 60 seconds for carrier #ModemCommaPauseTimeCmd: ATS8=2 # comma pause time is 2 seconds #ModemRecvFillOrder: LSB2MSB # bit order of received facsimile #ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit # # Configuration parameters for Class 2.1 modems. # Class2Cmd: AT+FCLASS=2.1 # command to enter class 2.1 Class2BORCmd: AT+FBO=0 # bit order for phase B/C/D (direct) Class2CQCmd: "" # commands to enable copy quality proc. Class2AbortCmd: AT+FKS # abort session command Class2CQQueryCmd: AT+FCQ=? # query for copy quality capabilities Class2DCCQueryCmd: AT+FCC=? # query for modem capabilities Class2TBCCmd: AT+FPP=0 # setup stream mode Class2CRCmd: AT+FCR=1 # enable capability to receive Class2PHCTOCmd: AT+FCT=30 # set phase C timeout parameter Class2BUGCmd: AT+FBU=1 # enable HDLC frame tracing Class2LIDCmd: AT+FLI # set local identifier command Class2DCCCmd: AT+FCC # set modem capabilities command Class2DISCmd: AT+FIS # set session parameters command Class2DDISCmd: "" # disable pre-dial DIS command hack Class2CIGCmd: AT+FPI # set polling identifier command Class2NRCmd: AT+FNR=1,1,1,1 # setup status reporting command Class2PIECmd: AT+FIE=0 # disable interrupt-enable command Class2PTSCmd: AT+FPS # set post-page status command Class2SPLCmd: AT+FSP # set polling indicator command Class2NFLOCmd: AT+FLO=0 # set no flow control command Class2SFLOCmd: AT+FLO=1 # set software flow control command Class2HFLOCmd: AT+FLO=2 # set hardware flow control command hylafax-6.0.6/config/conexant-1.0000066400000000000000000000031351176352547600165040ustar00rootroot00000000000000# $Id$ # # Configuration for a Rockwell/Conexant K56 Class 1.0 modem using # the RCV56DPF and similar chipsets. These chipsets are generally # flash- upgradable and appear on ISA as well as PCI. They # support "Class 1.0" which means that they have "adaptive receive" # (AT+FAR=1), but not V.34. # # Comtrol RocketModem II/III/IV # MultiTech MT5600ZDX # Zoltrix FMVSP56i3 # # CONFIG:CLASS1.0:56000:.*:.*: Manufacturer=Rockwell/Conexant Model=AC/K56 # CONFIG:CLASS1.0:MT5600ZDX:.*:.*: Manufacturer=MultiTech Model=MT5600ZDX # CONFIG:CLASS1.0:MT5656ZDX:.*:.*: Manufacturer=MultiTech Model=MT5656ZDX # CONFIG:CLASS1.0:.*:.*LEONARDO.*:.*: Manufacturer=Digicom Model=Leonardo # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1.0 # use this to supply a hint ModemRate: 19200 # rate for DCE-DTE communication ModemFlowControl: rtscts # default # # With the RocketModem IV (and possibly III) you may need to use a much # higher ModemRate than 19200 because, apparently, it suffers from potential # buffer underrun problems. Fortunately, it doesn't have buffer overflow # issues, and so using 115200 should work (both rtscts and xonxoff test good). # ModemNoFlowCmd: AT&K0 # setup no flow control ModemHardFlowCmd: AT&K3 # setup hardware flow control ModemSoftFlowCmd: AT&K4 # setup software flow control ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) # Class1AdaptRecvCmd: AT+FAR=1 # reports carrier detection mismatches hylafax-6.0.6/config/davicom-2000066400000000000000000000012761176352547600161560ustar00rootroot00000000000000# $Id$ # # prototype config file for Davicom DM336P PnP modem. # AT command set available at: # http://www.davicom.com.tw/download/modem/dm336p/DM336P-AT%20COMMAND-P04-050997.pdf # # # CONFIG: CLASS2:DAVICOM-*-* # # BEGIN-SERVER # END-SERVER # ModemType: Class2 ModemRate: 19200 ModemFlowControl: rtscts ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 Class2APQueryCmd: none # not available Class2BUGCmd: none # not available Class2CQQueryCmd: !(0),(0) # no copy quality checking Class2TBCCmd: none # not available Class2SPLCmd: none # not available # The modem reports 2-D support, but ERROR when setting it Class2DCCQueryCmd: !(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7) hylafax-6.0.6/config/digi000066400000000000000000000015051176352547600153040ustar00rootroot00000000000000# $Id$ # # prototype config for Digi AccelePort RAS # It uses a K56 chip, but is similar in behavior to Lucents. # # Note that because the devices are named as "ttyG0_00" (which on some # systems indicates a subdirectory, i.e. "ttyG0/00") you must: # `ln -s /dev/ttyG0_00 /dev/ttyG000` # for each device and refer to the symlink. Otherwise various HylaFAX # functions will fail. # CONFIG:CLASS1:Digi RAS modem*:.*:.*: Manufacturer=Digi Model=AccelePort # # BEGIN-SERVER # END-SERVER ModemType: Class1 # use this to supply a hint ModemFlowControl: rtscts # seems to work better than xonxoff # If your line supports Caller-ID, you may want to uncomment this... # ModemResetCmds: "AT#CID=1" # CallIDPattern: "NMBR=" # CallIDPattern: "NAME=" # The modem does not report +FCERROR, so this helps us simulate it Class1RMPersistence: 0 hylafax-6.0.6/config/digi-2000066400000000000000000000016141176352547600154440ustar00rootroot00000000000000# $Id$ # # prototype config for Digi AccelePort RAS # It uses a K56 chip, but is similar in behavior to Lucents. # # Note that because the devices are named as "ttyG0_00" (which on some # systems indicates a subdirectory, i.e. "ttyG0/00") you must: # `ln -s /dev/ttyG0_00 /dev/ttyG000` # for each device and refer to the symlink. Otherwise various HylaFAX # functions will fail. # CONFIG: CLASS2:"Digi"*-"RAS modem"*-* # # BEGIN-SERVER # END-SERVER ModemType: Class2 # use this to supply a hint ModemRate: 19200 ModemFlowControl: rtscts ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 Class2APQueryCmd: none # not available # If your line supports Caller-ID, you may want to uncomment this... # ModemResetCmds: "AT#CID=1" # CallIDPattern: "NMBR=" # CallIDPattern: "NAME=" # MMR is problematic for the Digis. Class2DCCQueryCmd: "!(0-1),(0-5),(0-2),(0-2),(0-1),(0-1),0,(0-7)" hylafax-6.0.6/config/digi-20000066400000000000000000000017651176352547600155330ustar00rootroot00000000000000# $Id$ # # prototype config for Digi AccelePort RAS # It uses a K56 chip, but is similar in behavior to Lucents. # # Note that because the devices are named as "ttyG0_00" (which on some # systems indicates a subdirectory, i.e. "ttyG0/00") you must: # `ln -s /dev/ttyG0_00 /dev/ttyG000` # for each device and refer to the symlink. Otherwise various HylaFAX # functions will fail. # CONFIG: CLASS2.0:"Digi"*-"RAS modem"*-* # # BEGIN-SERVER # END-SERVER ModemType: Class2.0 # use this to supply a hint ModemRate: 19200 ModemFlowControl: rtscts ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 Class2APCmd: AT+FAP=1,1,1 Class2CQCmd: AT+FCQ=2,2 # versions that respond to AT+FFC=? with non-zero data support RTFCC # Class2RTFCC: yes # If your line supports Caller-ID, you may want to uncomment this... # ModemResetCmds: "AT#CID=1" # CallIDPattern: "NMBR=" # CallIDPattern: "NAME=" # MMR is problematic for the Digis. Class2DCCQueryCmd: "!(0-1),(0-5),(0-2),(0-2),(0-1),(0-1),0,(0-7)" hylafax-6.0.6/config/dsi-scout+000066400000000000000000000056451176352547600163660ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for using the Class 1 command interface with # a Digicom Systems, Inc (DSI) Scout+ modem. Firmware version # 2A19/2931 (ati1?) or newer. # # XON/XOFF flow control must be used in firmware revisions before # 3507/3506 because the modem does not honor RTS/CTS during page # transfers. Later revisions permit the configuration of RTS/CTS # flow control through a new (undocumented) register, S24: # # Value Meaning # 0 use XON/XOFF in fax mode # 1 use RTS/CTS in fax mode # 2 use what is specified by *F in fax mode # # Note also that the value of S24 is not permanent. It is reset # after each disconnect. On power on S24 is 0. S24 is unchanged # by the &F command. # # CONFIG:CLASS1:961:.*:.*: Manufacturer=Digicom Model=Scout+ # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # hint to override class 2 ModemRate: 19200 ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT*F0 # disable flow control ModemSoftFlowCmd: AT*F2 # software flow control ModemHardFlowCmd: AT*F3 # harware flow control ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset ModemSetupDCDCmd: AT&C1 # DCD follows carrier # Class1SFLOCmd: ATS24=0 # use XON/XOFF in fax mode Class1HFLOCmd: ATS24=1 # use RTS/CTS in fax mode # ModemMfrQueryCmd: !Digicom ModemModelQueryCmd: !Scout+ ModemRevQueryCmd: ATI1 # ModemDialCmd: ATDT%s # T for tone dialing # # NB: if your modem supports S24 as described above then # these can be removed. # ModemAnswerFaxBeginCmd: "" # use XON/XOFF for fax recv Class1Cmd: "AT+FCLASS=1\n" # use XON/XOFF for fax send hylafax-6.0.6/config/e-tech000066400000000000000000000045721176352547600155440ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # E-TECH, INC. P1496MX 5.06-SWE + FAX # # CONFIG: CLASS2: E-TECH*-RTSCTS # CONFIG: CLASS2: E-TECH*-DEFAULT # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use this to supply a hint ModemRate: 19200 # max rate for DCE-DTE communication ModemFlowControl: rtscts # default # ModemHardFlowCmd: AT$F4 # hardware flow control ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) # # We can append the "@" symbol to the dial string so that # the modem will wait 5 seconds before attempting to connect # and return result codes that distinguish between no carrier # and no answer. This makes it possible to avoid problems with # repeatedly dialing a number that doesn't have a fax machine # (kudos to Stuart Lynne for this trick.) # # NB: If you need to prefix phone numbers to get through a PBX, # put it in the ModemDialCmd; e.g. "DT9%s@". # ModemDialCmd: ATDT%s # T for tone dialing # Class2DDISCmd: AT+FDIS # fix for resolution problems hylafax-6.0.6/config/eicon000066400000000000000000000011551176352547600154660ustar00rootroot00000000000000# $Id$ # # prototype config for Eicon Diva # # CONFIG:CLASS1:Eicon*:.*:.*: Manufacturer=Eicon Model=Diva # # BEGIN-SERVER # END-SERVER ModemType: Class1 # use this to supply a hint # # Make sure the modem gives us Caller*ID in a legible way. # ModemResetCmds: AT#CID=14 # # Eicon recommends initializing with AT+iQ=a1 where "1" is # the controller number. This command binds the tty to that # controller and bypasses the "channel pool" approach. # #ModemResetCmds: AT#CID=14+iQ=a1 # # These should match the modem responses for DID and Caller*ID. # CallIDPattern: "DAD: " CallIDPattern: "CID: " hylafax-6.0.6/config/eicon-2000066400000000000000000000023311176352547600156220ustar00rootroot00000000000000# $Id$ # # prototype config file for the Eicon Diva ISDN Modem # # # CONFIG: CLASS2:Eicon*-*-* # # BEGIN-SERVER # END-SERVER # ModemType: Class2 ModemRate: 19200 # on boards supporting V.34-fax, # this may need to be 57600 ModemFlowControl: rtscts ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 # # Make sure the modem gives us Caller*ID in a legible way. # ModemResetCmds: AT#CID=14 # # Eicon recommends initializing with AT+iQ=a1 where "1" is # the controller number. This command binds the tty to that # controller and bypasses the "channel pool" approach. # #ModemResetCmds: AT#CID=14+iQ=a1 # # These should match the modem responses for DID and Caller*ID. # CallIDPattern: "DAD: " CallIDPattern: "CID: " Class2APQueryCmd: none Class2SPLCmd: none Class2TBCCmd: none Class2PHCTOCmd: none # # As Eicon's "Class 2" is a cross-breed and abomination between # Class 2.0, 2.1, and old-style 2 it may require some testing # to see if ECM type 2.0 or 2 is used and whether or not hexadecimal # is presented in the +FDCC response. # #Class2ECMType: 2.0 # follows Class 2.0 spec, not Class 2 Class2ECMType: 2 # Class2UseHex: true #Class2UseHex: false hylafax-6.0.6/config/elsa-microlink-56k-basic-2.0000066400000000000000000000126111176352547600212600ustar00rootroot00000000000000# # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for using the Class 2.0 command interface with # a Elsa MicroLink 56k basic # # CONFIG: CLASS2.0: *ELSA*MicroLink*56k*basic*-RTSCTS # CONFIG: CLASS2.0: *ELSA*MicroLink*56k*basic*-DEFAULT # # BEGIN-SERVER # END-SERVER # # EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP # # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2.0 # use this to supply a hint ModemRate: 115200 # max rate for DCE-DTE communication ModemFlowControl: rtscts # XON/XOFF flow control assumed ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) # # We can append the "@" symbol to the dial string so that # the modem will wait 5 seconds before attempting to connect # and return result codes that distinguish between no carrier # and no answer. This makes it possible to avoid problems with # repeatedly dialing a number that doesn't have a fax machine # (kudos to Stuart Lynne for this trick.) # # NB: If you need to prefix phone numbers to get through a PBX, # put it in the ModemDialCmd; e.g. "DT9%s@". # ModemDialCmd: ATDT%s # # Other possible configuration stuff. The default strings are # shown below. Only those that are different from the defaults # need to be included in the configuration file. # ModemResetCmds: ATX3 # stuff to do when modem is reset ModemAnswerCmd: ATA # use this to answer phone ModemNoFlowCmd: AT&K ModemHardFlowCmd: AT&K3 ModemSoftFlowCmd: AT&K1 ModemNoAutoAnswerCmd: ATS0=0 # disable auto-answer # # Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH. # Note that we both turn the speaker on/off and set volume. # ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1" ModemEchoOffCmd: ATE0 # disable command echo ModemVerboseResultsCmd: ATV1 # enable verbose command results ModemResultCodesCmd: ATQ0 # enable result codes ModemOnHookCmd: ATH # place phone on hook (hangup) ModemSoftResetCmd: ATZ # do soft reset of modem ModemWaitTimeCmd: ATS7=60 # wait 60 seconds for carrier ModemCommaPauseTimeCmd: ATS8=2 # comma pause time is 2 seconds ModemRecvFillOrder: LSB2MSB # bit order of received facsimile ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit # # Configuration parameters for Class 2.0 modems. # Class2Cmd: AT+FCLASS=2.0 # command to enter class 2.0 Class2BORCmd: AT+FBO=0 # bit order for phase B/C/D (direct) Class2CQCmd: "" # commands to enable copy quality proc. Class2AbortCmd: AT+FKS # abort session command Class2CQQueryCmd: AT+FCQ=? # query for copy quality capabilities Class2DCCQueryCmd: AT+FCC=? # query for modem capabilities Class2TBCCmd: AT+FPP=0 # setup stream mode Class2CRCmd: AT+FCR=1 # enable capability to receive Class2PHCTOCmd: AT+FCT=30 # set phase C timeout parameter Class2BUGCmd: AT+FBU=1 # enable HDLC frame tracing Class2LIDCmd: AT+FLI # set local identifier command Class2DCCCmd: AT+FCC # set modem capabilities command Class2DISCmd: AT+FIS # set session parameters command Class2DDISCmd: "" # disable pre-dial DIS command hack Class2CIGCmd: AT+FPI # set polling identifier command Class2NRCmd: AT+FNR=1,1,1,1 # setup status reporting command Class2PIECmd: AT+FIE=0 # disable interrupt-enable command Class2PTSCmd: AT+FPS # set post-page status command Class2SPLCmd: AT+FSP # set polling indicator command Class2NFLOCmd: AT+FLO=0 # set no flow control command Class2SFLOCmd: AT+FLO=1 # set software flow control command Class2HFLOCmd: AT+FLO=2 # set hardware flow control command Class2APQueryCmd: none # not supported hylafax-6.0.6/config/everex-2496d000066400000000000000000000050601176352547600164340ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for an Everex 24/96D. # # It may be possible to run the modem using RTS/CTS, but at the # data rates it supports there's little point (and since everything # works fine with XON/XOFF flow control, little motivation). # # CONFIG: CLASS2: Everex*-XONXOFF # CONFIG: CLASS2: Everex*-DEFAULT # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 19200 ModemFlowControl: xonxoff # default # ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset ModemSetupDCDCmd: AT&C0 # DCD always on ModemDialCmd: ATDT%s # T for tone dialing # # Avoid BOR_C_REV 'cuz of a bug in the Everex modem firmware # (Rev 901231 or earlier): BOR=3 and REL=1 generates garbage # data in the EOL padding for received facsimile. # Class2BORCmd: AT+FBOR=2 # direct phase C data, reversed B/D Class2RELCmd: AT+FREL=1 # enable byte-aligned EOLs # # NB: must break CQ=1 BADMUL= BADLIN= into separate lines # for the modem to grok # Class2CQCmd: "AT+FCQ=1\nAT+FBADMUL=20\nAT+FBADLIN=10" # # Disable 2D-encoded data 'cuz some PROM versions appear # to receive bad data (if you figure out why, then remove this). # Class2DCCQueryCmd: !(0,1),(0-3),(0-2),(0-2),(0),(0),(0),(0-7) hylafax-6.0.6/config/exar000066400000000000000000000045341176352547600153340ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Exar-manufactured Class 2 modem. # Yocom 1414E firmware E.C. Version : 7.1 # # This configuration file sets up the modem to run at 19.2 for # sending and for receiving. XON/XOFF flow control is used on # the tty port. # # CONFIG: CLASS2: EXAR*-XONXOFF # CONFIG: CLASS2: EXAR*-DEFAULT # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 19200 # fax send&recv is locked at 19.2 ModemFlowControl: xonxoff # default # ModemSoftFlowCmd: AT&S1\G0\Q4\X1 # software flow control ModemSetupDTRCmd: AT&D2 # DTR off causes modem to reset ModemSetupDCDCmd: AT&C1 # DCD follows carrier ModemSetupAACmd: AT+FAA=1 # enable in current class # ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense # ModemDialCmd: ATDT%s # T for tone dialing # ModemWaitForConnect: yes # wait for CONNECT on answer # Class2RecvDataTrigger: "\022" # DC2 Class2DDISCmd: AT+FDIS # set parameter before dialing hylafax-6.0.6/config/gvc-288000066400000000000000000000037751176352547600155010ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a GVC MAXTech 288 RC288DPi-based Class 2 modem. # Tested with firmware rev KA1131-00. # # CONFIG:CLASS1:288:.*:.*: Manufacturer=GVC Model=RC288DPi # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use class 1 interface ModemRate: 19200 # locked for fax sending&receiving ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT\Q0 # disable flow control cmd ModemSoftFlowCmd: AT\Q1 # software flow control cmd ModemHardFlowCmd: AT\Q3 # hardware flow control cmd ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset ModemSetupDCDCmd: AT&C1 # DCD follows carrier # ModemDialCmd: ATDT%s # T for tone dialing hylafax-6.0.6/config/gvc-288-2000066400000000000000000000056621176352547600156350ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a GVC MAXTech 288 RC288DPi-based Class 2 modem. # Tested with firmware rev KA1131-00. # # NB: DCD is toggled at page end during transmits; this can # cause problems on systems where it's not possible to # set CLOCAL and also enable RTS/CTS flow control. # # CONFIG: CLASS2: GVC-*144DPI-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 1 interface ModemRate: 19200 # locked for fax sending&receiving ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT\Q0 # disable flow control cmd ModemSoftFlowCmd: AT\Q1 # software flow control cmd ModemHardFlowCmd: AT\Q3 # hardware flow control cmd ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset ModemSetupDCDCmd: AT&C1 # DCD follows carrier ModemSetupAACmd: AT+FAA=1 # enable adaptive-answer in Class 2 # ModemRecvFillOrder: MSB2LSB # bit order of received facsimile ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit # ModemDialCmd: ATDT%s # T for tone dialing # # Chip locks the line rate and switches to xon/xoff flow # control when receiving facsimile--we must follow suit. # ModemAnswerFaxBeginCmd: "<19200>" # lock line rate & switch flow control # Class2RecvDataTrigger: "\022" # character sent to modem to start recv # # These are known to not be implemented on the GVC with the above # firmware rev. Sending them to the modem does not harm anything, # but generates an ERROR result that can generate questions from the # naive--so we disable them here. # Class2TBCCmd: none # setup stream mode Class2PHCTOCmd: none # set phase C timeout parameter hylafax-6.0.6/config/hayes000066400000000000000000000014311176352547600154770ustar00rootroot00000000000000# $Id$ # # Configuration for Hayes Optima 336B # # It is very similar to other RC288DPI modems (it uses that chipset), but # does not follow the quirky bit order as well as having an intolerance # for the "<19200>" answer signal. # # CONFIG: CLASS2: *-"OPTIMA 33600"-* # # BEGIN-SERVER # END-SERVER # ModemType: Class2 ModemRate: 19200 ModemFlowControl: rtscts # ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset ModemSetupDCDCmd: AT&C1 # DCD follows carrier ModemSetupAACmd: AT+FAA=1 # enable adaptive-answer in Class 2 # ModemDialCmd: ATDT%s # Class2RecvDataTrigger: "\022" # character sent to modem to start recv Class2BUGCmd: none # prevent init ERROR Class2APQueryCmd: none # prevent init ERROR hylafax-6.0.6/config/iaxmodem000066400000000000000000000022171176352547600161740ustar00rootroot00000000000000# $Id$ # # prototype config for the IAXmodem softmodem which uses # the spandsp soft-DSP library # # CONFIG:CLASS1:spandsp:.*:.*: Manufacturer=spandsp Model=IAXmodem # # BEGIN-SERVER # END-SERVER # # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use this to supply a hint # # The modem is taken off-hook during initialization, and then # placed back on-hook when done to prevent glare. # ModemResetCmds: "ATH1\nAT+VCID=1" # enables CallID display ModemReadyCmds: ATH0 Class1AdaptRecvCmd: AT+FAR=1 Class1TMConnectDelay: 400 # counteract quick CONNECT response # # Older iaxmodem versions didn't support V.17 very well. It can be # disabled in this fashion: # #Class1RMQueryCmd: "!24,48,72,96" # V.17 fast-train recv doesn't work well #Class1TMQueryCmd: "!24,48,72,96" # V.17 fast-train recv doesn't work well CallIDPattern: "NMBR=" CallIDPattern: "NAME=" CallIDPattern: "ANID=" CallIDPattern: "NDID=" # Uncomment these if you really want them, but you probably don't. #CallIDPattern: "DATE=" #CallIDPattern: "TIME=" hylafax-6.0.6/config/intel-400e000066400000000000000000000071341176352547600161550ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for using the Class 1 command interface with an # Intel SatisFAXtion 400e modem. Modems with firmware revision # U10,U20-28F001BX-5.00 are known to work. # # RTS/CTS flow control is used. The following profile was used: # # ACTIVE PROFILE: # B0 E1 L2 M0 T Q0 V1 X4 Y0 &C1 &D3 &G0 &L0 &P0 &Q0 &R0 &S0 &X0 &Y0 # \A3 %A013 \C0 %C1 %E1 \G0 \J0 \K5 \N3 \Q3 \T00 \V2 \X0 -J1 "H3 "S0 "O250 # S00:000 S01:000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:030 # S08:002 S09:006 S10:014 S11:070 S12:050 S18:000 S25:005 S26:001 S31:000 # # CONFIG:CLASS1:149:.*:RTSCTS: Manufacturer=Intel Model=400e # CONFIG:CLASS1:149:.*:DEFAULT: Manufacturer=Intel Model=400e # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use this to supply a hint ModemRate: 19200 # rate for DCE-DTE communication ModemFlowControl: rtscts # default # ModemHardFlowCmd: AT\Q3 # set desired flow control method ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemSetupAACmd: AT+FCLASS=0 # leave modem idling in Class 0 # ModemMfrQueryCmd: !Intel ModemModelQueryCmd: !SatisFAXtion 400e ModemRevQueryCmd: ATI3 # # A shorter than normal timer is required for incoming calls to # avoid timing out most data callers when using adaptive answer. # Class1RecvIdentTimer: 15000 # shorter timer for incoming ID AdaptiveAnswer: yes # alternate fax/data answer on error AnswerRotary: "fax data" # try fax first, then data ModemAnswerCmd: AT+FCLASS=1A # "generic" answer (counter 0 idle) # # HACK: Make sure the phone is on on-hook before answering in data mode. # This allows a crude adaptive answer capability by taking advantage of # the fact that, in the US at least, the phone company won't drop the # caller for ten seconds. # ModemAnswerDataCmd: ATH+FCLASS=0A # data answer ModemAnswerFaxCmd: AT+FCLASS=1A # fax answer # #GettyArgs: "-h %l dx_%s" # NB: enable this for dialins (SGI) #GettyArgs: "std.%s -" # NB: enable this for dialins (SunOS) #GettyArgs: "-g -h -t 60 -l ff_%s" # NB: enable this for dialins (SVR4.2) Class1PPMWaitCmd: "" # \072 == : to avoid awk problem Class1TCFWaitCmd: "" Class1EOPWaitCmd: "" Class1SwitchingCmd: "" hylafax-6.0.6/config/ip568x000066400000000000000000000004401176352547600154300ustar00rootroot00000000000000# $Id$ # # prototype config for Duxbury modem with IC Ace IP568x cipset. # # CONFIG:CLASS1:V.92/V.44:.*DUXBURY.*:.*: Manufacturer=Duxbury Model='56K V.92 PCI' # # BEGIN-SERVER # END-SERVER ModemType: Class1 # use this to supply a hint ModemRate: 57600 # 19200 causes +FTM problems hylafax-6.0.6/config/linux-isdn-2000066400000000000000000000022511176352547600166200ustar00rootroot00000000000000# $Id$ # # prototype config file for Linux ISDN (/dev/ttyIX) Modems # # # CONFIG: CLASS2:"isdn4linux"-*-* # # BEGIN-SERVER # END-SERVER # ModemType: Class2 ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 # # Put your MSN number in here... # ModemResetCmds: "AT&E82781700" Class2BORCmd: AT+FBOR=0 # bit order for phase B/C/D (direct) Class2RELCmd: AT+FREL=1 # byte-align EOL codes on recv Class2CQCmd: "" # commands to enable copy quality proc. Class2AbortCmd: AT+FK # abort session command Class2DCCQueryCmd: AT+FDCC=? # query for modem capabilities Class2TBCCmd: AT+FTBC=0 # setup stream mode Class2CRCmd: AT+FCR=1 # enable capability to receive Class2PHCTOCmd: AT+FPHCTO=30 # set phase C timeout parameter Class2BUGCmd: AT+FBUG=1 # enable HDLC frame tracing Class2LIDCmd: AT+FLID # set local identifier command Class2DCCCmd: AT+FDCC # set modem capabilities command Class2DISCmd: AT+FDIS # set session parameters command Class2DDISCmd: "" # disable pre-dial DIS command hack Class2CIGCmd: AT+FCIG # set polling identifier command Class2PTSCmd: AT+FPTS # set post-page status command Class2SPLCmd: AT+FSPL # set polling indicator command hylafax-6.0.6/config/lucent000066400000000000000000000061711176352547600156660ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # prototype config for Lucent LT Winmodem using ltmodem.o driver, # as well as many other Lucent chipset modems. # (They work well with all default Class 1 configs.) # # CONFIG:CLASS1:LT V.90 Data+Fax*:.*:.*: Manufacturer=Lucent Model='LT Winmodem' # CONFIG:CLASS1:LT V.92 Data+Fax*:.*:.*: Manufacturer=Lucent Model='LT Winmodem' # CONFIG:CLASS1:LT V.90 1.0 MT5634ZPX-PCI*:.*:.*: Manufacturer=MultiTech Model=MT5634ZPX-PCI # CONFIG:CLASS1:LT V.92 1.0 MT5634ZPX-PCI*:.*:.*: Manufacturer=MultiTech Model=MT5634ZPX-PCI-V92 # CONFIG:CLASS1:LT V.90 1.0 MT5634ZBA*:.*:.*: Manufacturer=MultiTech Model=MT5634ZBA # CONFIG:CLASS1:LT V.92 1.0 MT5634ZBA*:.*:.*: Manufacturer=MultiTech Model=MT5634ZBA # CONFIG:CLASS1:LT V.90 1.0 ISI5634PCI*:.*:.*: Manufacturer=MultiTech Model=ISI5634PCI # CONFIG:CLASS1:LT V.92 1.0 ISI5634PCI*:.*:.*: Manufacturer=MultiTech Model=ISI5634PCI # CONFIG:CLASS1:LT V.92 1.0 MT5634SMI*:.*:.*: Manufacturer=MultiTech Model=MT5634SMI # CONFIG:CLASS1:Zoom V.90 PCI*:.*:.*: Manufacturer=Zoom Model=2920 # CONFIG:CLASS1:Zoom V.90 USB*:.*:.*: Manufacturer=Zoom Model=2980 # CONFIG:CLASS1:EFM560 VER*:.*:.*: Manufacturer=AboCom Model=EFM560 # CONFIG:CLASS1:Mainpine Venus V.92*:.*:.*: Manufacturer=Mainpine Model=RockForce # # BEGIN-SERVER # END-SERVER ModemType: Class1 # use this to supply a hint ModemFlowControl: rtscts # many firmwares have broken software flow control Class1TMConnectDelay: 400 # counteract quick CONNECT response Class1HasRHConnectBug: yes # cope with +FRH=3 CONNECT errors # If your line supports Caller-ID, you may want to uncomment this... # ModemResetCmds: AT+VCID=1 # CallIDPattern: "NMBR=" # CallIDPattern: "NAME=" # Or with the MT5634ZBA-DID you'll probably need something like... # ModemReadyCmds: AT*DS1*DD0*DF1*DN4 # enable DTMF-DID, wink-start, 4 digits # CallIDPattern: "DTMF" # format of AT*DF1 # CallIDAnswerLength: 4 # four DTMF-DID digits then ATA hylafax-6.0.6/config/lucent-isa000066400000000000000000000003371176352547600164360ustar00rootroot00000000000000# $Id$ # # prototype config for ISA Lucent chipset modems. # # CONFIG:CLASS1:AT&T 33.6 Data/14.4 Fax*:.*:.*: Manufacturer="AT&T" Model=Lucent # # BEGIN-SERVER # END-SERVER ModemType: Class1 # use this to supply a hint hylafax-6.0.6/config/lucent-mt-10000066400000000000000000000030511176352547600165140ustar00rootroot00000000000000# $Id$ # # prototype config for MultiTech 5634-series modems using # the Lucent/Agere chipset supporting V.34-Fax. # # CONFIG:CLASS1.0:LT V.90 1.0 MT5634ZPX-PCI*:.*:.*: Manufacturer=MultiTech Model=MT5634ZPX-PCI # CONFIG:CLASS1.0:LT V.92 1.0 MT5634ZPX-PCI*:.*:.*: Manufacturer=MultiTech Model=MT5634ZPX-PCI-V92 # CONFIG:CLASS1.0:LT V.90 1.0 MT5634ZBA*:.*:.*: Manufacturer=MultiTech Model=MT5634ZBA # CONFIG:CLASS1.0:LT V.92 1.0 MT5634ZBA*:.*:.*: Manufacturer=MultiTech Model=MT5634ZBA # CONFIG:CLASS1.0:LT V.90 1.0 ISI5634PCI*:.*:.*: Manufacturer=MultiTech Model=ISI5634PCI # CONFIG:CLASS1.0:LT V.92 1.0 ISI5634PCI*:.*:.*: Manufacturer=MultiTech Model=ISI5634PCI # CONFIG:CLASS1.0:LT V.92 1.0 MT5634SMI*:.*:.*: Manufacturer=MultiTech Model=MT5634SMI # # BEGIN-SERVER # END-SERVER ModemType: Class1.0 # use this to supply a hint ModemRate: 57600 # must be at least as fast as the DCE-DCE communication ModemFlowControl: rtscts # many firmwares have broken software flow control Class1EnableV34Cmd: AT+F34=14,1,2 # 33600-2400 primary, 2400-1200 control Class1TMConnectDelay: 400 # counteract quick CONNECT response Class1HasRHConnectBug: yes # cope with +FRH=3 CONNECT errors # If your line supports Caller-ID, you may want to uncomment this... # ModemResetCmds: AT+VCID=1 # CallIDPattern: "NMBR=" # CallIDPattern: "NAME=" # Or with the MT5634ZBA-DID you'll probably need something like... # ModemReadyCmds: AT*DS1*DD0*DF1*DN4 # enable DTMF-DID, wink-start, 4 digits # CallIDPattern: "DTMF" # format of AT*DF1 # CallIDAnswerLength: 4 # four DTMF-DID digits then ATA hylafax-6.0.6/config/lucent-mt-2000066400000000000000000000027411176352547600164420ustar00rootroot00000000000000# $Id$ # # prototype config file for MultiTech MT5634ZPX-PCI (Lucent Venus) # Note that this file is named intentionally "lucent-mt-2" # to precede "mt-1432" and win the pick; the two files are # incompatible and conflict in CONFIG catch-strings. # Non-MT5634ZPX-PCI modems will pass this file by # because this CONFIG line is model-specific. # # # CONFIG: CLASS2:"Multi-Tech Systems"-"MT5634ZPX-PCI"-* # CONFIG: CLASS2:"Multi-Tech Systems"-"MT5634ZBA"-* # CONFIG: CLASS2:*-"ISI5634PCI"-* # CONFIG: CLASS2:*-"MT5634SMI-V92"-* # # BEGIN-SERVER # END-SERVER # ModemType: Class2 ModemRate: 19200 ModemFlowControl: rtscts ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 ModemRecvFillOrder: MSB2LSB # classic MultiTech Class2APQueryCmd: none # not available Class2BUGCmd: none # not available Class2NFLOCmd: AT+FLO=0 Class2SFLOCmd: AT+FLO=1 Class2HFLOCmd: AT+FLO=2 # The modem performs copy quality correction (in Class 2... gasp!) # always, thus it's not a good idea to use host-based CQ. The # query response is incorrect, also. Class2CQQueryCmd: "!0-2" Class2CQCmd: AT+FCQ=1 # If your line supports Caller-ID, you may want to uncomment this... # ModemResetCmds: AT+VCID=1 # CallIDPattern: "NMBR=" # CallIDPattern: "NAME=" # Or with the MT5634ZBA-DID you'll probably need something like... # ModemReadyCmds: AT*DS1*DD0*DF1*DN4 # enable DTMF-DID, wink-start, 4 digits # CallIDPattern: "DTMF" # format of AT*DF1 # CallIDAnswerLength: 4 # four DTMF-DID digits then ATA hylafax-6.0.6/config/lucent-mt-20000066400000000000000000000032071176352547600165200ustar00rootroot00000000000000# $Id$ # # prototype config file for MultiTech MT5634ZBA-V.92-NAM # # # CONFIG: CLASS2.0:"Multi-Tech Systems"-"MT5634ZBA"-* # CONFIG: CLASS2.0:"Multi-Tech Systems"-"MT5634ZPX"-* # CONFIG: CLASS2.0:*-"ISI5634PCI"-* # CONFIG: CLASS2.0:*-"MT5634SMI-V92"-* # # BEGIN-SERVER # END-SERVER # ModemType: Class2.0 ModemRate: 19200 ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 Class2APCmd: AT+FAP=1,1,1 Class2BUGCmd: AT+FBU=0 # early firmware is buggy Class2SendRTC: yes Class2UseHex: yes # Some firmwares do not report copy quality correction, although it # is present and cannot be disabled. Thus modem-based CQ must be used. Class2CQQueryCmd: "!(00-02),(00-02)" Class2CQCmd: AT+FCQ=1,0 # versions that respond to AT+FFC=? with non-zero data support RTFCC # Class2RTFCC: yes # Some firmware revisions (i.e. 1.25 in ZBAs) report MMR support but # corrupt the data. Enabling the following lines should work around this. # Compare this against the modem's AT+FCC=? response. # Class2DCCQueryCmd: "!(00-01),(00-05),(00-02),(00-02),(00-01),(00-01),(00),(00-07)" # ModemAnswerCmd: AT+FCC=,,,,1,,,,0;A # ModemDialCmd: AT+FCC=,,,,1,,,,0;DT%s # If your modem supports ECM you may want to do something like this # Class2Cmd: AT+FCLASS=2.0;+FRY=4 # If your line supports Caller-ID, you may want to uncomment this... # ModemResetCmds: AT+VCID=1 # CallIDPattern: "NMBR=" # CallIDPattern: "NAME=" # Or with the MT5634ZBA-DID you'll probably need something like... # ModemReadyCmds: AT*DS1*DD0*DF1*DN4 # enable DTMF-DID, wink-start, 4 digits # CallIDPattern: "DTMF" # format of AT*DF1 # CallIDAnswerLength: 4 # four DTMF-DID digits then ATA hylafax-6.0.6/config/lucent-mt-21000066400000000000000000000035071176352547600165240ustar00rootroot00000000000000# $Id$ # # prototype config file for MultiTech MT5634ZBA-V.92-NAM # # # CONFIG: CLASS2.1:"Multi-Tech Systems"-"MT5634ZBA"-* # CONFIG: CLASS2.1:"Multi-Tech Systems"-"MT5634ZPX"-* # CONFIG: CLASS2.1:*-"ISI5634PCI"-* # CONFIG: CLASS2.1:*-"MT5634SMI-V92"-* # # BEGIN-SERVER # END-SERVER # ModemType: Class2.1 ModemRate: 57600 # for V.34 faxing ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 Class2APCmd: AT+FAP=1,1,1 Class2BUGCmd: AT+FBU=0 # early firmware is buggy Class2SendRTC: yes Class2UseHex: yes # Some firmwares do not report copy quality correction, although it # is present and cannot be disabled. Thus modem-based CQ must be used. Class2CQQueryCmd: "!(00-02),(00-02)" Class2CQCmd: AT+FCQ=1,0 # versions that respond to AT+FFC=? with non-zero data support RTFCC # Class2RTFCC: yes # Some firmware revisions (i.e. 1.25) report MMR support but corrupt the data. # Some firmware revisions (i.e. 1.25 and 1.28) report extended resolution support but # have trouble with 300x300 and 400x400 resolutions and corrupt DIS for inch resolutions. # Enabling the following lines should work around these things. # Compare this against the modem's AT+FCC=? response. # Class2DCCQueryCmd: "!(03),(00-05),(00-02),(00-02),(00-01),(00-01),(00),(00-07)" # ModemAnswerCmd: AT+FCC=03,,,,1,,,,0;A # ModemDialCmd: AT+FCC=03,,,,1,,,,0;DT%s # If your modem supports ECM you may want to do something like this # Class2Cmd: AT+FCLASS=2.1;+FRY=4 # If your line supports Caller-ID, you may want to uncomment this... # ModemResetCmds: AT+VCID=1 # CallIDPattern: "NMBR=" # CallIDPattern: "NAME=" # Or with the MT5634ZBA-DID you'll probably need something like... # ModemReadyCmds: AT*DS1*DD0*DF1*DN4 # enable DTMF-DID, wink-start, 4 digits # CallIDPattern: "DTMF" # format of AT*DF1 # CallIDAnswerLength: 4 # four DTMF-DID digits then ATA hylafax-6.0.6/config/mainpine-10000066400000000000000000000017071176352547600164120ustar00rootroot00000000000000# $Id$ # # prototype config for Mainpine RockForce and IQ series modems using # the Agere Venus and CFAX34 chipsets supporting V.34-Fax. # # CONFIG:CLASS1.0:Mainpine Venus V.92*:.*:.*: Manufacturer=Mainpine Model=RockForce # CONFIG:CLASS1.0:Mainpine CFAX34*:.*:.*: Manufacturer=Mainpine Model=IQ # # BEGIN-SERVER # END-SERVER ModemType: Class1.0 # use this to supply a hint ModemRate: 57600 # must be at least as fast as the DCE-DCE communication ModemFlowControl: rtscts ModemSetupDTRCmd: AT&D3 # hang up and reset on DTR drop Class1EnableV34Cmd: AT+F34=14,1,2 # 33600-2400 primary, 2400-1200 control Class1TMConnectDelay: 400 # counteract quick CONNECT response Class1HasRHConnectBug: yes # cope with +FRH=3 CONNECT errors # # Older firmwares on MainPine cards may require this: # Class1Cmd: AT+FCLASS=1 # # If your line supports Caller-ID, you may want to uncomment this... # ModemResetCmds: AT+VCID=1 # CallIDPattern: "NMBR=" # CallIDPattern: "NAME=" hylafax-6.0.6/config/mainpine-2000066400000000000000000000016111176352547600163250ustar00rootroot00000000000000# $Id$ # # prototype config file for Mainpine Ltd. RockForce # # # CONFIG: CLASS2:"Mainpine Venus V.92"*-"Mainpine Venus V.92"*-* # # BEGIN-SERVER # END-SERVER # ModemType: Class2 ModemRate: 19200 ModemFlowControl: rtscts ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 Class2APQueryCmd: none # not available Class2BUGCmd: AT+FBUG=0 # buggy in early firmwares Class2NFLOCmd: AT+FLO=0 Class2SFLOCmd: AT+FLO=1 Class2HFLOCmd: AT+FLO=2 Class2HexNSF: false # Early firmwares reported ECM capability but then disabled it internally, # thus causing us to possibly attempt to send MMR data without ECM. # This disables ECM and MMR by replacing the +FDCC response. Class2DCCQueryCmd: "!(0-1),(0-5),(0-2),(0-2),(0-1),(0),(0),(0-7)" # If your line supports Caller-ID, you may want to uncomment this... # ModemResetCmds: AT+VCID=1 # CallIDPattern: "NMBR=" # CallIDPattern: "NAME=" hylafax-6.0.6/config/mainpine-20000066400000000000000000000014041176352547600164050ustar00rootroot00000000000000# $Id$ # # prototype config file for Mainpine Ltd. IQ series # # # CONFIG: CLASS2.0:"Agere Systems"-"Mainpine Venus V.92"*-* # CONFIG: CLASS2.0:"Mainpine"-"Mainpine CFAX34"*-* # # BEGIN-SERVER # END-SERVER # ModemType: Class2.0 ModemRate: 19200 ModemFlowControl: rtscts ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 ModemRecvFillOrder: MSB2LSB ModemSetupDTRCmd: AT&D3 # hang up and reset on DTR drop Class2DisableV17Cmd: ATS29=1 Class2APCmd: AT+FAP=1,1,1 Class2SendRTC: yes Class2UseHex: yes # You may want to do something like this to enable CTC in ECM # Class2Cmd: AT+FCLASS=2.0;+FRY=4 # If your line supports Caller-ID, you may want to uncomment this... # ModemResetCmds: AT+VCID=1 # CallIDPattern: "NMBR=" # CallIDPattern: "NAME=" hylafax-6.0.6/config/mainpine-21000066400000000000000000000014361176352547600164130ustar00rootroot00000000000000# $Id$ # # prototype config file for Mainpine Ltd. RockForce and IQ series # # # CONFIG: CLASS2.1:"Agere Systems"-"Mainpine Venus V.92"*-* # CONFIG: CLASS2.1:"Mainpine"-"Mainpine CFAX34"*-* # # BEGIN-SERVER # END-SERVER # ModemType: Class2.1 ModemRate: 57600 # for V.34 faxing ModemFlowControl: rtscts ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 ModemRecvFillOrder: MSB2LSB Class2DisableV17Cmd: ATS29=1 Class2APCmd: AT+FAP=1,1,1 Class2BUGCmd: AT+FBU=0 # early firmware is buggy Class2SendRTC: yes Class2UseHex: yes # You may want to do something like this to enable CTC in ECM # Class2Cmd: AT+FCLASS=2.1;+FRY=4 # If your line supports Caller-ID, you may want to uncomment this... # ModemResetCmds: AT+VCID=1 # CallIDPattern: "NMBR=" # CallIDPattern: "NAME=" hylafax-6.0.6/config/moto-288000066400000000000000000000054661176352547600156770ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Motorola RC288DPi-based Class 1 modem. # Lifestyle 28.8 S209415900 -01 1/16/95 3:30 PM # # CONFIG:CLASS1:288:Motorola:.*: Manufacturer=Motorola Model=28.8 # CONFIG:CLASS1:960:Motorola.*:.*: Manufacturer=Motorola Model=SM56 # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use class 1 interface ModemRate: 19200 # locked for fax sending&receiving ModemFlowControl: rtscts # default # #ModemNoFlowCmd: AT\Q # disable flow control cmd #ModemSoftFlowCmd: AT&R1\Q1 # software flow control cmd #ModemHardFlowCmd: AT&R\Q3 # hardware flow control cmd ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset ModemSetupDCDCmd: AT&C1 # DCD follows carrier #ModemSetupAACmd: AT+FAA=1 # #ModemAnswerCmd: "AT*FR\nATA" # enable autobaud before answering #ModemWaitForConnect: yes # modem sends FAX/DATA first # # Apparently Rev 2 of the firmware requires that you send ATO # to initiate a data connection when adaptive answer is set; the # following will send ATO and then wait for the CONNECT response. # #ModemAnswerDataBeginCmd:"ATO\n" # #ModemMfrQueryCmd: !Motorola #ModemModelQueryCmd: !28.8 #ModemRevQueryCmd: AT%V # model and firmware rev # # Caller ID configuration setup; add AT*ID1 to ModemResetCmds # to enable functionality (when supported by the local Telco). # #CallIDPattern: "CALLER NUMBER: " # pattern string for phone number info #CallIDPattern: "CALLER NAME: " # pattern string for identity info # hylafax-6.0.6/config/mt-1432000066400000000000000000000061211176352547600153760ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Multi-Tech MT1432, MT224BA, and MT1932ZDX modems. # # MT1432 firmware rev 0307 I or newer # MT132BG rev 0109A # MT1932ZDX rev 0109H # MT2834ZDX rev 0316A or newer # MT2834ZDXb rev 0317G or newer # # Note that MT1432 modems come in several varieties: # # MT1432BA uses Rockwell data pump # MT1432BA/A uses AT&T data pump # MT1432BG MT1432BA tweaked for German FCC # MT1432MK (for UK?) # # The modem has been tried with both XON/XOFF and RTS/CTS flow # control; this configuration is for hardware flow control. # # CONFIG: CLASS2: Multi-Tech*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 38400 # lock rate for DCE-DTE communication ModemFlowControl: rtscts # default # ModemHardFlowCmd: AT&E4 # hardware flow control ModemSoftFlowCmd: AT&E5 # software flow control ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) # The MT2834ZDX (and other newer models) may be more robust with this. #ModemSetupDCDCmd: AT&C4 # setup so DCD resets modem on # # carrier drop # ModemSetupAACmd: AT+FAA=1 # enable adaptive-answer in class 2 # # NB: some models get confused by @ in ModemDialCmd # NB: the @ causes some multifunction fax units to not go into fax mode. # ModemDialCmd: ATDT%s # T for tone dialing # Class2RecvDataTrigger: "\022" # character sent to modem to start recv # # The MT2834ZDX (and other newer models) can take advantage of these. #Class2APQueryCmd: AT # AT+FAP=? not supported on this modem #Class2NFLOCmd: AT+FLO=0 # Class 2: no flow control #Class2SFLOCmd: AT+FLO=1 # Class 2: software flow control #Class2HFLOCmd: AT+FLO=2 # Class 2: hardware flow control #Class2XmitWaitForXON: no # hylafax-6.0.6/config/nuvo-voyager000066400000000000000000000040651176352547600170350ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for using the Class 1 command interface with # a Nuvo Voyager 9624PFX (based on Rockwell RC224A) # # Note that XON/XOFF flow control must be used. # # CONFIG:CLASS1:242:.*:XONXOFF: Manufacturer=Nuvo Model="Voyager 9642PFX" # CONFIG:CLASS1:242:.*:DEFAULT: Manufacturer=Nuvo Model="Voyager 9642PFX" # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # hint to override class 2 ModemRate: 19200 # locked for fax sending ModemFlowControl: xonxoff # default # ModemSetupDTRCmd: AT&D2 # DTR off causes modem to hangup ModemSetupDCDCmd: AT&C0 # DCD always on # ModemMfrQueryCmd: !Nuvo ModemModelQueryCmd: !9624PFX ModemRevQueryCmd: ATI3 # ModemDialCmd: ATDT%s # T for tone dialing hylafax-6.0.6/config/ppi-pm14400fxmt000066400000000000000000000061101176352547600170570ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Config file for a Practical Peripherals PM14400FXMT and # PM28800FXMT modems operating in Class 2. # # Firmware revision 2.17 or newer for PM14400FXMT. # Firmware revision 1.57 or newer for PM28800FXMT. # # CONFIG: CLASS2: *PM14400FXMT*-* # CONFIG: CLASS2: *PM14400FXHC*-* # CONFIG: CLASS2: *PM28800FXMT*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 ModemRate: 19200 # rate for DCE-DTE communication ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT&K0 # setup no flow control ModemSoftFlowCmd: AT&K4 # setup software flow control ModemHardFlowCmd: AT&K3 # setup hardware flow control ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemSetupAACmd: AT+FAA=1 # enable in current class # ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense # # Configuration parameters for Class 2 modems. Boy is this # Class 2 implementation busted! Aside from the usual AT+FDIS # mistake it also sends a garbage RTC, so force the driver to # explicitly append a good one. Beware also that the host gets # XON/XOFF on page data transmit no matter whether RTS/CTS flow # control is enabled or not (hardware flow control *does* wor # though). Receive also automatically locks the line rate to # 19200 and switches to XON/XOFF flow control (or so it appears). # Class2DDISCmd: AT+FDIS # enable workaround for broken +FDIS Class2RecvDataTrigger: "\022" # character sent to modem to start recv Class2SendRTC: yes # modem doesn't append RTC correctly # ModemAnswerFaxBeginCmd: "<19200>" # modem switches on fax receive # Class2BUGCmd: AT+FBUG=0 # no support for HDLC frame tracing hylafax-6.0.6/config/ppi-pm14400fxsa000066400000000000000000000042061176352547600170460ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Config file for a Practical Peripherals PM14400FXSA # Class 2 modem w/ firmware revision 2.17 or newer. # # CONFIG: CLASS2: *PM14400FXSA*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use this to supply a hint ModemRate: 19200 # rate for DCE-DTE communication ModemFlowControl: rtscts # default # ModemSoftFlowCmd: AT&K2 # setup software flow control ModemHardFlowCmd: AT&K3 # setup hardware flow control ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) # ModemDialCmd: ATDT%s # T for tone dialing # ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense # Class2RecvDataTrigger: "\022" # character sent to modem to start recv hylafax-6.0.6/config/prometheus000066400000000000000000000007551176352547600165710ustar00rootroot00000000000000# $Id$ # # prototype config file for Prometheus PC144IVSP # # # CONFIG: CLASS2:" (c) Prometheus Products, Inc. 1995."-" PC144IVSP"-* # # BEGIN-SERVER # END-SERVER # ModemType: Class2 ModemRate: 19200 ModemFlowControl: rtscts ModemNoFlowCmd: AT&K0 ModemSoftFlowCmd: AT&K4 ModemHardFlowCmd: AT&K3 # Something very ugly spews forth when you try AT+FAP=? Class2APQueryCmd: none # The modem reports 2-D support, but it can't send it Class2DCCQueryCmd: !(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7) hylafax-6.0.6/config/rc144ac000066400000000000000000000061121176352547600155300ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Rockwell V.32AC Class 2 modem # (RC144AC, RC96AC or using RC144DP). # Boca M1440E firmware V1.270 or newer # Dallas Fax (throw it away!) # Hayes Optima 24+Fax96 firmware TR00-J260-001 XXX or newer # SupraFAX v.32bis firmware V1.200-C or newer # Twincom 144/DF firmware rev V1.200 or newer # Dynalink 1414VE firmware rev ??? # (and others) # # This configuration file sets up the modem to run at 38.4 with # RTS/CTS flow control used by default. XON/XOFF is automatically # enabled for fax recv. Beware of modems that also lock sending # to 19.2; add ModemSendBeginCmd: "<19200>" if this is required. # Also beware that the adaptive-answer facility, when supported, # is often unreliable. # # CONFIG: CLASS2: *-V.32AC-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 19200 ModemFlowControl: rtscts # default # #ModemResetCmds: AT&F2 # what you want for a Supra ModemNoFlowCmd: AT&K # disable flow control cmd ModemHardFlowCmd: AT&K3 # hardware flow control cmd ModemSoftFlowCmd: AT&K4 # software flow control cmd ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset #ModemSetupDTRCmd: AT&D2S25=1S38=0 # Dynalink 1414VE needs this ModemSetupDCDCmd: AT&C1 # DCD follows carrier ModemSetupAACmd: AT+FAA=1+FCLASS=0 # enable in current class # ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense # ModemAnswerFaxBeginCmd: "<19200>" # modem switches on fax receive # # Caller ID configuration setup for Supra. # #QualifyCID: etc/cid # CID access control list file #CallIDPattern: "NMBR = " # pattern string for phone number info #CallIDPattern: "NAME = " # pattern string for identity info hylafax-6.0.6/config/rc144ac-1000066400000000000000000000047701176352547600156760ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Rockwell RC144AC/RC96AC-based Class 1 modem. # Hayes Optima 24+Fax96 firmware TR00-J260-001 XXX or newer # Twincom 144/DF firmware revision V1.200 or newer # (and others) # # Note that XON/XOFF flow control may be needed for some modems. # # CONFIG:CLASS1:998:.*:.*: Manufacturer=ROCKWELL Model=RC96AC # CONFIG:CLASS1:999:.*:.*: Manufacturer=ROCKWELL Model=RC144AC # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use class 1 interface ModemRate: 19200 ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT&K # disable flow control cmd ModemHardFlowCmd: AT&K3 # hardware flow control cmd ModemSoftFlowCmd: AT&K4 # software flow control cmd ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemSetupAACmd: AT+FAA=0 # in case modem supports Class 2 also # ModemMfrQueryCmd: !Rockwell # no way to query modem ModemModelQueryCmd: !RC144AC # maybe fibbing ModemRevQueryCmd: ATI3 # firmware revision info # # Modem locks receive rate after inbound call is answered. # ModemAnswerFaxBeginCmd: "<19200>" # NB: fax recv locked at 19.2 hylafax-6.0.6/config/rc288dpi000066400000000000000000000056251176352547600157420ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Rockwell RC288DPi-based Class 2 modem # (should also work for 144DPi-based modems). # Microcom DeskPorte 28.8S firmware rev V1.100K-V34_DS # (and others) # # NB: DCD is toggled at page end during transmits; this can # cause problems on systems where it's not possible to # set CLOCAL and also enable RTS/CTS flow control. # # CONFIG: CLASS2: ROCKWELL-AC/V34-* # CONFIG: CLASS2: "Supra Corporation"-"Supra 288i Sp"-* # CONFIG: CLASS2: "BEST DATA PRODUCTS"-"2834VF"-* # CONFIG: CLASS2: Boca*-33,600*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 1 interface ModemRate: 19200 # locked for fax sending&receiving ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT&K0 # disable flow control cmd ModemSoftFlowCmd: AT&K4 # software flow control cmd ModemHardFlowCmd: AT&K3 # hardware flow control cmd ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset ModemSetupDCDCmd: AT&C1 # DCD follows carrier ModemSetupAACmd: AT+FAA=1 # enable adaptive-answer in Class 2 # ModemRecvFillOrder: MSB2LSB # bit order of received facsimile ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit # ModemDialCmd: ATDT%s # T for tone dialing # # Chip locks the line rate and switches to xon/xoff flow # control when receiving facsimile--we must follow suit. # ModemAnswerFaxBeginCmd: "<19200>" # lock line rate & switch flow control # Class2RecvDataTrigger: "\022" # character sent to modem to start recv Class2BUGCmd: none # AC/V34 gives ERROR Class2APQueryCmd: none # AC/V34 gives ERROR hylafax-6.0.6/config/rc288dpi-1000066400000000000000000000052361176352547600160760ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Rockwell RC288DPi-based Class 1 modem. # Hayes Optima 28800 firmware rev ??? # Microcom DeskPorte 28.8S firmware rev V1.100K-V34_DS # PPI PM288FXMT firmware rev 1.57 # # Note that the modem does not lock the line rate for fax # receive (at least not the PM288FXMT); but not sure whether # current flow control settings are maintained or if it # switches to XON/XOFF (testing host was too fast to see). # # CONFIG:CLASS1:28800:.*:.*: Manufacturer=ROCKWELL Model=RC288DPi # CONFIG:CLASS1:33600:.*:.*: Manufacturer=Rockwell Model=33600 # CONFIG:CLASS1:56000:.*:.*: Manufacturer=Rockwell/Conexant Model=AC/K56 # CONFIG:CLASS1:MT5600ZDX:.*:.*: Manufacturer=MultiTech Model=MT5600ZDX # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use this to supply a hint ModemRate: 19200 # rate for DCE-DTE communication ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT&K0 # setup no flow control ModemHardFlowCmd: AT&K3 # setup hardware flow control ModemSoftFlowCmd: AT&K4 # setup software flow control ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) # ModemMfrQueryCmd: !Rockwell ModemModelQueryCmd: !RC288DPi ModemRevQueryCmd: ATI3 # product information # ModemDialCmd: ATDT%s # T for tone dialing hylafax-6.0.6/config/rc32acl000066400000000000000000000052561176352547600156300ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Rockwell RC32ACL-based Class 2 modem. # Boca M1440E firmware V1.000 # SupraFAX v.32bis firmware V1.000 # (and others) # # This configuration file sets up the modem to run at 38.4 for # sending and for receiving. RTS/CTS is used for flow control # which also works for data connections. Adaptive answer support # is reliable, but to use it you must also enable ModemWaitForConnect # to force the server to skip intermediate status messages and # wait for the "CONNECT" message. # # CONFIG: CLASS2: ROCKWELL-RC32ACL*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 19200 ModemFlowControl: rtscts # default ModemWaitForConnect: yes # wait for CONNECT on answer # #ModemResetCmds: AT&F2 # what you want for a Supra ModemNoFlowCmd: AT&K # disable flow control cmd ModemHardFlowCmd: AT&K3 # hardware flow control cmd ModemSoftFlowCmd: AT&K4 # software flow control cmd ModemSetupDTRCmd: AT&D2 # DTR off causes modem to reset ModemSetupDCDCmd: AT&C1 # DCD follows carrier ModemSetupAACmd: AT+FCLASS=0;+FAA=1 # enable in class 0 # ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense Class2RecvDataTrigger: "\022" # a la 2388-B Class2APQueryCmd: none # prevent ERROR Class2BUGCmd: none # prevent ERROR hylafax-6.0.6/config/rc32acl-1000066400000000000000000000043641176352547600157650ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Rockwell-based Class 1 modem. # SupraFAX v.32bis firmware V1.200-C or newer # (and others) # # This configuration file sets up the modem to run at 38.4 # and use RTS/CTS flow control by default. # # CONFIG:CLASS1:14400:.*:.*: Manufacturer=ROCKWELL Model=RC32ACL # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use class 1 interface ModemRate: 19200 ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT&K # disable flow control cmd ModemHardFlowCmd: AT&K3 # hardware flow control cmd ModemSoftFlowCmd: AT&K4 # software flow control cmd ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemSetupAACmd: AT+FAA=0 # in case modem supports Class 2 also # ModemMfrQueryCmd: !Rockwell # no way to query modem ModemModelQueryCmd: !RC32ACL # not always right ModemRevQueryCmd: ATI3 hylafax-6.0.6/config/rockwell-k56000066400000000000000000000054621176352547600166230ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Rockwell AC/K56-based Class 2 modem. # based upon work of Mark J. Bailey, Jonathan Mau and Glenn Burkhardt. # Multitech MT5600ZDX # Diamond Multimedia SupraExpress 56e PRO # Zoom Telephonics 56Kx # (and others) # # This configuration file sets up the modem to run at 38.4 for # sending and for receiving. XON/XOFF is used for flow control # which also works for data connections. Adaptive answer support # is reliable, but to use it you must also enable ModemWaitForConnect # to force the server to skip intermediate status messages and # wait for the "CONNECT" message. # # CONFIG: CLASS2: Rockwell-MultiModemZDX*-* # CONFIG: CLASS2: ROCKWELL-AC/K56*-* # CONFIG: CLASS2: CONEXANT-AC/K56*-* # CONFIG: CLASS2: CONEXANT-V90-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 19200 ModemFlowControl: xonxoff # default ModemWaitForConnect: yes # wait for CONNECT on answer # #ModemResetCmds: AT&F2 # what you want for a Supra ModemNoFlowCmd: AT&K # disable flow control cmd ModemHardFlowCmd: AT&K3 # hardware flow control cmd ModemSoftFlowCmd: AT&K4 # software flow control cmd ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset ModemSetupDCDCmd: AT&C1 # DCD follows carrier ModemSetupAACmd: AT+FCLASS=0;+FAA=1 # enable in class 0 # ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense Class2RecvDataTrigger: "\022" # a la 2388-B hylafax-6.0.6/config/rockwell-rc000066400000000000000000000056101176352547600166150ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Rockwell-based modem not otherwise handled by # another prototype configuration file. This file assumes the modem # is compatible with the Rc144AC, RC96AC or RC144DP. # # This configuration file sets up the modem to run at 38.4 with # RTS/CTS flow control used by default. XON/XOFF is automatically # enabled for fax recv. Beware of modems that also lock sending # to 19.2; add ModemSendBeginCmd: "<19200>" if this is required. # Also beware that the adaptive-answer facility, when supported, # is often unreliable. # # CONFIG: CLASS2: ROCKWELL*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 19200 ModemFlowControl: rtscts # default # #ModemResetCmds: AT&F2 # what you want for a Supra ModemNoFlowCmd: AT&K # disable flow control cmd ModemHardFlowCmd: AT&K3 # hardware flow control cmd ModemSoftFlowCmd: AT&K4 # software flow control cmd ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset #ModemSetupDTRCmd: AT&D2S25=1S38=0 # Dynalink 1414VE needs this ModemSetupDCDCmd: AT&C1 # DCD follows carrier ModemSetupAACmd: AT+FAA=1+FCLASS=0 # enable in current class # ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense # ModemAnswerFaxBeginCmd: "<19200>" # modem switches on fax receive # # Caller ID configuration setup for Supra. # #QualifyCID: etc/cid # CID access control list file #CallIDPattern: "NMBR = " # pattern string for phone number info #CallIDPattern: "NAME = " # pattern string for identity info hylafax-6.0.6/config/sierra000066400000000000000000000046461176352547600156660ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # # Configuration for modems based on SIERRA DATA/FAX CHIP SET # (tested on CREATIX SG 144 S) # # CONFIG: CLASS2: *SIERRA*-* # # BEGIN-SERVER # END-SERVER # # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use this to supply a hint ModemRate: 19200 # max rate for DCE-DTE communication ModemFlowControl: rtscts # XON/XOFF flow control assumed ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemResultCodesCmd: ATQ0X4 # enable extended result codes ModemResetCmds: AT&F # stuff to do when modem is reset ModemAnswerCmd: ATA # use this to answer phone ModemNoFlowCmd: AT&K # disable flow control cmd ModemHardFlowCmd: AT&K3 # hardware flow control cmd ModemSoftFlowCmd: AT&K4 # software flow control cmd ModemSetupAACmd: AT+FAA=1 # adaptive answer ModemSetVolumeCmd: "ATM0 ATM1 ATM1 ATM1 ATM1" # OFF QUIET LOW MEDIUM HIGH ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense hylafax-6.0.6/config/skel000066400000000000000000000110211176352547600153200ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP # # BEGIN-SERVER CountryCode: 1 # USA LongDistancePrefix: 1 InternationalPrefix: 011 AreaCode: 415 DialStringRules: etc/dialrules FAXNumber: +1.999.555.1212 LocalIdentifier: "NothingSetup" # default is canonical FAXNumber ServerTracing: 1 # log server-related operations SessionTracing: 11 # log server-related operations RecvFileMode: 0600 # recvd facsimile are not public LogFileMode: 0600 # private log files DeviceMode: 0600 # device is accessible only to uucp/fax GettyArgs: "-h %l dx_%s" # requires modem to auto-detect fax/data QualifyTSI: "" # do not restrict inbound facsimile SpeakerVolume: off # machine's are already too loud RingsBeforeAnswer: 1 # answer on first ring TagLineFont: etc/lutRS18.pcf # tag line font TagLineFormat: "From %%l|%c|Page %%P of %%T" MaxBadCalls: 5 # max 5 consecutive bad calls PostScriptTimeout: 300 # 5 minute timeout on PostScript jobs MaxSendPages: 25 # max pages in an outbound job MaxRecvPages: 25 # max pages in an inbound job ContCoverPage: etc/cover.templ # enable continuation cover pages MaxConcurrentCalls: 1 # serialize jobs to the same dest TimeOfDay: "Any" # outbound jobs any day, any time # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # #ModemType: Class1 # use this to supply a hint ModemRate: 19200 # rate for DCE-DTE communication ModemFlowControl: rtscts # RTS/CTS flow control assumed ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) # # We can append the "@" symbol to the dial string so that # the modem will wait 5 seconds before attempting to connect # and return result codes that distinguish between no carrier # and no answer. This makes it possible to avoid problems with # repeatedly dialing a number that doesn't have a fax machine # (kudos to Stuart Lynne for this trick.) # # NB: If you need to prefix phone numbers to get through a PBX, # put it in the ModemDialCmd; e.g. "DT9%s@". # ModemDialCmd: ATDT%s # T for tone dialing # # Other possible configuration stuff. The default strings are # shown below. Only those that are different from the defaults # need to be included in the configuration file. # ModemResetCmds: "" # stuff to do when modem is reset ModemAnswerCmd: ATA # use this to answer phone ModemNoFlowCmd: AT&K # disable flow control cmd ModemHardFlowCmd: AT&K3 # hardware flow control cmd ModemSoftFlowCmd: AT&K4 # software flow control cmd ModemNoAutoAnswerCmd: ATS0=0 # disable auto-answer # # Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH. # Note that we both turn the speaker on/off and set volume. # ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1" ModemEchoOffCmd: ATE0 # disable command echo ModemVerboseResultsCmd: ATV1 # enable verbose command results ModemResultCodesCmd: ATQ0 # enable result codes ModemOnHookCmd: ATH0 # place phone on hook (hangup) ModemSoftResetCmd: ATZ # do soft reset of modem ModemWaitTimeCmd: ATS7=60 # wait 60 seconds for carrier ModemCommaPauseTimeCmd: ATS8=2 # comma pause time is 2 seconds ModemRecvFillOrder: LSB2MSB # bit order of received facsimile ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit hylafax-6.0.6/config/t38modem000066400000000000000000000026651176352547600160400ustar00rootroot00000000000000# $Id$ # # HylaFAX configuration for a T38FAX Pseudo Modem # # This file was originally sourced with permission from # Vyacheslav Frolov's t38modem software in OpenH323 package. # # CONFIG:CLASS1:T38FAX:.*:.*: Manufacturer='Vyacheslav Frolov' Model='t38modem' # # BEGIN-SERVER # END-SERVER ModemType: Class1 # use class 1 interface ModemFlowControl: rtscts # default ModemRevQueryCmd: AT+FREV? # # If you're using a version earlier than 0.7.0 enable this. # #Class1FrameOverhead: 2 # does not include FCS # # AT#CID=10 enables ANI/DNIS reporting between the # first and second RINGs in the form: # # RING # NMBR = # NDID = # RING # #ModemResetCmds: "AT#CID=10" # enable ANI/DNIS reporting #RingsBeforeAnswer: 2 # collect info between two RINGs #CallIDPattern: "NMBR = " # pattern string for calling number #CallIDPattern: "NDID = " # pattern string for called number # # T.38 dial modifiers # # F - enable T.38 mode request after dialing # V - disable T.38 mode request after dialing (remote host should do it) # # calling/called number dial modifiers # # L - reset and begin of calling number # D - continue of called number # #ModemDialCmd: ATDF%s # user can override F by dial V #ModemDialCmd: ATDV%s # user can override V by dial F #ModemDialCmd: ATD%sF # user can't override F #ModemDialCmd: ATD%sV # user can't override V #ModemDialCmd: ATD%sVL # user can't override V or calling number hylafax-6.0.6/config/telebit-qblazer000066400000000000000000000044061176352547600174610ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Telebit QBlazer Plus modem with rev LA7.01 # or newer firmware. # # The modem is setup to run at 38.4 for both sending and # receiving and use RTS/CTS flow control by default. # # CONFIG: CLASS2: Telebit*Q*-* # CONFIG: CLASS2: TELEBIT*Q*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 19200 # rate for DCE-DTE communication ModemFlowControl: rtscts # default # ModemHardFlowCmd: ATS58=2 # full duplex hardware flow control ModemSoftFlowCmd: ATS58=3 # XON/XOFF flow control ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) # ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense # # The QBlazer Plus apparently doesn't send XON in the page transmit # handshake. # Class2XmitWaitForXON: no # violates class 2 spec hylafax-6.0.6/config/telebit-t3000000066400000000000000000000044121176352547600165640ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Telebit T3000 modem with rev LA7.01 # or newer firmware. # # The modem is setup to run at 38.4 for both sending and # receiving and use RTS/CTS flow control by default. # # CONFIG: CLASS2: TELEBIT*T3000*-* # CONFIG: CLASS2: Telebit*T3000*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 19200 # rate for DCE-DTE communication ModemFlowControl: rtscts # default # ModemHardFlowCmd: ATS58=2 # full duplex hardware flow control ModemSoftFlowCmd: ATS58=3 # XON/XOFF flow control ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemSetupAACmd: AT+FAA=1;+FCLASS=0 # enable in class 2 & reset to data ModemWaitForConnect: yes # two-part protocol for adaptive-answer # ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense hylafax-6.0.6/config/telebit-wb000066400000000000000000000047131176352547600164320ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a Telebit WorldBlazer modem with rev LA7.01 # or newer firmware. Note that adaptive answer is only available # with firmware rev 7.20. # # The modem is setup to run at 38.4 for both sending and receiving # and RTS/CTS flow control is used by default. # # CONFIG: CLASS2: Telebit*-* # CONFIG: CLASS2: TELEBIT*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 19200 # rate for DCE-DTE communication ModemFlowControl: rtscts # default # ModemHardFlowCmd: ATS58=2 # full duplex hardware flow control ModemSoftFlowCmd: ATS58=3 # XON/XOFF flow control ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) # ModemSetupAACmd: AT+FAA=1;+FCLASS=0 # enable in class 2 & reset to data ModemWaitForConnect: yes # two-part protocol for adaptive-answer # ModemResetDelay: 3200 # extra long reset timeout required # ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense # Class2DDISCmd: AT+FDIS # LA7.20N apparently requires this hylafax-6.0.6/config/topic000066400000000000000000000012751176352547600155120ustar00rootroot00000000000000# $Id$ # # prototype config for Topic modems and other similarly broken firmwares # # CONFIG:CLASS1:TP560.*:.*:.*: Manufacturer=Topic Model=TP560 # CONFIG:CLASS1:Hamlet H56XCT.*:.*:.*: Manufacturer=Hamlet Model=H56XCT # CONFIG:CLASS1:Linux ISDN.*:.*:.*: Manufacturer=Sedlbauer Model=Speedfax # # BEGIN-SERVER # END-SERVER ModemType: Class1 # use this to supply a hint # as of v1.20, +FTS is not supported, which will cause "Stop and wait" # failures unless we use software pauses instead... Class1PPMWaitCmd: "" # \072 == : to avoid awk problem Class1TCFWaitCmd: "" Class1EOPWaitCmd: "" Class1SwitchingCmd: "" # assumption: +FRS not supported hylafax-6.0.6/config/tricom2842000066400000000000000000000041761176352547600162140ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for using the Class 1 command interface with # a Tricom Tornado28/42 modem # # XON/XOFF flow control is used. # # CONFIG:CLASS1:2882:.*:.*: Manufacturer=Tricom Model=Tornado # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use class 1 interface ModemRate: 19200 # lock rate for DCE-DTE communication ModemFlowControl: xonxoff # default # ModemNoFlowCmd: AT\Q0 # disable flow control cmd ModemSoftFlowCmd: AT\Q1 # XON/XOFF flow control cmd ModemHardFlowCmd: AT\Q3 # RTS/CTS flow control cmd ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemResultCodesCmd: ATX4 # enable result codes # ModemMfrQueryCmd: !Tricom ModemModelQueryCmd: !Tornado ModemRevQueryCmd: ATI0 hylafax-6.0.6/config/uds-fastalk000066400000000000000000000055051176352547600166120ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # UDS FasTalk Fax32 (class 1) # # Configuration for using the Universal Data Systems # (Motorola) Fastalk FAX32 9600 baud modem. Firmware # version 185 (ati1) or newer. # # CONFIG:CLASS1:960:.*:XONXOFF: Manufacturer='UDS' Model='FasTalk' # CONFIG:CLASS1:960:.*:DEFAULT: Manufacturer='UDS' Model='FasTalk' # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use this to supply a hint ModemRate: 19200 ModemFlowControl: xonxoff # required for this modem # ModemSoftFlowCmd: AT\Q1 # sets xon/xoff flow control (required) ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C2 # DCD on except at disconnect # ModemMfrQueryCmd: !UDS ModemModelQueryCmd: !FasTalk ModemRevQueryCmd: ATI1 # # We can append the "@" symbol to the dial string so that # the modem will wait 5 seconds before attempting to connect # and return result codes that distinguish between no carrier # and no answer. This makes it possible to avoid problems with # repeatedly dialing a number that doesn't have a fax machine # (kudos to Stuart Lynne for this trick.) # # NB: If you need to prefix phone numbers to get through a PBX, # put it in the ModemDialCmd; e.g. "DT9%s@". # ModemDialCmd: ATDT%s # T for tone dialing # # I had better results when I wasn't doing receive quality checking # turn these back on if you want - but don't blame me for results !! # MaxConsecutiveBadLines: 0 # don't check (default is 5) PercentGoodLines: 0 # don't check (default is 95%) hylafax-6.0.6/config/umc92144000066400000000000000000000031031176352547600155540ustar00rootroot00000000000000# umc92144.config # Steffan Klipsch 03 Oct 98 # # This file will enable the faxaddmodem script to automatically detect # UMC modems with BIOS versions as used in the Creatix 14400 modems SG144U, # SG144Ui, Phonemaster 144VF and Phonemaster 144VFi. # # Credits go to Sascha Ottolski how posted a working snippet in Mar 98. # # Instructions : install as file $SPOOL/config/umc92144 # # Configuration for modems based on UMC 92114 DATA/FAX/VOICE CHIP SET # tested on CREATIX Phonemaster 144 VFi # with BIOS CIS CCUSBIXX V1.10 10/10/95/VERSION 1.10 01-05-01-01) # users of BIOS VERSION 1.00 00-04-00-00 should consider a BIOS update # (search on http://www.creatix.com) # # CONFIG: CLASS2: *CCUSBIXX*-* # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use this to setup defaults ModemRate: 19200 # rate for DCE-DTE communication ModemFlowControl: rtscts ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemSetupAACmd: AT+FAA=1 ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1" ModemDialCmd: ATDT%s # T for tone dialing ModemNoFlowCmd: AT&K ModemHardFlowCmd: AT&K3 ModemSoftFlowCmd: AT&K4 ModemAnswerFaxBeginCmd: "<19200>" # fax mode works better with 19200 baud ModemWaitForConnect: yes ModemRecvFillOrder: MSB2LSB Class2RecvDataTrigger: "\022" hylafax-6.0.6/config/umc9624000066400000000000000000000027251176352547600155060ustar00rootroot00000000000000# HylaFAX prototype configuration file for UMC 9624,2,E,290E 14.4 modem # - painfully worked out through trial-and-error and HylaFAX bug fixing by # Lee Howard # # Note that this modem will not respond nicely to ATH when already on hook. # Consequently, HylaFAX versions up to and including 4.1beta3 will not # play nicely with it. ATH should be removed from reset commands in the # next release. # # CONFIG: CLASS2: *-"9624,2,E,290E"-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use this to setup defaults ModemRate: 19200 # max rate for DCE-DTE communication ModemFlowControl: rtscts ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemNoFlowCmd: AT&K ModemHardFlowCmd: AT&K3 ModemSoftFlowCmd: AT&K4 ModemAnswerFaxBeginCmd: "<19200>" # fax mode works better with 19200 baud ModemRecvFillOrder: MSB2LSB Class2APQueryCmd: none # prevent ERROR Class2BUGCmd: none # prevent ERROR Class2CQQueryCmd: !(0),(0) # no CQ checking capability Class2DDISCmd: AT+FDIS # workaround broken +FDIS handling Class2PHCTOCmd: none # prevent ERROR Class2RecvDataTrigger: "\022" Class2SPLCmd: none # prevent ERROR Class2TBCCmd: none # prevent ERROR hylafax-6.0.6/config/usr-2.0000066400000000000000000000063331176352547600155020ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for using the Class 2.0 command interface # with a USR v.34 Courier or Sporster modem. # # RTS/CTS flow control is used default. # # CONFIG: CLASS2.0: *USRobotics*-* # CONFIG: CLASS2.0: "U.S. Robotics"*-OK-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2.0 # use class 2.0 interface ModemRate: 19200 # DCE-DTE communication rate ModemFlowControl: rtscts # hardware flow control # ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow control ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow control ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow control # ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemResultCodesCmd: ATQ0X4 # enable extended result codes # # NB: adaptive answer only seems to work properly when # the modem is left idling in Class 2.0 # ModemSetupAACmd: AT+FAA=1 # # Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH. # Note that we both turn the speaker on/off and set volume. # ModemSetVolumeCmd: "ATM0 ATM1 ATM1 ATM1 ATM1" # # Modem does not support HDLC frame tracing; we add this just # to eliminate spurious ERROR results that confuse the naive. # Class2BUGCmd: AT+FBU=0 # # The modem doesn't support copy quality checking, even though it # returns (0-2,0-2) for AT+FCQ=?; therefore we override the query # response so that the server will do copy quality checking. # Class2CQQueryCmd: !(0),(0) # override modem response # # Disables the reporting of bad frames by the modem. This # overcomes a firmware problem in the x2 and V90 Sportsters. # It is not necessary for the Courier modem. # Class2NRCmd: AT+FNR=1,1,1,0 # # USR modems violate Class 2.0 specs and do not send RTC itself # Class2SendRTC: yes # # +FAP=? not supported on this modem, gives ERROR in ServerTracing # Class2APQueryCmd: none hylafax-6.0.6/config/usr-rts000066400000000000000000000074271176352547600160200ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for using the Class 1 command interface with # a USR Courier or Sportster modem and RTS/CTS flow control. # # CONFIG:CLASS1:1444:.*:RTSCTS: Manufacturer=USRobotics Model=Courier/Sportster # CONFIG:CLASS1:1445:.*:RTSCTS: Manufacturer=USRobotics Model=Courier/Sportster # CONFIG:CLASS1:2886:.*:RTSCTS: Manufacturer=USRobotics Model=Courier/Sportster # CONFIG:CLASS1:3366:.*:RTSCTS: Manufacturer=USRobotics Model=Courier # CONFIG:CLASS1:3361:.*:RTSCTS: Manufacturer="USRobotics w/TI Chipset" Model="Sportster 33600" # CONFIG:CLASS1:3362:.*:RTSCTS: Manufacturer="USRobotics w/TI Chipset" Model="Sportster 33600" # CONFIG:CLASS1:3367:.*:RTSCTS: Manufacturer="USRobotics" Model="Courier" # CONFIG:CLASS1:5601:.*:RTSCTS: Manufacturer="3Com U. S. Robotics" Model="3CP5610" # CONFIG:CLASS1:5607:.*:RTSCTS: Manufacturer="3Com USRobotics" Model="Courier V.Everything" # CONFIG:CLASS1:5608A:.*:RTSCTS: Manufacturer="3Com USRobotics" Model="Courier" # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use class 1 interface ModemRate: 19200 # rate for DCE-DTE communication ModemFlowControl: rtscts # hardware flow control # ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow control ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow control ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow control ModemResultCodesCmd: ATQ0X4 # enable result codes # ModemMfrQueryCmd: !USR ModemModelQueryCmd: ATI3 ModemRevQueryCmd: ATI7 # XXX, returns a multi-line result # # When AT+FCLASS=1 is issued the modem automatically switches # to software flow control; these parameters let the fax software # reset flow control as needed after entering Class 1. # Class1NFLOCmd: AT&H0&I0&R1 # setup modem for no flow control Class1HFLOCmd: AT&H1&I0&R2 # setup modem for hardware flow control Class1SFLOCmd: "" # modem does this automatically # # The remainder of this configuration is included so that the # modem "idles" in Class 0 while not sending or receiving facsimile. # ModemSetupAACmd: AT+FCLASS=0&H1&I0&R2 # leave modem in class 0 ModemAnswerCmd: AT+FCLASS=1&H1&I0&R2A # force RTS/CTS after change # # Disables the reporting of bad frames by the modem. This # overcomes a firmware problem in the x2 and V90 Sportsters. # It is not necessary for the Courier modem. # Class2NRCmd: AT+FNR=1,1,1,0 hylafax-6.0.6/config/usr-xon000066400000000000000000000077331176352547600160140ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for using the Class 1 command interface with # a USR Courier or Sportster modem and XON/XOFF flow control. # # CONFIG:CLASS1:1444:.*:XON*|DEF*: Manufacturer=USRobotics Model=Courier/Sportster # CONFIG:CLASS1:1445:.*:XON*|DEF*: Manufacturer=USRobotics Model=Courier/Sportster # CONFIG:CLASS1:2886:.*:XON*|DEF*: Manufacturer=USRobotics Model=Courier/Sportster # CONFIG:CLASS1:3366:.*:XON*|DEF*: Manufacturer=USRobotics Model=Courier # CONFIG:CLASS1:3361:.*:XON*|DEF*: Manufacturer="USRobotics w/TI Chipset" Model="Sportster 33600" # CONFIG:CLASS1:3362:.*:XON*|DEF*: Manufacturer="USRobotics w/TI Chipset" Model="Sportster 33600" # CONFIG:CLASS1:3367:.*:XON*|DEF*: Manufacturer="USRobotics" Model="Courier" # CONFIG:CLASS1:5601:.*:XON*|DEF*: Manufacturer="3Com U. S. Robotics" Model="3CP5610" # CONFIG:CLASS1:5607:.*:XON*|DEF*: Manufacturer="3Com USRobotics" Model="Courier V.Everything" # CONFIG:CLASS1:5608A:.*:XON*|DEF*: Manufacturer="3Com USRobotics" Model="Courier" # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use class 1 interface ModemRate: 19200 # rate for DCE-DTE communication ModemFlowControl: xonxoff # software flow control # ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow control ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow control ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow control ModemResultCodesCmd: ATQ0X4 # enable result codes # ModemMfrQueryCmd: !USR ModemModelQueryCmd: ATI3 ModemRevQueryCmd: ATI7 # XXX returns a multi-line result # # When AT+FCLASS=1 is issued the modem automatically switches # to software flow control; these parameters let the fax software # reset flow control as needed after entering Class 1. # Class1NFLOCmd: AT&H0&I0&R1 # setup modem for no flow control Class1HFLOCmd: AT&H1&I0&R2 # setup modem for hardware flow control Class1SFLOCmd: "" # modem does this automatically # # This should resolve "DIS/DTC received 3 times" errors: # Class1ResponseWaitCmd: AT+FRS=1 # wait after sending TCF for response # # The remainder of this configuration is included so that the # modem "idles" in Class 0 while not sending or receiving facsimile. # ModemSetupAACmd: AT+FCLASS=0 # leave modem idling in class 0 ModemAnswerCmd: AT+FCLASS=1A # answer in Class 1 # # When using AT+FRS=n we see USR modems reset themselves in the middle of sessions # this is not good. So, we seem to work-around that problem by not using the # command. Unfortunately, this isn't an ideal thing. # Class1SwitchingCmd: "" hylafax-6.0.6/config/zyxel-1496e000066400000000000000000000107761176352547600163230ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a ZyXEL U1496. Firmware revisions from # 5.02 on should work, though rev 6.01 works much better. # Actually, the preferred use is to get firwmare rev 6.13 or # 6.14 and configure the modem to use Class 2.0; this file # is kept around for folks with old firmware. # # This configuration file sets up the ZyXEL to run at 38.4 for # both sending and receiving. RTS/CTS flow control is used on # the tty port--you probably shouldn't use XON/XOFF. Note that # on an SGI system the getty speed is the following non-standard # gettydefs entry: # # dx_38400# B38400 # B38400 SANE TAB3 HUPCL #\r\n\n$HOSTNAME login: #dx_38400 # # CONFIG: CLASS2: ZyXEL*1496*-* # CONFIG: CLASS2: ZyXEL*U90E*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use class 2 interface ModemRate: 19200 ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT&H0 # disable flow control ModemHardFlowCmd: AT&H3 # hardware flow control ModemSoftFlowCmd: AT&H4 # software flow control ModemSetupDTRCmd: AT&D2 # DTR off causes modem to hang up ModemSetupDCDCmd: AT&C1 # DCD tracks carrier ModemSetupAACmd: AT+FAA=1 # enable in current class # ModemSendFillOrder: LSB2MSB # as expected ModemRecvFillOrder: MSB2LSB # opposite of what makes sense Class2RecvDataTrigger: "\022" # a la 2388-B # # Additional reset commands: # # &B1 DTE-DCE rate is fixed at DTE setting # &N0 Auto-negotiate highest possible DCE-DCE link rate # &S0 DSR always on # *F0 Deny remote configuration # S18=2 Receive at 38400 (removed from default) # S38.3=1 DCD on/off sequence follows UNIX standard; also # fix receiving baud rate at S18 value # S39=0 (avoid Class 2 compatibility hacks) # ModemResetCmds: AT&B1&N0&S0*F0S38.3=1S39=0 # # We normally append the "@" symbol to the dial string so that # the modem will wait 5 seconds before attempting to connect # and return result codes that distinguish between no carrier # and no answer. This makes it possible to avoid problems with # repeatedly dialing a number that doesn't have a fax machine # (kudos to Stuart Lynne for this trick.) # # Unfortunately, ZyXEL's don't seem to detect a busy signal when # the @ symbol is used to terminate the dialing string. Instead # calls to a busy line come back with a NO CARRIER status which # causes us to toss the job. Consequently we fall back to the # normal method and raise the number of retries on a no carrier # status. ZyXEL claims that this behaviour is not a bug, but # rather that we are requesting ``an enhancement'' (never mind # that their manual says that it should work). # ModemDialCmd: ATDT%s # no '@' 'cuz then busy not recognized NoCarrierRetrys: 3 # retry 3 times on no carrier # ModemSetVolumeCmd: "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7" # # Caller ID configuration setup. # #CallIDPattern: "CALLER NUMBER: " # pattern string for phone number info #CallIDPattern: "CALLER NAME: " # pattern string for identity info # PagerSetupCmds: AT&K0&N15 # use V.22 at 1200 bps (PageNet) # # Rev 6.1x firmware have a bug in the ECM support so # explicitly disable it's use. To re-enable its use just # comment out the following line. # Class2DCCQueryCmd: "!(0,1),(0-5),(0-4),(0-2),(0,1),(0),(0),(0-7)" hylafax-6.0.6/config/zyxel-1496e-1000066400000000000000000000102321176352547600164440ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Class 1 configuration for a ZyXEL U1496. Class 1 # support was introduced in firmware revision 6.14. # # This configuration file sets up the ZyXEL to run at 38.4 for # both sending and receiving. RTS/CTS flow control is used on # the tty port by default. # # CONFIG:CLASS1:1496:.*:.*: Manufacturer=ZyXEL Model=U1496 # CONFIG:CLASS1:33603:.*:.*: Manufacturer=ZyXEL Model=U336S # CONFIG:CLASS1:1503:.*:.*: Manufacturer=ZyXEL Model=U90E # CONFIG:CLASS1:1500:.*:.*: Manufacturer=ZyXEL Model="Omni56K Plus" # CONFIG:CLASS1:.*:ZyXEL.*:.*: Manufacturer=ZyXEL Model=Unspecified # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use class 1 interface ModemRate: 19200 ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT&H0 # disable flow control ModemHardFlowCmd: AT&H3 # hardware flow control ModemSoftFlowCmd: AT&H4 # software flow control ModemSetupDTRCmd: AT&D2 # DTR off causes modem to hang up ModemSetupDCDCmd: AT&C1 # DCD tracks carrier ModemSetupAACmd: AT+FAA=1 # enable in current class # # Additional reset commands: # # &B1 DTE-DCE rate is fixed at DTE setting # &N0 Auto-negotiate highest possible DCE-DCE link rate # &S0 DSR always on # *F0 Deny remote configuration # S38.3=1 DCD on/off sequence follows UNIX standard # ModemResetCmds: AT&B1&N0&S0*F0S38.3=1 # # We normally append the "@" symbol to the dial string so that # the modem will wait 5 seconds before attempting to connect # and return result codes that distinguish between no carrier # and no answer. This makes it possible to avoid problems with # repeatedly dialing a number that doesn't have a fax machine # (kudos to Stuart Lynne for this trick.) # # Unfortunately, ZyXEL's don't seem to detect a busy signal when # the @ symbol is used to terminate the dialing string. Instead # calls to a busy line come back with a NO CARRIER status which # causes us to toss the job. Consequently we fall back to the # normal method and raise the number of retries on a no carrier # status. ZyXEL claims that this behaviour is not a bug, but # rather that we are requesting ``an enhancement'' (never mind # that their manual says that it should work). # ModemDialCmd: ATDT%s # no '@' 'cuz then busy not recognized NoCarrierRetrys: 3 # retry 3 times on no carrier # ModemSetVolumeCmd: "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7" # ModemMfrQueryCmd: AT+FMFR? ModemModelQueryCmd: "!" ModemRevQueryCmd: AT+FREV? # # NB: this works around a bug in the 6.14 firmware; the modem does not # not deliver the FCS bytes in the received HDLC frame, per the spec. # Class1FrameOverhead: 2 # 6.14 firmware does not include FCS # # Caller ID configuration setup. # #CallIDPattern: "CALLER NUMBER: " # pattern string for phone number info #CallIDPattern: "CALLER NAME: " # pattern string for identity info # PagerSetupCmds: AT&K0&N15 # use V.22 at 1200 bps (PageNet) hylafax-6.0.6/config/zyxel-1496e-2.0000066400000000000000000000066251176352547600166160ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a ZyXEL-1496E or 2864 w/ Class 2.0 firmware. # Firmware revisions from 6.12 on should work for the 1496E; for # the 2864 you must have firmware rev 0.07 or later. # # This configuration file sets up the ZyXEL to run at 38.4 for # both sending and receiving. RTS/CTS flow control is used on # the tty port--you probably shouldn't use XON/XOFF. Note that # on an SGI system the getty speed is the following non-standard # gettydefs entry: # # dx_38400# B38400 # B38400 SANE TAB3 HUPCL #\r\n\n$HOSTNAME login: #dx_38400 # # CONFIG: CLASS2.0: ZyXEL*1496*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2.0 # use class 2.0 interface ModemRate: 19200 ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT&H0 # disable flow control ModemHardFlowCmd: AT&H3 # hardware flow control ModemSoftFlowCmd: AT&H4 # software flow control ModemSetupDTRCmd: AT&D2 # DTR off causes modem to hang up ModemSetupDCDCmd: AT&C1 # DCD tracks carrier # ModemSetupAACmd: AT+FAA=1 # enable in current class # # Additional reset commands: # # &B1 DTE-DCE rate is fixed at DTE setting # &N0 Auto-negotiate highest possible DCE-DCE link rate # &S0 DSR always on # *F0 Deny remote configuration # S18=2 Receive at 38400 (removed from default) # S38.3=1 DCD on/off sequence follows UNIX standard; also # fix receiving baud rate at S18 value # S39=0 (avoid Class 2 compatibility hacks) # ModemResetCmds: AT&B1&N0&S0*F0S38.3=1S39=0 # ModemDialCmd: ATDT%s # no '@' 'cuz then busy not recognized NoCarrierRetrys: 3 # retry 3 times on no carrier # ModemSetVolumeCmd: "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7" # # Caller ID configuration setup. # #CallIDPattern: "CALLER NUMBER: " # pattern string for phone number info #CallIDPattern: "CALLER NAME: " # pattern string for identity info # PagerSetupCmds: AT&K0&N15 # use V.22 at 1200 bps (PageNet) # # Rev 6.1x firmware have a bug in the ECM support so # explicitly disable it's use. To re-enable its use just # comment out the following line. # Class2DCCQueryCmd: "!(0,1),(0-5),(0-4),(0-2),(0,1),(0),(0),(0-7)" hylafax-6.0.6/config/zyxel-2864000066400000000000000000000062761176352547600161560ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # # # Configuration for a ZyXEL 2864, 2864I, or Omni 288S in Class 2.0. # # This configuration file can set up the ZyXEL to run at 38.4 for # both sending and receiving. RTS/CTS flow control is used on # the tty port--you probably shouldn't use XON/XOFF. Note that # on an SGI system the getty speed is the following non-standard # gettydefs entry: # # dx_38400# B38400 # B38400 SANE TAB3 HUPCL #\r\n\n$HOSTNAME login: #dx_38400 # # CONFIG: CLASS2.0: ZyXEL*2864*-* # CONFIG: CLASS2.0: ZyXEL*O288S*-* # CONFIG: CLASS2.0: ZyXEL-U336S*-* # CONFIG: CLASS2.0: ZyXEL-U90E*-* # # BEGIN-SERVER # END-SERVER # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2.0 # use class 2.0 interface ModemRate: 19200 ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT&H0 # disable flow control ModemHardFlowCmd: AT&H3 # hardware flow control ModemSoftFlowCmd: AT&H4 # software flow control ModemSetupDTRCmd: AT&D2 # DTR off causes modem to hang up ModemSetupDCDCmd: AT&C1 # DCD tracks carrier # ModemSetupAACmd: AT+FAA=1 # enable in current class # # Additional reset commands: # # &B1 DTE-DCE rate is fixed at DTE setting # &N0 Auto-negotiate highest possible DCE-DCE link rate # &S0 DSR always on # *F0 Deny remote configuration # (actually *F0 doesn't work in the firmware -- sigh) # S18=4 Receive at 38400 (removed from default) # S38.3=1 DCD on/off sequence follows UNIX standard; also # fix receiving baud rate at S18 value # ModemResetCmds: AT&B1&N0&S0S38.3=1 # ModemDialCmd: ATDT%s # no '@' 'cuz then busy not recognized NoCarrierRetrys: 3 # retry 3 times on no carrier # ModemSetVolumeCmd: "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7" # # Caller ID configuration setup. # #CallIDPattern: "CALLER NUMBER: " # pattern string for phone number info #CallIDPattern: "CALLER NAME: " # pattern string for identity info # PagerSetupCmds: AT&K0&N15 # use V.22 at 1200 bps (PageNet) hylafax-6.0.6/configure000077500000000000000000004106461176352547600151210ustar00rootroot00000000000000#!/bin/sh # $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1988-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # 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. # # Configuration script for HylaFAX (tm) (aka FlexFAX) # # Shell script to setup machine-dependent files in # preparation for building HylaFax source. # # # Setup general configuration parameters. # DIR_BIN=/usr/local/bin DIR_SBIN=/usr/local/sbin DIR_LIBDATA=/usr/local/lib/fax DIR_LIB=/usr/local/lib DIR_LIBEXEC=$DIR_SBIN DIR_SPOOL=/var/spool/hylafax DIR_LOCALE=/usr/local/share/locale DIR_CGI=/var/httpd/cgi-bin PATH_DPSRIP=$DIR_LIBEXEC/ps2fax.exe PATH_IMPRIP=/usr/lib/print/psrip CGIPATH=/cgi-bin LOCALE_DOMAIN=hylafax DEFVRES=98 PAGESIZE="North American Letter" FAXUID=uucp FAXGID= SYSUID=bin SYSGID= DSO=auto GETTY=auto PS=auto SYSVINIT=auto FAXQ_SERVER=yes # init script starts faxq HFAXD_SERVER=yes # init script starts hfaxd HFAXD_SNPP_SERVER=no # don't start paging protocol SGI2FAX=auto LIBMALLOC=auto LOCKS=auto DPS=no GS=no IMP=no UTMP=auto NLS=auto OPTIMIZER="-O" LIBCRYPT= LIBPAM= LIBTIFF="-ltiff" TIFFINC= TIFFBIN= LIBUTIL= LIBZ=-lz ZLIBINC= LIBINTL= INTLINC= REGEX=yes LIBREGEX='-L${DEPTH}/regex -lregex' REGEXINC='-I${DEPTH}/${TOPSRCDIR}/regex' CONFIG_OSFCNH=auto MANNUM4_5=4F MANNUM1_8=1M XGETTEXT="xgettext --foreign-user -ctranslator --no-wrap --sort-by-file --omit-header --strict --indent --force-po" MSGMERGE="msgmerge --no-wrap --sort-by-file" MSGFMT=msgfmt MSGCAT=msgcat # SVR4 packaging stuff PKG_ARCH= # ARCH variable in pkginfo file PKG_EMAIL=someone@somehost.somedomain # EMAIL variable in pkginfo file PKG_VENDOR="Your Name Here" # VENDOR variable in pkginfo file : ${MAKE=make} # make to use # screws up the test of `-f -' unset MAKEFLAGS RM="rm -f" # # Note VARX parameters cannot contain more that 100 entries as it # breaks HP's sed # VAR1="ANSICPP ANSICXXPP ABI_VERSION ABI_PATCH AR AROPTS AWK BASE64ENCODE BIN DIR_BIN CAT CGIDIR DIR_CGI CGIPATH CHGRP CHMOD CHOWN CC CCOMPILER CMP COL CP CXX CXXCOMPILER CXXFILE DATE DEFPAGESIZE DEFVRES DIST_ALPHA DIST_MAJOR DIST_MINOR DIST_TYPE DPS DPSRIP PATH_DPSRIP DSO DSOSUF DSODELAY DSOOPTS ECHO ENABLE_NLS ENCODING ENVOPTS FAXGID FAXUID FAXQ_SERVER FILLORDER FONTMAP FONTPATH PATH_AFM FUSER GCOPTS GCXXOPTS GENDIST GETTY GREP GS GSRIP PATH_GSRIP HFAXD_SERVER HFAXD_SNPP_SERVER IMP IMPRIP PATH_IMPRIP INSTALL INTLINC LIBDATA DIR_LIBDATA LIBDIR DIR_LIB LIBEXEC DIR_LIBEXEC LIBCRYPT LIBINTL LIBPORT LIBREGEX LIBTIFF LIBUTIL LIBZ LIBDB LLDOPTS LN LN_S LOCALEDIR DIR_LOCALE LOCALE_DOMAIN HAVE_PAM LIBPAM HAVE_JBIG HAVE_JBIGTIFF LIBJBIG" VAR2="MACHDEPLIBS MAKECXXOVERRIDE MAKEDEPINCLUDE MAKEDSOINCLUDE MAKEINCLUDE MAKELQUOTE MAKERQUOTE MAN MANDIR DIR_MAN MANAPPS MANCAPPNAME MANCFILENAME MANCVT MANFILES MANNUM4_5 MANNUM1_8 MANSAPPNAME MANSCHEME MANSFILENAME MANSYS MIMENCODE MKDEPCOPTS MKDEPCXXOPTS MKDEPEND MKDIR MKFIFO MV MV_F NLS NOCLOBBER_OFF NOCLOBBER_ON OPTIMIZER PAGESIZE PATHGETTY PATH_GETTY PATHVGETTY PATH_VGETTY PATHEGETTY PATH_EGETTY PCL6CMD PKG_ARCH PKG_EMAIL PKG_VENDOR PORTFUNCS PROTOTYPES PSPACKAGE PS PWDCMD QPENCODE RANLIB REGEX REGEXINC RM RMCMD SBIN DIR_SBIN SCRIPT_SH SED SENDMAIL PATH_SENDMAIL SETMAKE SGI2FAX SHDLIBC SORT SPOOL DIR_SPOOL SRCDIR STRIP SYSGID SYSUID SYSVINIT SYSVINITDIR DIR_SYSVINIT SYSVINITSTARTDIR DIR_SYSVINITSTART SYSVINITSTARTNAME NAME_SYSVINITSTART SYSVINITSTOPDIR DIR_SYSVINITSTOP SYSVINITSTOPNAME NAME_SYSVINITSTOP TARGET TIFF2PDF TIFFBIN TIFFINC TTYCMD UTMP UUCP_LOCKDIR DIR_LOCKS UUCP_LOCKTYPE LOCKS UUENCODE VERSION WARNING MSGMERGE MSGFMT MSGCAT XGETTEXT ZLIBINC" dumpvars() { (for i do echo "$i"; done) | while read a b; do eval c=\$${b:-$a}; echo "/@$a@/s;;$c;g"; done } dumpvals() { (echo "$VAR1"; echo "$VAR2") | while read a b; do eval c=\$${b:-$a}; echo "${b:-$a}='$c'"; done } # # We do this little dance with the search path to insure # that programs that we select for use by installed programs # (which may be run by the super-user) come from trusted # locations before they come from the user's private area. # This should help avoid accidentally configuring some # random version of a program in someone's personal bin. # OPATH=$PATH PATH=/bin:/usr/bin:/etc test -d /usr/ccs/bin && PATH=$PATH:/usr/ccs/bin # SVR4/Solaris2 test -d /usr/sbin && PATH=$PATH:/usr/sbin # SGI and others test -d /usr/bsd && PATH=$PATH:/usr/bsd # SGI test -d /usr/ucb && PATH=$PATH:/usr/ucb # Sun and others test -d /usr/contrib/bin && PATH=$PATH:/usr/contrib/bin # BSDi test -d /usr/5bin && PATH=/usr/5bin:$PATH:/usr/etc # Sun and others test -d /usr/local/bin && PATH=/usr/local/bin:$PATH # for GNU stuff PATH=$PATH:$OPATH POSIXLY_CORRECT=1; export POSIXLY_CORRECT # disable GNU extensions LC_ALL=C; export LC_ALL # set a common language # # Error diagnostics that should go to the terminal are # done with this interface (or cat). # bitch() { echo "$@" 1>&2 } die() { kill -1 $$ # use kill so trap handler is called } # # This is the preferred interface for # configure to terminate abnormally. # boom() { bitch "" bitch "Unrecoverable error! Once you've corrected the problem rerun this script." die } usage() { cat<<'EOF' Usage: configure [options] [host] Options: [defaults in brackets after descriptions] --help print this message --quiet do not print `Using ...' messages --nointeractive do not prompt for input [INTERACTIVE=no] --verbose opposite of --quiet --version print the version of autoconf that created configure --target=TARGET configure for TARGET [TARGET=HOST] --srcdir=DIR find the sources in DIR [configure dir or ..] --disable-nls disable NLS support --disable-pam disable all PAM support --with-PARAM[=ARG] set configuration PARAM [ARG=yes] EOF } QUIET=no INTERACTIVE=${INTERACTIVE:="yes"} SITE= TARGET= RELEASE= SRCDIR= WITHARGS=no # # Crack command line arguments. We purposely # use syntax and options that are compatible # with GNU autoconf. # ac_prev= for ac_option do if [ -n "$ac_prev" ]; then # assign the argument to previous option eval "$ac_prev=\$ac_option" ac_prev= continue fi case "$ac_option" in # collect optional argument -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'`;; *) ac_optarg=;; esac case "$ac_option" in -with-*|--with-*) ac_with=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. if [ -n "`echo $ac_with| sed 's/[-_a-zA-Z0-9]//g'`" ]; then bitch "configure: $ac_with: invalid parameter name." die fi ac_with=`echo $ac_with| sed 's/-/_/g'` case "$ac_option" in *=*) ;; *) ac_optarg=yes;; esac eval "${ac_with}='$ac_optarg'" WITHARGS=yes ;; -enable-nls|--enable-nls) NLS=yes;; -disable-nls|--disable-nls) NLS=no;; -quiet|--quiet) QUIET=yes;; -nointeractive|--nointeractive) INTERACTIVE=no;; -verbose|--verbose) QUIET=no;; -site|--site) ac_prev=SITE;; -site=*|--site=*) SITE="$ac_optarg";; -srcdir|--srcdir) ac_prev=SRCDIR;; -srcdir=*|--srcdir=*) SRCDIR="$ac_optarg";; -target|--target) ac_prev=TARGET;; -target=*|--target=*) TARGET="$ac_optarg" ;; -disable-pam|--disable-pam) DISABLE_PAM="yes" ;; -version|--version) echo "This is HylaFAX configure $Revision$" exit 0 ;; -help|--help) usage; exit 0;; -*) bitch "configure: $ac_option: invalid option; use -help for usage." die ;; *) if [ x"$TARGET" != x ]; then bitch "configure: Can only configure for one target at a time." kill -1 $$ fi TARGET="$ac_option" ;; esac done if [ -n "$ac_prev" ]; then bitch "configure: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" die fi # # Locate source directory by looking for the VERSION file. # The directory must either be specified through the # environment or be located in the current directory or a # parent of the current directory. # test "$SRCDIR" || { configure=$0 # NB: don't use dirname since it may not exist SRCDIR=`echo $configure | sed 's;/[^/][^/]*$;;'` if [ @"$SRCDIR" = @"$configure" ]; then SRCDIR=. fi while [ ! -r $SRCDIR/VERSION ]; do # strip last directory from pathname newdir=`echo $SRCDIR | sed 's;/[^/]*$;;'` if [ -z "$newdir" ] || [ "$newdir" = $SRCDIR ]; then break; fi SRCDIR=$newdir done } if [ ! -r $SRCDIR/VERSION ]; then bitch "Can not locate sources in $SRCDIR; the file $SRCDIR/VERSION" bitch "does not exist or is unreadable." boom fi SRCDIR=`echo "$SRCDIR" | sed 's;\([^/]\)/*$;\1;'` # # Descriptor usage: # 1: ??? # 2: messages that should be seen even if we're in the background. # 3: [stdout from test runs] # 4: verbose-style messages (Using ...) # 5: compiler stderr when running tests # if [ $QUIET = yes ]; then exec 4>/dev/null # chuck messages else exec 4>&1 # messages go to stdout fi $RM ./config.log exec 5>./config.log # compiler messages and the like DATE=`date` eval `cat $SRCDIR/VERSION | sed 's/\([0-9][0-9]*\)\.\([0-9][0-9]*\)[.-]\([0-9]*\)\(.*\)/DIST_MAJOR=\1; DIST_MINOR=\2; DIST_PATCH=\3; DIST_TYPE=\4/'` DIST_ALPHA=`awk '{print $3}' $SRCDIR/dist/hylafax.alpha` VERSION="${DIST_MAJOR}.${DIST_MINOR}.${DIST_PATCH}${DIST_TYPE}" if [ "$DIST_TYPE" = beta ]; then VERSION="${VERSION}${DIST_ALPHA}" fi ABI_VERSION="${DIST_MAJOR}.${DIST_MINOR}" if [ -n "$DIST_PATCH" ] then ABI_PATCH="${DIST_PATCH}" else ABI_PATCH="0" fi Note() { echo "$@" 1>&4 } capture() { (eval "set -x; $*") >&5 2>&1 return } captureX() { (eval "set -x; $*") 2>&5 return } date >&5 cat 1>&5 <<'EOF' This file contains information that was captured from running the configure script. Lines that begin with a "+" are command lines echoed by the shell. Other lines are the output of commands; usually the contents of test case files or the output from compilers. If configure does the wrong thing, use the information captured here to aid in debugging. EOF Note "" Note "Configuring HylaFAX (tm) (aka FlexFAX) $VERSION." Note "" Note "If configure does the wrong thing, check the file config.log for" Note "information that may help you understand what went wrong." Note "" # test for broken expr (Tru64 UNIX) x="00" match=`expr "$x" : "\([0-9]*\)"` if [ "$match" != "$x" ]; then bitch "Your expr is broken. It strips leading zeroes" bitch "This may cause problems with configure, faxsetup, & faxaddmodem" bitch "Perhaps there is an environment variable you can set" bitch "to get the desired behavior." fi # # Read site and local configuration parameters. # CONFIG_FILES= if [ -f $SITE/config.site ]; then Note "Reading site-wide parameters from $SITE/config.site." . $SITE/config.site capture . $SITE/config.site CONFIG_FILES=$SITE/config.site elif [ -f $SRCDIR/config.site ]; then Note "Reading site-wide parameters from $SRCDIR/config.site." . $SRCDIR/config.site capture . $SRCDIR/config.site CONFIG_FILES=$SRCDIR/config.site fi if [ -f config.local ]; then Note "Reading local parameters from config.local." . ./config.local capture . ./config.local CONFIG_FILES="$CONFIG_FILES config.local" elif [ -f $SRCDIR/config.local ]; then Note "Reading local parameters from $SRCDIR/config.local." . $SRCDIR/config.local capture . $SRCDIR/config.local CONFIG_FILES="$CONFIG_FILES $SRCDIR/config.local" fi # # Flush cached values if something was specified on the # command line or if the contents of a config parameter # file was changed more recently. # REASON= if [ $WITHARGS = yes ]; then REASON="of command line parameters" elif [ "$CONFIG_FILES" ]; then REASON=`find $CONFIG_FILES -newer config.cache -print 2>/dev/null` test "$REASON" && REASON="$REASON has been updated" fi if [ "$REASON" ] && [ -f config.cache ]; then Note "Flushing cached parameters because $REASON." Note "" rm -f config.cache fi if [ -f config.cache ]; then Note "Reading cached parameters from config.cache." Note "" ODATE="$DATE"; OVERSION="$VERSION" OPORTFUNCS="$PORTFUNCS"; OMACHDEPLIBS="$MACHDEPLIBS" OTIFFINC="$TIFFINC"; OLIBTIFF="$LIBTIFF" OZLIBINC="$ZLIBINC"; OLIBZ="$LIBZ" OREGEXINC="$REGEXINC"; OLIBREGEX="$LIBREGEX" OINTLINC="$INTLINC"; OLIBINTL="$LIBINTL" . ./config.cache capture . ./config.cache # NB: these are calculated each time from scratch DATE="$ODATE"; VERSION="$OVERSION" MACHDEPLIBS="$OMACHDEPLIBS"; PORTFUNCS="$OPORTFUNCS" # NB: these are relativized each time so beware of cached value TIFFINC="$OTIFFINC"; LIBTIFF="$OLIBTIFF" ZLIBINC="$OZLIBINC"; LIBZ="$OLIBZ" REGEXINC="$OREGEXINC"; LIBREGEX="$OLIBREGEX" INTLINC="$OINTLINC"; LIBINTL="$ILIBINTL" fi identifyTarget() { random=`date | awk '{print $4}' | sed -e 's/.*://'` 2>/dev/null case "$random" in *0) Note "Wow, you've got a $1 system!";; *1) Note "Hmm, looks like a $1 system.";; *2) Note "Oh no, not another $1 system...";; *3) Note "Well I'll be, a $1 system.";; *4) Note "Fee, fie, foe, this smells like a $1 system.";; *5) Note "Gosh, aren't you lucky to have a $1 system!";; *6) Note "YOW!! Did something bad happen or am I on a $1 system?";; *7) Note "Do they really still make $1 systems?!";; *8) Note "I'm always happy to encounter another $1 system.";; *9) Note "Here we are again, this time on a $1 system.";; esac } # # If no target is specified, try to deduce the system. # We use the GNU scripts for guessing and canonicalizing # the system identification, if available. # if [ -z "$TARGET" ]; then test -f $SRCDIR/config.guess && TARGET=`sh $SRCDIR/config.guess` 2>/dev/null if [ -z "$TARGET" ]; then bitch "Sorry, no target was specified on the command line and I don't seem to" bitch "have the GNU config.guess script that is used to deduce your system type." boom fi identifyTarget $TARGET elif [ -f $SRCDIR/config.sub ]; then TARGET=`sh $SRCDIR/config.sub "$TARGET"` else Note "WARNING, the GNU config.sub script does not seem to be present. This" Note " script is used to canonicalize your target specification; not" Note " having it may cause problems later on..." fi echo "TARGET: $TARGET" >&5 RELEASE=`(uname -r) 2>/dev/null` || RELEASE=unknown echo "RELEASE: $RELEASE" >&5 # # Find the full pathname of a file # using the specified test operation. # findThing() { t="$1"; app=$2; path=$3; case $app in /*) eval $t $app && { echo $app; return; };; esac IFS=: for i in $path; do eval $t $i/$app && { echo $i/$app; return 0; } done return 1 } # # Find the full pathname of a plain file. # findFile() { findThing "test -f" $1 $2 } # # Find the full pathname of an executable. # findApp() { t="$1"; app=$1; path=$2; case $app in /*) eval test -x $app && test ! -d $app && { echo $app; return; };; esac IFS=: for i in $path; do eval test -x $i/$app && test ! -d $i/$app && { echo $i/$app; return 0; } done return 1 } # # Find the full pathname of an executable; # supply a default if nothing is found. # findAppDef() { app=$1; path=$2; def=$3 case $app in /*) test -x $app && { echo $app; return; };; esac IFS=: for i in $path; do test -x $i/$app && { echo $i/$app; return; } done echo $def } # # Fixup a list of potentially relative pathnames so # that they work when used in a subdirectory. The # string sent to stdout has no extraneous spaces so # it can be used, for example, in building pathnames. # # NB: There's an extra echo done here so we get a # \n-terminated string passed to sed. # relativize() { echo `(for i do case "$i" in -Wl*) echo "$i" ;; /*|-l*|-l[$]{DEPTH}/*) echo "$i" ;; -L|-L/*|-L[$]{DEPTH}/*) echo "$i" ;; -I|-I/*|-I[$]{DEPTH}/*) echo "$i" ;; -R|-R/*|-R[$]{DEPTH}/*) echo "$i" ;; [$][{]DEPTH[}]/*) echo "$i" ;; -L*) echo "$i" | sed 's;^-L;-L../;' ;; -R*) echo "$i" | sed 's;^-R;-R../;' ;; -I*) echo "$i" | sed 's;^-I;-I../;' ;; *) echo "../$i" ;; esac done) | tr '\012' ' '` | \ sed -e 's;/[.]/;/;g' -e 's;[ ][ ]*$;;' -e 's;/[.]$;;' } # # Locate a C and C++ compiler and verify they work and # satisfy our needs (using assorted heuristics). # JUNK=" a.out conffifo confsed1 confsed2 conftestmmap confx confy confMakefile conf.db core dummy dummy.C dummy.a dummy.c dummy.o foo m.c so_locations t.c t.c++ t.o t xMakedepend xdefs xgnu.c xmakeinc xport.h xtermios.h " trap "$RM \$JUNK; exit 1" 1 2 15 $RM $JUNK # # Before we go too far, check some features required by the software # if [ -z "$MKFIFO" ]; then MKFIFO=`findApp mkfifo $PATH` if [ "$MKFIFO" ]; then mkfifo() { $MKFIFO $1 } else MKFIFO=`findApp mknod /sbin:$PATH` if [ -z "$MKFIFO" ]; then cat <xgnu.c<&5 | egrep yes)" } checkGCCVersion() { app=$1; shift eval `$app -v 2>&1 | \ sed -n -e '/[Vv]ersion/s/[^(]* [a-z\-]*\([0-9]*\)\.\([0-9]*\).\([0-9]*\).*/GCCdist=\1;GCCmajor=\2;GCCminor=\3/p'` GCCversion="${GCCdist}.${GCCmajor}.${GCCminor}"; export GCCversion if [ ${GCCdist} -gt $1 ]; then return 0 fi if [ ${GCCdist} -eq $1 ]; then if [ ${GCCmajor} -gt $2 ]; then return 0 fi if [ ${GCCmajor} -eq $2 ] && [ ${GCCminor} -ge $3 ]; then return 0 fi fi return 1 } # # NB: use ANSI C prototype to weed out non-ANSI compilers. # cat>dummy.c< If command line options are required for ANSI C compilation, set the ENVOPTS parameter to these options in a similar way (either through an environment variable or config.local/config.site) and then rerun this script. EOF boom fi Note "Using $CCOMPILER for a C compiler (set CC to override)." test "$ENVOPTS" && { Note "Using $ENVOPTS to get the appropriate compilation environment." } CheckForGandO() { f=$1 if test -s $f; then capture grep -i \(error\|warning\) $f || return 1 fi return 0 } if [ -z "$GCOPTS" ]; then capture $CCOMPILER $ENVOPTS -g -c dummy.c && { Note "Looks like $CCOMPILER supports the -g option." # NB: cannot use captureX here 'cuz we lose stderr if $CCOMPILER $ENVOPTS $GCOPTS -c -g -O dummy.c >t 2>&1 && CheckForGandO t; then GCOPTS="$GCOPTS -g" else Note "... but not together with the -O option, not using it." fi } fi if [ "$GCOPTS" ]; then Note "Using \"$GCOPTS\" for C compiler options." fi # # Figure out if there is an ANSI C-preprocessor and, # if __ANSI_CPP__ is not automatically set, configure # it to be set. # cat>dummy.c<dummy.c<dummy.c<dummy.C< If you are trying to use GNU gcc, but you do not have version 2.6.1 or newer, then you must update your compiler (and probably libg++ as well) before you can compile this software. Consult the documentation for information about obtaining an up-to-date version of gcc. EOF boom fi Note "Using $CXXCOMPILER for a C++ compiler (set CXX to override)." if [ -z "$GCXXOPTS" ]; then case $CXX-$TARGET in *CC-*-irix*) # cfront-based or cfront-compatible GCXXOPTS='+a1 +w +p' ;; *xlC-*-aix*) GCXXOPTS='-qlanglvl=compat -I/usr/lpp/xlC/include -I/usr/include' ;; *CC-*-sco3.2v5.*) # cfront-based or cfront-compatible GCXXOPTS='+a1 +p' ;; *CC-*-sysv5*) # CC here needs this, cc doesn't GCXXOPTS='-Wf,--variadic_macro' ;; *) GCXXOPTS= ;; esac capture $CXXCOMPILER $ENVOPTS -c -g dummy.C && { Note "Looks like $CXXCOMPILER supports the -g option." # NB: cannot use captureX here 'cuz we lose stderr if $CXXCOMPILER $ENVOPTS -c -g -O dummy.C >t 2>&1 && CheckForGandO t; then GCXXOPTS="$GCXXOPTS -g" else Note "... but not together with the -O option, not using it." fi } fi if [ "$GCXXOPTS" ]; then Note "Using \"$GCXXOPTS\" for C++ compiler options." fi # # Figure out if there is an ANSI preprocessor for the C++ # compiler and, if __ANSI_CPP__ is not automatically set, # configure it to be set. # cat>dummy.C<dummy.C<dummy.C<dummy.C<confMakefile<$INC if CheckForMakeIncludeSyntax "include $INC"; then MAKEINCLUDE="include" MAKELQUOTE= MAKERQUOTE= elif CheckForMakeIncludeSyntax ".include <$INC>"; then MAKEINCLUDE=".include" MAKELQUOTE="<" MAKERQUOTE=">" elif CheckForMakeIncludeSyntax "#include \"$INC\""; then MAKEINCLUDE="#include" MAKELQUOTE='"' MAKERQUOTE='"' else cat 1>&2 < #include "file" If $MAKE does support including files then you should use a different program to build this software; consult the documentation for help in locating a suitable make program. Otherwise if $MAKE supports include files, but using a different syntax, then you can setup the MAKEINCLUDE, MAKELQUOTE, and MAKERQUOTE configuration parameters to define the appropriate syntax. EOF boom fi fi Note "Using \"${MAKEINCLUDE} ${MAKELQUOTE}file${MAKERQUOTE}\" syntax for Makefiles." if [ -z "$MAKEDEPINCLUDE" ]; then if [ "$MKDEPEND" != ":" ]; then $RM xMakedepend if CheckForMakeIncludeSyntax "sinclude xMakedepend"; then Note "Looks like $MAKE supports \"sinclude\" for conditional includes." MAKEDEPINCLUDE="sinclude" else MAKEDEPINCLUDE="$MAKEINCLUDE" fi else MAKEDEPINCLUDE='#' fi fi # # Check whether or not $MAKE automatically sets MAKE # in the Makefiles. If not, we add an explicit define # for places where recursive calls are made. # if [ -z "$SETMAKE" ]; then cat>confMakefile<&5 2>&1 if [ "$M" ]; then SETMAKE= else Note "Looks like $MAKE does not setup MAKE in Makefiles, will compensate." SETMAKE="MAKE = ${MAKE}" fi fi if [ -z "$MAKECXXOVERRIDE" ]; then case $ISGXX-$TARGET in no-*-solaris*|no-*-sunos*) # SunPRO C++ compiler # # Yech, the SunPro C++ compiler < v5 has no option to force a source # file w/ a .c++ suffix to be treated as C++ source code; instead one # must specify file.c++=.C. We patch the Makefiles with explicit # construction rules to do this... # if [ "`$CXX -V 2>&1 | sed 'q' | sed 's/.* C++ \([^ .]*\).*/\1/g'`" -lt "5" ]; then MAKECXXOVERRIDE="=.C"; fi ;; esac fi if [ -z "$CXXFILE" ]; then case $CXX-$TARGET in xlC-*-aix*) CXXFILE="-+";; gcc-*) CXXFILE="-x c++";; *-*darwin*) CXXFILE="-x c++";; CC-*-sco3.2v5.*) CXXFILE="+.c++";; esac fi test "$AR" || AR=`findApp ar $PATH` if [ -z "$AR" ]; then Note "WARNING, could not locate a suitable ar command; using a default." AR=ar fi test "$AROPTS" || AROPTS=rc test "$RANLIB" || RANLIB=`findApp ranlib $PATH` if [ -z "$RANLIB" ]; then Note "WARNING, no ranlib, assuming it's not needed." RANLIB=":" $RM dummy.a if capture $AR rcs dummy.a; then AROPTS=crs Note "Looks like ar has an s option to build symbol tables." fi fi cat>dummy.C<x = 0; delete a; return 0; } EOF # # Look for appropriate C++ runtime support library. # CXXRUNTIME= capture cat dummy.C capture $CXXCOMPILER $ENVOPTS -o dummy dummy.C || { # # Compiler does not provide it automatically, check known libraries. # if [ "$ISGXX" = yes ]; then capture $CXXCOMPILER $ENVOPTS -o dummy dummy.C -lg++ && \ { CXXRUNTIME="-lg++"; } else capture $CXXCOMPILER $ENVOPTS -o dummy dummy.C -lC && \ { CXXRUNTIME="-lC"; } fi } test "$CXXRUNTIME" && { Note "Using explicit $CXXRUNTIME reference for C++ runtime support." } # # XXX we should deduce the shell bugs that require us to use # bash and ksh instead of sh on certain platforms (notably the # BSD-crowd: Linux, BSDI, FreeBSD, NetBSD) but they are very # hard to isolate. We choose bash over ksh over sh; though # this may be iffy (ksh appears to be just as busted some places). # test "$SCRIPT_SH" || SCRIPT_SH=`findApp bash $PATH` test "$SCRIPT_SH" || SCRIPT_SH=`findApp ksh $PATH` test "$SCRIPT_SH" || SCRIPT_SH=`findApp sh $PATH` if [ -z "$SCRIPT_SH" ]; then Note "" Note "WARNING, could not locate a suitable shell for processing the command" Note " scripts included in this distribution; using a default value" Note " /bin/sh." Note "" SCRIPT_SH=/bin/sh else Note "Using $SCRIPT_SH to process command scripts." # Security stuff case $SCRIPT_SH in */sh) ;; */ksh) NOCLOBBER_ON='"set -o noclobber"' NOCLOBBER_OFF='"set +o noclobber"' ;; */bash) NOCLOBBER_ON='"set -o noclobber"' NOCLOBBER_OFF='"set +o noclobber"' ;; esac fi makeDefs() { WARNING="Warning, this file was automatically created by the HylaFAX configure script" $RM confsed1; dumpvars "$VAR1" | sort>confsed1 $RM confsed2; dumpvars "$VAR2" | sort>confsed2 unset POSIXLY_CORRECT $RM xdefs; sed -f confsed1 $SRCDIR/defs.in | sed -f confsed2 >$1 POSIXLY_CORRECT=1 ; export POSIXLY_CORRECT } # NB: save original values for use in checks below OTIFFINC="${TIFFINC}"; x="`relativize ${TIFFINC}`"; TIFFINC="$x" OZLIBINC="${ZLIBINC}"; x="`relativize ${ZLIBINC}`"; ZLIBINC="$x" OREGEXINC="${REGEXINC}"; x="`relativize ${REGEXINC}`"; REGEXINC="$x" makeDefs xdefs # # runMake target rules ... # runMakeX() { target="$1"; shift $RM $target (echo DEPTH=.; echo SRCDIR=.; cat xdefs; for i in "$@"; do echo "$i"; done )>confMakefile captureX ${MAKE} -f confMakefile $target return } runMake() { runMakeX "$@" >&5 return } # # Verify everything is setup for the C++ runtime environment. # CheckForCXXRuntime() { cat>t.c++< int main(){ std::cout << "Hello World!" << std::endl; return 0;} EOF runMake t "t:; \${C++F} \${C++FILE} t.c++${MAKECXXOVERRIDE}" || return $? Note "Looks like the system has a CXX runtime" } CheckForDeprecatedCXXRuntime() { cat>t.c++< int main(){ cout << "Hello World!" << endl; return 0;} EOF runMake t "t:; \${C++F} \${C++FILE} t.c++${MAKECXXOVERRIDE}" || return $? s=$? Note "Looks like the system has a CXX runtime with deprecated headers" HAS_DEPRECATED_CXX=yes } CheckForCXXRuntime || CheckForDeprecatedCXXRuntime || { cat 1>&2 <&2 cat 1>&2 <t.c++<&2 <&2 cat 1>&2 </dev/null 2>&1; then cat 1>&2 <&2 <t.c<t.c<t.c++ capture cat t.c++ runMake t "t:; \${C++F} \${C++FILE} -E t.c++${MAKECXXOVERRIDE}" } if [ "$SGI2FAX" = auto ]; then if CheckForLibrary iopen -limage && CheckForIncludeFile gl/image.h; then Note "Looks like there is support for SGI RGB images, configuring sgi2fax." SGI2FAX=yes else SGI2FAX=no fi fi if [ "$LIBMALLOC" = auto ]; then if CheckForLibrary mallopt -lmalloc; then Note "Looks like -lmalloc is here, using it for memory allocation." LIBMALLOC=yes else LIBMALLOC=no fi fi if [ "$LIBSUN" = auto ]; then if CheckForLibrary getpwnam -lsun; then Note "Looks like -lsun is here, using it for NIS passwd & group stuff." LIBSUN=yes else LIBSUN=no fi fi # # PAM libraries are slightly different. So we run some tests to try to # distinguish between them. # CheckPAMType() { Note "... checking PAM library version" cat>t.c++< /dev/null" && { ENABLE_NLS="#define ENABLE_NLS 1" NLS='yes' CheckForLibraryWithArgs gettext '""' $LIBINTL || { CheckForLibraryWithArgs gettext '""' -lintl || { Note "Couldn't find anything to link for gettext" cat 1>&2 <&2 cat 1>&2 <&2 <&2 <= $1 >/dev/null 2>&1 } # # Emit the port.h definitions that reflect # the system configuration. # EmitConfigurationDefinitions() { # # Do bool stuff # if [ "$CONFIG_NEEDBOOL" = "yes" ]; then Note "... adding definition for C++ bool type" echo echo "#define NEED_BOOL" echo fi # # Select the mode to use when opening FIFO files # in a server process. One should be able to open # them read-only, but on some systems, select will # go into a loop when a client does a close. This # problem can sometimes be avoided by opening the FIFO # read+write on the server side. Otherwise, the # FIFO must be closed after each incoming message # which can lead to delays and/or lost messages # (though we try to compensate by doing some sleeps). # test "$CONFIG_OPENFIFO" || { case $TARGET in *-irix*) if releaseAtLeast 5.2; then CONFIG_OPENFIFO=O_RDWR; else CONFIG_OPENFIFO=O_RDONLY; fi ;; *-ultrix*) CONFIG_OPENFIFO=O_RDWR;; *-solaris*) CONFIG_OPENFIFO=O_RDWR;; *-*-sco*|*-isc*) CONFIG_OPENFIFO=O_RDWR;; *-aix*|*-hpux*) CONFIG_OPENFIFO=O_RDWR;; alpha-dec*) CONFIG_OPENFIFO=O_RDWR;; *-linux*) if releaseAtLeast 1.3.80; then CONFIG_OPENFIFO=O_RDWR; else CONFIG_OPENFIFO=O_RDONLY; fi ;; *-freebsd*) if releaseAtLeast 3.0; then CONFIG_OPENFIFO=O_RDWR; else CONFIG_OPENFIFO=O_RDONLY; fi ;; *sysv4.2uw2.1.3) CONFIG_OPENFIFO=O_RDWR;; # UnixWare 2.1.3 *-sysv5UnixWare*) CONFIG_OPENFIFO=O_RDWR;; # UnixWare 7 *-sysv5OpenUNIX*) CONFIG_OPENFIFO=O_RDWR;; # OpenUNIX 8 *-sysv5SCO_SV*) CONFIG_OPENFIFO=O_RDWR;; # OpenServer 6 *) CONFIG_OPENFIFO=O_RDONLY;; esac } if [ "$CONFIG_OPENFIFO" = "O_RDWR" ]; then Note "... open FIFO files read+write to avoid select bug" else Note "... open FIFO files read-only" fi echo "#define CONFIG_OPENFIFO $CONFIG_OPENFIFO" test "$CONFIG_FIFOBUG" || { case $TARGET in *-solaris*) CONFIG_FIFOBUG=yes;; *-irix5.[01]*) CONFIG_FIFOBUG=yes;; *) CONFIG_FIFOBUG=no;; esac } if [ "$CONFIG_FIFOBUG" = yes ]; then Note "... enable workaround for FIFO select bug" echo '#define FIFOSELECTBUG 1' fi # # On some systems the argument for ioctl(fd, TIOCMBIS, arg) # is passed by value and some by reference. # This can not be deduced with a dynamic check. # test "$CONFIG_TIOCMBIS_ARG_REF" || { case $TARGET in *-sysv4*) CONFIG_TIOCMBISBYREF=yes;; *-sysv5*) CONFIG_TIOCMBISBYREF=yes;; *-linux*) CONFIG_TIOCMBISBYREF=yes;; *-sunos*) CONFIG_TIOCMBISBYREF=yes;; *) CONFIG_TIOCMBISBYREF=yes;; esac } if [ "$CONFIG_TIOCMBISBYREF" = yes ]; then Note "... using call-by-reference for TIOCMBIS ioctl" echo "#define CONFIG_TIOCMBISBYREF $CONFIG_TIOCMBISBYREF" else Note "... using call-by-value for TIOCMBIS ioctl" fi # # On some systems it's necessary to include # and to get the # necessary definitions for TIOCWINSZ. This # should be deduced with a dynamic check. # test "$CONFIG_WINSZHACK" || { case $TARGET in *-*-sco*) CONFIG_WINSZHACK=yes;; *-isc*) CONFIG_WINSZHACK=yes;; *) CONFIG_WINSZHACK=no;; esac } if [ "$CONFIG_WINSZHACK" = yes ]; then Note "... enable additional include files for TIOCGWINSZ" echo "#define CONFIG_WINSZHACK" fi # # On some systems the server does not work properly # if a recursive call is made to the dispatcher to # poll for an message on the FIFO file that says to # abort an outbound or inbound job. The only know # workaround for this problem is to ignore messages # while processing a job. # test "$CONFIG_ABORTBUG" || { case $TARGET in *-aix*) CONFIG_ABORTBUG=yes;; *-hpux*) CONFIG_ABORTBUG=yes;; *) CONFIG_ABORTBUG=no;; esac } if [ "$CONFIG_ABORTBUG" = yes ]; then Note "... disable support for aborting sends & receives" echo '#define SERVERABORTBUG' fi # # On some systems redirecting stdout to the controlling # tty causes stty to issue an annoying warning message. # This should probably be deduced with a dynamic test. # test "$CONFIG_NOSTDINDUP" || { case $TARGET in *-freebsd*) CONFIG_NOSTDINDUP=yes;; *) CONFIG_NOSTDINDUP=no;; esac } if [ "$CONFIG_NOSTDINDUP" = yes ]; then Note "... assuming stty bitches when stdout is set to stdin" echo "#define ONDELAY_NOSTDINDUP" fi # # Some systems cannot handle re-opening the tty device # after the modem is reset. This is true for modems # attached to some terminal servers and also on HP-UX # where the modem control state is lost across opens. # Basically if the OS and modem correctly handle toggling # DTR to reset the modem then it's safe to configure # the software to not re-open the device. # test "$CONFIG_NOREOPEN" || { case $TARGET in *-hpux*) CONFIG_NOREOPEN=yes;; *) CONFIG_NOREOPEN=no;; esac } if [ "$CONFIG_NOREOPEN" = yes ]; then Note "... don't reopen the tty device after reset" echo "#define CONFIG_NOREOPEN" fi # # Workarounds for systems with system include files # that have incorrect function declarations (wrong # parameter types that require explicit casts to make # the code compile with certain compilers). # test "$CONFIG_BADEXECVPROTO" || { # char* const* vs. const char** case $TARGET in *-*-sco3.2v5.*) CONFIG_BADEXECVPROTO=no;; *-*-sco*) CONFIG_BADEXECVPROTO=yes;; *) CONFIG_BADEXECVPROTO=no;; esac } if [ "$CONFIG_BADEXECVPROTO" = yes ]; then Note "... workaround incorrect execv function declaration" echo "#define CONFIG_BADEXECVPROTO" fi test "$CONFIG_BADEXECVEPROTO" || { # char* const* vs. const char** case $TARGET in *-*-sco3.2v5.*) CONFIG_BADEXECVEPROTO=no;; *-*-sco*) CONFIG_BADEXECVEPROTO=yes;; *) CONFIG_BADEXECVEPROTO=no;; esac } if [ "$CONFIG_BADEXECVEPROTO" = yes ]; then Note "... workaround incorrect execve function declaration" echo "#define CONFIG_BADEXECVEPROTO" fi test "$CONFIG_BADGETOPTPROTO" || { # char* const* vs. char** case $TARGET in *-aix*) CONFIG_BADGETOPTPROTO=yes;; *-*-sco3.2v4.*) CONFIG_BADGETOPTPROTO=yes;; *) CONFIG_BADGETOPTPROTO=no;; esac } if [ "$CONFIG_GETOPTPROTO" = yes ]; then Note "... workaround incorrect getopt function declaration" echo "#define CONFIG_GETOPTPROTO" fi test "$CONFIG_BADSELECTPROTO" || { # int* vs. fd_set* case $TARGET in *-hpux10.20*) CONFIG_BADSELECTPROTO=no;; *-hpux11*) CONFIG_BADSELECTPROTO=no;; *-hpux*) CONFIG_BADSELECTPROTO=yes;; *) CONFIG_BADSELECTPROTO=no;; esac } if [ "$CONFIG_BADSELECTPROTO" = yes ]; then Note "... workaround incorrect select function declaration" echo "#define CONFIG_BADSELECTPROTO" fi # # Select the maximum fax UID. This value is stored # in the GID of files so must be constrained by any # system limitations. The maximum value is used for # anonymous logins. The default value of 60002 comes # from NFS/nobody usage on various systems. # test "$CONFIG_MAXGID" || { case $TARGET in *-*-sco*) CONFIG_MAXGID=60000;; *-sysv5UnixWare*) CONFIG_MAXGID=60000;; # UnixWare 7 *-sysv5OpenUNIX*) CONFIG_MAXGID=60000;; # OpenUNIX 8 *-sysv5SCO_SV*) CONFIG_MAXGID=60000;; # OpenServer 6 *-hpux*) CONFIG_MAXGID=60000;; *) CONFIG_MAXGID=60002;; # default esac } if [ "$CONFIG_MAXGID" ]; then if [ "$CONFIG_MAXGID" -le 60002 ]; then Note "... constrain client IDs to be <= $CONFIG_MAXGID" echo "#define CONFIG_MAXGID $CONFIG_MAXGID" else Note "... max client ID too large ($CONFIG_MAXGID); using default" fi fi if [ "$CONFIG_NEEDNGETTEXT" ]; then Note "... need ngettext" echo "#define NEED_NGETTEXT" fi test "$CONFIG_DARWIN_BROKEN_FD_ISSET" || { case $TARGET in *-darwin*) CONFIG_DARWIN_BROKEN_FD_ISSET=yes;; *) ;; esac } if [ "$CONFIG_DARWIN_BROKEN_FD_ISSET" ]; then Note "... work around broken Darwin FD_ISSET" echo "#include " echo "#define __darwin_fd_isset(a,b) __darwin_fd_isset(a, (fd_set*)b)" fi } # # Look for a function in one of the standard libraries # or one of the machine-dependent libraries selected above. # CheckForFunc() { echo "extern int $1(); main(){$1($2);exit(0);}" >t.c capture cat t.c runMake t "t:; \${CC} t.c ${MACHDEPLIBS}" } # # Look for a function declaration in system include files. # AddFuncDecl() { echo "$2"; Note "... add function prototype for $1" } CheckForFuncDecl() { f=$1; shift (for i do echo "#include \"$i\"" done)>t.c++ capture cat t.c++ runMakeX t "t:; \${C++F} \${C++FILE} -E t.c++${MAKECXXOVERRIDE}" |\ stripComments |\ awk '{while($0~/[,(][ \t]*$/){printf"%s",$0;getline}print}' |\ grep "$f[ ]*(.*)" >&5 return } CheckFuncDecl() { f=$1; shift decl=$1; shift CheckForFuncDecl "$f" "$@" || AddFuncDecl "$f" "$decl" } # # Look for a variable declaration in system include files. # CheckForVarDecl() { v="$1"; shift (for i do echo "#include \"$i\"" done)>t.c++ capture cat t.c++ runMakeX t "t:; \${C++F} \${C++FILE} -E t.c++${MAKECXXOVERRIDE}" |\ stripComments |\ grep "$v" >&5 return } CheckVarDecl() { v="$1"; shift decl="$1"; shift CheckForVarDecl "$v" "$@" || \ (echo "$decl"; Note "... add declaration $decl") } # # Look for a #define in system include files. # AddDefine() { echo '#ifndef' $1 echo '#define' "$2" echo '#endif' Note '... add #define for' "$1" } CheckForDefine() { def=$1; shift (for i do echo "#include \"$i\"" done for i in "#ifdef $def" "FOUND" "#endif"; do echo "$i" done )>t.c capture cat t.c runMakeX t 't:; ${CCF} -E t.c' | grep FOUND >&5 } CheckDefine() { def=$1; shift decl=$1; shift CheckForDefine "$def" "$@" || AddDefine "$def" "$decl" } # # Look for a #define with a positive value in system include files. # This is especially useful for POSIX defines which may be defined # to -1 or 0 when the functionnality is not supported. # CheckForPositiveDefine() { def=$1; shift (for i do echo "#include \"$i\"" done for i in "#if defined($def) && ($def > 0L)" "FOUND" "#endif"; do echo "$i" done )>t.c capture cat t.c runMakeX t 't:; ${CCF} -E t.c' | grep FOUND >&5 } CheckTermioFuncDecls() { CheckFuncDecl cfsetospeed \ 'extern int cfsetospeed(const struct termios*, speed_t);' $@ CheckFuncDecl cfsetispeed \ 'extern int cfsetispeed(const struct termios*, speed_t);' $@ CheckFuncDecl tcgetattr 'extern int tcgetattr(int, struct termios*);' $@ CheckFuncDecl tcsetattr \ 'extern int tcsetattr(int, int, const struct termios*);' $@ CheckFuncDecl tcsendbreak 'extern int tcsendbreak(int, int);' $@ CheckFuncDecl tcdrain 'extern int tcdrain(int);' $@ CheckFuncDecl tcflush 'extern int tcflush(int, int);' $@ CheckFuncDecl tcflow 'extern int tcflow(int, int);' $@ } BuildTermiosDotH() { CheckForIncludeFile termios.h || { CheckForIncludeFile sys/termios.h || { bitch "Cannot locate termios.h or sys/termios.h." boom } Note "" Note "No termios.h found; creating one with necessary definitions." (EmitCPlusPlusPrologue _TERMIOS_ echo '#include "sys/termios.h"' CheckTermioFuncDecls sys/termios.h EmitCPlusPlusEpilogue )>xtermios.h mv xtermios.h termios.h; chmod 444 termios.h } } CheckSigvecHandler() { cat>t.c++< #include void sigHUP(int) {} void f() { struct sigvec sv; sv.sv_handler = $1 (sigHUP); (void) sigvec(SIGHUP, &sv, (struct sigvec*) 0); } int main() { f(); return 0; } EOF capture cat t.c++ runMake t "t:; \${C++F} \${C++FILE} -c t.c++${MAKECXXOVERRIDE}" } CheckSigactionHandler() { cat>t.c++< #include void sigHUP(int) {} void f() { struct sigaction sa; sa.sa_handler = $1 (sigHUP); (void) sigaction(SIGHUP, &sa, (struct sigaction*) 0); } int main() { f(); return 0; } EOF capture cat t.c++ runMake t "t:; \${C++F} \${C++FILE} -c t.c++${MAKECXXOVERRIDE}" } CheckSignalHandler() { cat>t.c++< #include void sigHUP(int) {} void f() { (void) signal(SIGHUP, $1 (sigHUP)); } int main() { f(); return 0; } EOF capture cat t.c++ runMake t "t:; \${C++F} \${C++FILE} -c t.c++${MAKECXXOVERRIDE}" } CheckForMMAP() { (cat<<'EOF' /* part of this was lifted from GNU autoconf */ #include #include #include EOF CheckForFunc getpagesize || { cat<<'EOF' #ifdef BSD # ifndef BSD4_1 # define HAVE_GETPAGESIZE # endif #endif #ifndef HAVE_GETPAGESIZE # include # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE # else # ifdef NBPG # define getpagesize() NBPG * CLSIZE # ifndef CLSIZE # define CLSIZE 1 # endif # else # ifdef NBPC # define getpagesize() NBPC # else # define getpagesize() PAGESIZE /* SVR4 */ # endif # endif # endif #endif EOF } cat<<'EOF' extern char* malloc(); static void boom(const char* msg) { printf("%s.\n", msg); exit(1); } int main() { const char* filename = "conftestmmap"; char* buf; char* addr; int i, fd, cc; cc = getpagesize(); buf = malloc(cc); for (i = 0; i < cc; ++i) buf[i] = rand(); fd = open(filename, O_WRONLY|O_CREAT, 0666); if (fd < 0) boom("Cannot open test file"); if (write(fd, buf, cc) != cc) boom("Write to test file failed"); close(fd); fd = open(filename, O_RDONLY); if (fd < 0) boom("Cannot reopen test file"); addr = (char*) mmap(0, cc, PROT_READ, MAP_SHARED, fd, 0); if (addr == (char*) -1) boom("Cannot mmap test file"); for (i = 0; i < cc; ++i) if (buf[i] != addr[i]) boom("Compare of mmap-file contents failed"); exit(0); } EOF )>m.c capture cat m.c runMake m "m:; \${CC} m.c ${MACHDEPLIBS}" && capture ./a.out } CheckForStructExitStatus() { decl=$1; shift (echo '#include ' for i do echo "$i" done cat<t.c++ capture cat t.c++ runMake t "t:; \${C++F} \${C++FILE} t.c++${MAKECXXOVERRIDE}" } CheckForTimeZoneHandling() { (echo '#include ' cat<t.c++ capture cat t.c++ runMake t "t:; \${C++F} \${C++FILE} t.c++${MAKECXXOVERRIDE}" } CheckForTXCD() { cat>t.c< main() { ioctl(0, TXADDCD, "rts"); ioctl(0, TXDELCD, "rts"); } EOF capture cat t.c runMake t 't:; ${CC} t.c' } # # Check for a function declaration in # and if it is missing emit the appropriate decl # along with an include of (for any # FILE definition). Apparently some combinations # of systems+compilers do not react well to # function declarations w/o various definitions # that appear only in stdio.h. # STDIO_H=no CheckStdio() { f=$1 decl="$2" CheckForFuncDecl $f stdio.h || { if [ $STDIO_H = no ]; then echo '#include ' STDIO_H=yes fi AddFuncDecl $f "$decl" } } getConfigTag() { param=`grep "$1:" $2 | sed -e 's/.*:[ ]*\([^ ]*\).*/\1/'` } # # Check if TIFF library is compatible, checking: # $tiff_runlen_t: "uint16" or "uint32" # $tiff_offset_t: "uint32" or "uint64" # $tiff_bytecount_t: "uint32" or "uint64" # "Classic" structure names # CheckLibtiff() { Note "... checking TIFF library version" tiff_runlen_t="" tiff_offset_t="" tiff_bytecount_t="" cat>t.c< #include "tiffio.h" main() { printf( "header_ver=%d lib_ver=%s", TIFFLIB_VERSION, TIFFGetVersion() ); exit(0); } EOF capture cat t.c if runMake t "t:; \${CC} \${CVERSION} ${OTIFFINC} t.c ${LIBTIFF} ${MACHDEPLIBS}"; then header_ver=0 lib_ver="" eval `./a.out | \ sed -n -e 's/header_ver=\([0-9][0-9]*\) lib_ver=.*Version *\([0-9][0-9]*\.[0-9]\).*/\ header_ver=\1;lib_ver=\2/p'` Note " Found tiffio.h version ${header_ver}" Note " Found libtiff version ${lib_ver}" if [ ${header_ver} -ge 19960307 ]; then case ${lib_ver} in 3.4) tiff_runlen_t="uint16" tiff_offset_t="uint32" tiff_bytecount_t="uint32" ;; 3.[56789]) tiff_runlen_t="uint32" tiff_offset_t="uint32" tiff_bytecount_t="uint32" ;; 4.[0]) tiff_runlen_t="uint32" tiff_offset_t="uint64" tiff_bytecount_t="uint64" echo '#define TIFFHeader TIFFHeaderClassic' echo '#define TIFF_VERSION TIFF_VERSION_CLASSIC' echo '#define NEED_TIFFDIRENTRY' ;; esac fi else cat 1>&2 <&2 cat 1>&2 <&2 <' TYPES_H="sys/types.h" if CheckForIncludeFile sys/bsdtypes.h; then Note "... configure use of " echo '#include ' TYPES_H="$TYPES_H sys/bsdtypes.h" fi CheckVarDecl uid_t 'typedef int uid_t;' $TYPES_H CheckVarDecl gid_t 'typedef int gid_t;' $TYPES_H CheckVarDecl mode_t 'typedef int mode_t;' $TYPES_H stdlib.h CheckVarDecl off_t 'typedef long off_t;' $TYPES_H stdlib.h CheckVarDecl pid_t 'typedef int pid_t;' $TYPES_H stdlib.h CheckVarDecl size_t 'typedef unsigned size_t;' $TYPES_H stdlib.h CheckVarDecl dev_t 'typedef int dev_t;' $TYPES_H stdlib.h if CheckForIncludeFile stdint.h; then Note "... configure use of " echo '#define HAVE_STDINT_H 1' TYPES_H="$TYPES_H stdint.h" fi CheckVarDecl intptr_t 'typedef long intptr_t;' $TYPES_H if [ $CONFIG_OSFCNH = auto ]; then if CheckForIncludeFile osfcn.h; then CONFIG_OSFCNH=yes else CONFIG_OSFCNH=no fi fi if [ $CONFIG_OSFCNH = yes ]; then Note "... configure use of " echo '#define HAS_OSFCN_H 1' OSFCNH='osfcn.h' else OSFCNH= fi if CheckForIncludeFile sys/select.h; then Note "... configure use of " echo '#define HAS_SELECT_H 1' SELECTH='sys/select.h' else SELECTH= fi # # Some vendors have changed the socket API so that # call-by-reference parameters that give buffer # lengths are not int; this must be dealt with to # get the code to compile. Note that we only emit # the define if the type is not an int; we do this # so Socket.h can include code that assumes the # default so folks don't have to rerun configure. # # The HP-UX case is a bit peculiar. There socklen_t # is defined as size_t, but in order to use it... # "To use UNIX95/98 style sockets in HP-UX, the libxnet # library needs to be added to the link line. Also, the # macro, _XOPEN_SOURCE, needs to be defined, and the # macro, _XOPEN_SOURCE_EXTENDED, needs to be defined as 1. # Refer to HP-UX manpage, xopen_networking(7) for further # details." Otherwise, we must define # CONFIG_HPUX_SOCKLEN_T_BRAINDAMAGE. # test "$CONFIG_SOCKARGLENTYPE" || { # int vs unsigned long vs ... case $TARGET in # XXX fill in for busted systems *-aix4*) CONFIG_SOCKARGLENTYPE=size_t;; *-hpux11*) CONFIG_SOCKARGLENTYPE=size_t;; *sysv4.2uw2*) CONFIG_SOCKARGLENTYPE=size_t;; *-univel-*) CONFIG_SOCKARGLENTYPE=size_t;; *-sysv5UnixWare*) CONFIG_SOCKARGLENTYPE=size_t;; *-sysv5OpenUNIX*) CONFIG_SOCKARGLENTYPE=size_t;; *-sysv5SCO_SV*) CONFIG_SOCKARGLENTYPE=size_t;; *-freebsd4*) CONFIG_SOCKARGLENTYPE=u_int32_t;; *-freebsd5*) CONFIG_SOCKARGLENTYPE=u_int32_t;; *) CONFIG_SOCKARGLENTYPE=int;; esac } TYPES_H="$TYPES_H sys/socket.h" CheckVarDecl socklen_t "typedef $CONFIG_SOCKARGLENTYPE socklen_t;" $TYPES_H # # Select signal handler type casts. # if [ $ISGXX = yes ]; then # # Must use -pendantic-errors with gcc to insure (sig_t) (...) # is treated as an error instead of a warning when searching # for the proper signal handler types below. # OGCXXOPTS="$GCXXOPTS" GCXXOPTS="$GCXXOPTS -pedantic-errors" makeDefs xdefs fi SIGHANDLERTYPES=" $SIGHANDLERTYPES (sig_t) (SIG_PF) (void(*)(int)) (void(*)()) (int) " SIGHANDLERTYPE= for i in $SIGHANDLERTYPES; do CheckSigactionHandler "$i" && { SIGHANDLERTYPE="#define fxSIGACTIONHANDLER $i" Note "... use $i for sigaction handler type" break; } done # Only look for sigvec if we cannot find a sigaction() type if [ -z "$SIGHANDLERTYPE" ]; then for i in $SIGHANDLERTYPES; do CheckSigvecHandler "$i" && { SIGHANDLERTYPE="#define fxSIGVECHANDLER $i" Note "... use $i for sigvec handler type" break; } done fi echo $SIGHANDLERTYPE SIGHANDLERTYPE= for i in $SIGHANDLERTYPES; do CheckSignalHandler "$i" && { SIGHANDLERTYPE="#define fxSIGHANDLER $i" Note "... use $i for signal handler type" break; } done echo $SIGHANDLERTYPE if [ $ISGXX = yes ]; then GCXXOPTS="$OGCXXOPTS" makeDefs xdefs fi CheckForMMAP && { echo '#define HAS_MMAP 1' Note "... configure use of mmap for memory-mapped files" CheckFuncDecl mmap \ 'extern void* mmap(void*, size_t, int, int, int, off_t);' sys/mman.h CheckFuncDecl munmap 'extern int munmap (caddr_t, int);' sys/mman.h } CheckFuncDecl bzero 'extern void bzero(void *, int);' string.h CheckFuncDecl mkstemp 'extern int mkstemp(char *);' stdlib.h stdio.h unistd.h CheckFuncDecl mkdtemp 'extern char* mkdtemp(char *);' stdlib.h stdio.h unistd.h CheckFuncDecl strerror 'extern char* strerror(int);' string.h CheckFuncDecl strncasecmp \ 'extern int strncasecmp(const char*, const char*, size_t);' string.h CheckFuncDecl strcasecmp \ 'extern int strcasecmp(const char*, const char*);' string.h CheckFuncDecl strdup 'extern char* strdup(const char*);' string.h CheckFuncDecl memset 'extern void* memset(void*, int, size_t);' string.h CheckFuncDecl getpass 'extern char* getpass(const char *);' stdlib.h unistd.h CheckFuncDecl random 'extern long random(void);' math.h stdlib.h CheckFuncDecl srandom 'extern void srandom(int);' math.h stdlib.h CheckFuncDecl floor 'extern double floor(double);' math.h CheckFuncDecl waitpid 'extern pid_t waitpid(pid_t, int *, int);' sys/wait.h CheckForFunc sysconf && { echo '#define HAS_SYSCONF 1' Note "... configure use of sysconf" CheckFuncDecl sysconf 'extern long sysconf(int);' unistd.h } CheckForFunc ulimit && { echo '#define HAS_ULIMIT 1' Note "... configure use of ulimit" CheckFuncDecl ulimit 'extern long ulimit(int, ...);' ulimit.h } CheckForFunc getdtablesize && { echo '#define HAS_GETDTABLESIZE 1' Note "... configure use of getdtablesize" CheckFuncDecl getdtablesize 'extern int getdtablesize(void);' unistd.h } CheckDefine _POSIX_OPEN_MAX '_POSIX_OPEN_MAX 16' limits.h CheckDefine howmany 'howmany(x, y) (((x)+((y)-1))/(y))' $TYPES_H CheckForFuncDecl sigvec signal.h || { echo 'struct sigvec;' AddFuncDecl sigvec \ 'extern int sigvec(int, const struct sigvec*, struct sigvec*);' } CheckForFuncDecl sigaction signal.h || { echo 'struct sigaction;' AddFuncDecl sigaction \ 'extern int sigaction(int, const struct sigaction*, struct sigaction*);' } CheckFuncDecl kill 'extern int kill(pid_t, int);' signal.h CheckFuncDecl close 'extern int close(int);' unistd.h CheckFuncDecl getuid 'extern uid_t getuid(void);' unistd.h CheckFuncDecl geteuid 'extern uid_t geteuid(void);' unistd.h CheckFuncDecl seteuid 'extern int seteuid(uid_t);' unistd.h CheckFuncDecl setegid 'extern int setegid(gid_t);' unistd.h CheckFuncDecl setenv 'int setenv(const char *, const char *, int);' stdlib.h CheckFuncDecl ftruncate 'extern int ftruncate(int, off_t);' unistd.h CheckFuncDecl getdtablesize 'extern int getdtablesize(void);' unistd.h CheckFuncDecl chroot 'extern int chroot(const char *path);' unistd.h # # unistd.h is where many people put it # sys/select.h is for USL-derived code # sys/time.h is for HP systems (sigh) # sys/types.h is for yet other systems (sigh sigh) # CheckForFuncDecl select unistd.h $SELECTH sys/time.h $TYPES_H || { echo 'struct fd_set;' echo 'struct timeval;' AddFuncDecl select \ 'extern int select(int,struct fd_set*,struct fd_set*,struct fd_set*,struct timeval*);' } CheckFuncDecl unlink 'extern int unlink(const char*);' unistd.h CheckFuncDecl read 'extern int read(int, const void*, unsigned int);' unistd.h CheckFuncDecl ioctl 'extern int ioctl(int, int, ...);' unistd.h sys/ioctl.h CheckForFunc fchown && { echo '#define HAS_FCHOWN 1' Note "... configure use of fchown" CheckFuncDecl fchown 'extern int fchown(int, uid_t, gid_t);' unistd.h } CheckFuncDecl gethostname 'extern int gethostname(char*, int);' unistd.h $OSFCNH CheckFuncDecl malloc 'extern void* malloc(size_t);' stdlib.h CheckFuncDecl realloc 'extern void* realloc(void*, size_t);' stdlib.h CheckFuncDecl free 'extern void free(void*);' stdlib.h CheckFuncDecl strtoul \ 'extern unsigned long strtoul(const char*, char**, int);' stdlib.h # # unistd.h is for sco3.2v4.[0-2] and GNU libc (yech!) # CheckFuncDecl getopt \ 'extern int getopt(int, char* const*, const char*);' stdlib.h unistd.h CheckFuncDecl isatty 'extern int isatty(int);' stdlib.h unistd.h CheckVarDecl 'char.*optarg' 'extern char* optarg;' stdlib.h unistd.h CheckVarDecl 'int.*opterr' 'extern int opterr;' stdlib.h unistd.h CheckVarDecl 'int.*optind' 'extern int optind;' stdlib.h unistd.h CheckFuncDecl system 'extern int system(const char*);' stdlib.h CheckFuncDecl mktemp 'extern char* mktemp(char*);' stdlib.h stdio.h unistd.h CheckStdio popen 'extern FILE* popen(const char *, const char *);' CheckStdio pclose 'extern int pclose(FILE*);' CheckStdio fdopen 'extern FILE* fdopen(int, const char*);' CheckStdio snprintf 'extern int snprintf(char*, size_t, const char*,...);' CheckForFuncDecl vsnprintf stdio.h || { echo '#include ' AddFuncDecl vsnprintf 'extern int vsnprintf(char*, size_t, const char*, va_list);' } CheckForDefine fileno stdio.h || { CheckStdio fileno 'extern int fileno(FILE*);' } CheckFuncDecl opendir 'extern DIR* opendir(const char*);' dirent.h CheckFuncDecl syslog 'extern void syslog(int, const char*, ...);' syslog.h CheckForFuncDecl vsyslog syslog.h || { echo '#include ' AddFuncDecl vsyslog 'extern void vsyslog(int, const char*, va_list);' } CheckFuncDecl closelog 'extern void closelog(void);' syslog.h CheckFuncDecl openlog 'extern void openlog(const char*, int, int);' syslog.h CheckForFunc fchmod && { echo '#define HAS_FCHMOD 1' Note "... configure use of fchmod" CheckFuncDecl fchmod 'extern int fchmod(int, mode_t);' \ unistd.h $OSFCNH sys/stat.h libc.h } CheckFuncDecl mknod 'extern int mknod(const char*, mode_t, dev_t);' \ unistd.h sys/stat.h CheckForFuncDecl gettimeofday sys/time.h || { echo 'struct timezone;' echo 'struct timeval;' AddFuncDecl gettimeofday \ 'extern int gettimeofday(struct timeval*, struct timezone*);' } CheckForFuncDecl strftime time.h || { echo 'struct tm;' AddFuncDecl strftime \ 'extern size_t strftime(char*,size_t,const char*,const struct tm*);' } CheckForFuncDecl localtime time.h || { echo 'struct tm;' AddFuncDecl localtime 'struct tm* localtime(const time_t* clock);' } CheckForTimeZoneHandling && { echo '#define HAS_TM_ZONE 1' Note "... configure use of struct tm timezone information" } CheckForFuncDecl setitimer sys/time.h || { echo '#ifdef ITIMER_REAL' echo 'struct itimerval;' AddFuncDecl setitimer \ 'extern int setitimer(int,struct itimerval*,struct itimerval*);' echo '#endif' } CheckFuncDecl setpwent 'extern void setpwent(void);' pwd.h CheckFuncDecl endpwent 'extern void endpwent(void);' pwd.h CheckFuncDecl getpwnam 'extern struct passwd* getpwnam(const char*);' pwd.h case "$TARGET" in *-reno*) ;; *) for i in toupper tolower; do CheckFuncDecl $i "extern int $i(int);" ctype.h done ;; esac CheckForIncludeFile net/errno.h && { Note "... configure use of " echo '#define HAS_NETERRNO_H 1' } CheckForFuncDecl getpeername sys/socket.h || { echo 'struct sockaddr;' AddFuncDecl getpeername 'extern int getpeername(int,struct sockaddr*,int*);' } CheckForFuncDecl getsockname sys/socket.h || { echo 'struct sockaddr;' AddFuncDecl getsockname 'extern int getsockname(int,struct sockaddr*,int*);' } CheckFuncDecl socket 'extern int socket(int, int, int);' sys/socket.h CheckFuncDecl connect 'extern int connect(int, const void*, int);' sys/socket.h CheckForFuncDecl bind sys/socket.h || { echo 'struct sockaddr;' AddFuncDecl bind 'extern int bind(int, const struct sockaddr*, int);' } CheckFuncDecl listen 'extern int listen(int, int);' sys/socket.h CheckFuncDecl getsockopt \ 'extern int getsockopt(int, int, int, const char*, int*);' sys/socket.h CheckFuncDecl setsockopt \ 'extern int setsockopt(int, int, int, const char*, int);' sys/socket.h CheckForFuncDecl accept sys/socket.h || { echo 'struct sockaddr;' AddFuncDecl accept 'extern int accept(int, struct sockaddr*, int*);' } CheckFuncDecl send \ 'extern int send(int, const void*, int, int);' sys/socket.h CheckFuncDecl setutent 'extern void setutent(void);' utmp.h CheckFuncDecl endutent 'extern void endutent(void);' utmp.h CheckForFuncDecl getutent utmp.h || { echo 'struct utmp;' AddFuncDecl getutent 'extern struct utmp* getutent(void);' } CheckForFuncDecl pututline utmp.h || { echo 'struct utmp;' AddFuncDecl pututline \ 'extern struct utmp* pututline(const struct utmp*);' } CheckForFuncDecl gethostbyname netdb.h || { echo 'struct hostent;' AddFuncDecl gethostbyname \ 'extern struct hostent* gethostbyname(const char*);' } CheckForFuncDecl gethostbyaddr netdb.h || { echo 'struct hostent;' AddFuncDecl gethostbyaddr \ 'extern struct hostent* gethostbyaddr(const void*, int, int);' } CheckForFuncDecl getservbyname netdb.h || { echo 'struct servent;' AddFuncDecl getservbyname \ 'extern struct servent* getservbyname(const char*, const char*);' } CheckForDefine LOCK_SH sys/file.h || { AddDefine LOCK_SH 'LOCK_SH 1 /* shared lock */' AddDefine LOCK_EX 'LOCK_EX 2 /* exclusive lock */' AddDefine LOCK_NB 'LOCK_NB 4 /* dont block when locking */' AddDefine LOCK_UN 'LOCK_UN 8 /* unlock */' } CheckFuncDecl flock 'extern int flock(int, int);' sys/file.h CheckForFuncDecl sigsetjmp setjmp.h || { echo '#include ' echo '#ifndef sigsetjmp' AddDefine sigjmp_buf 'sigjmp_buf jmp_buf /* hopefully compatible */' AddFuncDecl sigsetjmp 'extern int sigsetjmp(sigjmp_buf, int);' AddFuncDecl siglongjmp 'extern void siglongjmp(sigjmp_buf, int);' echo '#endif' } CheckForFuncDecl inet_ntoa arpa/inet.h || { echo 'struct in_addr;' AddFuncDecl inet_ntoa 'extern char* inet_ntoa(struct in_addr);' } CheckForIncludeFile sys/mkdev.h && { Note "... configure use of (for SVR4-style lock files)" echo '#define HAS_MKDEV 1' } CheckForIncludeFile locale.h && { Note "... configure use of (internationalization support)" echo '#define HAS_LOCALE 1' } CheckForIncludeFile paths.h && { Note "... configure use of " echo '#include ' } CheckForIncludeFile sys/modem.h && { Note "... configure use of " echo '#define HAS_MODEM_H 1' } CheckForIncludeFile sys/termiox.h && { case $TARGET in *-*-sco3.2v5.*) ;; *) Note "... configure use of SVR4 termiox support" echo '#define HAS_TERMIOX 1' ;; esac } CheckForFunc flock || { # # Emit the necessary #defines for emulating flock # if CheckForFunc fcntl; then echo '#define HAS_FCNTL 1' fi if CheckForFunc lockf; then echo '#define HAS_LOCKF 1' fi } # NB: logwtmp checked above when looking for -lutil test $HAS_LOGWTMP = yes && { # # Configure use of logwtmp in the BSD getty support and # verify that the accompanying logout function is present # also. Note that we put out proper declarations for the # functions since they don't appear to be declared anywhere. # echo '#define HAS_LOGWTMP 1' Note "... configure use of logwtmp (BSD-style wtmp logging)" CheckForFuncDecl logwtmp utmp.h || { AddFuncDecl logwtmp \ 'int logwtmp(const char*, const char*, const char*);' } CheckForLibrary logout -lutil && { echo '#define HAS_LOGOUT 1' Note "... configure use of logout (BSD-style utmp support)" CheckForFuncDecl logout utmp.h || { AddFuncDecl logout 'int logout(const char*);' } } } CheckDefine _PATH_DEV '_PATH_DEV "/dev/"' paths.h CheckDefine _PATH_DEVNULL '_PATH_DEVNULL "/dev/null"' paths.h CheckDefine _PATH_TMP '_PATH_TMP "/tmp/"' paths.h if [ $UTMP = auto ]; then if CheckForIncludeFile utmpx.h; then case $TARGET in *-hpux10.20*) UTMP=utmp;; *-hpux11*) UTMP=utmp;; *-aix4*) UTMP=utmp;; *-aix5*) UTMP=utmp;; *-dec-osf4.0*) UTMP=utmp;; *-osf-5.1a*) UTMP=utmp;; *-linux*) UTMP=utmp;; *) UTMP=utmpx;; esac else UTMP=utmp; fi fi if [ $UTMP = utmpx ]; then Note "... configure use of (extended utmp interface)" echo '#define HAS_UTMPX 1' CheckForDefine _PATH_WTMPX paths.h utmp.h utmpx.h || { if CheckForDefine WTMPX_FILE utmpx.h; then AddDefine _PATH_WTMPX '_PATH_WTMPX WTMPX_FILE' else PATHWTMPX=`findFile wtmpx /etc:/var/adm:/usr/adm` test "$PATHWTMPX" && { AddDefine _PATH_WTMPX "_PATH_WTMPX \"${PATHWTMPX}\"" } fi } # # struct exit_status is defined for all systems with # utmpx support, but SVR4.0.3 headers define the extended # exit status structure *within* struct utmp and then reuse # it within struct utmpx. This does not work for all # compilers so we must look for this case and, if present, # enable a workaround declaration of struct exit_status (sigh). # if CheckForStructExitStatus utmpx '#include '; then echo '#define HAS_UTEXIT 1' echo '#define HAS_EXIT_STATUS 1' elif CheckForStructExitStatus utmpx \ 'struct exit_status { short e_termination; short e_exit; };' \ '#include '; then Note "... add declaration for struct exit_status" echo '#define HAS_UTEXIT 1' echo '#define HAS_EXIT_STATUS 0' fi else Note "... configure use of (normal utmp interface)" CheckForDefine _PATH_UTMP paths.h utmp.h || { if CheckForDefine UTMP_FILE utmp.h; then AddDefine _PATH_UTMP '_PATH_UTMP UTMP_FILE' else PATHUTMP=`findFile utmp /etc:/var/adm:/usr/adm` test "$PATHUTMP" && { AddDefine _PATH_UTMP "_PATH_UTMP \"${PATHUTMP}\"" } fi } CheckForStructExitStatus utmp && { Note "... configure use of extended exit status in utmp" echo '#define HAS_UTEXIT 1' } CheckForDefine _PATH_WTMP paths.h utmp.h || { if CheckForDefine WTMP_FILE utmp.h; then AddDefine _PATH_WTMP '_PATH_WTMP WTMP_FILE' else PATHWTMP=`findFile wtmp /etc:/var/adm:/usr/adm` test "$PATHWTMP" && { AddDefine _PATH_WTMP "_PATH_WTMP \"${PATHWTMP}\"" } fi } fi CheckForDefine RT_NOCHANGE sys/priocntl.h sys/rtpriocntl.h && \ CheckForDefine TS_NOCHANGE sys/priocntl.h sys/tspriocntl.h && { case $TARGET in *-*-sco3.2v5.*) ;; *) Note "... configure use of SVR4 realtime process control interface" echo '#define HAS_PRIOCNTL 1' ;; esac } CheckForDefine FP_NOCHANGE sys/priocntl.h sys/fppriocntl.h && { Note "... called FP instead of RT" echo '#define HAS_FPPRIOCNTL 1' } CheckForDefine NDPRI sys/schedctl.h && { Note "... configure use of IRIX realtime process control interface" echo '#define HAS_SCHEDCTL 1' } CheckForDefine RTPRIO_RTOFF sys/rtprio.h && { Note "... configure use of HP-UX realtime process control interface" echo '#define HAS_RTPRIO 1' } CheckForPositiveDefine _POSIX_PRIORITY_SCHEDULING unistd.h sched.h && { Note "... configure use of POSIX realtime process control interface" echo '#define HAS_POSIXSCHED 1' case $TARGET in *-*-sco3.2v5.*) echo '#define RT_PRIORITY 96';; *-linux*) echo '#define RT_PRIORITY 1';; *) echo '#define RT_PRIORITY 1';; esac } CheckForTXCD && { Note "... configure use of TXADDCD and TXDELCD ioctls" echo '#define HAS_TXCD 1' } if CheckForIncludeFile crypt.h; then Note "... configure use of " echo '#define HAS_CRYPT_H 1' CheckFuncDecl crypt 'extern const char* crypt(const char*, const char*);' unistd.h crypt.h else CheckFuncDecl crypt 'extern const char* crypt(const char*, const char*);' unistd.h stdlib.h fi CheckTermioFuncDecls termios.h if CheckLibtiff; then Note "... add declaration for tiff compatibility" echo "#define tiff_runlen_t ${tiff_runlen_t}" echo "#define tiff_offset_t ${tiff_offset_t}" echo "#define tiff_bytecount_t ${tiff_bytecount_t}" fi if [ "x$LIBPAM" != "x" ]; then CheckPAMType fi CheckForDefine s6_addr32 net/if.h || { case $TARGET in *-*-sysv5*) AddDefine s6_addr32 's6_addr32 S6_un.S6_l' ;; sparc-sun-*) AddDefine s6_addr32 's6_addr32 S6_un.S6_l' ;; esac } if [ "x$HAS_DEPRECATED_CXX" != "x" ]; then Note "... use deprecated CXX headers" echo '#define HAS_DEPRECATED_CXX 1' fi # Emit the version variable that port will always give us. echo "extern const char* HYLAFAX_VERSION_STRING;" EmitCPlusPlusEpilogue )>xport.h mv xport.h port.h; chmod 444 port.h Note "Done creating port.h." } if test -f port.h && CheckPortDotH; then Note "" Note "Using previously created port.h." else $RM xport.h xtermios.h t.c t.c++ a.out port.h termios.h BuildTermiosDotH BuildPortDotH fi Note "" Note "Checking system libraries for functionality to emulate." FUNCS=" flock ftruncate getopt mkstemp mkdtemp random srandom setegid seteuid setvbuf setenv snprintf strcasecmp strtod strtoul writev " for i in $FUNCS; do CheckForFunc $i || { Note "... emulate $i" PORTFUNCS="$PORTFUNCS $i.c" } done # # Now for those functions that need args. # CheckForFunc vsnprintf "(void*)0, 0, (void*)0, (void*)0" || { Note "... emulate vsnprintf" PORTFUNCS="$PORTFUNCS vsnprintf.c" } # # SCO OS 5 #defines syslog as another function # so it is necessary to include syslog.h when # checking if the function is present in the # library (sigh). # CheckForSyslog() { (echo '#include '; echo '#include "port.h"'; echo 'main(){syslog(0,"foo");exit(0);}') >t.c capture cat t.c runMake t "t:; \${CC} t.c ${MACHDEPLIBS}" } CheckForVSyslog() { (echo '#include '; echo '#include '; echo '#include "port.h"'; echo 'main(){va_list ap; vsyslog(0,"foo", ap);exit(0);}') >t.c capture cat t.c runMake t "t:; \${CC} t.c ${MACHDEPLIBS}" } if CheckForSyslog; then CheckForVSyslog || { Note "... emulate vsyslog" PORTFUNCS="$PORTFUNCS vsyslog.c" } else Note "... emulate syslog&co." PORTFUNCS="$PORTFUNCS syslog.c" fi LIBPORT='${PORT}/libport.a' Note "Done checking system libraries." Note "" Note "Checking ZLIB support." # # Verify library is compatible. # cat>t.c<&2 <&2 cat 1>&2 < ${DIRS} The above program checks the version of the ZLIB library to ensure it is suitable for use with HylaFAX. HylaFAX ${VERSION} requires a recent ZLIB software distribution; version 0.95 or newer. If you have the right software, verify that you have the ZLIBINC(location of zlib.h) and LIBZ(location of libz.a/libz.so) configuration parameters set correctly for your system and that any environment variables are setup that are needed to locate a libz DSO at runtime (e.g. LD_LIBRARY_PATH). Also be sure that any relative pathnames are made relative to the top of the build area. EOF boom fi fi Note "Done checking ZLIB support." Note "" Note "Checking TIFF support." # # Location of TIFF binaries # if [ -z "$TIFFBIN" ]; then DIRS="/usr/local/bin /usr/contrib/bin /usr/gnu/bin /usr/bin" for i in $DIRS; do test -x $i/tiff2ps && { TIFFBIN=$i; break; } done fi if [ -z "$TIFFBIN" ]; then cat 1>&2 < /dev/null 2>&1 if [ $? = 0 ]; then $TIFFBIN/tiffcp misc/jbig.tif misc/foo.tif > /dev/null if [ -n "`$TIFFBIN/tiffinfo misc/foo.tif | grep 'Fax DCS'`" ]; then HAVE_JBIGTIFF="#define HAVE_JBIGTIFF 1" Note "JBIG-in-TIFF conversion support found." else Note "JBIG-in-TIFF fax support not found." fi else Note "JBIG-in-TIFF conversion support not found." fi rm -f misc/foo.tif fi Note "Done checking TIFF support." if [ "$DSO" = auto ]; then Note "" Note "Checking for Dynamic Shared Object (DSO) support." case $TARGET in *-irix*) if (findApp rld /lib:/usr/lib:$PATH) >/dev/null 2>&1; then DSOSUF=so DSOOPTS="${CVERSION} -shared -rdata_shared -check_registry \${DEPTH}/${SRCDIR}/port/irix/so_locations -quickstart_info" DSODELAY=-delay_load LLDOPTS='-rpath ${LIBEXEC}' DSO=IRIX CheckCCDSO() { $RM t.c t.o t.${DSOSUF} echo 'int f() { return 0; }'>t.c capture cat t.c runMake t \ 't.o:; ${CCF} -c t.c' \ "t: t.o; \${CCF} ${DSOOPTS} -o t.${DSOSUF} t.o" } CheckCXXDSO() { $RM t.c++ t.o t.${DSOSUF} echo 'int f() { return 0; }'>t.c++ capture cat t.c++ runMake t \ "t.o:; \${C++F} -c \${C++FILE} t.c++${MAKECXXOVERRIDE}" \ "t:t.o; \${C++F} ${DSOOPTS} -o t.${DSOSUF} t.o" } else Note "No runtime loader found, looks like your system does not supports DSOs." DSO=no fi ;; *-linux*) if [ "X${DIR_LIB}" != "X/usr/lib" ]; then USE_RPATH=' -Wl,-rpath,${LIBDIR}' else USE_RPATH='' fi DSOSUF=so DSOOPTS='-shared -fpic -Wl,-soname,$@' LLDOPTS=$USE_RPATH GCOPTS="${GCOPTS} -fpic" GCXXOPTS="${GCXXOPTS} -fpic" DSO=LINUX CheckCCDSO() { $RM t.c t.o t.${DSOSUF} echo 'int f() { return 0; }'>t.c capture cat t.c runMake t \ 't.o:; ${CCF} -c t.c' \ "t: t.o; \${CCF} ${DSOOPTS} -o t.${DSOSUF} t.o" } CheckCXXDSO() { $RM t.c++ t.o t.${DSOSUF} echo 'int f() { return 0; }'>t.c++ capture cat t.c++ runMake t \ "t.o:; \${C++F} -c \${C++FILE} t.c++${MAKECXXOVERRIDE}" \ "t:t.o; \${C++F} ${DSOOPTS} -o t.${DSOSUF} t.o" } ;; *-solaris*) if [ "X${DIR_LIB}" != "X/usr/lib" ]; then USE_RPATH=' -R${LIBDIR}' else USE_RPATH='' fi DSOSUF=so # options here are passed directly to ld, not through g++ first if [ ${ISGCC} = "yes" ] ; then DSOOPTS='-shared -Wl,-G,-h,$@' LLDOPTS="$USE_RPATH -lstdc++" GCOPTS="${GCOPTS} -fpic" GCXXOPTS="${GCXXOPTS} -fpic" else DSOOPTS='-G -h $@' LLDOPTS='-L${UTIL} -R${LIBDIR} -lhylafax-${ABI_VERSION} -lCrun' GCOPTS="${GCOPTS} -Kpic" GCXXOPTS="${GCXXOPTS} -Kpic" fi DSO=SOLARIS CheckCCDSO() { $RM t.c t.o t.${DSOSUF} echo 'int f() { return 0; }'>t.c capture cat t.c runMake t \ 't.o:; ${CCF} -c t.c' \ "t: t.o; \${CCF} ${DSOOPTS} -o t.${DSOSUF} t.o" } CheckCXXDSO() { $RM t.c++ t.o t.${DSOSUF} echo 'int f() { return 0; }'>t.c++ capture cat t.c++ runMake t \ "t.o:; \${C++F} -c \${C++FILE} t.c++${MAKECXXOVERRIDE}" \ "t:t.o; \${C++F} ${DSOOPTS} -o t.${DSOSUF} t.o" } ;; *) Note "There is no support for building HylaFAX as DSOs on your system." DSO=no ;; esac if [ "$DSO" != no ]; then JUNK="$JUNK t.${DSOSUF}" #We need the new shared/DSO OPTS/FLAGS makeDefs xdefs if CheckCCDSO; then if CheckCXXDSO; then Note "Looks like your system supports $DSO-style DSOs." else cat 1>&4 <&4 <&5 2>&1 return } for i in mawk nawk gawk awk; do x=`findApp $i $PATH` if test "$x" && CheckAwk "$x"; then AWK=$x break fi done fi if [ -z "$AWK" ]; then AWK=awk Note "" Note "WARNING, could not locate a suitable AWK for processing the command" Note " scripts included in this software distribution; using $AWK." else Note "Looks like $AWK should be used in command scripts." fi test "$SED" || SED=`findApp sed $PATH` if [ -z "$SED" ]; then SED=sed Note "WARNING, could not locate a suitable SED command; using $SED." fi test "$PATH_SENDMAIL" || \ PATH_SENDMAIL=`findApp sendmail $PATH:/usr/lib:/usr/ucblib` if [ -z "$PATH_SENDMAIL" ]; then cat</dev/null 2>&1; then Note "Looks like $MKFIFO creates FIFO special files." elif test -f conffifo; then # NB: not everyone has test -p Note "Looks like $MKFIFO creates FIFO special files (unable to verify)." else # NB: we can't be certain of this because on some systems # only root can create a FIFO special file Note "WARNING, $MKFIFO may create FIFO special files, but testing failed." fi # # Check if mv -f is supported # if [ -z "$MV_F" ]; then $RM t.c; echo "">t.c if capture $MV -f t.c t.o; then Note "Looks like $MV supports the -f option to force a move." MV_F=-f else Note "WARNING, looks like $MV has no -f option to force move operations;" Note " this may cause problems during installation." MV_F= fi fi # # Check if ln -s creates a symbolic link. # if [ -z "$LN_S" ]; then capture "$RM t.c; $LN -s foo t.c" && LN_S=-s fi if [ -n "$LN_S" ]; then Note "Looks like $LN supports the -s option to create a symbolic link." else Note "WARNING, looks like $LN has no -s option to create symbolic links;" Note " this may cause problems during installation." fi # # Check for email encoders. # test -n "$UUENCODE" && Note "Using uuencode encoder: $UUENCODE" test -n "$BASE64ENCODE" && Note "Using base64 encoder: $BASE64ENCODE" test -n "$QPENCODE" && Note "Using Quoted-Printable encoder: $QPENCODE" test -n "$MIMENCODE" && Note "Using mimencode for compatibility: $QPENCODE" # # Pick install mechanism. # if [ -z "$INSTALL" ]; then case $TARGET in *-irix*) INSTALL=`findApp install /sbin:$PATH`;; *) INSTALL='${SHELL} ${PORT}/install.sh';; esac fi # Location SysV style init scripts if [ -z "$DIR_SYSVINIT" ]; then DIR_SYSVINITS=" /etc/rc.d/init.d /etc/init.d " case $TARGET in *-sunos*) DIR_SYSVINITS="$DIR_SYSVINITS $DIR_SBIN";; *-hpux*) DIR_SYSVINITS="/sbin/init.d $DIR_SYSVINITS";; *-dec-osf*) DIR_SYSVINITS="/sbin/init.d $DIR_SYSVINITS";; *) ;; esac DIR_SYSVINIT= for i in $DIR_SYSVINITS; do test -d $i && { DIR_SYSVINIT=$i; break; } done fi if [ "$SYSVINIT" = auto ]; then if test -d "$DIR_SYSVINIT"; then SYSVINIT=yes Note "Looks like a SysV-style init is used, enabling installation of startup code." else SYSVINIT=no fi fi if [ "$SYSVINIT" = yes ]; then Note "Looks like SysV init scripts go in $DIR_SYSVINIT." fi if [ "$SYSVINIT" = yes ]; then if [ -z "$DIR_SYSVINITSTART" ]; then case $TARGET in *-linux*) DIR_SYSVINITSTART="../rc2.d ../rc3.d ../rc4.d ../rc5.d";; *) DIR_SYSVINITSTART="../rc2.d";; esac fi if [ -z "$DIR_SYSVINITSTOP" ]; then case $TARGET in *-linux*) DIR_SYSVINITSTOP="../rc0.d ../rc1.d ../rc6.d";; *-solaris*) DIR_SYSVINITSTOP="../rc0.d ../rc1.d ../rcS.d";; *sysv4.2uw2*) DIR_SYSVINITSTOP="../rc0.d ../rc1.d";; *-sysv5UnixWare*) DIR_SYSVINITSTOP="../rc0.d ../rc1.d";; *-sysv5OpenUNIX*) DIR_SYSVINITSTOP="../rc0.d ../rc1.d";; *) DIR_SYSVINITSTOP="../rc0.d";; esac fi if [ -z "$NAME_SYSVINITSTART" ]; then case $TARGET in *-hpux*) NAME_SYSVINITSTART="S905hylafax" ;; *-linux*) NAME_SYSVINITSTART="S97hylafax" ;; *-*-sco3.2v5*) NAME_SYSVINITSTART="S90hylafax" ;; *-sysv5SCO_SV*) NAME_SYSVINITSTART="S90hylafax" ;; *) NAME_SYSVINITSTART="S80hylafax" ;; esac fi if [ -z "$NAME_SYSVINITSTOP" ]; then case $TARGET in *-hpux*) NAME_SYSVINITSTOP="K095hylafax" ;; *-solaris*) NAME_SYSVINITSTOP="K20hylafax" ;; *) NAME_SYSVINITSTOP="K05hylafax" ;; esac fi fi # now to keep from breaking etc/Makefile if [ -z "$DIR_SYSVINITSTART" ]; then DIR_SYSVINITSTART="dir_sysvinitstart_set_to_non_null_string" fi if [ -z "$DIR_SYSVINITSTOP" ]; then DIR_SYSVINITSTOP="dir_sysvinitstop_set_to_non_null_string" fi Note "Done selecting programs." # # User-changable configuration parameters section. # Anything selected here is presented to the user # and may be interactively changed. # Note "" Note "Selecting default HylaFAX configuration parameters." Note "" # # Fill in any other configuration parameters not # setup in the site and local files. # # # Fax user GID # if [ -z "$FAXGID" ]; then case $TARGET in *-aix*) FAXGID=uucp;; *-bsdi*) FAXGID=uucp;; *freebsd2.1*) FAXGID=uucp; break;; # Not sure when this changed.. *bsd*) FAXGID=dialer;; *-hpux*) FAXGID=sys;; *-irix*) FAXGID=nuucp;; *-isc*) FAXGID=uucp;; *-linux*) FAXGID=uucp;; *-*-sco*) FAXGID=uucp;; *-solaris*) FAXGID=uucp;; *-sunos*) FAXGID=uucp;; *-sysv4*) FAXGID=uucp;; *-sysv5*) FAXGID=uucp;; *-ultrix*) FAXGID=uucp;; *) FAXGID=uucp for i in uucp dialer nuucp sys; do grep "^${i}:" /etc/group >/dev/null 2>&1 && { FAXGID=$i; break; } done ;; esac fi Note "Using uid $FAXUID and gid $FAXGID for controlling access to fax stuff." # # System installation group ID. # if [ -z "$SYSGID" ]; then case $TARGET in *-aix*) SYSGID=sys;; *netbsd*) SYSGID=wheel;; *bsd*) SYSGID=bin;; *-hpux*) SYSGID=bin;; *-irix*) SYSGID=sys;; *-isc*) SYSGID=sys;; *-linux*) SYSGID=bin;; *-*-sco*) SYSGID=sys;; *-solaris*) SYSGID=sys;; *-sunos*) SYSGID=bin;; *-sysv4*) SYSGID=sys;; *-sysv5*) SYSGID=sys;; *-ultrix*) SYSGID=bin;; *) SYSGID=sys for i in sys bin; do grep "^${i}:" /etc/group >/dev/null 2>&1 && { SYSGID=$i; break; } done ;; esac fi Note "Using uid $SYSUID and gid $SYSGID for installing programs." if [ -z "$FILLORDER" ]; then # # Host bit order within a word. # case $TARGET in mips-dec-*) FILLORDER=LSB2MSB;; i[3-6]86-*) FILLORDER=LSB2MSB;; *) FILLORDER=MSB2LSB;; esac fi CPU=`echo $TARGET | sed 's/-.*//'` Note "Using $FILLORDER bit order for your $CPU cpu." # SVR4 packaging stuff if [ -z "$PKG_ARCH" ]; then PKG_ARCH=$CPU fi # # Style of getty support. # if [ "$GETTY" = auto ]; then case $TARGET in *bsd*) GETTY=BSD;; *-sunos*) GETTY=BSD;; *-ultrix*) GETTY=BSD;; *darwin*) GETTY=BSD;; *) GETTY=SysV;; esac fi Note "Looks like you need $GETTY getty support." if [ -z "$PATH_GETTY" ]; then if CheckForDefine _PATH_GETTY paths.h; then Note "Using _PATH_GETTY from as the program to exec for a data call." else # # NB: use findFile instead of findApp because on some # systems this file is mode 544; so if configure # is run by an unprivileged user the file will not # be located. # PATH_GETTY=`findFile ttymon /usr/lib/saf:/usr/libexec:/sbin:$PATH` test -z "$PATH_GETTY" && \ PATH_GETTY=`findApp agetty /usr/libexec:/sbin:$PATH` test -z "$PATH_GETTY" && \ PATH_GETTY=`findApp mgetty /usr/libexec:/sbin:$PATH` test -z "$PATH_GETTY" && \ PATH_GETTY=`findApp getty /usr/libexec:/sbin:$PATH` if [ -z "$PATH_GETTY" ]; then PATH_GETTY=/etc/getty Note "" Note "WARNING, could not locate a suitable getty program to exec for a" Note " data call; using a default value $PATH_GETTY." Note "" else Note "Looks like $PATH_GETTY is the program to exec for a data call." fi fi else Note "Using $PATH_GETTY as the program to exec for a data call." fi # vgetty support if [ -z "$PATH_VGETTY" ]; then PATH_VGETTY=`findApp vgetty /usr/libexec:/sbin:$PATH` if [ -z "$PATH_VGETTY" ]; then PATH_VGETTY=/bin/vgetty Note "WARNING, no vgetty program found to handle a voice call, using $PATH_VGETTY." else Note "Looks like $PATH_VGETTY is the program to exec for a voice call." fi else Note "Using $PATH_VGETTY as the program to exec for a voice call." fi # egetty support if [ -z "$PATH_EGETTY" ]; then PATH_EGETTY=`findApp egetty /usr/libexec:/sbin:$PATH` if [ -z "$PATH_EGETTY" ]; then PATH_EGETTY=/bin/egetty Note "WARNING, no egetty program found, using $PATH_EGETTY." else Note "Looks like $PATH_EGETTY is the program to exec for an extern call." fi else Note "Using $PATH_EGETTY as the program to exec for an extern call." fi # # UUCP lock file type and location. # if [ "$LOCKS" = auto ]; then case $TARGET in *-aix*) LOCKS=ascii;; *-*-sco*) LOCKS="-ascii";; *-sysv2*) LOCKS=binary;; *-hpux*) LOCKS=binary;; *-sysv4*) LOCKS="+ascii";; *-sysv5SCO_SV6*) LOCKS="-ascii";; *-sysv5*) LOCKS="+ascii";; *-solaris*) LOCKS="+ascii";; *-freebsd*) LOCKS=ascii;; *-netbsd*) LOCKS=ascii;; *bsd*) LOCKS=binary;; *) LOCKS=ascii;; esac fi Note "Looks like you use ${LOCKS}-style UUCP lock files." if [ -z "$DIR_LOCKS" ]; then LOCKDIRS=" /var/spool/locks /usr/spool/locks /var/spool/lock /usr/spool/lock /var/spool/uucp /usr/spool/uucp " case $TARGET in *-aix*) LOCKDIRS="/etc/locks $LOCKDIRS";; *-linux*) LOCKDIRS="/var/lock/uucp /var/lock $LOCKDIRS";; *-*-sco*) LOCKDIRS="/usr/spool/uucp $LOCKDIRS";; esac DIR_LOCKS= for i in $LOCKDIRS; do test -d $i && { DIR_LOCKS=$i; break; } done fi if [ -z "$DIR_LOCKS" ]; then DIR_LOCKS=/var/spool/uucp Note "WARNING, could not locate a directory for UUCP lock files," Note "guessing that UUCP lock files go in $DIR_LOCKS." else Note "Looks like UUCP lock files go in $DIR_LOCKS." fi bitchExecutable() { echo "" echo "WARNING, $1 does not seem to be an executable program;" echo " you may need to correct this before starting up the fax server." ls -lL $1 echo "" } # # PostScript package and RIP location. # PickRIP() { if [ -z "$PATH_GSRIP" ]; then GSLOCS=" /usr/local/bin/gs /usr/contrib/bin/gs /usr/gnu/bin/gs /opt/gnu/bin/gs /usr/bin/gs " for i in $GSLOCS; do # verify Ghostscript was linked with the tiffg3 device driver capture "$i -h 2>&1 | grep tiffg3" && { PATH_GSRIP=$i; break; } done fi case $PS in dps) PATH_PSRIP=$PATH_DPSRIP;; imp) PATH_PSRIP=$PATH_IMPRIP;; gs) PATH_PSRIP=$PATH_GSRIP;; esac } CheckRIP() { if [ -x "$PATH_PSRIP" ]; then if [ $PS = gs ]; then # verify Ghostscript was linked with the tiffg3 device driver capture "$PATH_PSRIP -h 2>&1 | grep tiffg3" || cat<= 6.2 >/dev/null; then PS=gs; else PS=dps; fi ;; *) PS=gs;; esac fi Note "Looks like the $PS imager package should be used." PickRIP Note "Looks like $PATH_PSRIP is the PostScript RIP to use." CheckRIP # # Ghostscript Fontmap File # getGSFonts() { if [ ! "$PS" = gs ] && [ -n $PATH_PSRIP ];then return 1 fi $PATH_PSRIP -h | $AWK -F '[ ]' ' BEGIN { start = 0; } /Search path:/ { start = 1 } { if (start == 1) { if ($1 == "") { gsub(" ","") gsub("^[.]","") gsub("^:","") printf "%s", $0 } else if ($1 != "Search") start = 0 } } ' return 0 } case $TARGET in *-freebsd*) PATH_AFM=/usr/local/lib/afm ;; *) if [ -z "$FONTMAP" ]; then FONTMAP=`getGSFonts`; fi ;; esac Note "Setting the Fontmap path to $FONTMAP" # # Location of Adobe Font Metric files. # if [ -z "$PATH_AFM" ]; then # if the fontmap path is available use that # else just guess if [ -n "$FONTMAP" ]; then PATH_AFM=$FONTMAP else DIR_AFMS=" /usr/lib/afm /usr/local/lib/afm /usr/local/share/ghostscript/fonts /usr/local/lib/ghostscript/fonts /usr/share/ghostscript/fonts /usr/gnu/lib/ghostscript/fonts /opt/gnu/lib/ghostscript/fonts /usr/lib/ghostscript/fonts /usr/lib/gnu/ghostscript/fonts " case $TARGET in *-irix*) DIR_AFMS="/usr/lib/DPS/AFM $DIR_AFMS";; *-bsdi*) DIR_AFMS="/usr/contrib/lib/flexfax/afm $DIR_AFMS";; *-sunos*) DIR_AFMS="/usr/openwin/lib/fonts/afm $DIR_AFMS";; esac PATH_AFM= for i in $DIR_AFMS; do test -d $i && { PATH_AFM=$i; break; } done fi fi if [ -z "$PATH_AFM" ]; then # put it where ghostscript normally puts things PATH_AFM=/usr/local/lib/ghostscript/fonts Note "WARNING, could not locate a directory with font metric information," Note "guessing that font metric information goes in $PATH_AFM." else Note "Looks like font metric information goes in $PATH_AFM." fi # # Setup manual page-related stuff. # # Manual pages are processed according to: # 1. Section organization (BSD or System V) # 2. Pre-formatted (w/ nroff) or source. # 3. Compressed (compress, gzip, pack) or uncompressed. # 4. Whether or not the FlexFAX ``F'' suffix must be # stripped for pages to be found (only for 4F pages). # if [ -z "$DIR_MAN" ]; then MANPATH=" $MANPATH /usr/local/man /usr/contrib/man /usr/catman/local " DIR_MAN= for i in $MANPATH; do test -d $i && { DIR_MAN=$i; break; } done test -z "$DIR_MAN" && DIR_MAN=/usr/local/man fi Note "Looks like manual pages go in $DIR_MAN." if [ -z "$MANSCHEME" ]; then case $TARGET in *-bsdi*|*-netbsd*) MANSCHEME=bsd-nroff-gzip-0.gz;; *-freebsd*) MANSCHEME=bsd-source-cat;; *-linux*) MANSCHEME=bsd-source-cat;; *-ultrix*) MANSCHEME=bsd-source-cat;; *-sunos*) MANSCHEME=bsd-source-cat-strip;; *-sysv[234]*) MANSCHEME=sysv-source-cat-strip;; *-hpux*) MANSCHEME=sysv-source-cat-strip;; *-solaris*) MANSCHEME=sysv-source-cat-strip;; *-aix*) MANSCHEME=sysv-source-strip;; *-isc*|*-*-sco*) MANSCHEME=sysv-source-cat;; *-irix*) MANSCHEME=sysv-nroff-compress-Z;; *) # # Try to deduce the setup from existing manual pages. # XXX needs more work XXX # MANSCHEME=sysv-source-cat if [ -d /usr/share/man ]; then if [ -d /usr/share/man/u_man ]; then MANSCHEME=sysv-source-cat elif [ -d /usr/share/man/man8 ]; then MANSCHEME=bsd-source-cat fi elif [ -d /usr/share/catman ]; then if [ -d /usr/share/catman/u_man ]; then MANSCHEME=sysv-nroff-cat elif [ -d /usr/share/catman/man8 ]; then MANSCHEME=bsd-nroff-cat fi fi ;; esac fi Note "Looks like manual pages should be installed with $MANSCHEME." # # Figure out which brand of echo we have and define # prompt and print shell functions accordingly. # if [ `echo foo\\\c`@ = "foo@" ]; then prompt() { echo "$* \\c" } elif [ "`echo -n foo`@" = "foo@" ]; then prompt() { echo -n "$* " } else prompt() { echo "$*" } fi # # Prompt the user for a string that can not be null. # promptForNonNullStringParameter() { x="" val="$1" desc="$2" while [ -z "$x" ]; do prompt "$desc [$val]?"; read x if [ "$x" ]; then # strip leading and trailing white space x=`echo "$x" | sed -e 's/^[ ]*//' -e 's/[ ]*$//'` else x="$val" fi done param="$x" } # # Prompt the user for a numeric value. # promptForNumericParameter() { x="" val="$1" desc="$2" while [ -z "$x" ]; do prompt "$desc [$val]?"; read x if [ "$x" ]; then # strip leading and trailing white space x=`echo "$x" | sed -e 's/^[ ]*//' -e 's/[ ]*$//'` match=`expr "$x" : "\([0-9]*\)"` if [ "$match" != "$x" ]; then echo "" echo "This must be entirely numeric; please correct it." echo "" x=""; fi else x="$val" fi done param="$x" } promptForImagerPackage() { x="" while [ -z "$x" ]; do prompt "PostScript imager package [$PS]?"; read x if [ "$x" ]; then # strip leading and trailing white space x=`echo "$x" | sed -e 's/^[ ]*//' -e 's/[ ]*$//'` case "$x" in [dD]ps|DPS) x="dps";; [gG]s|[gG]host[sS]cript) x="gs";; imp) x="imp";; *) cat <--[-] where: is either "bsd" for BSD-style section organization (e.g. file formats in section 5) or "sysv" for System V-style organization (e.g. file formats in section 4). is either "nroff" to force installation of formatted materials (using nroff) or "source" to get the nroff source installed. is either the name of a program to compress the manual pages (gipz, compress, pack) or "cat" for uncompressed data. is either the file suffix to convert installed pages to (e.g. 0.gz for gzip-compressed pages under BSD) or "strip" to force the normal ".4f" suffix to be converted to ".4" (or ".5" if using the BSD organization). If no - is specified then filenames are not converted when they are installed. Common schemes are: bsd-nroff-gzip-0.gz compressed formatted pages for BSD bsd-source-cat nroff source w/ BSD organization sysv-source-cat-strip nroff source for SysV w/o .4f suffix sysv-source-cat nroff source for SysV as-is EOF x="";; esac else x="$MANSCHEME" fi done MANSCHEME="$x" } getPageSizeInfo() { pat=`grep '^default' $1 | \ sed -e 's/default[ ]*//' -e 's/[ ][ ]*/\[ \]*/g'` param=`grep "$pat" $1 | sed -e 's/ .*//;q'` } printConfig1() { cat< accepts the displayed parameters." echo "A number lets you change the numbered parameter." echo "" ;; esac ok=skip fi done fi if [ $QUIET = no ]; then ok=skip while [ "$ok" != y ] && [ "$ok" != yes ]; do if [ "$ok" != skip ]; then for i in 15 16 17 18 19 20 21 22 23 24 25 26 27 ; do promptForParameter $i; done fi printConfig2 checkForExecutable $PATH_SENDMAIL checkForExecutable $PATH_GETTY if [ $INTERACTIVE = no ]; then ok=yes else prompt "Are these ok [yes]?"; read ok test -z "$ok" && ok=yes case "$ok" in 1[5-9]|2[0-7]) promptForParameter $ok;; [yY]*|[nN]*) continue;; ?*) echo "" echo "\"y\", \"yes\", or accepts the displayed parameters." echo "A number lets you change the numbered parameter." echo "" ;; esac ok=skip fi done fi $RM config.cache; dumpvals |sort> config.cache case $MANSCHEME in bsd-source-*) MANAPPS=man1 MANSYS=man8 MANFILES=man5;; bsd-nroff-*) MANAPPS=cat1 MANSYS=cat8 MANFILES=cat5;; sysv-source-*) MANAPPS=man1 MANSYS=man1 MANFILES=man4;; sysv-nroff-*) MANAPPS=cat1 MANSYS=cat1 MANFILES=cat4;; esac case $MANSCHEME in bsd-*-strip) MANNUM4_5=5 MANNUM1_8=8;; bsd-*) MANNUM4_5=5F MANNUM1_8=8C;; sysv-*-strip) MANNUM4_5=4 MANNUM1_8=1;; sysv-*) MANNUM4_5=4F MANNUM1_8=1M;; esac case $MANSCHEME in *-source-*) MANCVT='${MANSED} $? >$@';; *-nroff-gzip-*) MANCVT='${MANSED} $? | nroff -man | gzip > $@';; *-nroff-pack-*) MANCVT='${MANSED} $? | nroff -man | pack > $@';; *-nroff-com*-*) MANCVT='${MANSED} $? | nroff -man | compress > $@';; *-nroff-cat-*) MANCVT='${MANSED} $? | nroff -man > $@';; esac case $MANSCHEME in *-0|*-0.gz|*-0.Z|*-gz|*-Z|*-z) suf=`echo $MANSCHEME | $SED 's/.*-/./'` A='`echo $$i | sed' B='`' # workaround shell bugs MANCAPPNAME="$A s/\\\\.1\$\$/$suf/$B" MANCFILENAME="$A s/\\\\.4f\$\$/$suf/$B" MANSAPPNAME="$A s/\\\\.1m\$\$/$suf/$B" MANSFILENAME="$A s/\\\\.4f\$\$/$suf/$B" ;; bsd-*-strip) MANCAPPNAME='$$i' MANCFILENAME='`echo $$i | sed s/\\.4f$$/.5/`' MANSAPPNAME='`echo $$i | sed s/\\.1m$$/.8/`' MANSFILENAME='`echo $$i | sed s/\\.4f$$/.5/`' ;; *-strip) MANCAPPNAME='$$i' MANCFILENAME='`echo $$i | sed s/\\.4f$$/.4/`' MANSAPPNAME='`echo $$i | sed s/\\.1m$$/.1/`' MANSFILENAME='`echo $$i | sed s/\\.4f$$/.4/`' ;; bsd-*) MANCAPPNAME='$$i' MANCFILENAME='`echo $$i | sed s/\\.4f$$/.5f/`' MANSAPPNAME='`echo $$i | sed s/\\.1m$$/.8c/`' MANSFILENAME='`echo $$i | sed s/\\.4f$$/.5f/`' ;; *) MANCAPPNAME='$$i' MANCFILENAME='$$i' MANSAPPNAME='$$i' MANSFILENAME='$$i' ;; esac Note "" if [ $GS = yes ]; then test -d $SRCDIR/gs || { Note "" Note "WARNING, no Ghostscript build directory exists; disabling building" Note "and installation of Ghostscript from source (GS=no)." Note "" GS=no } fi if [ $DPS = yes ]; then test -d $SRCDIR/dps || { Note "" Note "WARNING, no DPS build directory exists; disabling building" Note "and installation of ps2fax for IRIX (DPS=no)." Note "" DPS=no } fi if [ $IMP = yes ]; then test -d $SRCDIR/imp || { Note "" Note "WARNING, no Impressario build directory exists; disabling building" Note "and installation of the Impressario 2.1 back-end for IRIX (IMP=no)." Note "" IMP=no } fi # # Convert default page size name to an entry that goes # in the pagesizes database file. # F=$SRCDIR/libhylafax/pagesizes test -f $F.in || { bitch "$F.in is missing; this should be part of the distribution." boom } DEFPAGESIZE=`grep "$PAGESIZE" $F.in | $SED -e 's/[^ ]*/default/;q'` x="`relativize ${LIBTIFF}`"; LIBTIFF="$x" x="`relativize ${LIBZ}`"; LIBZ="$x" x="`relativize ${LIBREGEX}`"; LIBREGEX="$x" x="`relativize ${LIBDB}`"; LIBDB="$x" x="`relativize ${LIBINTL}`"; LIBINTL="$x" # NB: these should be sorted alphabetically $RM confsed1; dumpvars "$VAR1" | sort > confsed1 $RM confsed2; dumpvars "$VAR2" | sort > confsed2 SedConfigFiles() { for F do test -f $SRCDIR/$F.in || { bitch "$SRCDIR/$F.in is missing; this should be part of the distribution." boom } dir=`echo $F | $SED 's;/[^/]*$;;'` if [ $dir != $F ] && [ ! -d $dir ]; then Note "Creating $dir directory" $MKDIR $dir fi suffix=`echo $F | $SED 's/.*\.//'` if [ "$suffix" = h ] || [ "$suffix" = po ]; then # # Compare old and new versions so that include files # are only updated when something has changed--this # saves time for subsequent makes. Note we screen # out use of @DATE@ 'cuz otherwise that'll mess up # the comparison (this assumes dates are used in lines # of the form DATE: @DATE@). # unset POSIXLY_CORRECT $RM $F.new; $SED -f confsed1 $SRCDIR/$F.in | $SED -f confsed2 > $F.new POSIXLY_CORRECT=1 ; export POSIXLY_CORRECT $RM confx; $SED '/D[aA][tT][eE]:/d' $F.new >confx $RM confy; $SED '/D[aA][tT][eE]:/d' $F >confy 2>/dev/null if cmp -s confx confy >/dev/null 2>&1; then $RM $F.new else Note "Creating $F from $SRCDIR/$F.in" $RM $F; $MV $F.new $F; $CHMOD 444 $F fi else Note "Creating $F from $SRCDIR/$F.in" unset POSIXLY_CORRECT if $SED -f confsed1 $SRCDIR/$F.in | $SED -f confsed2 >$F.new; then POSIXLY_CORRECT=1 ; export POSIXLY_CORRECT $RM $F; $MV $F.new $F; $CHMOD 444 $F else POSIXLY_CORRECT=1 ; export POSIXLY_CORRECT cat 1>&2 <$F.new failed. Aborting without cleaning up files so you can take a look... EOF exit 1 # NB: don't use boom/die fi fi done } # # Configuration File Generation # # The following files are created using the parameters determined above: # # defs master make include file for the source code # rules make definitions for building from source code # config.h master definitions compiled into code # */Makefile make rules files # port/install.sh SGI install program emulation script # port/mkdepend makefile dependency generator (if configured) # etc/faxsetup.sh script for setting up a machine # etc/faxaddmodem.sh script for adding/configuring a modem # etc/probemodem.sh script for probing a modem for its capabilities # etc/hylafax SysV-style init script for HylaFAX servers # faxcover/edit-faxcover.sh script to edit faxcover.ps # util/xferfaxstats.sh script for transmit statistics accounting # util/recvstats.sh script for receive statistics accounting # util/faxcron.sh script for cleaning up the spooling area (run from cron) # libhylafax/pagesizes client page dimensions database (has default page size) # pkg/cpkginfo SVR4 package stuff (client package info) # pkg/cproto.stub SVR4 package stuff (client prototype stub) # pkg/crequest SVR4 package stuff # pkg/make_proto.sh SVR4 package stuff (script for making prototype files) # pkg/postinstall SVR4 package stuff # pkg/postremove SVR4 package stuff # pkg/spkginfo SVR4 package stuff (server package info) # pkg/sproto.stub SVR4 package stuff (server prototype stub) # pkg/srequest SVR4 package stuff # CONF_FILES=" defs config.h rules Makefile config/Makefile etc/Makefile faxalter/Makefile faxcover/Makefile faxd/Makefile faxmail/Makefile faxrm/Makefile faxstat/Makefile hfaxd/Makefile libhylafax/Makefile man/Makefile sendfax/Makefile sendpage/Makefile util/Makefile port/Makefile port/install.sh port/version.c libhylafax/pagesizes etc/faxsetup.sh etc/faxaddmodem.sh etc/probemodem.sh etc/hylafax faxcover/edit-faxcover.sh util/xferfaxstats.sh util/recvstats.sh util/faxcron.sh util/archive.sh util/dictionary.sh util/common-functions.sh util/faxrcvd.sh util/mkcover.sh util/notify.sh util/notify-4.1.sh util/notify-4.2.sh util/pcl2fax.sh util/pollrcvd.sh util/ps2fax.dps.sh util/ps2fax.gs.sh util/pdf2fax.gs.sh util/ps2fax.imp.sh util/tiff2fax.sh util/wedged.sh util/tiff2pdf.sh pkg/Makefile pkg/cpkginfo pkg/cproto.stub pkg/crequest pkg/make_proto.sh pkg/postinstall pkg/postremove pkg/spkginfo pkg/sproto.stub pkg/srequest " SedConfigFiles $CONF_FILES test $DPS = yes && SedConfigFiles dps/Makefile test $GS = yes && SedConfigFiles gs/Makefile test $IMP = yes && SedConfigFiles imp/Makefile test "$MKDEPEND" != ":" && SedConfigFiles port/mkdepend test $SGI2FAX = yes && SedConfigFiles sgi2fax/Makefile test $REGEX = yes && SedConfigFiles regex/Makefile test $NLS = yes && SedConfigFiles po/Makefile po/version.po test -f $SRCDIR/MLA/VERSION && SedConfigFiles MLA/Makefile if [ "$MAKEDEPINCLUDE" != "sinclude" ]; then Note "Setting up make dependency files." # # Setup null make dependency files so that we can include # it w/o problem. Some systems have conditional include # support in their make, but others do not, so we use an # unconditional include and setup everthing as null here # DEPEND=". faxalter faxcover faxd faxmail faxrm faxstat hfaxd libhylafax sendfax sendpage util man etc config port " test $GS = yes && DEPEND="$DEPEND gs" test $SGI2FAX = yes && DEPEND="$DEPEND sgi2fax" test $REGEX = yes && DEPEND="$DEPEND regex" test $NLS = yes && DEPEND="$DEPEND po" test -f $SRCDIR/MLA/VERSION && DEPEND="$DEPEND MLA" test -d $SRCDIR/faxview && test -d faxview && DEPEND="$DEPEND faxview" for i in $DEPEND; do test -f $i/Makedepend || cp /dev/null $i/Makedepend done fi Note "Done." $RM $JUNK exit 0 hylafax-6.0.6/debian/000077500000000000000000000000001176352547600144215ustar00rootroot00000000000000hylafax-6.0.6/debian/NEWS000066400000000000000000000102521176352547600151200ustar00rootroot00000000000000hylafax (2:4.3.0-9) unstable; urgency=low This new version uses lsb functions to manage start/stop daemons output, and it also changes the FROM address of all emails that are now from "faxmaster". If you wish to change it, you may as usual, customize /etc/hylafax/FaxNotify and add FROMADDR="username@domain.tld". -- Giuseppe Sacco Tue, 19 Sep 2006 09:48:04 +0200 hylafax (2:4.3.0-4) unstable; urgency=low This Debian version of hylafax will support PAM. To enable such support, you need to install an appropriate file under /etc/pam.d/. An example of such a file is in /usr/share/doc/hylafax-server/examples/. -- Giuseppe Sacco Thu, 13 Jun 2006 12:34:14 +0200 hylafax (2:4.3.0-1) unstable; urgency=low All versions of hylafax disabled PAM when installed. This new version ships a very simple configuration file in /usr/share/doc/hylafax-server/examples/pam-hylafax. To enable PAM support just copy this file in /etc/pam.d and name it hylafax. -- Giuseppe Sacco Thu, 1 Jun 2006 11:49:11 +0200 hylafax (1:4.2.1-1) unstable; urgency=high Many hylafax installations have insecure entries in hosts.hfaxd. The problem is that if you enter "username" it will also match "otherusername"; "host" will also match "hostname". Unless you intend such behavior, you should modify your hosts.hfaxd to use start and end delimiters as in the following examples: @192.168.0.[0-9]+$ ^username@:uid:pass:adminpass ^user@host$ -- Giuseppe Sacco Thu, 6 Jan 2005 13:05:32 +0100 hylafax (1:4.2.0-16) unstable; urgency=medium A script for storing cover pages is now added in the /usr/share/doc/hylafax-server/examples directory. It should be called in place of the supplied faxsend. It will merge the cover page and the document and then call the real faxsend. This workaround is taken from hylafax bug #603 (http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=603) but it should be pointed that this is not really a bug, while a wish that my users hope to be accepted by hylafax authors. In order to use it, just copy it in any directory, like /usr/local/bin/retainfaxcover.sh and add the following line to /etc/hylafax/config: SendFaxCmd /usr/local/bin/retainfaxcover.sh the restart hylafax calling '/etc/init.d/hylafax force-reload' -- Giuseppe Sacco Tue, 14 Dec 2004 16:53:10 +0100 hylafax (1:4.2.0-8) unstable; urgency=low The new init script that starts and stop hylafax have been changed in order to better handle upgrade from previous versions of the sarge package. This means that after calling start-stop-daemon, the script will check if processes are still pending and will try to kill them. I believe that this might be a problem if you are running many hylafax servers in parallel (i.e., in different chroot environment). If you happen to fall in ths case then please use the old script or modify the new one. -- Giuseppe Sacco Tue, 12 Oct 2004 13:45:23 +0200 hylafax (1:4.2.0-7) unstable; urgency=low Two Directories ---------------- In Debian Sarge release of hylafax, the client and server packages have been completely reworked in order to fix many important bugs. The major refactoring completely separated the environment where the server run from the host machine. The server is run in a chroot environment starting at /var/spool/hylafax. Since Debian policy requires that all configuration files must be put in /etc, the chroot environment can not access them. Hylafax used to be able to do so via links from /var/spool/hylafax/etc. The two directories /var/spool/hylafax/etc and /etc/hylafax must always contain identical files. All programs that update these files, now update both copies at once. Every file is "resynced" when the server starts, but to be more safe in order to never overwrite a potencial "good" file, I decided to write a statement about files not in sync and ask for a bug report during the execution of /etc/init.d/hylafax. The master copy of the files is /etc/hylafax when the server starts via /etc/init.d/hylafax, but switch to /var/spool/hylafax/etc when the server is running. -- Giuseppe Sacco Wed, 4 Sep 2004 07:54:00 +0200 hylafax-6.0.6/debian/README.Debian000066400000000000000000000160011176352547600164600ustar00rootroot00000000000000HylaFAX for Debian ================== Welcome to Debian's HylaFAX distribution. This document contains some notes specific to Debian's HylaFAX packages. For general HylaFAX information, please see http://www.hylafax.org. HylaFAX on Debian is split into three packages: * hylafax-server: the tools necessary to run a HylaFAX server that can send and receive facsimiles. Please note, that you will need hylafax-client as well. * hylafax-client: the tools necessary to operate a local or remote HylaFAX server. Install this package on networked clients. 1. Quick Start -------------- The hylafax-server(5) manpage provides a nice overview of the various HylaFAX components and how they interact with each other. For further guidance, please refer to the contents of the hylafax-doc package. To get started you need to run faxaddmodem in order to let hylafax know about the modem lines it have to use. Once faxaddmodem create a configuration file, you need to communicate hylafax to us it. This is done automatically when hylafax start or stop, using the command faxgetty (or the old faxmodem.) If you want to change any global parameter (not related to a single modem line), you need to run faxsetup. A first run is already done during hylafax install with default parameters, but you may wish to change the default page size or the protocol to use, or anything. After having change anything, please call /etc/init.d/hylafax restart. 2. /etc/inittab & faxgetty -------------------------- If you want your system to accept incoming fax calls via one or more modems, you will need to run faxgetty on their respective ports. In previous release of this package the suggested solution was to change /etc/inittab and tell init to spawn a getty process. Now a better approach has been implemented: a getty process is run from /etc/init.d/hylafax if USE_FAXGETTY=yes in /etc/default/hylafax. Please note that this is the default behaviour. You may of course switch to using init changing to false that variable and adding those lines to your /etc/inittab #-- hylafax begin # The following is example on how to use faxgetty for your modem lines. # Please leave the lines with "hylafax begin" "hylafax end" in this file. If # you decide to remove hylafax from this system then the parts between those # comments will be erased and your inittab cleaned up. #S0:23:respawn:/usr/sbin/faxgetty ttyS0 #S1:23:respawn:/usr/sbin/faxgetty ttyS1 #-- hylafax end It is fairly straightforward. If you modify /etc/inittab, make sure you do "init q" in order to make init(8) reload it. 3. defaults ----------- Using /etc/default/hylafax you may change some hylafax behaviour: 1. enabling or disabling it 2. specify to run faxgetty or faxmodem or none 3. specify on what addresses to listen to Please have a look at the file and at all comments included. USE_FAXGETTY is used to select how hylafax should connect to modem lines. Hylafax may use faxmodem or faxgetty in order to "talk" to serial lines. faxgetty is preferred over faxmodem for many reasons and it is required in a send and receive configuration. faxgetty or faxmodem can be runa when hylafax starts or when the system boot, via init. If you prefer to use init, then change inittab as specified on 2. and set USE_FAXGETTY="init". Otherwise set USE_FAXGETTY="yes" for an automatic start of faxgetty when hylafax starts. If you set USE_FAXGETTY="no" then hylafax will use faxmodem instead of faxgetty. 4. Logging ---------- Default syslog facility: local5 Please also note, that hylafax-server doesn't modify /etc/syslog.conf either now. In order to create a separate log for HylaFAX messages add the following line to your /etc/syslog.conf: local5.* -/var/log/hylafax/hylafax.log and issue an "/etc/init.d/sysklogd reload" command to activate the changes. If you are using syslog-ng please consult the appropriate documentation. 5. Faxmaster ------------ Previous versions of hylafax-server used to create alias for faxmaster pointing to root. Since sending email to root is insecure, modifying a file belonging to another package is a policy violation and having in mind that at least one popular MTA doesn't support /etc/aliases, that behaviour is changed and hylafax-server now creates a separate account for the faxmaster. By default, this user is disabled, i.e. nobody can login as faxmaster. Please create an appropriate alias manually if you want to have administrative messages sent to another user. Alternatively, you can set that user's password and have the mail messages retrieved somehow. 6. TagLine ---------- The tagline wasn't working until version 4.1.8-12. From that version you may specify a font and a format to be used while printing the tag line, using the faxaddmodem command or editing the /etc/hylafax/config.DEVICE file by hand. A font is already provided in the server package, so that you may use it for this purpose. The TagLineFont should be set to "etc/lutRS18.pcf". 7. Other notes -------------- Default allow users: localhost hylafax can't use AdaptiveAnswer without these links: /etc/hylafax/getty-link -> /sbin/mgetty /etc/hylafax/vgetty-link -> /usr/sbin/vgetty /etc/hylafax/egetty-link -> /sbin/mgetty 8. Feedback ----------- Please use Debian's reportbug(1) utility to report problems. 9. PAM support -------------- This Debian version of hylafax supports PAM. To enable such support, you need to install an appropriate file under /etc/pam.d/. An example of such a file is in /usr/share/doc/hylfax-server/examples/. When /etc/pam.d/hylafax exists, it is automatically used, so you do not have to use faxadduser, faxdeluser to modify hosts.hfaxd. All account known to the system via PAM will be accepted as normal user. When PAM authentication is used, you may optionally create a unix group that will have admin rights on hylafax. If you setup such group than add it in /etc/hylafax/config with "AdminGroup: groupname". Please note that if you are storing your passwords in /etc/shadow, you have to add the uucp user to the shadow group, otherwise the hylafax daemon will not be able to check the passwords. If your PAM uses an LDAP as backend, then this is not required. 10. e-mail encoding ------------------- Hylafax is able to send received faxes via email. These emails need to include base64 encoded attachments. Since this is not essential to hylafax to work, you need to do manually some further steps: you should install a package that provide encoders (like mime-codecs or sharutils) and run 'faxsetup -server' that will automatically check for those encoders and change its configuration. 11. sending UTF-8 files using sendfax ------------------------------------- sendfax tries to convert any input file into postscript (if its original format isn't TIFF or postscript) using a series of rules specified in /etc/hylafax/typerules. If you have to send text (non ASCII) files using this command then install paps package and this line at the very end of typerules 0 byte x ps paps --font-scale=10 %i >%o then restart hylafax. -- Giuseppe Sacco hylafax-6.0.6/debian/README.mgetty000066400000000000000000000074201176352547600166140ustar00rootroot00000000000000From: Brett Wuth Date: Fri, 1 Jun 2001 04:18:27 -0600 (MDT) Subject: hylafax-server: need doc on how to configure with mgetty [...] In order to have faxgetty accept data calls it must be configured to work with another program (likely mgetty). Unfortunately the documentation isn't explicit on what needs to be done for mgetty. I had to get out the source code of mgetty to figure out these options. The documentation should make note of the following options required: ------- in /etc/hylafax/config.ttyS1: ModemSetupAACmd: AT+FAA=1 AdaptiveAnswer: yes #mgetty: # -x 9 : full debugging to /var/log/mgetty/mg_ttyS1.log # -r : direct line -- don't initialize modem # -b : non-blocking -- don't wait for ^M before prompting # -s %s: set speed # %l : set device GettyArgs: "-r -b -s %s %l" ------- in /etc/mgetty/mgetty.config: # modem controlled by faxgetty port ttyS1 # already accepted data call, do not reset toggle-dtr n Perhaps this bug should be logged against mgetty, but it's faxgetty that requires these options to be set up. Perhaps more than just documenting the solution, the hylafax installation script should set up the configuration automatically. These options have been tested with the following modem: ati3 U.S. Robotics 56K Voice INT V4.7.35 OK ati7 Configuration Profile... Product type US/Canada Internal Product ID: 66174981 Options V32bis,V.80,V.34+,x2, V.90 Fax Options Class 1/Class 2.0 Line Options Caller ID, Distinctive Ring Voice Options Speakerphone, TAD Clock Freq 92.0Mhz EPROM 256k RAM 32k FLASH date 4/22/98 FLASH rev 4.7.35 DSP date 4/22/98 DSP rev 4.7.35 OK -- System Information Debian Release: 2.2 Kernel Version: Linux castrov 2.2.18pre21 #1 Sat Nov 18 18:47:15 EST 2000 i486 unknown Versions of the packages hylafax-server depends on: hi libtiff3g 3.4beta037-5.1 tiff runtime library [libc6] ii gs 5.10-10.1 Postscript interpreter with X11 and svgalib ii libc6 2.1.3-18 GNU C Library: Shared libraries and Timezone ii libjpeg62 6b-1.2 The Independent JPEG Group's JPEG runtime li ii libstdc++2.9 2.91.61-1 The GNU stdc++ library (egcs version) ii libtiff-tools 3.5.4-5 TIFF manipulation and conversion tools ii zlib1g 1.1.3-5 compression library - runtime --- Begin /etc/hylafax/config (modified conffile) LogFacility: local5 CountryCode: 1 AreaCode: 403 LongDistancePrefix: 1 InternationalPrefix: 011 DialStringRules: etc/dialrules ServerTracing: 1 --- End /etc/hylafax/config hylafax-6.0.6/debian/changelog000066400000000000000000001371001176352547600162750ustar00rootroot00000000000000hylafax (2:6.0.4) unstable; urgency=low * Update debian packaging for 6.0.4 -- Aidan Van Dyk Mon, 28 Dec 2009 14:02:24 -0500 hylafax (2:6.0.4~rc2) unstable; urgency=low * Update debian packaging for 6.0.4-rc2 -- Patrice Fournier Fri, 18 Dec 2009 11:32:18 -0500 hylafax (2:6.0.3) unstable; urgency=low * Update debian packaging for 6.0.3 -- Patrice Fournier Fri, 10 Jul 2009 11:46:01 -0400 hylafax (2:6.0.2) unstable; urgency=low * Update debian packaging for 6.0.2 -- Patrice Fournier Fri, 29 May 2009 13:18:15 -0400 hylafax (2:6.0.1) unstable; urgency=low * Update debian packaging for 6.0.1 -- Patrice Fournier Fri, 15 May 2009 14:10:18 -0400 hylafax (2:6.0.0) unstable; urgency=low * Update debian packaging for 6.0.0 -- Aidan Van Dyk Fri, 24 Apr 2009 14:33:06 -0400 hylafax (2:4.5~CVS) unstable; urgency=low * Update debian packaging for 4.5-CVS -- Aidan Van Dyk Tue, 23 Sep 2008 08:33:05 -0400 hylafax (2:4.3.4~cvs) unstable; urgency=low * Added standard debian packaging rules to upstream CVS * Changed debian/rules in order to expand pathname according to C locale -- Giuseppe Sacco Sat, 17 Mar 2007 16:37:44 +0100 hylafax (2:4.3.3-1) unstable; urgency=low * New upstream release * Removed from debian/rules the way notify-reject was renamed to notify-rejected since new upstream version correctly named the files. -- Giuseppe Sacco Fri, 9 Mar 2007 08:48:17 +0100 hylafax (2:4.3.2-1) unstable; urgency=low * New upstream release (Closes: #406395, #409417, #409532) * Removed patch 673_configure_quote_commands (already included upstream) * Removed patch 672_ps2pdf_output (already included upstream) * Removed debian/ directory from upstream source * Renamed wrongly named files as per http://bugs.hylafax.org/show_bug.cgi?id=849 -- Giuseppe Sacco Wed, 21 Feb 2007 18:58:45 +0100 hylafax (2:4.3.1-7) unstable; urgency=low * Fixed the way setup.cache is updated (Closes: #405036) * Removed an unnecessary restart during upgrade (Closes: #405145) * Added missing faxlock (Closes: #405220) * Added more conversion rules (Closes: #405237) -- Giuseppe Sacco Tue, 2 Jan 2007 14:24:46 +0100 hylafax (2:4.3.1-6) unstable; urgency=low * Applied a fix from upstream for using variables that contains complex command (BASE64ENCODE, UUENCODE, ...) * Created a patch for redirecting to /dev/null some unwanted output from ps2pdf. -- Giuseppe Sacco Sun, 24 Dec 2006 21:40:20 +0100 hylafax (2:4.3.1-5) unstable; urgency=low * Fixed a second problem in the notify invoke grep. (Closes: #404405) -- Giuseppe Sacco Sun, 24 Dec 2006 16:58:32 +0100 hylafax (2:4.3.1-4) unstable; urgency=low * Corrected a packaging problem with base64 encoding and switched from uuencode to mimencode. Added dependency on metamail. -- Giuseppe Sacco Sun, 24 Dec 2006 10:15:19 +0100 hylafax (2:4.3.1-3) unstable; urgency=low * Added patch for DesiredDF (Closes: #402171) * Added a text in README.Debian on how to send non ASCII text files (Closes: #387748, #363464) * Corrected patch for faxadduser (Closes: #402018) -- Giuseppe Sacco Sun, 10 Dec 2006 00:57:15 +0100 hylafax (2:4.3.1-2) unstable; urgency=low * Added templates directory that was erroneously removed -- Giuseppe Sacco Wed, 6 Dec 2006 11:22:28 +0100 hylafax (2:4.3.1-1) unstable; urgency=low * New upstream release (Closes: #369756) * Check that package build correctly in unstable, testing/etch, stable/sarge, oldstable/woody+backport. -- Giuseppe Sacco Tue, 5 Dec 2006 08:38:41 +0100 hylafax (2:4.3.1~rc3-2) experimental; urgency=low * Update japanese translation (Closes: #400029) * Added a check in postinst so that install does not fail if hylafax isn't running * Changed path for FontMap.GS and gsfonts afm file, according to new etch packages. -- Giuseppe Sacco Sun, 3 Dec 2006 20:40:44 +0100 hylafax (2:4.3.1~rc3-1) experimental; urgency=low * New upstream version (Closes: #370420) * Removed all unnecessary patches * Reworked debconf notes (Closes: #388907) -- Giuseppe Sacco Thu, 23 Nov 2006 13:47:18 +0100 hylafax (2:4.3.0-9) unstable; urgency=low * Fixed awk command in notify-4.1 (Closes: #386036) * Changed From addredd in e-mail from "fax" to "faxmaster" since fax user does not always exists (Closes: #386071) * Changed init script to be lsb compliant * Added debtags -- Giuseppe Sacco Tue, 19 Sep 2006 09:48:04 +0200 hylafax (2:4.3.0-8) unstable; urgency=low * Added a FaxDispatch template in examples/ dir. * Removed patch for awk detection since awk is specified in debian/rules and we do not require a specific awk and wi do specify a generic path /usr/bin/awk at configure time. * make chown happy (Closes: #387404) -- Giuseppe Sacco Sat, 16 Sep 2006 16:29:29 +0200 hylafax (2:4.3.0-7) unstable; urgency=low * Added mail-to-fax scripts and README. -- Giuseppe Sacco Mon, 24 Jul 2006 21:56:36 +0200 hylafax (2:4.3.0-6) unstable; urgency=low * Correctly setup path for uuencode (Closes: #377914) * Update Fontmap path in hyla.conf * Added gsfonts as dependency for hylafax-client (Closes: #376269) * Redirected stdin, stderr and stdout to /dev/null for faxgetty. -- Giuseppe Sacco Wed, 12 Jul 2006 22:06:10 +0200 hylafax (2:4.3.0-5) unstable; urgency=low * Removed manpage for sgi2fax, that is not included in debian package. * Add support for GIF89 and PNG convertion to fax (Closes: #373287) * 4.3.0 is out (Closes: #369145) -- Giuseppe Sacco Sun, 18 Jun 2006 23:19:09 +0200 hylafax (2:4.3.0-4) unstable; urgency=low * Corrected permissions for hosts.hfaxd * Added a small delay between stop and start when restarting (Closes: #372253) * USE_FAXGETTY is now more documented (Closes: #372249) * Better PAM support description (Closes: #372248) * Removed obsolete QuickStart documentation; improved README.Debian * Check for faxmodem as well as faxgetty in /etc/inittab * Check and update owner/access rights when copying from /etc/hylafax to $SPOOL/etc (Closes: #372254) * Add patch for hylafax-server: scheduler died killing a job (Closes: #372827) -- Giuseppe Sacco Fri, 16 Jun 2006 11:31:47 +0200 hylafax (2:4.3.0-3) unstable; urgency=low * Added i18n, as implemented in 4.3.0 (Closes: #370726) -- Giuseppe Sacco Tue, 6 Jun 2006 20:28:27 +0200 hylafax (2:4.3.0-2) unstable; urgency=low * Translation update for fr and pt_BR (Closes: #359014, #361760) * Removed patch 201_posix_configure since already included upstream * Update to policy 3.7.2 without changes -- Giuseppe Sacco Fri, 2 Jun 2006 19:53:45 +0200 hylafax (2:4.3.0-1) unstable; urgency=low * New upstream release * Added configuration file for PAM support * Run ./configure using bash since it does not work with other shells * Moved private libraries from /usr/lib to /usr/lib/hylafax * Fixed a lot of small complains by lintian -- Giuseppe Sacco Thu, 1 Jun 2006 12:54:10 +0200 hylafax (2:4.2.5-3) unstable; urgency=low * Removed dependency on mime-codecs that has been removed from Debian. Hylafax now only uses uuencode even for base64 encoding. -- Giuseppe Sacco Sat, 25 Mar 2006 13:24:20 +0100 hylafax (2:4.2.5-2) unstable; urgency=low * Complete installation even if something went wrong (Closes: #357437) * Add a debconf error when faxsetup fails * Added patch from hylafax CVS in order to work with libtiff 3.8 (Closes: #357762) * Better check if faxsetup did not run correctly (Closes: #357435) * Correctly handle USB ACM device names (Closes: #350965) * Update translation for sv, nl, vi, ru, de, cs, it (Closes: #358005, #357943, #357968) -- Giuseppe Sacco Wed, 22 Mar 2006 00:00:36 +0100 hylafax (2:4.2.5-1) unstable; urgency=low * New upstream release * Correctly remove broken link "bin" in $SPOOL/etc/ (Closes: #338765) * Pre-Depends on libpaper-utils. (Closes: #344921) -- Giuseppe Sacco Sun, 15 Jan 2006 15:06:05 +0100 hylafax (2:4.2.4-2) unstable; urgency=high * Corrected patch for CVE-2005-3539 (Closes: #346254) * Urgency high because of the security fix -- Giuseppe Sacco Sat, 7 Jan 2006 11:53:08 +0100 hylafax (2:4.2.4-1) unstable; urgency=high * New upstream release * HylaFAX hfaxd will allow any password when compiled with PAM support disabled. [CVE-2005-3538] * HylaFAX notify script passes unsanitised user-supplied data to eval, allowing remote attackers to execute arbitrary commands [CVE-2005-3539] -- Giuseppe Sacco Wed, 4 Jan 2006 11:18:45 +0100 hylafax (2:4.2.3-1) unstable; urgency=low * New upstream release. * Adde sv debconf translation (Closes: #342867) * Rewritten patch 500 for handling twin directories as the previous one did not apply anymore. * Removed patch 700 since the bug hes now been fixed upstream. * CAN-2005-3070 Unix domain socket ownership. * CAN-2005-3069 symlink attack on temporary file. * Updated bg translation (Closes: #330957) -- Giuseppe Sacco Mon, 12 Dec 2005 10:36:11 +0100 hylafax (2:4.2.2-1) unstable; urgency=low * New upstream release * Changed epoch because of trailing +rc1 in last version number * Corrected watch file * Updated de, nl and fr translations (Closes: #326741, #326798, #330518) * Removed link to binaries on purge * Removed broken link /var/spool/hylafax/bin/bin * Added dependancy on debconf-2.0 to permit use of cdebconf * Update to Standards-Version 3.6.2 (no diff required) * Removed variable not used on linux from config.cache (Closes: #320496) -- Giuseppe Sacco Wed, 28 Sep 2005 12:34:51 +0200 hylafax (1:4.2.2+rc1) unstable; urgency=low * New upstream prelease (Closes: #319348, #309683) * Removed debian patches 655, 656, 700 since already in upstream version * Adapted patch 654 to new source * Compiled with gcc-4.0 * Added patches from Javier Fernández-Sanguino Peña to cron jobs in order to redirect stderr, and to other scripts in order to fix temporary directory usage. (See patch 702) * Added new vi and cs translations (Closes: #311910, #314751) * Corrected some problems with english sentences in debconf (Closes: #311911) * Corrected hylafax-server postinst script in order to do not print current directory * Uses invoke-rc.d instead of calling /etc/init.d/hylafax * Changed init.d script in order to better check for daemon termination * Correctly check for faxgetty ran via inittab (Closes: #323158) -- Giuseppe Sacco Sat, 3 Sep 2005 01:49:56 +0200 hylafax (1:4.2.1-7) unstable; urgency=low * Added patch for hylafax bug 633 and debian bug #309683 -- Giuseppe Sacco Sat, 4 Jun 2005 00:55:13 +0200 hylafax (1:4.2.1-6) unstable; urgency=low * Corrected purge script (Closes: #307830) * Created a new patch for rejecting some image files (Closes: #303121) -- Giuseppe Sacco Fri, 6 May 2005 08:12:43 +0200 hylafax (1:4.2.1-5) unstable; urgency=low * Patch for compiling on amd64 with gcc-4.0 (Closes: 286424) * Corrected the Depends field removing the version number since sarge and woody already have the minimum required. Thanks to Fabio Tranchitella for pointing this out. * Added ps2fax and pdf2fax links if missing and if we are upgrading. -- Giuseppe Sacco Thu, 17 Mar 2005 22:16:10 +0100 hylafax (1:4.2.1-4) unstable; urgency=low * Changed faxrcvd in order to be posix compliant (Closes: #297134) * All ghostscript implementations provide 'gs', so all dependency were simplified. (Closes: #297131) * Moved all "purge" actions from prerm to postrm (as it needs to be) * Update probemodem manual page with new options. * Corrected a message when copying back from $SPOOL/etc to /etc/hylafax * Updated french translation (Closes: #296171) * Removed the creation of ps2fax and pdf2fax links from debian/rules since these are created by faxsetup. * faxsetup was changed in order to not pre-depends on gs. -- Giuseppe Sacco Tue, 8 Mar 2005 20:39:08 +0100 hylafax (1:4.2.1-3) unstable; urgency=low * Added fr translation * Added a patch that better solve the AWK problems, so remove gawk dependancy * Used the correct version 4.2.1 in debian/rules for library names. * Removed duplicate build depends on dpatch * Removed creation of faxmaster alias since it already create a faxmaster user (Closes: #296797) * Changed depends in order to accept gs-gsp as gs (Closes: #296962) -- Giuseppe Sacco Sat, 26 Feb 2005 16:47:22 +0100 hylafax (1:4.2.1-2) unstable; urgency=medium * Fixed the postinst script in order to be POSIX compliant * Update translation for ja. * Corrected a check that used configure_note in the wrong case * Rephrased the first part of the NEWS file. Thanks to Ross Boylan. * Automatically add ENCODING and MIMEMENCODE to setup.cache * Added a note about how to add support for received fax via email * Translated the new note in it, de, nl, ru, pt_BR * Corrected the package building from native to "standard" package * Urgency medium since it fixes a problem in upgrading from 4.2.0 * Added gawk as dependency since it is the only awk that correctly understand bin/notify script. -- Giuseppe Sacco Sat, 12 Feb 2005 11:41:56 +0100 hylafax (1:4.2.1-1) unstable; urgency=high * New upstream version. * Security fix CAN-2004-1182. * Lot of bug fixing included in the new upstream release. * Corrected a check for faxmaster existance during faxsetup that made an automatic and unwanted call for faxaddmodem. * Corrected paths for /etc/aliases and /etc/inetd.conf since the normal autodetect will fail if they aren't yet created. * Fixed a problem where ENCODING was null on i386 platform. * Reworked and updated all debconf questions. * Update translations for it, nl, pt_BR, bg, ru, de, fr * Rewrote the NEWS file in order to better explain how to use the script for keeping cover pages in the archive. -- Giuseppe Sacco Thu, 6 Jan 2005 15:34:23 +0100 hylafax (1:4.2.0-16) unstable; urgency=medium * Removed dependency on c++compiler since compiler is provided by build-essential (Thanks to Francesco P. Lovergine) * Added an example script for archiving cover pages, as described in http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=603 * Urgency medium in onder to enter sarge -- Giuseppe Sacco Tue, 14 Dec 2004 16:53:10 +0100 hylafax (1:4.2.0-15) unstable; urgency=medium * Shipped *.shlibs files. * Configured some user configurable shell scripts as config files. * Call ldconfig after installing new libraries. * Correctly define DIR_LIB and avoid using rpath. * Urgency medium in onder to enter sarge -- Giuseppe Sacco Mon, 29 Nov 2004 13:06:54 +0100 hylafax (1:4.2.0-14) unstable; urgency=medium * Correctly handle devfs device names as suggested in #283111 * Urgency medium in onder to enter sarge * Added sed dependency as suggested in #283093 -- Giuseppe Sacco Fri, 26 Nov 2004 18:16:26 +0100 hylafax (1:4.2.0-13) unstable; urgency=medium * Reworked the faxsetup call during installation * Changed the build depends in order to let the use select which gs to use * Corrected a spell error in patch 600_setupclient * Correctly invoke base64-encode when converting FAX to email attachments. * Fix broken the MIMENCODE in old setup.cache when upgrading. * Added patch from #281737 for better integration with capi4hylafax. * changed link option from -fPIC to -fpic. -- Giuseppe Sacco Tue, 16 Nov 2004 16:34:53 +0100 hylafax (1:4.2.0-12) unstable; urgency=medium * Changed the dependency on gs as a pre-depends in order to fix #281024. * Corrected a problem when faxaddmodem used ttyS0 as default. -- Giuseppe Sacco Mon, 15 Nov 2004 19:19:37 +0100 hylafax (1:4.2.0-11) unstable; urgency=medium * Added some comments about user management in hosts.hfaxd. * Removed /usr/share/doc/hylafax*/TODO.Debian that wasn't mean for the end user * Added httpd-cgi as suggested package for hylafax-doc since it uses man2html * Added a fix for handling links from /var/spool/hylafax/etc/ to /etc/hylafax when this files are externally created. * Added ${misc:Depends} to controlfile * Correctly invokes dh_installshlibs in debian/rules * Changed 'Depends' to the latest libtiff library. -- Giuseppe Sacco Tue, 2 Nov 2004 08:45:39 +0100 hylafax (1:4.2.0-10) unstable; urgency=medium * Removed bashism from postinst script, as told in #277590. * Corrected init script that was exiting with error if unable to stop faxgetty started by init. See #276686 * Added patch from http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=557 as requested in #276685. -- Giuseppe Sacco Thu, 21 Oct 2004 16:54:23 +0200 hylafax (1:4.2.0-9) unstable; urgency=medium * Removed debugging information from the init script * Remove old /etc/hylafax/bin directory and backup its content. * When migrating from hosts to hosts.hfaxd, copy to both directories /etc/hylafax and /var/spool/hylafax/etc * Reworked the server postinst script since it incorrectly expected an "install" argument. * When upgrading from an old version that required /bin/awk to exists, change the setup.cache file in order to use /usr/bin/awk * Automatically run faxsetup if required. * Corrected a problem when no /etc/hylafax/config.* file were present. -- Giuseppe Sacco Wed, 13 Oct 2004 01:31:53 +0200 hylafax (1:4.2.0-8) unstable; urgency=low * Added conflicts to old capi4hylafax * Reworked all prerm/preinst/postinst in order to beffer split all actions between install time and configure time * Changed the init script in order to better check if the stop action work. * Transform the bin directory from a link to a real one in $SPOOL * Changed the init script in order to handle the config.faxCAPI device name. Thanks to Johannes Zellner. * Changed postinst script for client and server in order to cleanly terminate even if faxmail.ps isn't found. Moreover better stop the previously running hylafax server before starting it. * Updated german translation, thanks to Jens Nachtigall. -- Giuseppe Sacco Tue, 12 Oct 2004 13:45:23 +0200 hylafax (1:4.2.0-7) unstable; urgency=high * Added a check in the server pre removal script in order to stop hylafax only if faxsetup was ran. * Reworked the client post install in order to bettere handle a transition from client+server 4.1.8 to client only 4.2.0 * Better recognize existing configuration files when installing the server (See #269820). * Reworked the NEWS file as suggested by Ross Boylan (Closes: #269682, #269676). * Added a correct dependency for client and server of same version. (Closes: #269686). * Correctly changed the FAX user in faxaddmodem from "fax" to "uucp" (Closes: #271306) * Better checking for hylafax running before stopping the service when removing the hylafax server package * Updated patches/00template from latest dpatch * Patched in order to look for status/lastrun instead of etc/lastrun and log/xferstatlog instead of etc/xferstatlog. (Closes: #271983, #271741) * Patched for use uucp as FAX_USER. * Removed the /etc/hylafax/bin directory. * Fixed a bug in faxaddmodem that would leave a child process running forever. (Closes: #271930). * Got utils/notify.sh from 4.2.1 since it fix a very simple and really annoying problem. * Restart hylafax when upgrading, if hylafax was previously running. (Closes: #271172) * Move all existing /var/spool/hylafax/dev/*FIFO* to /var/spool/hylafax as this is the new preferred location (Closes: #271705). * Made faxaddmodem more friendly (Closes: #269259) * Added japanese debconf translation, thanks to Hideki Yamane (Closes: #271094). -- Giuseppe Sacco Sat, 18 Sep 2004 01:37:33 +0200 hylafax (1:4.2.0-6) unstable; urgency=high * Added a strong check before copying every file from /etc/hylafax to /var/spool/hylafax/etc when upgrading the client and the server together. The problem is that /etc/hylafax/faxmail.ps seems to disappear on a specific and not reproducible case. Thanks to Hugh Esco for pointing this out. -- Giuseppe Sacco Thu, 26 Aug 2004 18:10:33 +0200 hylafax (1:4.2.0-5) unstable; urgency=high * Modified the postinst script for the client package in order to correclty upgrade from the woody version when the server package isn't installed. (Closes: #268019). * Added a NEWS.Debian file explaining the two-twin-dirs and how to upgrade from Woody -- Giuseppe Sacco Thu, 26 Aug 2004 00:02:17 +0200 hylafax (1:4.2.0-4) unstable; urgency=high * Corrected the patch to make hylafax work on hppa, alpha and ia64 -- Giuseppe Sacco Tue, 24 Aug 2004 17:52:25 +0200 hylafax (1:4.2.0-3) unstable; urgency=high * Added patch in order to compile on alpha and hppa -- Giuseppe Sacco Tue, 24 Aug 2004 15:26:16 +0200 hylafax (1:4.2.0-2) unstable; urgency=high * Correctly copy all *client* configuration files from /etc/hylafax to /var/spool/hylafax. * Moved faxutils.so from server to client package. * Better handled file already present from previous a installation * Changed the hylafax restarting in seerver/postinst from restart to start, since the stop is always called in preinst. * Preconfigured hyla.conf using enscript or libgnomeprint-data AFM files. Changed debian/control in order to depend on one of them. * Stop hylafax server before removing the package. * As in 4.1.8 the fax user is replaced with root. faxsetup has been modified accordingly. * Disabling the client configuration in faxsetup since it is already done by the package. -- Giuseppe Sacco Tue, 24 Aug 2004 07:22:48 +0200 hylafax (1:4.2.0-1) experimental; urgency=low * New upstream version * included dutch translation of templates by Luk Claes (Closes: #263724) * updated brasilian portuguese translation by Andre Luis Lopes (Closes: #264205) * Corrected the way hylafax is stopped during updates and removed NEWS.Debian * Added psmisc as dependency for hylafax-server (Closes: #264951) * Changed copyright based on the new hylafax release * patched faxadduser and faxdeluser in order to update both configuration files in /etc/hylafax/ and /var/spool/hylafax/etc/ (Closes: #264997) * Replaced debian faxcover.ps with the original one from upstream * Removed the config.site patch. Now use ./configure arguments. -- Giuseppe Sacco Wed, 18 Aug 2004 15:28:10 +0200 hylafax (1:4.1.8-16) unstable; urgency=low * Correctly find the devices used in the init script (Closes: #263128) -- Giuseppe Sacco Tue, 3 Aug 2004 06:16:12 +0200 hylafax (1:4.1.8-15) unstable; urgency=medium * Definitely fixed the way hylafax restart daemons during the upgrade. * Added catalan translation by Aleix Badia i Bosch (Closes: #254868) * Added file NEWS.Debian -- Giuseppe Sacco Mon, 2 Aug 2004 10:59:09 +0200 hylafax (1:4.1.8-14) unstable; urgency=medium * Added gs as build dependency. * Added a better check about the config.* files to use (Closes: #261204). * Added support for old style setup.cache where the values were 1 and 0 instead of yes and no. (Closes: #253067). * Added a feedback when copying configuration files in faxaddmodem. * Changed the copy procedure in the init script in order to leave the backup files (ending in ~ or .bak) uncopied. * Require libtiff4 in order to avoid a problem with libtiff3 (Closes: #254738). * Added /usr/share/enscript/afm as source for the font used in taglines (Closes: #261210). -- Giuseppe Sacco Tue, 26 Jun 2004 08:24:43 +0200 hylafax (1:4.1.8-13) unstable; urgency=low * Corrected a problem that made AWK point to unexistant /bin/awk * Correctly change to uucp:uucp the owner/group of /var/spool/hylafax (Closes: #109816). * Add the ghostscript type1 font path to hyla.conf. (Closes: #154506). * Add a check for defoma fonts and then for ghostscript fonts in configure. (Closes: #99431, #151211). * Correctly setup defaults and new build-depends to include gs and gsfonts (Closes: #161192). -- Giuseppe Sacco Mon, 7 Jun 2004 23:30:41 +0200 hylafax (1:4.1.8-12) unstable; urgency=low * Added french localization for the debconf template. (Closes: #252630). * Corrected a bug in faxaddmodem that would prevent the TagLineFont tag to appear in the config file. Added a note about tag lines in README.Debian (Closes: #181917). * Added a comment in hyla.conf as suggested in #123374 (Closes: #123374). -- Giuseppe Sacco Sat, 5 Jun 2004 00:16:59 +0200 hylafax (1:4.1.8-11) unstable; urgency=low * Corrected an error in the init script. Thanks to Ilguiz Latypov (Closes: #250474). * Added mailx dependency since it used by the cron jobs (Closes: #252115). * Added support for archiving in the cron jobs (Closes: #252269). * Backported patch from hylafax bug 409 in order to fix #240088 (Closes: #240088). * Backported patch from hylafax bug 492 in order to fix a setgid problem (Closes: #227696). * Moved the FIFO pipe from dev/FIFO to FIFO. -- Giuseppe Sacco Thu, 3 Jun 2004 08:15:01 +0200 hylafax (1:4.1.8-10) unstable; urgency=low * Removed link from $SPOOL/etc to /etc and modified the start/stop script in order to clone /etc to $SPOOL/etc before starting the server. There still the possibility that the server ran in the chroot environment will write to the configuration files. If this happen then the script will detect the problem, print a message and exit with an error code. * Added c++-compiler, dpatch and libpam-dev as build-depend. * Added -Wno-switch-enum to limit the compiler output when calling g++ * [Martin Quinson] - switch to gettext based debconf templates - reword some templates to follow best current practices - add debconf-updatepo to debian/rules[clean] to make sure that the translator input is uptodate in source packages. -- Giuseppe Sacco Tue, 11 May 2004 11:07:32 +0200 hylafax (1:4.1.8-9) unstable; urgency=low * New upload that replace the -8 that seems to be broken. -- Giuseppe Sacco Mon, 10 May 2004 09:29:25 +0200 hylafax (1:4.1.8-8) unstable; urgency=low * Reverted back the start-stop-daemon as uucp user since this would disable the chroot ability for clients (Closes: #248257). * Corrected the patch that allow hylafax to bind to one address, since it wasn't working if the bind wasn't asked for (Closes: #248254). -- Giuseppe Sacco Mon, 10 May 2004 00:38:53 +0200 hylafax (1:4.1.8-7) unstable; urgency=low * Created a patch in order to bind hylafax to a specified port (Closes: #246922). * Removed debian/packages and debian/rules.old that were used with yada. * Changed debian/rules in order to correctly setup CFLAGS and the optimizer (Closes: #248058). * The servers for old protocol, new protocol and snpp are now started only if selected in faxsetup. The start/stop script now read the specified values from faxsetup but leave to user the opportunity to change these values in /etc/default/hylfax. The README.Debian file has been changed in order to document this behaviour. * Correctly startup the hylafax server as UUCP user and group changing uid with start-stop-daemon. -- Giuseppe Sacco Sat, 8 May 2004 23:47:48 +0200 hylafax (1:4.1.8-6) unstable; urgency=low * Applied patch from hylafax bug 439 (Closes: #65203). * Corrected a spell error in the init script. * Modified faxgetty man page in order to specify that it is ran via /etc/init.d/hylafax program. This fix one half of #225329. * Corrected a problem in debian/rules that was copying man page sources instead of correced man pages (Closes: #225329) * Added a patch by Ross Boylan in order to allow hylafax to still have faxgetty run by inittab (Closes: #214477). -- Giuseppe Sacco Tue, 4 May 2004 19:26:04 +0200 hylafax (1:4.1.8-5) unstable; urgency=low * Applied patch from http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=412 in order to fix a problem with mawk (Closes: #240736). * Changed the weekly cron in order to leave all log files readable by everyone and changed the file owner in faxcron.sh from root to uucp (Closes: #235149). * Changed README.Debian in order to show that faxgetty is already started during boot. There is also an explaination on how to switch to the /etc/inittab way of spawning faxgetty. (Closes: #235113). * Changed the /etc/init/hylafax script in order to check if the processes are already running before (re)starting all daemons. (Closes: #239730). -- Giuseppe Sacco Tue, 4 May 2004 16:49:06 +0200 hylafax (1:4.1.8-4) unstable; urgency=low * Correctly set up the maintainer field and reassign the package (closes: #230604). -- Giuseppe Sacco Sun, 2 May 2004 07:14:19 +0200 hylafax (1:4.1.8-3) unstable; urgency=low * New maintainer * restart hylafax server and faxgetty during upgrade (closes: #144493). -- Giuseppe Sacco Sat, 1 May 2004 20:11:02 +0200 hylafax (1:4.1.8-2) unstable; urgency=low * Orphan the package. * Add /etc/default hylafax, parameter RUN_HYLAFAX, to explicitely start hylafax (closes: #205968, #225908). * Provide textfmt in /usr/sbin as well (closes: #222203). -- Matthias Klose Sat, 31 Jan 2004 13:44:17 +0100 hylafax (1:4.1.8-1) unstable; urgency=medium * New upstream version. * Security release that fixes a remotely exploitable format string vulnerability in hfaxd that could be present in certain non-default configurations. -- Matthias Klose Wed, 12 Nov 2003 00:06:47 +0100 hylafax (1:4.1.7-1) unstable; urgency=low * New (I hope interim) maintainer. * Use debhelper instead of yada for package building. * Fix bashism in init script (closes: #217839). * hylafax-server: Add recommends on metamail (closes: #218856). * Make faxrcvd attachment filename consistent among file types. Closes: #183595. * Fix link to cgi program man2html (closes: #161127). * Add alternate gs-esp dependency for hylafax-server (closes: #213760). * Add /etc/default/hylafax, sourced by /etc/init.d/hylafax. * Fix hylafax restart behaviour (closes: #217638). * Fix scripts to call textfmt instead of /usr/sbin/textfmt. Closes: #209258, #216011. * Put the files from /var/spool/hylafax/bin to /etc/hylafax/bin. Most of them are expected to be modified (closes: #24206, #210745). No better solution yet ... * Update support in hylafax-server's preinst to move spool directories from /var/spool/fax/* to /var/spool/hylafax/. Closes: #156250, #192129. -- Matthias Klose Mon, 10 Nov 2003 20:41:03 +0100 hylafax (1:4.1.7-0.4) unstable; urgency=medium * A "I still don't like yada" NMU. * Don't modify foreign conffiles (closes: #210937). * Fix detection of modem names (closes: #207626, #208146, #208554). * Use mime-codecs's base64-encode instead of metamail's mimencode. Closes: #212345. * cron.monthly: There may be no faxes received in the last month. Closes: #203308. -- Matthias Klose Tue, 23 Sep 2003 21:41:31 +0200 hylafax (1:4.1.7-0.3) unstable; urgency=low * NMU * Add a build dependency on python. The current yada 0.17 is broken and needs this. And don't ask me why _I_ have python installed ... Closes: #205348. -- Matthias Klose Thu, 14 Aug 2003 22:23:37 +0200 hylafax (1:4.1.7-0.2) unstable; urgency=low * NMU * Add autotools-dev as build dependency (closes: #205324). -- Matthias Klose Thu, 14 Aug 2003 07:53:29 +0200 hylafax (1:4.1.7-0.1) unstable; urgency=low * NMU * New upstream version. -- Matthias Klose Mon, 11 Aug 2003 23:25:03 +0200 hylafax (1:4.1.6~rc2-0.1) unstable; urgency=low * NMU * New upstream version (closes: #174627). - Fix invalid preprocessor pasting (closes: #195196). * Build-Depend on autotools-dev for recent copy of config.{guess,sub} * defs.in: s/unsigned int/unsigned/ to workaround white space escapes. * faxcover: recognize -z flag (closes: #186343). * hylafax-client: Add dependency on libpaper-utils (closes: #184450). * install hylafax-config manpage (closes: #173111). * hylafax-server: Fix installation failure (closes: #187012). * hylafax-server: Start faxgetty in init script (closes: #161391). * don't hardcode awk (closes: #153488). * hylafax-server: Fix init string for USR modems (closes: #161387). * Install hylafax-client manpage (closes: #151209). -- Matthias Klose Wed, 4 Jun 2003 19:00:30 +0200 hylafax (1:4.1.2-2.2) unstable; urgency=low * NMU so it will build on unstable and the buildds again. Closes: #157913 * configure: include and use std::cout, std::eol so it will work with currect c++ compiler * configure: unset POSIXLY_CORRECT when doing sed stuff that is not at all POSIX, such as /@SCRIPT_SH@/s;;/bin/bash;g * debian/yada: pass MAKELEVEL=0 to sucky make-output parsing configure script * configure: insert a blank line after every line output by dumpvars, as it otherwise sometimes does not put a newline after sed statements, which confuses sed. Did not track this bug all the way down, this is a workaround * defs.in: turn on -Wno-deprecated to shut up all the deprecated header warnings, for sanity's sake * Force yada to use bash. Closes: #190775. -- Joey Hess Mon, 28 Apr 2003 11:59:07 -0400 hylafax (1:4.1.2-2.1) unstable; urgency=high * Non-maintainer upload by security team * Backported secrurity fixes from 4.1.3: . Fixed hostname format string vulnerabilities in faxrm, faxstat, faxalter, sendfax, sendpage, faxfetch and faxwatch . Fixed a potential buffer overflow when copying TIF data . Fixed TSI format string vulnerability in faxgetty * Added a double cast so g++ will actually like the last backported fix (Pavel, beware, you may reuse that construct for the next upstream version). -- Martin Schulze Fri, 9 Aug 2002 12:32:07 +0200 hylafax (1:4.1.2-2) unstable; urgency=low * Fixed path in cron.monthly (Closes: #145354, #145856) -- Pavel Tcholakov Thu, 9 May 2002 22:39:20 +0200 hylafax (1:4.1.2-1) unstable; urgency=low * New upstream release (Closes: #145354) * Added dependency on metamail (Closes: #145428) * Fixed typo in README.Debian (Closes: #145427) -- Pavel Tcholakov Wed, 1 May 2002 22:41:23 +0000 hylafax (1:4.1.1-1) unstable; urgency=medium * New upstream release (Closes: #123223) * HylaFAX spool is now /var/spool/hylafax (upstream change) * Fixed typerules to call textfmt instead of /usr/sbin/textfmt. Textfmt now uses a default font (Closes: #142125) * This is not a bug in HylaFAX (Closes: #139022) * Fixed permissions on spool and config directories. Also fixed (upstream) bug in faxsetup, which always created modem FIFO's with incorrect permissions (Closes: #139830, #113849, #113849, #135173) * Added Russian Debconf template (Closes: #137659) * Extended README.debian, new QuickStart document, and packaged upstream changelog and TODO. -- Pavel Tcholakov Sat, 13 Apr 2002 11:55:49 +0000 hylafax (1:4.1-6) unstable; urgency=low * The following bugs are (believed to be) fixed in unstable (Closes: #110297, #118501, #118539, #118546) * Package hylafax-server *depends* on hylafax-client (Closes: #118514) * A properly configured hylafax-server package creates symlinks for /var/spool/fax/bin/{pdf,ps}2fax.gs (Closes: #120500) * /var/spool/fax is owned by uucp:uucp (Closes: #120495) * Migrate existing hosts file to hosts.hfaxd, if one exists (Closes: #120498) -- Pavel Tcholakov Mon, 10 Dec 2001 11:48:59 +0000 hylafax (1:4.1-5) unstable; urgency=low * Added missing build-dependency on ed (Closes: #116660) -- Pavel Tcholakov Thu, 25 Oct 2001 19:56:06 +0000 hylafax (1:4.1-4) unstable; urgency=low * Added pt_BG translation of debconf templates (Closes: #110188) * Postrm script doesn't remove /var/spool/fax anymore (Closes: #113085) -- Pavel Tcholakov Wed, 26 Sep 2001 17:13:10 +0000 hylafax (1:4.1-3) unstable; urgency=low * Fixed dialtest/typetest installation (Closes: #106818) * Script ps2fax.gs.sh is now installed under the name of ps2fax.gs (Closes: #105730) -- Pavel Tcholakov Fri, 10 Aug 2001 11:16:13 +0000 hylafax (1:4.1-2) unstable; urgency=low * Fixed postinst debconf freeze, thanks to Zsolt Varga. * Modified default hfaxd.conf JobFmt setting as per request by Kevin Dalley in order to handle international format numbers in the US (Closes: #105825) -- Pavel Tcholakov Fri, 20 Jul 2001 21:20:16 +0000 hylafax (1:4.1-1) unstable; urgency=low * New upstream release (Closes: #72474, #102661) * Closed obsolete bugs (Closes: #84755) * Won't fix (Closes: #37741, #53874, #59846) * Fixed cron.monthly script to correctly generate the fax statistics, thanks to Pal Loberg (Closes: #98128) * pagesizes is no longer a conffile since it's actually automatically generated at post-inst (Closes: #47621) -- Pavel Tcholakov Tue, 10 Jul 2001 12:20:04 +0000 hylafax (4.1beta3-5) unstable; urgency=low * Package hylafax-server had incorrect section of doc; fixed * Added Brett Wuth's email about configuring mgetty as README.mgetty (Closes: #99476) -- Pavel Tcholakov Sat, 9 Jun 2001 10:56:20 +0200 hylafax (4.1beta3-4) unstable; urgency=low * Changed hylafax-doc Section to doc (Closes: #94843) * Added Bulgarian and German translations of the Debconf templates (Closes: #95131) * Changed mode for /var/spool/fax/dev to root:uucp, 775 (Closes: #94139, #96594) * Symlink problem cannot be reproduced with latest version (Closes: #90274) -- Pavel Tcholakov Sat, 12 May 2001 17:01:55 +0200 hylafax (4.1beta3-3) unstable; urgency=low * Added gs-aladdin as an alternative to gs in the dependencies list (Closes: #92123, #92528) * Initial debconf-ization * Previous versions of HylaFAX used to use /etc/hylafax/*getty-link instead of the various getty flavours directly, but 4.1beta3-1 and - 2 broke this. The old behaviour is restored now (Closes: #92863) -- Pavel Tcholakov Sat, 7 Apr 2001 16:55:38 +0200 hylafax (4.1beta3-2) unstable; urgency=low * Fixed Debian-specific file paths (Closes: #90726) * Swithched back HylaFAX UID/GID to uucp:uucp (Closes: #90706) -- Pavel Tcholakov Sat, 24 Mar 2001 16:02:25 +0200 hylafax (4.1beta3-1) unstable; urgency=low * New upstream release * Changed runtime UID/GID to fax:fax instead of uucp:uucp (Closes: #87870) -- Pavel Tcholakov Wed, 21 Mar 2001 14:11:11 +0200 hylafax (4.1beta2-2) unstable; urgency=low * Took the package maintainership (closes: #81959, #81960, #81957) * Removed debian/yada in source package and added Build-dependency on yada (closes: #82403) * Changed hylafax-server to depend on hylafax-client (closes: #78373) * Moved man pages from hylafax-doc to hylafax-client and hylafax-server respectively. Package hylafax-doc carries only the HTML documentation now * Documentation is now registered with doc-base * Create separate account for faxmaster instead of just aliasing it to root (closes: #67380) * Hylafax-server no longer touches /etc/{inittab,aliases,syslog.conf} (closes: #54654) * Changed faxcron script to call find with "-type f" to avoid annoying messages (closes: #25303, #70873) * Added -dFIXEDMEDIA to the ps2fax.gs.sh script as suggested by Jose Carlos Benfati (closes: #65210) * Added spaces after y/n questions in the hylafax-server postinst script (closes: #63208) * In hylafax-doc: moved html-patch to the Install section of packages to fix a problem with the MD5 sums of some of the documents * Added a lintian override to suppress some warnings about hylafax- server -- Pavel Tcholakov Thu, 1 Mar 2001 21:26:43 +0200 hylafax (4.1beta2-1) unstable; urgency=low * New upstream release with pristine sources * Orphaned the package -- Christophe Le Bars Wed, 10 Jan 2001 23:30:37 +0100 hylafax (4.0.2-14) frozen unstable; urgency=low * Applied patch to work with libtiff3.5 (closes: #50523) * Fixed again DCONFIG_SOCKARGLENTYPE (closes: #51186) -- Christophe Le Bars Thu, 23 Mar 2000 23:18:07 +0100 hylafax (4.0.2-13) unstable; urgency=low * Fixed wrong chgrp on etc symlink (closes: #50931) * Fixed perms on /etc/hylafax/hosts (closes: #52767) * Fixed misleading prompt about configuration (closes: #51836) * Moved manpages in hylafax-doc (closes: #51757) * Warning : This upload is still incompatible with libtiff3.5 -- Christophe Le Bars Tue, 15 Feb 2000 23:51:48 +0100 hylafax (4.0.2-12) unstable; urgency=low * Fixed manpages misusages of "public domain" (closes: #47589) * Changed util/Socket.h (closes: #46341) * Recompiled hylafax against libtiff3 (closes: #48962) * Added new Debian faxcover.ps (closes: #35974) -- Christophe Le Bars Sat, 13 Nov 1999 17:08:37 +0100 hylafax (4.0.2-11) unstable; urgency=low * Switched /usr/doc/ -> /usr/share/doc/ * Fixed DCONFIG_SOCKARGLENTYPE (closes: #46341) * Changed postinst to ask less questions on upgrade (closes: #46053) -- Christophe Le Bars Wed, 6 Oct 1999 02:10:57 +0200 hylafax (4.0.2-10) unstable; urgency=medium * Fixed removal of /var/spool/fax (closes: #43218) * Converted package management to YADA * Applied upstream leap-year patch * Applied upstream security fix patch about faxsurvey -- Christophe Le Bars Wed, 1 Sep 1999 00:13:18 +0200 hylafax (4.0.2-9) unstable; urgency=low * Fixed debian/postinst bashisms (closes: #35020) * Removed chown on ttyS? (closes: #34276) * Changed cron.weekly to test xferlog (closes: #33697) * Fixed configure to use CONFIG_MAXGID="65534" (closes: #31323) -- Christophe Le Bars Sat, 29 May 1999 14:03:39 +0200 hylafax (4.0.2-8) frozen unstable; urgency=low * Fixed debian/rules to generate hylafax-doc in binary-arch target (Fixes: Bug#25586) * Removed xferlog from hylafax-server (Fixes: Bug#28795) * Compiled hylafax-server against libstdc++2.9 (Fixes: Bug#29066) * Compiled hylafax-client against libstdc++2.9 (Fixes: Bug#29065) * Changed font metric information directory to /usr/share/enscript (Fixes: Bug#25700) -- Christophe Le Bars Sun, 20 Dec 1998 18:53:57 +0100 hylafax (4.0.2-7) unstable stable; urgency=high * Fixed faxcron, recvstats and xferstats /tmp bug (with tempfile) -- Christophe Le Bars Mon, 28 Sep 1998 11:59:13 +0200 hylafax (4.0.2-6) unstable; urgency=low * Changed a dependency for hylafax-doc : now only suggests man2html (Fixes: Bug#26107) * Fixed wedged.sh (Fixes: Bug#23200) * Added a new faxrcvd.sh using MIME (Behan Webster patch) (Fixes: Bug#20930) * Fixed debian/install and debian/html-patch calls (Fixes: Bug#24506) * Deleted debian/rules LDFLAGS Make variable (Fixes: Bug#25579) * Added new options to faxcover -- Christophe Le Bars Sun, 6 Sep 1998 17:06:42 +0200 hylafax (4.0.2-5) unstable stable; urgency=high * Removed faxsurvey (security fix) -- Christophe Le Bars Wed, 5 Aug 1998 14:04:10 +0200 hylafax (4.0.2-4) frozen unstable; urgency=low * Added '>/dev/null' to savelog calls in /etc/cron.weekly * Fixed /etc/init.d/hylafax to conform boot console policy (Fixes: Bug#21285) * Added postinst in hylafax-client to determine default paper size with paperconf (Fixes: Bug#21149) * Fixed postinst in hylafax-server to purge syslog.conf entry (Fixes: Bug#21634) -- Christophe Le Bars Sat, 25 Apr 1998 16:21:01 +0200 hylafax (4.0.2-3) frozen unstable; urgency=medium * Fixed /etc/aliases handling in postinst (Fixes: Bug#20464) * Added newaliases call in postinst * Added getty symlinks handling in postinst (Fixes: Bug#20467) * Fixed /etc/hylafax link (Fixes: Bug#21003) -- Christophe Le Bars Sat, 11 Apr 1998 02:07:55 +0200 hylafax (4.0.2-2) frozen unstable; urgency=medium * Fixed a dependency on enscript in hylafax-client (Fixes: Bug#19610) * Fixed copyright path (Fixes: Bug#19329) * Deleted special file (Fixes: Bug#19329) -- Christophe Le Bars Wed, 25 Mar 1998 00:50:23 +0100 hylafax (4.0.2-1) unstable; urgency=low * New upstream release with pristine sources * Added a dependency on mgetty-viewfax in hylafax-client * Patched hfaxd to use /etc/hylafax (#18178) * User can now specify tagline (Bug#18179) * Fixed test on /var/spool/fax/etc in faxsetup (Bug#18346) -- Christophe Le Bars Tue, 3 Mar 1998 20:07:11 +0100 hylafax (4.0.1-5) unstable; urgency=low * Added a dependency on libtiff-tools in hylafax-server (Bug#17818) * Fixed textfmt path in faxsetup (Bug#17834) * Removed a warning message in faxstat (Bug#17835) -- Christophe Le Bars Mon, 9 Feb 1998 19:49:20 +0000 hylafax (4.0.1-4) unstable; urgency=low * Fixed error with old init.d script (Bug#17678) * Added hylafax suffix to man pages (Bug#17681) * Added faxanswer faxabort and faxquit symbolic links (Bug#17727) * Added hylafax-client man pages (Bug#17734) * Moved textfmt to hylafax-client (Bug#17736) -- Christophe Le Bars Wed, 4 Feb 1998 00:11:25 +0100 hylafax (4.0.1-3) unstable; urgency=low * New maintainer * Changed distribution * Built with libc6 * Updated to Debian standards * New debian/rules * Fixed sendmail path (Bug#10451) * Fixed FIFO permission problem (Bug#9292) * Closed obsoletes bugs (Bug#9170) (Bug#9171) (Bug#9293) -- Christophe Le Bars Sun, 25 Jan 1998 16:00:56 +0100 hylafax (4.0.1-2) experimental; urgency=low * Incremented debian version number so as not to clash with Christoph Lameter's hylafax package. -- Dermot Bradley Tue, 15 Apr 1997 12:14:10 +0100 hylafax (4.0.1-1) experimental; urgency=low * Initial Release. Some problems. * Looking for someone else to give the finishing touches to the package. -- Christoph Lameter Fri, 21 Feb 1997 19:34:40 -0800 hylafax-6.0.6/debian/compat000066400000000000000000000000021176352547600156170ustar00rootroot000000000000005 hylafax-6.0.6/debian/control000066400000000000000000000033571176352547600160340ustar00rootroot00000000000000Source: hylafax Maintainer: Giuseppe Sacco Section: comm Priority: extra Standards-Version: 3.7.3 Homepage: http://www.hylafax.org Vcs-Cvs: :pserver:cvs@cvs.hylafax.org:/cvsroot Vcs-Browser: http://git.hylafax.org/HylaFAX Build-Depends: debhelper (>= 4.1.16), libtiff4-dev (>= 3.6.1-3), libtiff-tools (>= 3.6.1-3), zlib1g-dev (>= 0.95), ed, autotools-dev, dpatch, libpam-dev | libpam0g-dev, gsfonts, ghostscript | gs, dpkg (>= 1.14.6) Package: hylafax-server Architecture: any Section: comm Depends: ${shlibs:Depends}, ${misc:Depends}, libtiff-tools (>= 3.6.1-3), hylafax-client (= ${binary:Version}), mailx, psmisc, sed (>= 4.1.2), ghostscript | gs, adduser, lsb-base (>= 3.0-6) Suggests: mgetty, psrip Conflicts: mgetty-fax, capi4hylafax (<< 1:01.02.03-4) Description: Flexible client/server fax software - server daemons This package support the sending and receiving of facsimiles, the polled retrieval of facsimiles and the send of alphanumeric pages. . The host running the server must have either a Class 1, Class 2, or a Class 2.0 fax modem attached to one of its serial ports. End-user applications to manage the transmission of documents via facsimile are provided separately by the hylafax-client package. Package: hylafax-client Architecture: any Section: comm Depends: ${shlibs:Depends}, enscript | libgnomeprint-data, ucf, gsfonts, ghostscript | gs Pre-Depends: libpaper-utils Suggests: mgetty-viewfax Recommends: netpbm, transfig Conflicts: mgetty-fax Description: Flexible client/server fax software - client utilities The HylaFAX client software communicates with a HylaFAX server via TCP/IP. . HylaFAX support the sending and receiving of facsimiles, the polled retrieval of facsimiles and the send of alphanumeric pages. hylafax-6.0.6/debian/copy_configuration_from_spool000066400000000000000000000017431176352547600225110ustar00rootroot00000000000000#!/bin/sh # # This script will copy back to /etc/hylafax any modification to configuration files # in /var/spool/hylafax/etc # # Giuseppe Sacco, 16 may 2004, eppesuig@debian.org if [ ! -d /etc/hylafax ]; then echo "The destination directory /etc/hylafax doesn't exists." 1>&2 exit 1 fi if [ -f /etc/hylafax/setup.cache ]; then . /etc/hylafax/setup.cache else SPOOL=/var/spool/hylafax fi if [ ! -d "$SPOOL" ]; then echo "The main hylafax directory $SPOOL doesn't exists." 1>&2 exit 1 fi if [ ! -d "$SPOOL/etc" ]; then echo "The source hylafax directory $SPOOL/etc doesn't exists." 1>&2 exit 1 fi cd $SPOOL/etc for i in * do if [ $i != '*' ]; then # check only files (leaving the bin directory apart) if [ -f $i ]; then dest=/etc/hylafax/$i if [ -f $dest ]; then if [ $i -nt $dest ]; then echo "Updating $dest from $PWD/$i." /bin/cp -p $i $dest fi else echo "Creating $dest from $PWD/$i." /bin/cp -p $i $dest fi fi fi done cd - hylafax-6.0.6/debian/copyright000066400000000000000000000132011176352547600163510ustar00rootroot00000000000000This package was debianized by Pavel Tcholakov on Mon, 9 Mar 1998 11:00:24 +0100. Repackaged by Matthias Klose From may 2004 the new Debian maintainer is Giuseppe Sacco It was downloaded from http://www.hylafax.org/ Copyright: HylaFAX Facsimile Software Copyright (c) 1990-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc. HylaFAX is a trademark of Silicon Graphics, Inc. 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. Acknowledgements ---------------- The regular expression support is based on Henry Spencer's POSIX 1003.2 compliant regex package that has ``Copyright 1992, 1993, 1994 Henry Spencer. All rights reserved.'' Consult regex/COPYRIGHT for the full copyright notice associated with this software. The code to read PCF fonts is distantly related to the X11R5 code that is ``Copyright 1990 Massachusetts Institute of Technology''; consult faxd/PCFFont.c++ for the full copyright notice. The textfmt program is distantly related to the lptops program written by Nelson Beebe; there was no copyright notice on the version of the code that textfmt grew out of. The config.guess and config.sub scripts are part of the GNU autoconf package and covered by the GNU Public License (GPL). Several ideas in the configure script are directly "borrowed" from autoconf (and I have tried to maintain as much compatibility as possible). On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. The PCF font etc/lutRS18.pcf included for use with tag lines is a compiled version of a LucidaTypewriter font that was contributed to X11 by Bigelow & Holmes. Redistribution of this font requires inclusion of this copyright notice: NOTICE TO USER: The source code, including the glyphs or icons forming a par of the OPEN LOOK TM Graphic User Interface, on this tape and in these files is copyrighted under U.S. and international laws. Sun Microsystems, Inc. of Mountain View, California owns the copyright and has design patents pending on many of the icons. AT&T is the owner of the OPEN LOOK trademark associated with the materials on this tape. Users and possessors of this source code are hereby granted a nonexclusive, royalty-free copyright and design patent license to use this code in individual and commercial software. A royalty-free, nonexclusive trademark license to refer to the code and output as "OPEN LOOK" compatible is available from AT&T if, and only if, the appearance of the icons or glyphs is not changed in any manner except as absolutely necessary to accommodate the standard resolution of the screen or other output device, the code and output is not changed except as authorized herein, and the code and output is validated by AT&T. Bigelow & Holmes is the owner of the Lucida (R) trademark for the fonts and bit-mapped images associated with the materials on this tape. Users are granted a royalty-free, nonexclusive license to use the trademark only to identify the fonts and bit-mapped images if, and only if, the fonts and bit-mapped images are not modified in any way by the user. Any use of this source code must include, in the user documentation and internal comments to the code, notices to the end user as follows: (c) Copyright 1989 Sun Microsystems, Inc. Sun design patents pending in the U.S. and foreign countries. OPEN LOOK is a trademark of AT&T. Used by written permission of the owners. (c) Copyright Bigelow & Holmes 1986, 1985. Lucida is a registered trademark of Bigelow & Holmes. Permission to use the Lucida trademark is hereby granted only in association with the images and fonts described in this file. SUN MICROSYSTEMS, INC., AT&T, AND BIGELOW & HOLMES MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOURCE CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND. SUN MICROSYSTEMS, INC., AT&T AND BIGELOW & HOLMES, SEVERALLY AND INDIVIDUALLY, DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SUN MICROSYSTEMS, INC., AT&T OR BIGELOW & HOLMES BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOURCE CODE. hylafax-6.0.6/debian/examples/000077500000000000000000000000001176352547600162375ustar00rootroot00000000000000hylafax-6.0.6/debian/examples/FaxDispatch.example000066400000000000000000000025711176352547600220170ustar00rootroot00000000000000## This is an example /etc/hylafax/FaxDispatch which shows you some ## of the features of the stock faxrcvd command. You should not ## use this file as is. For details, read faxrcvd(8). ## To route all incoming faxes in pdf to a single account. SENDTO=someguy@somedomain.com FILETYPE=pdf ## To do sender-based routing [from faxrcvd(8)] case "$SENDER" in *1*510*526*1212*) SENDTO=sam;; # Sam's test rig in Berkeley *1*415*390*1212*) SENDTO=raster@asd;; # 7L Xerox room, used for scanning *5107811212) SENDTO=peebles@mti;; # stuff from home esac case "$CIDNUMBER" in 435*) SENDTO=lee; FILETYPE=pdf;; # all faxes from area code 435 5059627777) SENDTO=amy; FILETYPE=tif;; # Amy wants faxes in TIFF esac case "$SUBADDR" in 53) SENDTO=FaxMaster;; # without double-notification roger) SENDTO=roger;; # possible text subaddressing esac ## To do device-based routing [from faxrcvd(8)] case "$DEVICE" in ttyS1) SENDTO=john;; # all faxes received on ttyS1 ttyLT0) SENDTO=mary@home;; # all faxes received on ttyLT0 esac ## To make each received fax saved outside hylafax ## ( Don't forget to chown uucp /some/place ) /bin/cp $FILE /some/place ## To avoid bothering the faxmaster for each received fax NOTIFY_FAXMASTER=errors hylafax-6.0.6/debian/examples/pam-hylafax000066400000000000000000000010101176352547600203610ustar00rootroot00000000000000# # /etc/pam.d/other - specify the PAM fallback behaviour # # Note that this file is used for any unspecified service; for example #if /etc/pam.d/cron specifies no session modules but cron calls #pam_open_session, the session module out of /etc/pam.d/other is #used. If you really want nothing to happen then use pam_permit.so or #pam_deny.so as appropriate. # We fall back to the system default in /etc/pam.d/common-* # @include common-auth @include common-account @include common-password @include common-session hylafax-6.0.6/debian/examples/retainfaxcover.sh000066400000000000000000000043521176352547600216170ustar00rootroot00000000000000#! /bin/sh # custom faxsend that will combine any .cover with the .ps file of the job. # # At this point in the process, the ps files have already been prepared by faxq into the # required tiff files for transmission. So, all we need to do here is to combined the # cover.ps file with the document.ps file into a single ps file (the document ps file). # We have to combine them before we acutally call the real faxsend. # The cover.ps will be removed later by the real faxsend. # Whatever remains in the document.ps file will get returned by the notify script. # # There is no need to modify the qfile or to delete any other ps files ourselves here. # # LIMITATIONS: # we are going to have to do some more work if there is anyting but .ps files being submitted. # or if there are more than one .cover or 1 .ps file submitted per job. # if there is more than one qfile at the end of the arg list, the others will not get # processed correctly by this script NUMARGS=$# QFILE=${!NUMARGS} # Is there a cover listed in the qfile ? QFILECOVERLINE="`cat "$QFILE" | grep "^!postscript.*.cover"`" if [ $? -eq 1 ]; then # no cover for this fax # do nothing. here and just call c2faxsend with original args : else # YES there is a cover file # What's the name of the fax doc listed in the qfile? QFILEDOCLINE="`cat "$QFILE" | grep "^!postscript.*.ps"`" # the q file entries look like the following so we need to do some cuts # !postscript:0::docq/doc11552.cover # !postscript:0::docq/doc13525.ps.11552 PSDOCFILE="`echo "$QFILEDOCLINE" | cut -d":" -f4`" PSCOVERFILE="`echo "$QFILECOVERLINE" | cut -d":" -f4`" # make a uniq tmp file name. use kill time. $$ won't do it if this has multi desinations KILLTIME="`cat $QFILE | grep "killtime:" | cut -d":" -f2`" TMPFILE="tmp/${KILLTIME}.coverplusdoc" # now combine the cover and the doc file into one file and then use the combined file cp "$PSCOVERFILE" "$TMPFILE" cat "$PSDOCFILE" >> "$TMPFILE" cat "$TMPFILE" > "$PSDOCFILE" # do a cat vs mv incase files are ever linked rm "$TMPFILE" fi # Call the original faxsend command with whatever args this sript was called with. /usr/sbin/faxsend $* # Exit, and don't forget the status exit $? hylafax-6.0.6/debian/hosts.hfaxd000066400000000000000000000003321176352547600165730ustar00rootroot00000000000000# hosts.hfaxd # This file contains permissions and password for every user in # the system. # # For more information on this biject, please see its man page # and the commands faxadduser and faxdeluser. localhost:21:: hylafax-6.0.6/debian/hyla.conf000066400000000000000000000017641176352547600162350ustar00rootroot00000000000000# # /etc/hylafax/hyla.conf # # System-wide client configuration file # System-wide configuration information # ------------------------------------- # Host - host to contact for service # Host: localhost # Verbose - whether or not to enable protocol tracing # Verbose: No # Faxstat configuration information # --------------------------------- # TimeZone - control whether the times and dates are reported in the local # timezone of the server (`local') or in GMT (`GMT'). # TimeZone: local # Sendfax configuration information # --------------------------------- # DialRules - file containing dialstring rules # DialRules: "/etc/hylafax/dialrules" # If you don't want to have cover pages added automatically for every fax send # by "sendfax", please uncomment the following line. # AutoCoverPage: No # These three fontMap paths are for etch:sarge:woody FontMap: /usr/share/gs-esp/8.15/lib:/usr/share/gs-esp/7.07/lib:/usr/share/gs/6.53 FontPath: /usr/share/fonts/type1/gsfonts hylafax-6.0.6/debian/hylafax-client.install000066400000000000000000000000601176352547600207150ustar00rootroot00000000000000libhylafax/libhylafax-*.{so,a}* usr/lib/hylafax hylafax-6.0.6/debian/hylafax-client.postinst000066400000000000000000000031631176352547600211410ustar00rootroot00000000000000#! /bin/sh -e # generate /etc/hylafax/pagesizes newfile=`tempfile` chmod a+r "$newfile" cat /usr/share/hylafax/pagesizes | sed -e 's/^default/#default/' >> "$newfile" perl -e 'print "default\t\t\t" . `paperconf -N|tr -d "\n"` . "\t"; print int(`paperconf -mw` * 1200 / 25.4) . "\t"; print int(`paperconf -mh` * 1200 / 25.4) . "\t"; print int((`paperconf -mw` * 1200 / 25.4 - 300)*0.962) . "\t"; print int((`paperconf -mh` * 1200 / 25.4 - 100)*0.948) . "\t"; print "472\t345\n";' >> "$newfile" # # Copy the new configuration file in /var/spool/hylafax # or copy the old one in /etc/hylafax # if [ -f /var/spool/hylafax/etc/pagesizes ] && [ -f /etc/hylafax/pagesizes ]; then if [ /etc/hylafax/pagesizes -nt /var/spool/hylafax/etc/pagesizes ]; then /usr/bin/ucf "$newfile" /etc/hylafax/pagesizes < /dev/tty cp -p /etc/hylafax/pagesizes /var/spool/hylafax/etc/pagesizes else /usr/bin/ucf /var/spool/hylafax/etc/pagesizes /etc/hylafax/pagesizes < /dev/tty fi else /usr/bin/ucf "$newfile" /etc/hylafax/pagesizes < /dev/tty fi rm -f "$newfile" # # Copy all client configuration files from /etc/hylafax to /var/spool/hylafax # but only if the hylafax-server is installed, i.e., if /var/spool/hylafax/etc # exists. # if [ -d /var/spool/hylafax/etc ] && [ ! -h /var/spool/hylafax/etc ]; then # # on a specific system there was a problem with faxmail.ps so I have to check # for the existence of every file before copying it. # for f in /etc/hylafax/pagesizes /etc/hylafax/typerules \ /etc/hylafax/hyla.conf /etc/hylafax/faxcover.ps \ /etc/hylafax/faxmail.ps do [ -f "$f" ] && cp -p "$f" /var/spool/hylafax/etc/ done fi exit 0 hylafax-6.0.6/debian/hylafax-client.postrm000066400000000000000000000003721176352547600206010ustar00rootroot00000000000000#! /bin/sh -e #DEBHELPER# if [ "$1" = "purge" ]; then [ -d /etc/hylafax ] && rm -f /etc/hylafax/pagesizes rmdir --ignore-fail-on-non-empty /etc/hylafax if [ -x /usr/bin/ucf ]; then /usr/bin/ucf --purge /etc/hylafax/pagesizes fi fi hylafax-6.0.6/debian/hylafax-server.conffiles000066400000000000000000000007511176352547600212560ustar00rootroot00000000000000/var/spool/hylafax/bin/archive /var/spool/hylafax/bin/faxrcvd /var/spool/hylafax/bin/mkcover /var/spool/hylafax/bin/notify /var/spool/hylafax/bin/notify-4.1 /var/spool/hylafax/bin/notify.awk /var/spool/hylafax/bin/pcl2fax /var/spool/hylafax/bin/pdf2fax.gs /var/spool/hylafax/bin/pollrcvd /var/spool/hylafax/bin/ps2fax.gs /var/spool/hylafax/bin/tiff2fax /var/spool/hylafax/bin/tiff2pdf /var/spool/hylafax/bin/wedged /var/spool/hylafax/bin/common-functions /var/spool/hylafax/bin/dictionary hylafax-6.0.6/debian/hylafax-server.hylafax.cron.monthly000066400000000000000000000011131176352547600233640ustar00rootroot00000000000000#!/bin/sh test -f /usr/sbin/xferfaxstats || exit 0 # Generate HylaFAX's monthly fax statistics # Generate statistics for faxes during the past month. Two reports # are generated - one ordered by the destination fax number, the # other ordered by the sender. # No fax received in last month test -f /var/spool/hylafax/log/xferfaxlog || exit 0 /usr/sbin/xferfaxstats -dest -since `date +%D -d'-1 month'` 2>&1 | mail -s "Monthly fax stats - by destination" faxmaster /usr/sbin/xferfaxstats -send -since `date +%D -d'-1 month'` 2>&1 | mail -s "Monthly fax stats - by sender" faxmaster hylafax-6.0.6/debian/hylafax-server.hylafax.cron.weekly000066400000000000000000000011011176352547600231670ustar00rootroot00000000000000#!/bin/sh test -f /usr/sbin/faxcron || exit 0 test -f /usr/sbin/faxqclean || exit 0 test -f /var/spool/hylafax/log/xferfaxlog || exit 0 # Rotate the HylaFAX logfile savelog -c 5 /var/log/hylafax/hylafax.log >/dev/null # HylaFAX routine maintenance script savelog -c 5 /var/log/hylafax/faxcron.log >/dev/null faxcron -info 35 -log 35 -rcv 100 -tmp 15 -mode 664 >> /var/log/hylafax/faxcron.log 2>&1 # HylaFAX queue cleaner process (3024000s = 35 day) savelog -c 5 /var/log/hylafax/faxqclean.log >/dev/null faxqclean -t -j 3024000 -a >> /var/log/hylafax/faxqclean.log 2>&1 hylafax-6.0.6/debian/hylafax-server.hylafax.default000066400000000000000000000032051176352547600223620ustar00rootroot00000000000000# default settings for hylafax server # try to check for the correct USE_FAXGETTY value if grep -E '^[^#]*:respawn:/usr/sbin/fax(getty|modem).*$' /etc/inittab >/dev/null 2>&1 then USE_FAXGETTY=init else USE_FAXGETTY=yes fi # Arguments for faxgetty command. At least -D should be specified # as explained in debian bug #462459. FAXGETTYARGS="-D" # In a send only installation you may want to use faxgetty # or faxmodem on lines already configured with faxaddmodem. # faxgetty is the new default, faxmodem the old one. # For a better understanding of the difference between faxmodem # and faxgetty, see http://www.hylafax.org/archive/1999-09/msg00043.php # # In a send/receive installation you must use faxgetty. # # To use faxmodem change the following variable value to "no". # # You may also prefer to run faxmodem/faxgetty via inittab instead of # running it here from a script. In this case set its value as # "init". # USE_FAXGETTY=yes # # Uncomment this line once hylafax has been fully configured and/or # you want to enable the server. # # RUN_HYLAFAX=1 # # If you need to bind hylafax to one address only, just uncomment # this variable and change the value using your preferred IP. # # BINDTO="-l 127.0.0.1" # # The following variables are automatically assigned by running # the faxsetup utility. If you leave them commented out then # faxsetup values are used. You may specify here the values to # use. # # OLDPROT="-o 4557" # NEWPROT="-i 4559" # SNPP="-s 444" # # hfaxd may be run from inetd while faxq should still be executed # by the init script. If you run hfax via inetd or xinetd then # uncomment the following line # HFAXD_FROM_INET=true hylafax-6.0.6/debian/hylafax-server.hylafax.init000066400000000000000000000163521176352547600217100ustar00rootroot00000000000000#!/bin/sh # vi:set ts=2 sw=2 sts=2 et: # Start or stop HylaFAX # # This script start and stop hylafax daemons. # It is driver by a configuration file sourced by this shell # and called /etc/default/hylafax. ### BEGIN INIT INFO # Provides: hylafax # Required-Start: $syslog # Required-Stop: $syslog # Should-Start: $local_fs $network # Should-Stop: $local_fs $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start and stop the hylafax server # Description: Synchronize the /etc/hylafax directory with # /var/spool/hylafax/etc and then start hylafax # daemons. Otherwise stop all hylafax daemons. ### END INIT INFO # 28-Dec-2003 Ross Boylan # Add "init" option to USE_FAXGETTY # This will cause this script to assume that faxgetty is already # running from the inittab file # 19-sep-2006 Giuseppe Sacco # Added support for lsb message handling . /lib/lsb/init-functions PATH=/sbin:/bin:/usr/sbin:/usr/bin HYLAFAX_HOME=/var/spool/hylafax FAXGETTY=/usr/sbin/faxgetty FAXMODEM=/usr/sbin/faxmodem PIDFILE=/var/run/hfaxd.pid OLDPROT= NEWPROT= SNPP= RUN_HYLAFAX=0 if [ -f /etc/hylafax/setup.cache ]; then # # Check if old protocol server should be started grep -qE "^HFAXD_OLD_PROTOCOL='(1|yes)'" /etc/hylafax/setup.cache if [ $? -eq 0 ]; then OLDPROT="-o 4557" fi # # Check if new protocol server should be started grep -qE "^HFAXD_SERVER='(1|yes)'" /etc/hylafax/setup.cache if [ $? -eq 0 ]; then NEWPROT="-i 4559" fi # # Check if SNPP server should be started grep -qE "^HFAXD_SNPP_SERVER='(1|yes)" /etc/hylafax/setup.cache if [ $? -eq 0 ]; then SNPP="-s 444" fi else echo "ERROR: You must run faxsetup before starting hylafax." 1>&2 exit 1 fi if [ -z "$OLDPROT$NEWPROT$SNPP" -a "$1" != stop ] then if [ -z "$HFAXD_FROM_INET" -o "$HFAXD_FROM_INET" != true ] then echo "You must specify at least one protocol OLD, NEW or SNPP in" echo "/etc/hylafax/setup.cache using the command faxsetup," echo "otherwise you might only run hylafax via inetd." exit 1 fi fi if [ -r /etc/default/hylafax ]; then . /etc/default/hylafax fi test -x /usr/sbin/faxq || exit 0 test -x /usr/sbin/hfaxd || exit 0 if [ "$RUN_HYLAFAX" -ne 1 ]; then echo "Hylafax is disabled, see /etc/default/hylafax" exit 1 fi echo_fax_devices() { for device in config.* do if [ "$device" != 'config.*' ] then dev=${device##config.} # the next line is a patch included in #283111 for # handling devfs file names. dev=$(echo "$dev"|sed 's,_,/,g') if [ \( -f "$device" -a -e /dev/$dev \) -o \ \( "$dev" = faxCAPI -a -e /dev/capi20 \) ] then echo "$dev" fi fi done } x() { echo + "$@" 1>&2 eval "$@" } update_dir() { # This function won't copy dot-files. for src in "$1/"* do if [ "$src" != "${src%%\~}" ] || [ "$src" != "${src%%.bak}" ] then continue fi dst="$2/"$(basename $src) if [ ! -e "$dst" ] ; then x /bin/cp -a "\"$src\"" "\"$dst\"" else if [ -d "$dst" ]; then update_dir "$src" "$dst" else if [ -L "$dst" -a \ '(' ! -L "$src" -o x$(readlink "$dst") != x$(readlink "$src") ')' ]; then x /bin/rm -f "\"$dst\"" x /bin/cp -a "\"$src\"" "\"$dst\"" else if [ "$src" -nt "$dst" ]; then # The configuration file has been changed in $src x /bin/cp -p "\"$src\"" "\"$dst\"" else if [ "$dst" -nt "$src" ]; then # The configuration file has been changed in $dst echo "ERROR: $dst is newer than $src" 1>&2 echo "Please send a bug report on the hylafax-server package" 1>&2 exit 1 else # in some cases, user change ownership/access right to files in /etc/hylafax. # this will copy these rights to files in /var/spool/hylafax/etc chmod --reference="$src" "$dst" chown --reference="$src" "$dst" fi fi fi fi fi done } # This function in called when starting the hylafax server. # It clone the /etc directory into the chroot() directory copy_slash_etc() { SPOOL=$(grep SPOOL= /etc/hylafax/setup.cache | awk -F= '{print $2}' | tr -d \'\") if [ -z "$SPOOL" ]; then echo "ERROR: You must run faxsetup before starting hylafax" 1>&2 echo "and be sure to check that the SPOOL variable is assigned." 1>&2 exit 1 fi if [ -d "$SPOOL/etc" ]; then update_dir "/etc/hylafax" "$SPOOL/etc" else echo "Can't create directory $SPOOL/etc" 1>&2 exit 1 fi } daemon_stop() { log_daemon_msg "Stopping HylaFAX" faxq p=$(ps --no-headers -C faxq -o pid) if [ -n "$p" ] then start-stop-daemon --stop --exec /usr/sbin/faxq sleep 1 p=$(ps --no-headers -C faxq -o pid) [ -n "$p" ] && kill $p fi log_progress_msg "hfaxd" p=$(ps --no-headers -C hfaxd -o pid) if [ -n "$p" ] then start-stop-daemon --stop --exec /usr/sbin/hfaxd --pidfile $PIDFILE -- $BINDTO $NEWPROT $OLDPROT $SNPP sleep 1 p=$(ps --no-headers -C hfaxd -o pid) [ -n "$p" ] && kill $p fi if [ ${USE_FAXGETTY} = "yes" ]; then log_progress_msg "faxgetty" killall faxgetty 2> /dev/null || true fi # wait maximum sixty seconds for server processes to shutdown try=0 while [ $try -lt 60 ] && [ 0 -lt $(ps --no-headers -Chfaxd,faxq | wc -l) ] do sleep 1 try=$(($try+1)) done if [ 0 -eq "$(ps --no-headers -Chfaxd,faxq | wc -l)" ] then log_end_msg 0 else log_end_msg 1 fi } daemon_start() { if [ ${USE_FAXGETTY} = "yes" ] then count=$(ps --no-headers -Chfaxd,faxq,faxgetty | wc -l) else count=$(ps --no-headers -Chfaxd,faxq | wc -l) fi if [ $count -eq 0 ]; then log_daemon_msg "Starting HylaFAX" "syncing directories..." copy_slash_etc log_progress_msg "faxq" start-stop-daemon --start --exec /usr/sbin/faxq if [ -z "$HFAXD_FROM_INET" -o "$HFAXD_FROM_INET" != true ] then log_progress_msg "hfaxd" start-stop-daemon --start --exec /usr/sbin/hfaxd --make-pidfile --pidfile $PIDFILE --background -- -d $BINDTO $NEWPROT $OLDPROT $SNPP fi cd ${HYLAFAX_HOME}/etc devices="`echo_fax_devices`" if [ ${USE_FAXGETTY} = "yes" ] && [ -n "$devices" ]; then log_progress_msg "faxgetty" for device in $devices none; do [ "$device" = none ] && continue ${FAXGETTY} $FAXGETTYARGS `echo $device | cut -d . -f 2` & done elif [ ${USE_FAXGETTY} != "init" ] && [ -n "$devices" ]; then log_progress_msg "faxmodem" for device in $devices none; do [ "$device" = none ] && continue ${FAXMODEM} `echo $device | cut -d . -f 2` >/dev/null 2>&1 &2 exit 1 fi log_end_msg 0 } case "$1" in start) daemon_start ;; stop) daemon_stop ;; restart|force-reload) daemon_stop sleep 1 daemon_start ;; *) echo "Usage: /etc/init.d/hylafax {start|stop|restart|force-reload}" exit 1 ;; esac exit 0 hylafax-6.0.6/debian/hylafax-server.postinst000066400000000000000000000207761176352547600212020ustar00rootroot00000000000000#! /bin/sh -e #DEBHELPER# # Source debconf library. . /usr/share/debconf/confmodule db_title HylaFAX Server # Create the faxmaster account if it doesn't exist already if ! id faxmaster >/dev/null 2>&1; then adduser --system --group --home /var/spool/hylafax --no-create-home --disabled-password \ --gecos "HylaFAX administrative mailbox" faxmaster fi if [ -f /var/spool/hylafax/etc/hosts -a ! -f /var/spool/hylafax/etc/hosts.hfaxd ]; then mv /var/spool/hylafax/etc/hosts /var/spool/hylafax/etc/hosts.hfaxd cp -p /var/spool/hylafax/etc/hosts.hfaxd /etc/hylafax/ fi # # copy all configuration files from var/spool/hylafax/etc to /etc/hylafax # (This means that we are upgrading a system where the "twin directories" # were already setup) # conf="" nconf=0 if [ ! -L /var/spool/hylafax/etc ]; then # # create a list of all configuration files in use # cd /var/spool/hylafax/etc for i in config.* do if [ -e "$i" ]; then conf="$conf $i" nconf=$(($nconf+1)) fi done [ -f config ] && conf="$conf config" cd - >/dev/null 2>&1 # # copy old configuration files to /etc/hylafax # for i in $conf cover.templ dialrules dialrules.europe dialrules.sf-ba faxcover.ps faxmail.ps hfaxd.conf hosts.hfaxd lutRS18.pcf setup.cache setup.modem typerules do if [ -f "/etc/hylafax/$i" -a -e "/var/spool/hylafax/etc/$i" ] then if [ -L "/var/spool/hylafax/etc/$i" ] then if [ $(readlink "/var/spool/hylafax/etc/$i") = "/etc/hylafax/$i" ] then # This is a link from /var/spool/hylafax/etc/$i # to /etc/hylafax/$i . Most probably it is a # configuration file from other software, like # capi4hylafax. # # So, I remove the link and recreate it, copying # from its mastercopy. rm /var/spool/hylafax/etc/$i cp -p /etc/hylafax/$i /var/spool/hylafax/etc/$i else cp -p /var/spool/hylafax/etc/$i /etc/hylafax/$i fi else # if the file in /etc/hylafax already exists and is an updated config file # then keep it. See #287056 if grep -q ^/etc/hylafax/$i\$ /var/lib/dpkg/info/hylafax-server.conffiles then if grep -q "^$(cd /; md5sum etc/hylafax/$i)$" /var/lib/dpkg/info/hylafax-server.md5sums then cp -p /etc/hylafax/$i /var/spool/hylafax/etc/$i else # file is a config file and is changed, so it isn't the new one in /etc/hylafax cp -p /var/spool/hylafax/etc/$i /etc/hylafax/$i fi else # file isn't a conffile cp -p /var/spool/hylafax/etc/$i /etc/hylafax/$i fi fi fi done else # # Otherwise, we are upgrading from a system that uses the linked # directories, i.e., Woody # rm /var/spool/hylafax/etc mkdir /var/spool/hylafax/etc chown uucp:uucp /var/spool/hylafax/etc fi # # hylafax-server require hylafax-client, so now all clent files are copied to the server dir. # for f in hyla.conf pagesizes faxcover.ps typerules faxmail.ps do [ -e /etc/hylafax/$f ] && cp -p /etc/hylafax/$f /var/spool/hylafax/etc done if [ -L /var/spool/hylafax/bin ] then real=$(readlink -f /var/spool/hylafax/bin) rm /var/spool/hylafax/bin mv "$real" /var/spool/hylafax/bin fi # # Remove old /etc/hylafax/bin directory # if [ -d /etc/hylafax/bin ] then cd /etc/hylafax/ tar czf old-bin-directory.tgz bin cd - rm -rf /etc/hylafax/bin fi # # Remove old /var/spool/hylafax/etc/bin directory # if [ -d /var/spool/hylafax/etc/bin ] then cd /var/spool/hylafax/etc tar czf /etc/hylafax/old-spoolbin-directory.tgz bin cd - rm -rf /var/spool/hylafax/etc/bin fi # Add getty symlinks if [ -e /sbin/mgetty ]; then [ -e /etc/hylafax/getty-link ] \ || ln -s /sbin/mgetty /etc/hylafax/getty-link [ -e /etc/hylafax/egetty-link ] \ || ln -s /sbin/mgetty /etc/hylafax/egetty-link fi if [ -e /usr/sbin/vgetty ]; then [ -e /etc/hylafax/vgetty-link ] \ || ln -s /usr/sbin/vgetty /etc/hylafax/vgetty-link fi # Change owner and group to uucp so that the FIFO pipes could be created. chown uucp:uucp /var/spool/hylafax if [ ! -e /var/spool/hylafax/etc/setup.cache -a ! -e /etc/hylafax/setup.cache ] then (echo ; echo no) | faxsetup -server # # Check if faxsetup worked correctly # if [ ! -f /etc/hylafax/setup.cache ] then db_input critical hylafax-server/setup_failed || true db_go exit 1 fi else # # These links are normally created via faxsetup during the first # installation. If we are upgrading from an earlier version (and not # installing for the first time) we have to create them by hand. # 4.2.1-5 if [ ! -e /var/spool/hylafax/bin/pdf2fax ] then (cd /var/spool/hylafax/bin && ln -s pdf2fax.gs pdf2fax) fi if [ ! -e /var/spool/hylafax/bin/ps2fax ] then (cd /var/spool/hylafax/bin && ln -s ps2fax.gs ps2fax) fi fi setupcache=/etc/hylafax/setup.cache [ ! -e $setupcache ] && setupcache=/var/spool/hylafax/etc/setup.cache sed -i -e 's@^DPSRIP=.*$@DPSRIP=@' $setupcache sed -i -e "s@^AWK='/bin/awk'@AWK='/usr/bin/awk'@" $setupcache sed -i -e "s@^ENCODING=''@ENCODING='base64'@" $setupcache sed -i -e "s@^MANDIR='/usr/local/man'@MANDIR='/usr/share/man'@" $setupcache sed -i -e "s@^FONTPATH='/usr/local/lib/ghostscript/common:/usr/local/lib/ghostscript/7.07:/usr/local/lib/ghostscript/fonts:/usr/local/share/ghostscript/common:/usr/local/share/ghostscript/7.07:/usr/local/share/ghostscript/fonts:/var/lib/defoma/gs.d/dirs/fonts:/usr/share/ghostscript/common:/usr/share/gs/7.07'@FONTPATH='/usr/share/enscript/afm:/usr/share/fonts/afms/adobe:/usr/share/fonts/type1/gsfonts'@" $setupcache # When upgrading to 4.2.1, be sure that all fields are present in the configuration. if [ -x /usr/bin/uuencode ] then grep -q '^UUENCODE=' $setupcache || echo "UUENCODE='/usr/bin/uuencode'" >> $setupcache grep -q '^ENCODING=' $setupcache || echo "ENCODING='base64'" >> $setupcache # if uuencode was specified without complete PATH then add it # see bug #377914 if grep -q "^UUENCODE='uuencode'" $setupcache then sed -i -e "s@^UUENCODE='uuencode'@UUENCODE='/usr/bin/uuencode'@" $setupcache fi fi # bug #429614 # check for uuencode used for base64encoding. Change it to use mimencode if [ -x /usr/bin/mimencode ] then sed -i -e "s@BASE64ENCODE='/usr/bin/uuencode'@BASE64ENCODE='/usr/bin/mimencode'@" $setupcache sed -i -e "s@BASE64ENCODE='/usr/bin/uuencode -m ===='@BASE64ENCODE='/usr/bin/mimencode'@" $setupcache fi # bug #425191 # Update psrip path if [ -x /usr/bin/psrip ] then sed -i -e "s@IMPRIP='/usr/lib/print/psrip'@IMPRIP='/usr/bin/psrip'@" $setupcache fi [ -x /usr/bin/tty ] && grep -q '^TTYCMD=' $setupcache || echo "TTYCMD='/usr/bin/tty'" >> $setupcache if invoke-rc.d hylafax stop then restart=true else restart=false fi (echo; echo no; echo no) | /usr/sbin/faxsetup -server # [ $restart = true ] && invoke-rc.d hylafax start # fix default values set by faxsetup without check on the real presence # of the binary executable uuenc=$(grep '^UUENCODE=' $setupcache | sed -e "s/^UUENCODE='\(.*\)'$/\1/" | (read a b; echo $a)) mmenc=$(grep '^MIMENCODE=' $setupcache | sed -e "s/^MIMENCODE='\(.*\)'$/\1/" | (read a b; echo $a)) baenc=$(grep '^BASE64ENCODE=' $setupcache | sed -e "s/^BASE64ENCODE='\(.*\)'$/\1/" | (read a b; echo $a)) if [ ! -x "$uuenc" ] then sed -i -e "s@UUENCODE='.*'@UUENCODE=''@" $setupcache fi if [ ! -x "$mmenc" ] then sed -i -e "s@MIMENCODE='.*'@MIMENCODE=''@" $setupcache fi if [ ! -x "$baenc" ] then sed -i -e "s@BASE64ENCODE='.*'@BASE64ENCODE=''@" $setupcache fi # # Tell the user that he must use faxaddmodem in order to really use # hylafax. # # Commented out per bug #388907. The text is now in README.Debian # # if [ $nconf -eq 0 ] # then # db_input low hylafax-server/configure_note || true # db_go # fi # # ask the user if he want to start hylafax now and warn it about the change in # /etc/default/hylafax. # db_input low hylafax-server/start_now || true db_go db_get hylafax-server/start_now if [ "$RET" = "true" ]; then # removed redirect to /dev/null so that user knows that # hylafax is actually restarting sed -i -e 's/# RUN_HYLAFAX=1/RUN_HYLAFAX=1/' /etc/default/hylafax # invoke-rc.d hylafax stop || true # Added || true in order to complete the installation even if something goes # wrong and the server is not starting # Closes: #357435 invoke-rc.d hylafax start || true elif [ $restart = true ]; then invoke-rc.d hylafax start fi # Remove old broken link on upgrade to 4.2.2. -- Corrected in 4.2.5 [ -L /var/spool/hylafax/etc/bin ] && rm /var/spool/hylafax/etc/bin db_stop exit 0 hylafax-6.0.6/debian/hylafax-server.postrm000066400000000000000000000015021176352547600206250ustar00rootroot00000000000000#! /bin/sh -e #DEBHELPER# USERDEL=/usr/sbin/userdel if [ "$1" = purge ]; then if getent passwd faxmaster >/dev/null 2>&1 then [ -x $USERDEL ] && $USERDEL faxmaster fi # # This will remove the directory that holds a copy of the real # debian configuration in /etc/hylafax [ -d /var/spool/hylafax/etc ] && rm -rf /var/spool/hylafax/etc [ -L /var/spool/hylafax/bin ] && rm /var/spool/hylafax/bin rm -rf /var/spool/hylafax/etc/ for i in /etc/hylafax/setup.cache /etc/hylafax/setup.modem \ /var/spool/hylafax/status/any.info /var/spool/hylafax/dev/null \ /var/spool/hylafax/FIFO /var/spool/hylafax/bin/ps2fax \ /var/spool/hylafax/bin/pdf2fax /var/spool/hylafax/bin/bin do [ -e "$i" -o -L "$i" ] && rm "$i" done [ -d /var/spool/hylafax/bin ] && rmdir /var/spool/hylafax/bin fi hylafax-6.0.6/debian/hylafax-server.prerm000066400000000000000000000003131176352547600204250ustar00rootroot00000000000000#! /bin/sh -e #DEBHELPER# if [ -x /etc/init.d/hylafax -a -e /var/spool/hylafax/etc/setup.cache -a \ $(ps --no-headers -Chfaxd,faxq,faxgetty | wc -l) -gt 0 ] then invoke-rc.d hylafax stop fi exit 0 hylafax-6.0.6/debian/hylafax-server.templates000066400000000000000000000012031176352547600212750ustar00rootroot00000000000000Template: hylafax-server/start_now Type: boolean Default: true _Description: Start the HylaFAX daemon now? Hylafax is already configured and may be started now. If you specify to start it later manually, remember to change the value of RUN_HYLAFAX in /etc/default/hylafax. Template: hylafax-server/setup_failed Type: error _Description: Hylafax setup failed While installing hylafax a script called 'faxsetup' failed. This can be caused by many reasons and cannot be fixed automatically so the hylafax-server package is now unconfigured. Please fix the problem, run 'faxsetup -server' as root and reconfigure hylafax-server manually. hylafax-6.0.6/debian/hylafax.config000066400000000000000000000002631176352547600172450ustar00rootroot00000000000000#ContCoverPage: "etc/cover.templ" #DialStringRules: "etc/dialrules" #QualifyCID: "etc/cid" #QualifyTSI: "etc/tsi" #ServerTracing: 0x08501 InternationalPrefix: 00 hylafax-6.0.6/debian/lintian.override.hylafax000066400000000000000000000213451176352547600212600ustar00rootroot00000000000000hylafax: binary-or-shlib-defines-rpath ./usr/bin/textfmt /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/bin/faxalter /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/bin/faxcover /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/bin/faxmail /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/bin/faxrm /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/bin/faxstat /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/bin/sendfax /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/bin/sendpage /usr/lib/hylafax hylafax: manpage-has-errors-from-man usr/share/man/man1/faxmail.1.gz 521: warning [p 5, 9.5i]: can't break line hylafax: manpage-has-errors-from-man usr/share/man/man1/textfmt.1.gz 244: warning [p 3, 1.3i]: can't break line hylafax: non-standard-dir-perm var/spool/hylafax/ 0775 != 0755 hylafax: file-in-unusual-dir var/spool/hylafax/config/agere-mp-2 hylafax: file-in-unusual-dir var/spool/hylafax/config/agere-mp-21 hylafax: file-in-unusual-dir var/spool/hylafax/config/att-dataport hylafax: file-in-unusual-dir var/spool/hylafax/config/att-dataport-2 hylafax: file-in-unusual-dir var/spool/hylafax/config/att-dataport-2.0 hylafax: file-in-unusual-dir var/spool/hylafax/config/att-dpexpress-2 hylafax: file-in-unusual-dir var/spool/hylafax/config/cirrus hylafax: file-in-unusual-dir var/spool/hylafax/config/class1 hylafax: file-in-unusual-dir var/spool/hylafax/config/class1.0 hylafax: file-in-unusual-dir var/spool/hylafax/config/class2 hylafax: file-in-unusual-dir var/spool/hylafax/config/class2.0 hylafax: file-in-unusual-dir var/spool/hylafax/config/class2.1 hylafax: file-in-unusual-dir var/spool/hylafax/config/conexant-1.0 hylafax: file-in-unusual-dir var/spool/hylafax/config/davicom-2 hylafax: file-in-unusual-dir var/spool/hylafax/config/digi hylafax: file-in-unusual-dir var/spool/hylafax/config/digi-2 hylafax: file-in-unusual-dir var/spool/hylafax/config/digi-20 hylafax: file-in-unusual-dir var/spool/hylafax/config/dsi-scout+ hylafax: file-in-unusual-dir var/spool/hylafax/config/eicon hylafax: file-in-unusual-dir var/spool/hylafax/config/eicon-2 hylafax: file-in-unusual-dir var/spool/hylafax/config/elsa-microlink-56k-basic-2.0 hylafax: file-in-unusual-dir var/spool/hylafax/config/e-tech hylafax: file-in-unusual-dir var/spool/hylafax/config/everex-2496d hylafax: file-in-unusual-dir var/spool/hylafax/config/exar hylafax: file-in-unusual-dir var/spool/hylafax/config/gvc-288 hylafax: file-in-unusual-dir var/spool/hylafax/config/gvc-288-2 hylafax: file-in-unusual-dir var/spool/hylafax/config/hayes hylafax: file-in-unusual-dir var/spool/hylafax/config/iaxmodem hylafax: file-in-unusual-dir var/spool/hylafax/config/intel-400e hylafax: file-in-unusual-dir var/spool/hylafax/config/linux-isdn-2 hylafax: file-in-unusual-dir var/spool/hylafax/config/lucent hylafax: file-in-unusual-dir var/spool/hylafax/config/lucent-isa hylafax: file-in-unusual-dir var/spool/hylafax/config/lucent-mt-10 hylafax: file-in-unusual-dir var/spool/hylafax/config/lucent-mt-2 hylafax: file-in-unusual-dir var/spool/hylafax/config/lucent-mt-20 hylafax: file-in-unusual-dir var/spool/hylafax/config/lucent-mt-21 hylafax: file-in-unusual-dir var/spool/hylafax/config/Makefile hylafax: file-in-unusual-dir var/spool/hylafax/config/Makefile.in hylafax: file-in-unusual-dir var/spool/hylafax/config/moto-288 hylafax: file-in-unusual-dir var/spool/hylafax/config/mt-1432 hylafax: file-in-unusual-dir var/spool/hylafax/config/nuvo-voyager hylafax: file-in-unusual-dir var/spool/hylafax/config/ppi-pm14400fxmt hylafax: file-in-unusual-dir var/spool/hylafax/config/ppi-pm14400fxsa hylafax: file-in-unusual-dir var/spool/hylafax/config/prometheus hylafax: file-in-unusual-dir var/spool/hylafax/config/rc144ac hylafax: file-in-unusual-dir var/spool/hylafax/config/rc144ac-1 hylafax: file-in-unusual-dir var/spool/hylafax/config/rc288dpi hylafax: file-in-unusual-dir var/spool/hylafax/config/rc288dpi-1 hylafax: file-in-unusual-dir var/spool/hylafax/config/rc32acl hylafax: file-in-unusual-dir var/spool/hylafax/config/rc32acl-1 hylafax: file-in-unusual-dir var/spool/hylafax/config/rockwell-k56 hylafax: file-in-unusual-dir var/spool/hylafax/config/rockwell-rc hylafax: file-in-unusual-dir var/spool/hylafax/config/sierra hylafax: file-in-unusual-dir var/spool/hylafax/config/skel hylafax: file-in-unusual-dir var/spool/hylafax/config/t38modem hylafax: file-in-unusual-dir var/spool/hylafax/config/telebit-qblazer hylafax: file-in-unusual-dir var/spool/hylafax/config/telebit-t3000 hylafax: file-in-unusual-dir var/spool/hylafax/config/telebit-wb hylafax: file-in-unusual-dir var/spool/hylafax/config/topic hylafax: file-in-unusual-dir var/spool/hylafax/config/tricom2842 hylafax: file-in-unusual-dir var/spool/hylafax/config/uds-fastalk hylafax: file-in-unusual-dir var/spool/hylafax/config/umc92144 hylafax: file-in-unusual-dir var/spool/hylafax/config/umc9624 hylafax: file-in-unusual-dir var/spool/hylafax/config/usr-2.0 hylafax: file-in-unusual-dir var/spool/hylafax/config/usr-rts hylafax: file-in-unusual-dir var/spool/hylafax/config/usr-xon hylafax: file-in-unusual-dir var/spool/hylafax/config/zyxel-1496e hylafax: file-in-unusual-dir var/spool/hylafax/config/zyxel-1496e-1 hylafax: file-in-unusual-dir var/spool/hylafax/config/zyxel-1496e-2.0 hylafax: file-in-unusual-dir var/spool/hylafax/config/zyxel-2864 hylafax: file-in-unusual-dir var/spool/hylafax/bin/ps2fax.gs hylafax: file-in-unusual-dir var/spool/hylafax/bin/pdf2fax.gs hylafax: file-in-unusual-dir var/spool/hylafax/bin/pcl2fax hylafax: file-in-unusual-dir var/spool/hylafax/bin/tiff2fax hylafax: file-in-unusual-dir var/spool/hylafax/bin/tiff2pdf hylafax: file-in-unusual-dir var/spool/hylafax/bin/archive hylafax: file-in-unusual-dir var/spool/hylafax/bin/notify hylafax: file-in-unusual-dir var/spool/hylafax/bin/notify-4.1 hylafax: file-in-unusual-dir var/spool/hylafax/bin/faxrcvd hylafax: file-in-unusual-dir var/spool/hylafax/bin/pollrcvd hylafax: file-in-unusual-dir var/spool/hylafax/bin/mkcover hylafax: file-in-unusual-dir var/spool/hylafax/bin/wedged hylafax: file-in-unusual-dir var/spool/hylafax/bin/notify.awk hylafax: non-standard-dir-perm var/spool/hylafax/tmp/ 4777 != 0755 hylafax: shell-script-fails-syntax-check ./var/spool/hylafax/bin/notify.awk hylafax: binary-or-shlib-defines-rpath ./usr/sbin/faxmsg /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/faxconfig /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/faxmodem /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/faxstate /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/faxwatch /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/faxinfo /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/tiffcheck /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/typetest /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/dialtest /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/faxadduser /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/faxdeluser /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/faxq /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/faxqclean /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/faxgetty /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/faxsend /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/pagesend /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/tsitest /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/tagtest /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/cqtest /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/choptest /usr/lib/hylafax hylafax: binary-or-shlib-defines-rpath ./usr/sbin/hfaxd /usr/lib/hylafax hylafax: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/archive hylafax: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/faxrcvd hylafax: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/mkcover hylafax: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/notify hylafax: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/notify-4.1 hylafax: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/notify.awk hylafax: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/pcl2fax hylafax: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/pdf2fax.gs hylafax: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/pollrcvd hylafax: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/ps2fax.gs hylafax: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/tiff2fax hylafax: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/tiff2pdf hylafax: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/wedged hylafax: virtual-package-depends-without-real-package-depends depends: awk hylafax-6.0.6/debian/lintian.override.hylafax-client000066400000000000000000000015671176352547600225400ustar00rootroot00000000000000hylafax-client: binary-or-shlib-defines-rpath ./usr/bin/textfmt /usr/lib/hylafax hylafax-client: binary-or-shlib-defines-rpath ./usr/bin/faxalter /usr/lib/hylafax hylafax-client: binary-or-shlib-defines-rpath ./usr/bin/faxcover /usr/lib/hylafax hylafax-client: binary-or-shlib-defines-rpath ./usr/bin/faxmail /usr/lib/hylafax hylafax-client: binary-or-shlib-defines-rpath ./usr/bin/faxrm /usr/lib/hylafax hylafax-client: binary-or-shlib-defines-rpath ./usr/bin/faxstat /usr/lib/hylafax hylafax-client: binary-or-shlib-defines-rpath ./usr/bin/sendfax /usr/lib/hylafax hylafax-client: binary-or-shlib-defines-rpath ./usr/bin/sendpage /usr/lib/hylafax hylafax-client: manpage-has-errors-from-man usr/share/man/man1/faxmail.1.gz 521: warning [p 5, 9.5i]: can't break line hylafax-client: manpage-has-errors-from-man usr/share/man/man1/textfmt.1.gz 244: warning [p 3, 1.3i]: can't break line hylafax-6.0.6/debian/lintian.override.hylafax-server000066400000000000000000000214031176352547600225570ustar00rootroot00000000000000hylafax-server: non-standard-dir-perm var/spool/hylafax/ 0775 != 0755 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/agere-mp-2 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/agere-mp-21 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/att-dataport hylafax-server: file-in-unusual-dir var/spool/hylafax/config/att-dataport-2 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/att-dataport-2.0 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/att-dpexpress-2 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/cirrus hylafax-server: file-in-unusual-dir var/spool/hylafax/config/class1 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/class1.0 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/class2 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/class2.0 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/class2.1 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/conexant-1.0 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/davicom-2 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/digi hylafax-server: file-in-unusual-dir var/spool/hylafax/config/digi-2 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/digi-20 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/dsi-scout+ hylafax-server: file-in-unusual-dir var/spool/hylafax/config/eicon hylafax-server: file-in-unusual-dir var/spool/hylafax/config/eicon-2 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/elsa-microlink-56k-basic-2.0 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/e-tech hylafax-server: file-in-unusual-dir var/spool/hylafax/config/everex-2496d hylafax-server: file-in-unusual-dir var/spool/hylafax/config/exar hylafax-server: file-in-unusual-dir var/spool/hylafax/config/gvc-288 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/gvc-288-2 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/hayes hylafax-server: file-in-unusual-dir var/spool/hylafax/config/iaxmodem hylafax-server: file-in-unusual-dir var/spool/hylafax/config/intel-400e hylafax-server: file-in-unusual-dir var/spool/hylafax/config/linux-isdn-2 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/lucent hylafax-server: file-in-unusual-dir var/spool/hylafax/config/lucent-isa hylafax-server: file-in-unusual-dir var/spool/hylafax/config/lucent-mt-10 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/lucent-mt-2 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/lucent-mt-20 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/lucent-mt-21 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/Makefile hylafax-server: file-in-unusual-dir var/spool/hylafax/config/Makefile.in hylafax-server: file-in-unusual-dir var/spool/hylafax/config/moto-288 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/mt-1432 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/nuvo-voyager hylafax-server: file-in-unusual-dir var/spool/hylafax/config/ppi-pm14400fxmt hylafax-server: file-in-unusual-dir var/spool/hylafax/config/ppi-pm14400fxsa hylafax-server: file-in-unusual-dir var/spool/hylafax/config/prometheus hylafax-server: file-in-unusual-dir var/spool/hylafax/config/rc144ac hylafax-server: file-in-unusual-dir var/spool/hylafax/config/rc144ac-1 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/rc288dpi hylafax-server: file-in-unusual-dir var/spool/hylafax/config/rc288dpi-1 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/rc32acl hylafax-server: file-in-unusual-dir var/spool/hylafax/config/rc32acl-1 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/rockwell-k56 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/rockwell-rc hylafax-server: file-in-unusual-dir var/spool/hylafax/config/sierra hylafax-server: file-in-unusual-dir var/spool/hylafax/config/skel hylafax-server: file-in-unusual-dir var/spool/hylafax/config/t38modem hylafax-server: file-in-unusual-dir var/spool/hylafax/config/telebit-qblazer hylafax-server: file-in-unusual-dir var/spool/hylafax/config/telebit-t3000 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/telebit-wb hylafax-server: file-in-unusual-dir var/spool/hylafax/config/topic hylafax-server: file-in-unusual-dir var/spool/hylafax/config/tricom2842 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/uds-fastalk hylafax-server: file-in-unusual-dir var/spool/hylafax/config/umc92144 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/umc9624 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/usr-2.0 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/usr-rts hylafax-server: file-in-unusual-dir var/spool/hylafax/config/usr-xon hylafax-server: file-in-unusual-dir var/spool/hylafax/config/zyxel-1496e hylafax-server: file-in-unusual-dir var/spool/hylafax/config/zyxel-1496e-1 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/zyxel-1496e-2.0 hylafax-server: file-in-unusual-dir var/spool/hylafax/config/zyxel-2864 hylafax-server: file-in-unusual-dir var/spool/hylafax/bin/ps2fax.gs hylafax-server: file-in-unusual-dir var/spool/hylafax/bin/pdf2fax.gs hylafax-server: file-in-unusual-dir var/spool/hylafax/bin/pcl2fax hylafax-server: file-in-unusual-dir var/spool/hylafax/bin/tiff2fax hylafax-server: file-in-unusual-dir var/spool/hylafax/bin/tiff2pdf hylafax-server: file-in-unusual-dir var/spool/hylafax/bin/archive hylafax-server: file-in-unusual-dir var/spool/hylafax/bin/notify hylafax-server: file-in-unusual-dir var/spool/hylafax/bin/notify-4.1 hylafax-server: file-in-unusual-dir var/spool/hylafax/bin/faxrcvd hylafax-server: file-in-unusual-dir var/spool/hylafax/bin/pollrcvd hylafax-server: file-in-unusual-dir var/spool/hylafax/bin/mkcover hylafax-server: file-in-unusual-dir var/spool/hylafax/bin/wedged hylafax-server: file-in-unusual-dir var/spool/hylafax/bin/notify.awk hylafax-server: non-standard-dir-perm var/spool/hylafax/tmp/ 4777 != 0755 hylafax-server: shell-script-fails-syntax-check ./var/spool/hylafax/bin/notify.awk hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/faxmsg /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/faxconfig /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/faxmodem /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/faxstate /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/faxwatch /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/faxinfo /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/tiffcheck /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/typetest /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/dialtest /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/faxadduser /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/faxdeluser /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/faxq /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/faxqclean /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/faxgetty /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/faxsend /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/pagesend /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/tsitest /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/tagtest /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/cqtest /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/choptest /usr/lib/hylafax hylafax-server: binary-or-shlib-defines-rpath ./usr/sbin/hfaxd /usr/lib/hylafax hylafax-server: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/archive hylafax-server: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/faxrcvd hylafax-server: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/mkcover hylafax-server: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/notify hylafax-server: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/notify-4.1 hylafax-server: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/notify.awk hylafax-server: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/pcl2fax hylafax-server: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/pdf2fax.gs hylafax-server: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/pollrcvd hylafax-server: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/ps2fax.gs hylafax-server: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/tiff2fax hylafax-server: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/tiff2pdf hylafax-server: non-etc-file-marked-as-conffile /var/spool/hylafax/bin/wedged hylafax-server: virtual-package-depends-without-real-package-depends depends: awk hylafax-6.0.6/debian/man/000077500000000000000000000000001176352547600151745ustar00rootroot00000000000000hylafax-6.0.6/debian/man/faxmsg.8000066400000000000000000000011151176352547600165500ustar00rootroot00000000000000.TH FAXMSG 8 .SH NAME faxmsg \- back end to faxabort, faxanswer and faxquit .SH SYNOPSIS .B /usr/sbin/faxmsg .SH "DESCRIPTION" .B faxmsg is never called directly - it is always called by the names .B faxabort, faxanswer, or .B faxquit. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. .SH "SEE ALSO" .IR hylafax (5), .IR faxabort (8), .IR faxanswer (8), .IR faxquit (8) .SH AUTHOR This manual page was written by Dermot Bradley , for the Debian GNU/Linux system. hylafax-6.0.6/debian/man/lockname.8000066400000000000000000000011061176352547600170540ustar00rootroot00000000000000.TH LOCKNAME 8 .SH NAME lockname \- generate a UUCP lock filename .SH SYNOPSIS .B /usr/sbin/lockname .SH "DESCRIPTION" .B lockname is invoked by .B faxaddmodem and .B probemodem to generate a UUCP lock filename according to SVR4 conventions. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. .SH "SEE ALSO" .IR hylafax (5), .IR faxaddmodem (8), .IR probemodem (8) .SH AUTHOR This manual page was written by Dermot Bradley , for the Debian GNU/Linux system. hylafax-6.0.6/debian/man/ondelay.8000066400000000000000000000010741176352547600167220ustar00rootroot00000000000000.TH ONDELAY 8 .SH NAME ondelay \- open device without waiting for carrier .SH SYNOPSIS .B /usr/sbin/ondelay .SH "DESCRIPTION" .B ondelay is invoked by .B faxaddmodem and .B probemodem to open a device without waiting for a carrier. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. .SH "SEE ALSO" .IR hylafax (5), .IR faxaddmodem (8), .IR probemodem (8) .SH AUTHOR This manual page was written by Dermot Bradley , for the Debian GNU/Linux system. hylafax-6.0.6/debian/man/probemodem.8000066400000000000000000000020171176352547600174160ustar00rootroot00000000000000.TH PROBEMODEM 8 .SH NAME probemodem \- check modem and report the result of certain commands .SH SYNOPSIS .B /usr/sbin/probemodem .I "[\-f] [\-c AT_COMMAND] [-s SPEED] [ttyname]" .SH "DESCRIPTION" The .B probemodem script checks a modem attached to a serial line and reports the results of certain commands. The .I ttyname argument is the name of the tty port that the modem is attached to. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. .SH OPTIONS .TP .BI \-f Do not use the command fuser in order to check if other processes are using the tty .I ttyname and kill them .TP .BI \-c " AT_COMMAND" Specify a string to be sent to the modem instead of "AT\+FCLASS\=?" .TP .BI \-s " speed" Set the speed to use for the .I ttyname port .SH "SEE ALSO" .IR hylafax (5) .SH AUTHOR This manual page was written by Dermot Bradley , and modified by Giuseppe Sacco for the Debian GNU/Linux system. hylafax-6.0.6/debian/man/typetest.8000066400000000000000000000011011176352547600171370ustar00rootroot00000000000000.TH TYPETEST 8 .SH NAME typetest \- test out typerules .SH SYNOPSIS .B /usr/sbin/typetest .I "[options] files" .SH "DESCRIPTION" The .B typetest script tests out typerules. The .I files argument is the name of a file to test the rules on. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. .SH OPTIONS .TP .BI \-f " rulesfile". .SH "SEE ALSO" .IR hylafax (5) .SH AUTHOR This manual page was written by Dermot Bradley , for the Debian GNU/Linux system. hylafax-6.0.6/debian/minimal.config000066400000000000000000000002631176352547600172370ustar00rootroot00000000000000#ContCoverPage: "etc/cover.templ" #DialStringRules: "etc/dialrules" #QualifyCID: "etc/cid" #QualifyTSI: "etc/tsi" #ServerTracing: 0x08501 InternationalPrefix: 00 hylafax-6.0.6/debian/patches/000077500000000000000000000000001176352547600160505ustar00rootroot00000000000000hylafax-6.0.6/debian/patches/00list000066400000000000000000000004741176352547600171130ustar00rootroot00000000000000500_two_dirs_config.dpatch 600_setupclient.dpatch 602_xferstat.dpatch 604_faxaddmodem_friendly.dpatch 605_faxrecv_newarg7.dpatch 650_faxsetup_paths.dpatch 652_faxsetup_faxmaster.dpatch 654_faxsetup_gs.dpatch 655_faxaddmodem_message.dpatch 657_typerules.dpatch 658_oldnotify_awk.dpatch 659_notify_from_address.dpatch hylafax-6.0.6/debian/patches/00patch-opts000066400000000000000000000000261176352547600202130ustar00rootroot00000000000000#patch_opts=--dry-run hylafax-6.0.6/debian/patches/00template000066400000000000000000000021621176352547600177470ustar00rootroot00000000000000#!/bin/sh # Sample debian/patches/00template script # era Thu May 15 23:24:07 2003 # This simply creates the equivalent of the hard-coded template. # Adapt and hack to suit your needs. file="$1" shift description="$@" fullnameguess="$(getent passwd $(id -un) | cut -f5 -d: | cut -f1 -d,)" domainguess=$([ -f /etc/mailname ] && cat /etc/mailname || hostname -f) emailguess="${DEBEMAIL:-${EMAIL:-$(logname)@${domainguess}}}" cat < ## ## All lines beginning with \`## DP:' are a description of the patch. ## DP: ${description:-No description} if [ \$# -lt 1 ]; then echo >&2 "\`basename \$0\`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="\${patch_opts:--f --no-backup-if-mismatch} \${2:+-d \$2}" case "\$1" in -patch) patch \$patch_opts -p1 < \$0;; -unpatch) patch \$patch_opts -p1 -R < \$0;; *) echo >&2 "\`basename \$0\`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 #@DPATCH@ #EOF hylafax-6.0.6/debian/patches/500_two_dirs_config.dpatch000077500000000000000000000102001176352547600227740ustar00rootroot00000000000000#!/bin/sh -e ## 500_two_dirs_config by Giuseppe Sacco ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: this patch is meant to handle two different configuration directory ## DP: The main directory is updated after changing the SPOOL/etc copy if [ $# -ne 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 #@DPATCH@ #EOF diff -urNad hylafax-4.3.1~rc3~/etc/faxaddmodem.sh.in hylafax-4.3.1~rc3/etc/faxaddmodem.sh.in --- hylafax-4.3.1~rc3~/etc/faxaddmodem.sh.in 2006-07-21 19:46:10.000000000 +0200 +++ hylafax-4.3.1~rc3/etc/faxaddmodem.sh.in 2006-11-23 11:21:28.000000000 +0100 @@ -2018,6 +2018,8 @@ echo "Don't forget to run faxmodem(@MANNUM1_8@) (if you have a send-only environment)" echo "or configure init to run faxgetty on $TTY." +/usr/lib/hylafax/bin/copy_configuration_from_spool + exec >/dev/null 2>&1 # cleanup diff -urNad hylafax-4.3.1~rc3~/etc/faxsetup.sh.in hylafax-4.3.1~rc3/etc/faxsetup.sh.in --- hylafax-4.3.1~rc3~/etc/faxsetup.sh.in 2006-10-21 04:30:15.000000000 +0200 +++ hylafax-4.3.1~rc3/etc/faxsetup.sh.in 2006-11-23 11:23:34.000000000 +0100 @@ -176,6 +176,10 @@ UUENCODE UUCP_LOCKDIR DIR_LOCKS UUCP_LOCKTYPE LOCKS" + +[ ! -d /var/spool/hylafax/etc ] && mkdir /var/spool/hylafax/etc +[ -d /var/spool/hylafax/etc ] && cp -a /etc/hylafax/* /var/spool/hylafax/etc/ + dumpvals() { echo "$VARS" | @@ -2500,4 +2504,5 @@ $RM $JUNK $RM -r $TMPDIR fi -exit 0 + +exec /usr/lib/hylafax/bin/copy_configuration_from_spool diff -urNad hylafax-4.3.1~rc3~/etc/probemodem.sh.in hylafax-4.3.1~rc3/etc/probemodem.sh.in --- hylafax-4.3.1~rc3~/etc/probemodem.sh.in 2006-06-02 19:27:30.000000000 +0200 +++ hylafax-4.3.1~rc3/etc/probemodem.sh.in 2006-11-23 11:21:28.000000000 +0100 @@ -561,6 +561,8 @@ echo "This not a Class 1, 2, 2.0, 1.0, or 2.1 modem." fi +/usr/lib/hylafax/bin/copy_configuration_from_spool + # cleanup @RM@ -f $JUNK; @RM@ -fr $TMPDIR exit 0 diff -urNad hylafax-4.3.1~rc3~/util/faxdeluser.c hylafax-4.3.1~rc3/util/faxdeluser.c --- hylafax-4.3.1~rc3~/util/faxdeluser.c 2005-01-11 04:28:54.000000000 +0100 +++ hylafax-4.3.1~rc3/util/faxdeluser.c 2006-11-23 11:21:28.000000000 +0100 @@ -109,5 +109,29 @@ perror("Error writing hosts file"); return -1; } + + /* debian patch: update both copies of the permission file. + * Giuseppe Sacco, 18 august 2004 + */ + { + FILE *i, *o; + static const char *copyfile = "/etc/hylafax/hosts.hfaxd"; + + i = fopen(hostfile, "r"); + if (i) { + o = fopen(copyfile, "w"); + if (o) { + char buf[BUFSIZ]; + int j; + + while ( (j=fread(&buf[0], 1, sizeof(buf), i)) > 0) + fwrite(&buf[0], 1, j, o); + fclose(o); + pw && chown(copyfile, pw->pw_uid, pw->pw_uid); + } + fclose(i); + } + } + return 0; } --- hylafax-4.3.1~rc3/util/faxadduser.c.orig 2006-08-12 22:51:30.000000000 +0200 +++ hylafax-4.3.1~rc3/util/faxadduser.c 2006-12-10 00:54:01.134561663 +0100 @@ -31,6 +31,8 @@ #include #include #include +#include +#include #include "config.h" #include "port.h" @@ -119,6 +121,37 @@ } fprintf(hf, "\n"); } + fclose(hf); + + /* debian patch: update both copies of the permission file. + * Giuseppe Sacco, 18 august 2004 + */ + { + FILE *i, *o; + static const char* copyfile = "/etc/hylafax/hosts.hfaxd"; + + i = fopen(hostfile, "r"); + if (i) { + o = fopen(copyfile, "w"); + if (o) { + char buf[BUFSIZ]; + int j; + struct passwd *pw; + + while ( (j=fread(&buf[0], 1, sizeof(buf), i)) > 0) + fwrite(&buf[0], 1, j, o); + fclose(o); + + pw = getpwnam(FAX_USER); + if (pw == NULL || chown(copyfile, pw->pw_uid, pw->pw_uid)) { + perror("Error writing hosts file"); + return -1; + } + } + fclose(i); + } + } + return 0; } hylafax-6.0.6/debian/patches/600_setupclient.dpatch000077500000000000000000000022531176352547600221660ustar00rootroot00000000000000#!/bin/sh -e ## 500_setupclient by Giuseppe Sacco ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: The debian package already create the client configuration if [ $# -ne 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 diff -urNad hylafax-4.3.1~/etc/faxsetup.sh.in hylafax-4.3.1/etc/faxsetup.sh.in --- hylafax-4.3.1~/etc/faxsetup.sh.in 2006-09-19 17:59:52.000000000 +0200 +++ hylafax-4.3.1/etc/faxsetup.sh.in 2006-09-19 18:01:19.000000000 +0200 @@ -301,7 +301,10 @@ # if nothing specified on command line, default client+server if [ $isClient = no ] && [ $isServer = no ]; then - isClient=yes + # + # on debian the client configuration file is already bundled with the package + # + isClient=no isServer=yes fi hylafax-6.0.6/debian/patches/602_xferstat.dpatch000077500000000000000000000114571176352547600214770ustar00rootroot00000000000000#!/bin/sh -e ## by Giuseppe Sacco ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: change directory for xferfaxstats file if [ $# -lt 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 diff -urNad /usr/local/src/hylafax-4.2.0/man/faxcron.1m hylafax-4.2.0/man/faxcron.1m --- /usr/local/src/hylafax-4.2.0/man/faxcron.1m 2001-03-08 07:44:17.000000000 +0100 +++ hylafax-4.2.0/man/faxcron.1m 2004-09-17 21:33:20.000000000 +0200 @@ -141,9 +141,9 @@ session log files are not publicly readable.) .SH FILES .nf -.ta \w'${SPOOL}/etc/xferfaxstats 'u +.ta \w'${SPOOL}/log/xferfaxstats 'u ${SPOOL} spooling area -${SPOOL}/etc/lastrun timestamp of last run +${SPOOL}/status/lastrun timestamp of last run ${SBIN}/xferfaxstats for generating transmit statistics ${SBIN}/recvstats for generating receive statistics ${SPOOL}/tmp/faxcronXXXX temporary file for truncating session logs diff -urNad /usr/local/src/hylafax-4.2.0/man/recvstats.1m hylafax-4.2.0/man/recvstats.1m --- /usr/local/src/hylafax-4.2.0/man/recvstats.1m 2004-06-18 06:10:28.000000000 +0200 +++ hylafax-4.2.0/man/recvstats.1m 2004-09-17 21:29:57.000000000 +0200 @@ -46,7 +46,7 @@ the communication speed, or the communication data format. Statistics are read from the file -.B ${SPOOL}/etc/xferfaxlog +.B ${SPOOL}/log/xferfaxlog unless filenames are specified on the command line. .PP The following table is an example of the output from @@ -151,9 +151,9 @@ .B since. .SH FILES .nf -.ta \w'${SPOOL}/etc/xferfaxlog 'u +.ta \w'${SPOOL}/log/xferfaxlog 'u ${SPOOL} spooling area -${SPOOL}/etc/xferfaxlog default file from which to read statistics +${SPOOL}/log/xferfaxlog default file from which to read statistics .fi .SH "SEE ALSO" .IR faxq (${MANNUM1_8}), diff -urNad /usr/local/src/hylafax-4.2.0/man/xferfaxstats.1m hylafax-4.2.0/man/xferfaxstats.1m --- /usr/local/src/hylafax-4.2.0/man/xferfaxstats.1m 2004-06-18 06:10:28.000000000 +0200 +++ hylafax-4.2.0/man/xferfaxstats.1m 2004-09-17 21:29:32.000000000 +0200 @@ -50,7 +50,7 @@ the communication speed, and the communication data format. Statistics are read from the file -.B ${SPOOL}/etc/xferfaxlog +.B ${SPOOL}/log/xferfaxlog in the spooling area, unless filenames are specified on the command line. .PP @@ -198,7 +198,7 @@ .nf .ta \w'${SPOOL} 'u ${SPOOL} spooling area -etc/xferfaxlog default file from which to read statistics +log/xferfaxlog default file from which to read statistics .fi .SH "SEE ALSO" .IR faxq (${MANNUM1_8}), diff -urNad /usr/local/src/hylafax-4.2.0/util/faxcron.sh.in hylafax-4.2.0/util/faxcron.sh.in --- /usr/local/src/hylafax-4.2.0/util/faxcron.sh.in 2004-09-17 21:28:59.000000000 +0200 +++ hylafax-4.2.0/util/faxcron.sh.in 2004-09-17 21:34:06.000000000 +0200 @@ -43,8 +43,8 @@ AGETMP=1 # purge orphaned temp files after 1 day FAXUSER=uucp # owner of log files LOGMODE=0644 # mode for log files -XFERLOG=etc/xferfaxlog # HylaFAX xferfaxlog file location -LAST=etc/lastrun # file where time+date of last run recorded +XFERLOG=log/xferfaxlog # HylaFAX xferfaxlog file location +LAST=status/lastrun # file where time+date of last run recorded cd @SPOOL@ # NB: everything below assumes this diff -urNad /usr/local/src/hylafax-4.2.0/util/recvstats.sh.in hylafax-4.2.0/util/recvstats.sh.in --- /usr/local/src/hylafax-4.2.0/util/recvstats.sh.in 2004-06-18 06:10:29.000000000 +0200 +++ hylafax-4.2.0/util/recvstats.sh.in 2004-09-17 21:30:06.000000000 +0200 @@ -72,7 +72,7 @@ shift done if [ -z "$FILES" ]; then - FILES=$SPOOL/etc/xferfaxlog + FILES=$SPOOL/log/xferfaxlog fi # diff -urNad /usr/local/src/hylafax-4.2.0/util/xferfaxstats.sh.in hylafax-4.2.0/util/xferfaxstats.sh.in --- /usr/local/src/hylafax-4.2.0/util/xferfaxstats.sh.in 2004-06-18 06:10:29.000000000 +0200 +++ hylafax-4.2.0/util/xferfaxstats.sh.in 2004-09-17 21:29:24.000000000 +0200 @@ -70,7 +70,7 @@ shift done if [ -z "$FILES" ]; then - FILES=$SPOOL/etc/xferfaxlog + FILES=$SPOOL/log/xferfaxlog fi # --- /usr/local/src/hylafax-4.2.0/config.h.in.orig 2004-09-18 03:10:01.000000000 +0200 +++ hylafax-4.2.0/config.h.in 2004-09-18 03:10:26.000000000 +0200 @@ -137,7 +137,7 @@ * file; currently in an ASCII format designed for processing * by programs like awk and perl. */ -#define FAX_XFERLOG FAX_ETCDIR "/xferfaxlog" +#define FAX_XFERLOG FAX_LOGDIR "/xferfaxlog" /* * Client access to services on the server machine is controlled hylafax-6.0.6/debian/patches/604_faxaddmodem_friendly.dpatch000077500000000000000000000036371176352547600240070ustar00rootroot00000000000000#!/bin/sh -e ## by Giuseppe Sacco ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Do not prompt for restarting the server if it is not configured ## DP: Suggest a nema for the serial device in faxaddmodem. if [ $# -lt 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 diff -urNad /usr/local/src/new/hylafax-4.2.0/etc/faxaddmodem.sh.in hylafax-4.2.0/etc/faxaddmodem.sh.in --- /usr/local/src/new/hylafax-4.2.0/etc/faxaddmodem.sh.in 2004-11-15 19:12:10.730613000 +0100 +++ hylafax-4.2.0/etc/faxaddmodem.sh.in 2004-11-15 19:17:30.111059960 +0100 @@ -248,7 +248,9 @@ while [ -z "$TTY" -o ! -c $DEVPATH$TTY ]; do test "$TTY" != "" && echo "$DEVPATH$TTY is not a terminal device." + [ -z "$TTY" ] && TTY=ttyS0 prompt "Serial port that modem is connected to [$TTY]?"; read TTY + [ -z "$TTY" ] && TTY=ttyS0 done JUNK="$OUT" diff -urNad /usr/local/src/new/hylafax-4.2.0/etc/faxsetup.sh.in hylafax-4.2.0/etc/faxsetup.sh.in --- /usr/local/src/new/hylafax-4.2.0/etc/faxsetup.sh.in 2004-09-18 03:00:19.000000000 +0200 +++ hylafax-4.2.0/etc/faxsetup.sh.in 2004-09-18 03:05:51.000000000 +0200 @@ -2339,6 +2339,8 @@ fi fi +if [ -e /etc/hylafax/setup.cache ] +then prompt "Should I restart the HylaFAX server processes [yes]?"; read x if isOK "$x"; then echo "" @@ -2349,6 +2351,7 @@ echo $DIR_SBIN/faxq; $DIR_SBIN/faxq fi fi +fi DEVS="`cd $DIR_SPOOL/etc; echo config.*`" if [ -z "$DEVS" -o "$DEVS" = 'config.*' ]; then hylafax-6.0.6/debian/patches/605_faxrecv_newarg7.dpatch000077500000000000000000000023111176352547600227170ustar00rootroot00000000000000#!/bin/sh -e ## by Giuseppe Sacco ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: This patch was provided by Bodo Meissner ## DP: in order to better integrate hylafax and capi4hylafax ## DP: See debian bug #281737 if [ $# -lt 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 diff -urNad hylafax.orig/util/faxrcvd.sh.in hylafax/util/faxrcvd.sh.in --- hylafax.orig/util/faxrcvd.sh.in 2004-11-15 22:26:49.000000000 +0100 +++ hylafax/util/faxrcvd.sh.in 2004-11-17 15:57:29.000000000 +0100 @@ -109,6 +109,7 @@ done CIDNUMBER="$CALLID1" CIDNAME="$CALLID2" +DESTINATION="$CALLID3" FILENAME=`echo $FILE | $SED -e 's/\.tif//' -e 's/recvq\///'` SENDER="`$INFO $FILE | $AWK -F: '/Sender/ { print $2 }' 2>$ERRORSTO | $SED 's/^.//'`" hylafax-6.0.6/debian/patches/650_faxsetup_paths.dpatch000077500000000000000000000027631176352547600227000ustar00rootroot00000000000000#!/bin/sh -e ## 650_faxsetup_paths by Giuseppe Sacco ## ## All lines beginning with \`## DP:' are a description of the patch. ## DP: Fix some paths in faxsetup and check for faxmaster as real user if [ $# -lt 1 ]; then echo >&2 "`basename \$0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 diff -urNad hylafax-4.3.1~/etc/faxsetup.sh.in hylafax-4.3.1/etc/faxsetup.sh.in --- hylafax-4.3.1~/etc/faxsetup.sh.in 2006-09-19 18:06:16.000000000 +0200 +++ hylafax-4.3.1/etc/faxsetup.sh.in 2006-09-19 18:09:11.000000000 +0200 @@ -73,8 +73,8 @@ FAX=@FAXUID@ # identity of the fax user SERVICES=/etc/services # location of services database -INETDCONF=/usr/etc/inetd.conf # default location of inetd configuration file -ALIASES=/usr/lib/aliases # default location of mail aliases database file +INETDCONF=/etc/inetd.conf # default location of inetd configuration file +ALIASES=/etc/aliases # default location of mail aliases database file PASSWD=/etc/passwd # where to go for password entries PROTOUID=@FAXUID@ # user who's uid we use for FAX user defPROTOUID=3 # use this uid if PROTOUID doesn't exist hylafax-6.0.6/debian/patches/652_faxsetup_faxmaster.dpatch000077500000000000000000000047551176352547600235600ustar00rootroot00000000000000#!/bin/sh -e ## 652_faxsetup_faxmaster by Giuseppe Sacco ## ## All lines beginning with \`## DP:' are a description of the patch. ## DP: Patch that remove the faxmaster alias since we already have a ## DP: user FaxMaster. if [ $# -lt 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 diff -urNad hylafax-4.3.1~/etc/faxsetup.sh.in hylafax-4.3.1/etc/faxsetup.sh.in --- hylafax-4.3.1~/etc/faxsetup.sh.in 2006-09-19 18:32:07.000000000 +0200 +++ hylafax-4.3.1/etc/faxsetup.sh.in 2006-09-19 18:34:11.000000000 +0200 @@ -1892,50 +1892,7 @@ fi fi -# -# Check for a FaxMaster entry for sending mail. -# -if onServer; then - x=`(ypcat -k aliases) 2>/dev/null | $GREP -i '^faxmaster'` 2>/dev/null - if [ -z "$x" ] && [ -f $ALIASES ]; then - x=`$GREP -i '^faxmaster' $ALIASES` - fi - if [ -z "$x" ]; then - cat<<-EOF - - - There does not appear to be an entry for the FaxMaster either in - the YP/NIS database or in the $ALIASES file. The - FaxMaster is the primary point of contact for HylaFAX problems. - The HylaFAX client-server protocol server identifies this alias as - the place to register complaints and HylaFAX directs automatic mail - messages to this user when problems are identified on a server - machine or when the routine server maintainence scripts are run - (e.g. faxcron). - - EOF - prompt "Should an entry be added for the FaxMaster to $ALIASES [yes]?" - read x - if isOK $x; then - promptForNonNullStringParameter "${USER:-root}" \ - "Users to receive fax-related mail" - (echo "# alias for notification messages from HylaFAX servers"; - echo "FaxMaster: $param") >>$ALIASES - if newaliases 2>/dev/null; then - echo "Rebuilt $ALIASES database." - else - # could be a SCO machine running mmdf - if test -x /usr/mmdf/table/dbmbuild ; then - su mmdf -c "/usr/mmdf/table/dbmbuild" - else - echo "Can not find newaliases to rebuild $ALIASES;" - echo "you will have to do it yourself." - fi - fi - fi - fi - FAXMASTER=$x -fi +FAXMASTER=faxmaster # # Generate or update default values for status/any.info hylafax-6.0.6/debian/patches/654_faxsetup_gs.dpatch000077500000000000000000000074511176352547600221750ustar00rootroot00000000000000#!/bin/sh -e ## 654_faxsetup_gs by Giuseppe Sacco &2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 diff -urNad hylafax-4.3.1~/etc/faxsetup.sh.in hylafax-4.3.1/etc/faxsetup.sh.in --- hylafax-4.3.1~/etc/faxsetup.sh.in 2006-09-19 18:37:34.000000000 +0200 +++ hylafax-4.3.1/etc/faxsetup.sh.in 2006-09-19 18:40:01.000000000 +0200 @@ -1282,86 +1282,6 @@ # if onServer; then cd $DIR_SPOOL - case $PS in - dps) PATH_PSRIP=$PATH_DPSRIP;; - imp) PATH_PSRIP=$PATH_IMPRIP;; - gs) PATH_PSRIP=$PATH_GSRIP;; - esac - if [ -x "$PATH_PSRIP" ]; then - if [ $PS = gs ]; then - # verify Ghostscript was linked with the tiffg3 device driver - $PATH_PSRIP -h 2>&1 | grep tiffg3 >/dev/null 2>&1 || { - cat >&2 <&2 </dev/null 2>&1 - if [ $? -eq 2 ]; then - if expr $RELEASE \>= 6.2 >/dev/null; then - cat >&2 <= 6.2 >/dev/null; then - cat >&2 < ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Change a sentence in faxaddmodem to warn the user to configure ## DP: faxgetty after faxaddmodem. if [ $# -lt 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 #@DPATCH@ #EOF diff -urNad hylafax-4.3.0~/etc/faxaddmodem.sh.in hylafax-4.3.0/etc/faxaddmodem.sh.in --- hylafax-4.3.0~/etc/faxaddmodem.sh.in 2006-06-16 10:44:32.000000000 +0200 +++ hylafax-4.3.0/etc/faxaddmodem.sh.in 2006-06-16 10:48:02.000000000 +0200 @@ -2017,8 +2017,10 @@ fi echo "" -echo "Don't forget to run faxmodem(@MANNUM1_8@) (if you have a send-only environment)" -echo "or configure init to run faxgetty on $TTY." +#echo "Don't forget to run faxmodem(@MANNUM1_8@) (if you have a send-only environment)" +#echo "or configure init to run faxgetty on $TTY." +echo "Don't forget to restart hylafax in order to run faxgetty on this new modem" +echo "line." /usr/lib/hylafax/bin/copy_configuration_from_spool hylafax-6.0.6/debian/patches/657_typerules.dpatch000077500000000000000000000106631176352547600217030ustar00rootroot00000000000000#!/bin/sh -e ## by Giuseppe Sacco ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Added support for gif89, png, ppm*, jfif, and xfig images. ## DP: Thanks to Paolo . For more info see #373287 ## DP: and bug #405237. if [ $# -lt 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 diff -urNad hylafax-4.3.1~/libhylafax/typerules hylafax-4.3.1/libhylafax/typerules --- hylafax-4.3.1~/libhylafax/typerules 2006-12-24 21:49:35.000000000 +0100 +++ hylafax-4.3.1/libhylafax/typerules 2007-01-02 14:20:26.000000000 +0100 @@ -98,8 +98,7 @@ 0 short 0x4d4d tiff 0 short 0x4949 tiff # -0 short 000732 tiff %F/sgi2fax -%f -o %o -v %V\ - -s %s %i +0 short 000732 error Cannot convert from SGI on Linux 0 short 017436 error packed data support not configured 0 short 017635 error compressed data support not configured 0 short 0x0506 ps showcase -p -f %i @@ -107,7 +106,11 @@ 0 short 0xf702 ps dvips -q -o %o %i 0 string GIF tiff >3 string 87a tiff gif2tiff -%f -v %V %i %o ->3 string 89a error GIF (version 89a) support not configured +>3 string 89a ps gif2ps <%i >%o +0 byte 0x89 ps +>1 string PNG ps pngtopnm < %i| ppmtopgm | \ + pnmscale -xysize %w %l | \ + pnmtops -dpi %R -equalpixels >%o 0 long 0x59a66a95 tiff ras2tiff -%f -v %V %i %o # # HylaFAX now has server-side PDF conversion, so no need for pdf2ps. @@ -125,25 +128,41 @@ # 0 string begin error uuencoded file support not configured 0 string xbtoa error btoa'd file support not configured -0 string P1 error PBM file support not configured -0 string P2 error PGM file support not configured -0 string P3 error PPM file support not configured -0 string P4 error PBM "rawbits" file support not configured -0 string P5 error PGM "rawbits" file support not configured -0 string P6 error PPM "rawbits" file support not configured +0 string P1 ps ppmtopgm < %i | \ + pnmscale -xysize %w %l | \ + pnmtops -dpi %R -equalpixels > %o +0 string P2 ps ppmtopgm < %i | \ + pnmscale -xysize %w %l | \ + pnmtops -dpi %R -equalpixels > %o +0 string P3 ps ppmtopgm < %i | \ + pnmscale -xysize %w %l | \ + pnmtops -dpi %R -equalpixels > %o +0 string P4 ps ppmtopgm < %i | \ + pnmscale -xysize %w %l | \ + pnmtops -dpi %R -equalpixels > %o +0 string P5 ps ppmtopgm < %i | \ + pnmscale -xysize %w %l | \ + pnmtops -dpi %R -equalpixels > %o +0 string P5 ps ppmtopgm < %i | \ + pnmscale -xysize %w %l | \ + pnmtops -dpi %R -equalpixels > %o +0 string P6 ps ppmtopgm < %i | \ + pnmscale -xysize %w %l | \ + pnmtops -dpi %R -equalpixels > %o # 0 string WNGZWZSS error Wingz spreadsheet support not configured 0 string #Inventor V error IRIS Inventor file support not configured >15 string binary error binary IRIS Inventor file support not configured ->15 string ascii ps %F/textfmt -B -f Courier-Bold\ +>15 string ascii ps textfmt -B -f Courier-Bold\ -Ml=0.4in -p 11 -s %s >%o <%i # -0 string \x89PNG error PNG support not configured 0 short 0xffd8 error filetype conversion support not configured ->6 string JFIF error JPEG support not configured +>6 string JFIF ps jpegtopnm < %i| ppmtopgm | \ + pnmscale -xysize %w %l | \ + pnmtops -dpi %R -equalpixels > %o 0 short 0xd8ff error filetype conversion support not configured ->6 string JFIF error JPEG support not configured -0 string #FIG error FIG support not configured +0 string #FIG ps fig2dev -L ps -p x -M -N -z %s < %i > %o + # # Japanization (should help other iso-2022 variants too) @@ -155,7 +174,7 @@ # # This causes anything else with ascii-only data to be treated as text. # -0 ascii x ps %F/textfmt -B -f Courier-Bold\ +0 ascii x ps textfmt -B -f Courier-Bold\ -Ml=0.4in -p 11 -s %s >%o <%i # @@ -174,5 +193,5 @@ # Support 7-bit text which would otherwise be seen as binary. # -#0 byte x ps %F/textfmt -B -f Courier-Bold \ +#0 byte x ps textfmt -B -f Courier-Bold \ # -p 11 -s %s >%o <%i hylafax-6.0.6/debian/patches/658_oldnotify_awk.dpatch000066400000000000000000000024221176352547600225100ustar00rootroot00000000000000#!/bin/sh -e ## by Giuseppe Sacco ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fix a problem when using the old notify script. See #386036. ## DP: patch by Paolo (from the bug report) if [ $# -lt 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 diff -urNad hylafax-4.3.0~/util/notify.awk hylafax-4.3.0/util/notify.awk --- hylafax-4.3.0~/util/notify.awk 2004-08-16 14:58:22.000000000 +0200 +++ hylafax-4.3.0/util/notify.awk 2006-09-19 08:27:29.000000000 +0200 @@ -99,9 +99,10 @@ print "" printf "%-20s %8s %s\n", "Filename", "Size", "Type"; for (i = 0; i < nfiles; i++) { - "wc -c " files[i] | getline; + cmd="wc -c "files[i]; + cmd | getline; printf "%-20s %8d %s\n", files[i], $1, docType(files[i]); - close("wc -c " files[i]); + close(cmd); } } } else if (jobType == "pager") { hylafax-6.0.6/debian/patches/659_notify_from_address.dpatch000066400000000000000000000053751176352547600237120ustar00rootroot00000000000000#!/bin/sh -e ## by Giuseppe Sacco ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Change from address in all e-mail from fax to faxmaster ## DP: See debian bug #386071 if [ $# -lt 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 #@DPATCH@ #EOF diff -urNad hylafax-4.3.2~/util/faxrcvd.sh.in hylafax-4.3.2/util/faxrcvd.sh.in --- hylafax-4.3.2~/util/faxrcvd.sh.in 2007-02-21 18:18:29.000000000 +0100 +++ hylafax-4.3.2/util/faxrcvd.sh.in 2007-02-21 18:18:30.000000000 +0100 @@ -65,7 +65,7 @@ FAX2PS=$TIFFBIN/fax2ps TIFF2PS=tiff2ps TOADDR=FaxMaster -FROMADDR=fax +FROMADDR=FaxMaster TIFFINFO=tiffinfo NOTIFY_FAXMASTER=always diff -urNad hylafax-4.3.2~/util/notify-4.2.sh.in hylafax-4.3.2/util/notify-4.2.sh.in --- hylafax-4.3.2~/util/notify-4.2.sh.in 2006-12-24 02:43:49.000000000 +0100 +++ hylafax-4.3.2/util/notify-4.2.sh.in 2007-02-21 18:27:05.000000000 +0100 @@ -97,7 +97,7 @@ PS2FAX=bin/ps2fax PDF2FAX=bin/pdf2fax TOADDR=FaxMaster -FROMADDR=fax +FROMADDR=FaxMaster NOTIFY_FAXMASTER=never RETURNFILETYPE= MIMEBOUNDARY="NextPart$$" diff -urNad hylafax-4.3.2~/util/notify.sh.in hylafax-4.3.2/util/notify.sh.in --- hylafax-4.3.2~/util/notify.sh.in 2007-02-08 22:33:19.000000000 +0100 +++ hylafax-4.3.2/util/notify.sh.in 2007-02-21 18:18:30.000000000 +0100 @@ -71,7 +71,7 @@ PS2FAX=bin/ps2fax PDF2FAX=bin/pdf2fax TOADDR=FaxMaster -FROMADDR=fax +FROMADDR=FaxMaster NOTIFY_FAXMASTER=never RETURNFILETYPE= MIMEBOUNDARY="NextPart$$" RETURNTECHINFO=yes diff -urNad hylafax-4.3.2~/util/pollrcvd.sh.in hylafax-4.3.2/util/pollrcvd.sh.in --- hylafax-4.3.2~/util/pollrcvd.sh.in 2007-02-08 22:33:19.000000000 +0100 +++ hylafax-4.3.2/util/pollrcvd.sh.in 2007-02-21 18:26:03.000000000 +0100 @@ -66,7 +66,7 @@ FAX2PS=$TIFFBIN/fax2ps TIFF2PS=tiff2ps TOADDR=FaxMaster -FROMADDR=fax +FROMADDR=FaxMaster TIFFINFO=tiffinfo NOTIFY_FAXMASTER=always diff -urNad hylafax-4.3.2~/util/wedged.sh.in hylafax-4.3.2/util/wedged.sh.in --- hylafax-4.3.2~/util/wedged.sh.in 2006-12-24 02:43:49.000000000 +0100 +++ hylafax-4.3.2/util/wedged.sh.in 2007-02-21 18:18:31.000000000 +0100 @@ -73,7 +73,7 @@ # Variables customizable through etc/FaxDispatch # TOADDR=FaxMaster -FROMADDR=fax +FROMADDR=FaxMaster WEDGED_EMAIL_INTERVAL=5 # minutes: at most 1 wedged email every X mins WEDGED_DISABLE_FAXGETTY= # if set, faxgetty disabled from inittab hylafax-6.0.6/debian/po/000077500000000000000000000000001176352547600150375ustar00rootroot00000000000000hylafax-6.0.6/debian/po/POTFILES.in000066400000000000000000000000631176352547600166130ustar00rootroot00000000000000[type: gettext/rfc822deb] hylafax-server.templates hylafax-6.0.6/debian/po/bg.po000066400000000000000000000072321176352547600157730ustar00rootroot00000000000000# # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: hylafax 4.2.1-1\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-23 10:48+0100\n" "PO-Revision-Date: 2005-09-30 19:15+0300\n" "Last-Translator: Ognyan Kulev \n" "Language-Team: Bulgarian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CP1251\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "Ńňŕđňčđŕíĺ íŕ HylaFAX äĺěîíŕ îůĺ ńĺăŕ?" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" "Hylafax âĺ÷ĺ ĺ íŕńňđîĺíŕ č ěîćĺ äŕ áúäĺ ńňŕđňčđŕíŕ. Ŕęî ďî-ęúńíî ˙ íŕńňđîčňĺ " "äŕ ńĺ ńňŕđňčđŕ đú÷íî, íĺ çŕáđŕâ˙éňĺ äŕ ďđîěĺíčňĺ ńňîéíîńňňŕ íŕ RUN_HYLAFAX " "â /etc/default/hylafax." #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Check base64 encoders" msgstr "Ďđîâĺđęŕ çŕ ęîäĺđč íŕ base64?" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" "Hylafax ĺ ńďîńîáíŕ äŕ čçďđŕůŕ ôŕęńîâĺ, ďîëó÷ĺíč ÷đĺç ĺë.ďîůŕ. Ňĺçč ĺë.ďčńěŕ " "ňđ˙áâŕ äŕ âęëţ÷âŕň ęîäčđŕíč ń base64 ďđčęŕ÷ĺíč ôŕéëîâĺ. Ňúé ęŕňî ňŕçč " "ńďîńîáíîńň íĺ ĺ íĺîáőîäčěŕ çŕ đŕáîňŕňŕ íŕ hylafax, íóćíî ĺ đú÷íî äŕ " "čçâúđřčňĺ í˙ęîëęî äĺéńňâč˙: ňđ˙áâŕ äŕ číńňŕëčđŕňĺ ďŕęĺň, ęîéňî äîńňŕâ˙ " "ęîäĺđč (ęŕňî mime-codecs čëč sharutils), č äŕ ńňŕđňčđŕňĺ \"faxsetup -server" "\", ęîĺňî ŕâňîěŕňč÷íî ůĺ đŕçďîçíŕĺ ňĺçč ęîäĺđč č ůĺ ďđîěĺíč íŕńňđîéęčňĺ íŕ " "hylafax." #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "Hylafax setup failed" msgstr "" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" #~ msgid "Don't forget to setup a modem line" #~ msgstr "Íĺ çŕáđŕâ˙éňĺ äŕ íŕńňđîčňĺ ěîäĺěíŕ ëčíč˙" #~ msgid "" #~ "Hylafax is now installed as a server but you still have to configure at " #~ "least a modem in order to send or receive faxes. Please use faxaddmodem " #~ "in order to define a modem and then restart hylafax so that it will use " #~ "the new configuration." #~ msgstr "" #~ "Hylafax ńĺăŕ ĺ číńňŕëčđŕíŕ ęŕňî ńúđâúđ, íî Âčĺ âńĺ ďŕę ůĺ ňđ˙áâŕ äŕ " #~ "íŕńňđîčňĺ ďîíĺ ěîäĺě, çŕ äŕ čçďđŕůŕňĺ č ďîëó÷ŕâŕňĺ ôŕęńîâĺ. Ěîë˙, " #~ "čçďîëçâŕéňĺ faxaddmodem, çŕ äŕ äîáŕâčňĺ ěîäĺě, č đĺńňŕđňčđŕéňĺ hylafax, " #~ "çŕ äŕ ńĺ čçďîëçâŕ íîâŕňŕ íŕńňđîéęŕ." hylafax-6.0.6/debian/po/ca.po000066400000000000000000000062171176352547600157700ustar00rootroot00000000000000# hylafax (debconf) translation to Catalan. # Copyright (C) 2004 Free Software Foundation, Inc. # Aleix Badia i Bosch , 2004 # msgid "" msgstr "" "Project-Id-Version: hylafax 1-3A4.1.8\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-23 10:48+0100\n" "PO-Revision-Date: 2004-10-12 13:56+0200\n" "Last-Translator: Aleix Badia i Bosch \n" "Language-Team: Catalan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "Voleu iniciar el dimoni de l'HylaFAX?" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Check base64 encoders" msgstr "" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "Hylafax setup failed" msgstr "" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" #~ msgid "Don't forget to configure HylaFAX with /usr/sbin/faxsetup." #~ msgstr "" #~ "No oblideu configurar l'HylaFAX utilitzant l'eina /usr/sbin/faxsetup." #~ msgid "" #~ "Please run the faxsetup script which will ask you a few questions about " #~ "your setup and will let you add with a semi-automatical auto-detection " #~ "procedure one or more modems to the pool of devices available to HylaFAX." #~ msgstr "" #~ "Executeu la seqüència faxsetup que us preguntarĂ  alguns qĂĽestions sobre " #~ "la vostra configuraciĂł i permetrĂ , a travĂ©s d'un mètode semiautomĂ tic de " #~ "detecciĂł automĂ tica, afegir modems al conjunt de dispositius disponibles " #~ "per l'HylaFAX." #~ msgid "" #~ "Start the HylaFAX server process immediately. You should have configured " #~ "HylaFAX first (if you are upgrading from a previous version you most " #~ "likely already have a working configuration)." #~ msgstr "" #~ "Inicia el procĂ©s del servidor de l'HylaFAX. Abans haurĂ­eu de tenir " #~ "configurat l'HylaFAX (si esteu actualitzant a partir d'una versiĂł " #~ "anterior probablement disposareu d'una configuraciĂł funcional)." hylafax-6.0.6/debian/po/cs.po000066400000000000000000000077221176352547600160140ustar00rootroot00000000000000# # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: hylafax 1:4.2.1-7\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-23 10:48+0100\n" "PO-Revision-Date: 2006-03-20 15:50+0100\n" "Last-Translator: Martin Sin \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "Spustit nynĂ­ daemon HylaFAX?" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" "Hylafax je jiĹľ nastaven a tak ho mĹŻĹľete spustit. Pokud zvolĂ­te ruÄŤnĂ­ " "spuštÄ›nĂ­, nezapomeĹte v souboru /etc/default/hylafax zmÄ›nit hodnotu " "RUN_HYLAFAX." #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Check base64 encoders" msgstr "Zkontrolovat dostupnost kodĂ©rĹŻ base64" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" "Hylafax mĹŻĹľe posĂ­lat příchozĂ­ faxy pĹ™es email. Tyto emailovĂ© zprávy musĂ­ " "obsahovat přílohy zakĂłdovanĂ© pomocĂ­ base64. JelikoĹľ to nenĂ­ nepostradatelnĂ© " "pro správnou funkci hylafaxu, potĹ™ebujete provĂ©st následujĂ­cĂ­ kroky: " "nainstalovat kĂłdovacĂ­ balĂ­ÄŤek (napĹ™. mime-codecs nebo sharutils) a spustit " "'faxsetup -server', kterĂ˝ automaticky zkontroluje přítomnost kodĂ©rĹŻ a jejich " "konfiguraci." #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "Hylafax setup failed" msgstr "NastavenĂ­ Hylafaxu selhalo" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" "BÄ›hem istalace hylafaxu došlo k selhánĂ­ skriptu 'faxsetup'. K tomu mohlo " "dojĂ­t z Ĺ™ady dĹŻvodĹŻ. ProtoĹľe se chybu nepodaĹ™ilo automaticky odstranit, " "zĹŻstal balĂ­ÄŤek hylafax-server nenastaven. Opravte prosĂ­m problĂ©m spuštÄ›nĂ­m " "'faxsetup -server' s právy uĹľivatele root a nastavte hylafax-server ruÄŤnÄ›." #~ msgid "Don't forget to setup a modem line" #~ msgstr "NezapomeĹte nastavit linku modemu" #~ msgid "" #~ "Hylafax is now installed as a server but you still have to configure at " #~ "least a modem in order to send or receive faxes. Please use faxaddmodem " #~ "in order to define a modem and then restart hylafax so that it will use " #~ "the new configuration." #~ msgstr "" #~ "Hylafax je nynĂ­ nainstalován jako server, ale pro posĂ­lánĂ­ a pĹ™ijĂ­mánĂ­ " #~ "faxĹŻ musĂ­te nastavit alespoĹ nÄ›jakĂ˝ modem. Pro urÄŤenĂ­ modemu pouĹľijte " #~ "prosĂ­m program faxaddmodem, pro pouĹľitĂ­ novĂ© konfigurace hylafax " #~ "restartujte." hylafax-6.0.6/debian/po/de.po000066400000000000000000000106461176352547600157760ustar00rootroot00000000000000# translation of hylafax.po to German # translation of de.po to German # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans# # Developers do not need to manually edit POT or PO files. # Jens Nachtigall , 2004, 2005, 2006. # msgid "" msgstr "" "Project-Id-Version: hylafax\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-23 10:48+0100\n" "PO-Revision-Date: 2006-03-20 13:54+0100\n" "Last-Translator: Jens Nachtigall \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.9.1\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "Soll der HylaFAX-Dienst jetzt gestartet werden?" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" "Hylafax wurde bereits eingerichtet und kann jetzt gestartet werden. Falls " "Sie angeben hylafax später von Hand zu starten, so denken Sie bitte daran " "den Wert von RUN_HYLAFAX in /etc/default/hylafax zu verändern." #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Check base64 encoders" msgstr "Base64-Kodierer ĂĽberprĂĽfen" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" "Hylafax kann empfangene Faxe per E-Mail versenden. Diese E-Mails mĂĽssen " "Base64-kodierte Anhänge enthalten. Da hylafax im Wesentlichen auch ohne " "diese Fähigkeit funktioniert, mĂĽssen Sie hierfĂĽr ein paar Dinge von Hand " "erledigen: Sie sollten ein Paket installieren, dass ein Kodierprogramm zur " "VerfĂĽgung stellt (wie mime-codecs oder sharutils). AnschlieĂźend sollten Sie " "»faxsetup -server« ausfĂĽhren, welches automatisch nach solchen " "Kodierprogrammen sucht und die Hylafax-Konfiguration dementsprechend anpasst." #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "Hylafax setup failed" msgstr "Hylafax-Konfiguration fehlgeschlagen" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" "Während der Installation von hylafax ist das Skript »faxsetup« " "fehlgeschlagen. Das kann verschiedene Ursachen haben, und kann nicht " "automatisch behoben werden, weshalb das Paket hylafax-server nun " "unkonfiguriert bleibt. Bitte beheben Sie das Problem, indem Sie »faxsetup-" "server« als root aufrufen und hylafax-server manuell neu konfigurieren." #~ msgid "Don't forget to setup a modem line" #~ msgstr "Vergessen Sie nicht ein Modem einzurichten" #~ msgid "" #~ "Hylafax is now installed as a server but you still have to configure at " #~ "least a modem in order to send or receive faxes. Please use faxaddmodem " #~ "in order to define a modem and then restart hylafax so that it will use " #~ "the new configuration." #~ msgstr "" #~ "Der Hylafax-Server ist nun installiert. Allerdings werden Sie zumindest " #~ "noch ein Modem einrichten mĂĽssen, um Faxe senden oder erhalten zu können. " #~ "Bitte benutzen Sie »faxaddmodem« um ein Modem festzulegen, und starten " #~ "Sie anschlieĂźend hylafax neu, damit es die neuen Einstellungen verwendet." hylafax-6.0.6/debian/po/es.po000066400000000000000000000075501176352547600160150ustar00rootroot00000000000000# hylafax po-debconf translation to Spanish # Copyright (C) 2005 Software in the Public Interest # This file is distributed under the same license as the hylafax package. # # Changes: # - Initial translation # CĂ©sar GĂłmez MartĂ­n # # Revision: # # Rudy Godoy GuillĂ©n , 2007 # # Traductores, si no conoce el formato PO, merece la pena leer la # documentaciĂłn de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Equipo de traducciĂłn al español, por favor, lean antes de traducir # los siguientes documentos: # # - El proyecto de traducciĂłn de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas de traducciĂłn en # http://www.debian.org/intl/spanish/notas # # - La guĂ­a de traducciĂłn de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # msgid "" msgstr "" "Project-Id-Version: hylafax 2:4.2.2-1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-08-04 00:06+0200\n" "PO-Revision-Date: 2007-05-13 15:41-0500\n" "Last-Translator: CĂ©sar GĂłmez MartĂ­n \n" "Language-Team: Debian l10n spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Spanish\n" "X-Poedit-Country: SPAIN\n" "X-Poedit-SourceCharset: utf-8\n" #. Type: note #. Description #: ../hylafax-server.templates:3 msgid "Don't forget to setup a modem line" msgstr "No olvide configurar una lĂ­nea de mĂłdem" #. Type: note #. Description #: ../hylafax-server.templates:3 msgid "Hylafax is now installed as a server but you still have to configure at least a modem in order to send or receive faxes. Please use faxaddmodem in order to define a modem and then restart hylafax so that it will use the new configuration." msgstr "Ahora hylafax está instalado como servidor, pero todavĂ­a tiene que configurar, como mĂ­nimo, un mĂłdem para enviar o recibir faxes. Por favor, utilice faxaddmodem para definir un mĂłdem y despuĂ©s reinicie hylafax para que use la nueva configuraciĂłn." #. Type: boolean #. Description #: ../hylafax-server.templates:12 msgid "Start the HylaFAX daemon now?" msgstr "ÂżDesea iniciar el demonio HylaFAX ahora?" #. Type: boolean #. Description #: ../hylafax-server.templates:12 msgid "Hylafax is already configured and may be started now. If you specify to start it later manually, remember to change the value of RUN_HYLAFAX in /etc/default/hylafax." msgstr "Hylafax ya está configurado y puede iniciarse ahora. Si prefiere iniciarlo manualmente con posterioridad, recuerde cambiar el valor de RUN_HYLAFAX en /etc/default/hylafax." #. Type: note #. Description #: ../hylafax-server.templates:19 msgid "Check base64 encoders" msgstr "Comprobar los codificadores base64" #. Type: note #. Description #: ../hylafax-server.templates:19 msgid "Hylafax is able to send received faxes via email. These emails need to include base64 encoded attachments. Since this is not essential to hylafax to work, you need to do manually some further steps: you should install a package that provide encoders (like mime-codecs or sharutils) and run 'faxsetup -server' that will automatically check for those encoders and change its configuration." msgstr "Hylafax puede enviar los faxes recibidos a travĂ©s de correo electrĂłnico. Estos correos necesitan incluir ficheros adjuntos codificados en base64. Puesto que esto no es esencial para que hylafax funcione, tiene que realizar manualmente algunos pasos: deberĂ­a instalar un paquete que proporcione codificadores (como mime-codecs o sharutils) y ejecutar «faxsetup -server», que comprobará automáticamente los codificadores y cambiará su configuraciĂłn." hylafax-6.0.6/debian/po/fr.po000066400000000000000000000124301176352547600160060ustar00rootroot00000000000000# # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: hylafax\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-23 10:48+0100\n" "PO-Revision-Date: 2006-03-23 11:19+0100\n" "Last-Translator: Eric Madesclair \n" "Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "Faut-il démarrer le démon hylafax maintenant ?" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" "Hylafax est déjŕ configuré et peut ętre démarré maintenant. Si vous prévoyez " "de le lancer vous-męme, vous devrez modifier la valeur RUN_HYLAFAX dans le " "fichier /etc/default/hylafax." #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Check base64 encoders" msgstr "Vérification de l'encodeur base64" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" "Hylafax peut envoyer les fax reçus par courriel. Le courriel contient le fax " "en pičce jointe avec un encodage en base64. Comme cette fonctionnalité n'est " "pas indispensable au fonctionnement d'hylafax, certaines opérations vont " "ętre nécessaires pour qu'elle soit opérationnelle : vous devez installer un " "paquet qui fournit un encodeur (comme MIME-codecs ou sharutils) et exécuter " "la commande « faxsetup -server » pour vérifier et configurer automatiquement " "l'encodeur." #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "Hylafax setup failed" msgstr "Échec de la configuration d'hylafax" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" "Lors de l'installation d'hylafax, le script « faxsetup » a échoué. Cela peut " "ętre causé par différentes raisons et ne peut pas ętre corrigé " "automatiquement ; c'est pourquoi le paquet hylafax-server est maintenant non " "configuré. Veuillez corriger le problčme, exécuter « faxsetup-server » avec " "les privilčges du superutilisateur et reconfigurer vous-męme hylafax-server." #~ msgid "Don't forget to setup a modem line" #~ msgstr "Configuration d'un modem indispensable" #~ msgid "" #~ "Hylafax is now installed as a server but you still have to configure at " #~ "least a modem in order to send or receive faxes. Please use faxaddmodem " #~ "in order to define a modem and then restart hylafax so that it will use " #~ "the new configuration." #~ msgstr "" #~ "Le serveur hylafax est maintenant installé, vous devez encore configurer " #~ "au moins un modem avant de pouvoir envoyer ou recevoir des fax. Veuillez " #~ "utiliser la commande « faxaddmodem » pour configurer votre modem, puis " #~ "relancez le serveur hylafax pour que la nouvelle configuration soit prise " #~ "en compte." #~ msgid "Don't forget to configure HylaFAX with /usr/sbin/faxsetup." #~ msgstr "Vous devez configurer hylaFAX avec le script /usr/sbin/faxsetup" #~ msgid "" #~ "Please run the faxsetup script which will ask you a few questions about " #~ "your setup and will let you add with a semi-automatical auto-detection " #~ "procedure one or more modems to the pool of devices available to HylaFAX." #~ msgstr "" #~ "Veuillez lancer le script faxsetup, qui vous posera quelques questions " #~ "sur votre configuration et vous assistera, avec une procédure de " #~ "détection semi-automatique, ŕ ajouter un ou plusieurs modems parmi " #~ "l'ensemble des périphériques disponibles pour HylaFAX." #~ msgid "" #~ "Start the HylaFAX server process immediately. You should have configured " #~ "HylaFAX first (if you are upgrading from a previous version you most " #~ "likely already have a working configuration)." #~ msgstr "" #~ "Pour pouvoir démarrer le serveur HylaFax immédiatement, vous devez " #~ "l'avoir préalablement configuré. Si vous mettez ŕ jour une version " #~ "précédente, votre configuration est probablement correcte." hylafax-6.0.6/debian/po/gl.po000066400000000000000000000037031176352547600160040ustar00rootroot00000000000000# Galician translation of hylafax's debconf templates # This file is distributed under the same license as the hylafax package. # Jacobo Tarrio , 2008. # msgid "" msgstr "" "Project-Id-Version: hylafax\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2008-04-10 04:31+0200\n" "PO-Revision-Date: 2008-05-18 12:07+0100\n" "Last-Translator: Jacobo Tarrio \n" "Language-Team: Galician \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "ÂżIniciar agora o servizo HylaFAX?" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" "Hylafax xa está configurado e pĂłdese iniciar agora. Se indica que quere " "inicialo manualmente máis tarde, lembre cambiar o valor de RUN_HYLAFAX en /" "etc/default/hylafax." #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Hylafax setup failed" msgstr "A configuraciĂłn de hylafax fallou" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" "Mentres se instalaba hylafax, un script chamado \"faxsetup\" fallou. Isto " "pode estar causado por varios motivos, e non se pode arranxar " "automaticamente, asĂ­ que o paquete hylafax-server está sen configurar. " "Arranxe o problema, execute \"faxsetup -server\" coma administrador e " "reconfigure hylafax-server manualmente." hylafax-6.0.6/debian/po/it.po000066400000000000000000000072151176352547600160200ustar00rootroot00000000000000# Debconf template for hylafax debian package # (C) 2004 Giuseppe Sacco, # msgid "" msgstr "" "Project-Id-Version: hylafax 4.2.5-2\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-23 10:48+0100\n" "PO-Revision-Date: 2006-03-19 23:29+0100\n" "Last-Translator: Giuseppe Sacco \n" "Language-Team: debian-l10n-italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "Eseguire il server HylaFAX adesso?" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" "Hylafax č giŕ configurato e puň essere eseguito adesso. Se si preferisce " "farlo manualmente, ricordarsi di cambiare il valore di RUN_HYLAFAX in /etc/" "default/hylafax." #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Check base64 encoders" msgstr "Controllo dei codificatori base64" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" "Hylafax č capace di inviare i fax ricevuti via email. Questi messaggi " "dovranno contenere allegati codificati in base64. Poiché questo non č " "indispensabile per hylafax, si deve fare manualmente un passo ulteriore: va " "installato un pacchetto che fornisca il codificatore (come mime-codecs o " "sharutils) e poi si deve eseguire \"faxsetup -server\" il quale " "automaticamente controllerŕ i codificatori e cambierŕ la propria " "configurazione." #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "Hylafax setup failed" msgstr "Configurazione di Hylafax fallita" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" "Durante l'installazione di hylafax, uno script chiamato 'faxsetup' non ha " "funzionato. Questo puň essere dovuto a parecchi motivi a non puň essere " "corretto in maniera automatica, quindi il pacchetto hylafax-server non č " "stato configurato. Risolvere il problema, eseguire \"faxsetup -server\" come " "root e poi riconfigurare hylafax-server a mano." #~ msgid "Don't forget to setup a modem line" #~ msgstr "Non dimenticare di configurare l'utilizzo del modem" #~ msgid "" #~ "Hylafax is now installed as a server but you still have to configure at " #~ "least a modem in order to send or receive faxes. Please use faxaddmodem " #~ "in order to define a modem and then restart hylafax so that it will use " #~ "the new configuration." #~ msgstr "" #~ "Hylafax č installato come server, ma si deve ancora configurare almeno un " #~ "modem per poter mandare o ricevere fax. Usare faxaddmodem per definire " #~ "ogni modem e fare ripartire hylafax in modo tale da usare la nuova " #~ "configurazione." hylafax-6.0.6/debian/po/ja.po000066400000000000000000000107331176352547600157750ustar00rootroot00000000000000# # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # # msgid "" msgstr "" "Project-Id-Version: hylafax 2:4.3.1~rc3-1\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-19 13:30+0900\n" "PO-Revision-Date: 2006-11-18 10:05+0200\n" "Last-Translator: Hideki Yamane (Debian-JP) \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../hylafax-server.templates:1001 msgid "Don't forget to setup a modem line" msgstr "ă˘ă‡ă ă®ç·šă‚’ă¤ăŞăă®ă‚’ĺżă‚ŚăŞă„ă‚ă†ă«ă—ă¦ăŹă ă•ă„" #. Type: note #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is now installed as a server but you still have to configure at " "least a modem in order to send or receive faxes. Please use faxaddmodem in " "order to define a modem and then restart hylafax so that it will use the new " "configuration." msgstr "" "hylafax ăŻă™ă§ă«ă‚µăĽăă¨ă—ă¦ă‚¤ăłă‚ąăăĽă«ă•れă¦ă„ăľă™ăŚă€FAX ă®é€ĺŹ—äżˇă‚’čˇŚă†ă«" "ăŻă˘ă‡ă ă®č¨­ĺ®šă‚‚行ă†ĺż…č¦ăŚă‚りăľă™ă€‚ă˘ă‡ă ă®čŞŤč­ă«ăŻ faxaddmodem コăžăłă‰ă‚’" "使ăŁă¦ăŹă ă•ă„。hylafax を再起動ă™ă‚Śă°ć–°ă—ă„設定ăŚé©ç”¨ă•れăľă™ă€‚" #. Type: boolean #. Description #: ../hylafax-server.templates:2001 msgid "Start the HylaFAX daemon now?" msgstr "HylaFAX ă‡ăĽă˘ăłă‚’ă™ăă«čµ·ĺ‹•ă—ăľă™ă‹?" #. Type: boolean #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" "hylafax ă®č¨­ĺ®šăŚĺ®Śäş†ă—ă¦ăŠă‚Šă€ă™ăă«čµ·ĺ‹•ă§ăŤăľă™ă€‚後ă»ă©ć‰‹ĺ‹•ă§čµ·ĺ‹•ă—ăźă„ĺ ´ĺ" "㯠/etc/default/hylafax ă®ĺ€¤ă‚’変更ă™ă‚‹ă®ă‚’ĺżă‚ŚăŞă„ă§ăŹă ă•ă„。" #. Type: note #. Description #: ../hylafax-server.templates:3001 msgid "Check base64 encoders" msgstr "base64 エăłă‚łăĽă€ă®ç˘şčŞŤ" #. Type: note #. Description #: ../hylafax-server.templates:3001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" "hylafax ăŻĺŹ—ă‘取ăŁăźă•ァăクスをăˇăĽă«çµŚç”±ă§é€äżˇă§ăŤăľă™ă€‚ă“ă®ăˇăĽă«ă«ăŻ " "base64 エăłă‚łăĽă‰ă®čż˝ĺŠ ć©źč˝ăŚĺż…č¦ă§ă™ă€‚ă“れ㯠hylafax ă®ĺ‹•作ă«ăŻĺż…ăšă—ă‚‚ĺż…č¦" "ă¨ă„ă†č¨łă§ăŻăŞă„ă®ă§ă€ä»Ąä¸‹ă®ä˝śćĄ­ă‚’手動ă§čˇŚă†ĺż…č¦ăŚă‚りăľă™: エăłă‚łăĽă€ă‚’ćŹäľ›" "ă™ă‚‹ă‘ăケăĽă‚¸ (mime-codecs ă‚„ sharutils ăŞă©) をイăłă‚ąăăĽă«ă™ă‚‹ĺż…č¦ăŚă‚りăľ" "ă™ă€‚ăťă‚Śă‹ă‚‰ă€'faxsetup -server' を実行ă—ă€č‡Şĺ‹•çš„ă«ă‚¨ăłă‚łăĽă€ă®ăă‚§ăクă¨č¨­ĺ®š" "ă•ァイă«ă‚’変更を行ă„ăľă™ă€‚" #. Type: error #. Description #: ../hylafax-server.templates:4001 msgid "Hylafax setup failed" msgstr "hylafax ă®č¨­ĺ®šăŚĺ¤±ć•—ă—ăľă—ăź" #. Type: error #. Description #: ../hylafax-server.templates:4001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" "hylafax ă®ă‚¤ăłă‚ąăăĽă«ä¸­ă« 'faxsetup' スクăŞă—ăăŚĺ¤±ć•—ă—ăľă—ăźă€‚ă“ă®ĺ¤±ć•—ă«ăŻ" "ă„ăŹă¤ă‚‚ă®ç†ç”±ăŚč€ăられă€č‡Şĺ‹•çš„ă«ăŻäż®ĺľ©ĺ‡şćťĄăľă›ă‚“。ăťă®ăźă‚ă€hylafax-server " "ă‘ăケăĽă‚¸ăŻăľă č¨­ĺ®šăŚçµ‚わăŁă¦ă„ăľă›ă‚“。問題を修正ă®ä¸Šă€root ă¦ăĽă‚¶ă§ć‰‹ĺ‹•ă§ " "'faxsetup -server' を実行ă—㦠hylafax-server を再設定を行ăŁă¦ăŹă ă•ă„。" hylafax-6.0.6/debian/po/nl.po000066400000000000000000000103171176352547600160120ustar00rootroot00000000000000# translation of hylafax_nl.po to Dutch # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # Frans Pop , 2006. # msgid "" msgstr "" "Project-Id-Version: hylafax_nl\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-23 10:48+0100\n" "PO-Revision-Date: 2006-03-21 00:44+0100\n" "Last-Translator: Frans Pop \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.9.1\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "De HylaFAX-achtergronddienst nu starten?" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" "Hylafax is reeds geconfigureerd en kan nu gestart worden. Als u aangeeft het " "later handmatig te willen starten, vergeet dan niet de waarde van " "RUN_HYLAFAX in /etc/default/hylafax te wijzigen." #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Check base64 encoders" msgstr "Detecteren van base64-encoders" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" "Hylafax kan ontvangen faxen versturen via e-mail. Deze e-mails moeten base64-" "gecodeerde bijlagen bevatten. Omdat dit niet essentieel is voor de werking " "van hylafax, dient u enkele stappen handmatig uit te voeren: het installeren " "van een pakket dat encoders bevat (zoals mime-codecs of sharutils) en het " "uitvoerenvan 'faxsetup -server'. Dit zal deze encoders automatisch " "detecteren en zijn configuratie daarop aanpassen." #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "Hylafax setup failed" msgstr "Installatie van Hylafax is mislukt" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" "Tijdens de installatie van Hylafax, is het script 'faxsetup' fout gelopen. " "Dit kan verschillende oorzaken hebben en kan niet automatisch worden " "hersteld. Hierdoor blijft het pakket hylafax-server ongeconfigureerd. U " "dient, na de oorzaak van het probleem verholpen te hebben, als root het " "script 'faxsetup-server' uit te voeren en vervolgens hylafax-server " "handmatig te laten herconfigureren." #~ msgid "Don't forget to setup a modem line" #~ msgstr "Vergeet niet een modemlijn te installeren" #~ msgid "" #~ "Hylafax is now installed as a server but you still have to configure at " #~ "least a modem in order to send or receive faxes. Please use faxaddmodem " #~ "in order to define a modem and then restart hylafax so that it will use " #~ "the new configuration." #~ msgstr "" #~ "Hylafax is nu geĂŻnstalleerd als server, maar u zult ten minste nog een " #~ "modem configureren om faxen te kunnen zenden en ontvangen. Gebruik " #~ "'faxaddmodem' om een modem te definiĂ«ren en herstart vervolgens hylafax " #~ "om het de nieuwe configuratie te laten gebruiken." hylafax-6.0.6/debian/po/pt.po000066400000000000000000000061711176352547600160270ustar00rootroot00000000000000# translation of hylafax debconf to Portuguese # Copyright (C) 2007 AmĂ©rico Monteiro # This file is distributed under the same license as the hylafax package. # # AmĂ©rico Monteiro , 2007. msgid "" msgstr "" "Project-Id-Version: hylafax 2:4.3.4-2\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-23 10:48+0100\n" "PO-Revision-Date: 2007-08-02 22:20+0100\n" "Last-Translator: AmĂ©rico Monteiro \n" "Language-Team: Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "Arrancar o deamon HylaFAX agora?" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" "O Hylafax já está configurado e pode ser arrancado agora. Se vocĂŞ especificar " "arrancá-lo mais tarde manualmente, lembre-se de alterar o valor de " "RUN_HYLAFAX em /etc/default/hylafax." #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Check base64 encoders" msgstr "Verificar codificadores base64 (encoders)." #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" "O Hylafax Ă© capaz de enviar por email faxes recebidos. Estes emails precisam " "de incluir anexos codificados em base64. Como isto nĂŁo Ă© essencial para o " "hylafax funcionar, vocĂŞ precisa tratar dalguns passos manualmente: " "deverá instalar um pacote que forneça codificadores (como o mime-codecs " "ou o sharutils) e correr 'faxsetup-server' que automaticamente irá procurar " "por estes codificadores e alterar a sua configuração." #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "Hylafax setup failed" msgstr "Configuração do Hylafax falhou." #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" "Durante a instalação do Hylafax, um script chamado 'faxsetup' falhou. Isto " "pode ser causado por muitas razões e nĂŁo pode ser resolvido automaticamente, " "entĂŁo o pacote hylafax-server está por configurar. Por favor, corrija o " "problema, corra 'faxsetup-server' como root e reconfigure o hylafax-server " "manualmente." hylafax-6.0.6/debian/po/pt_BR.po000066400000000000000000000076331176352547600164160ustar00rootroot00000000000000# translation of hylafax # This file is distributed under the same license as the hylafax package. # AndrĂ© LuĂ­s Lopes (andrelop) , 2005. # Felipe Augusto van de Wiel (faw) , 2006. # # msgid "" msgstr "" "Project-Id-Version: hylafax\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-23 10:48+0100\n" "PO-Revision-Date: 2006-04-10 01:06-0300\n" "Last-Translator: Felipe Augusto van de Wiel (faw) \n" "Language-Team: l10n portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "pt_BR utf-8\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "Iniciar o daemon HylaFAX agora?" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" "O Hylafax já está configurado e pode ser iniciado agora. Caso vocĂŞ " "especifique que o mesmo deva ser iniciado depois manualmente, lembre-se de " "mudar o valor RUN_HYLAFAX em /etc/default/hylafax." #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Check base64 encoders" msgstr "Confira codificadores base64" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" "O Hylafax Ă© capaz de enviar faxes que foram recebidos via e-mail. Esses e-" "mails precisam incluir anexos codificados em base64. Uma vez que isso nĂŁo Ă© " "essencial para o Hylafax funcionar, vocĂŞ precisará executar alguns passos " "manualmente: vocĂŞ deverá instalar um pacote que forneça codificadores (como " "o mime-codecs ou o sharutils) e executar o comando 'faxsetup -server', o " "qual irá automaticamente checar pela presença desses codificadores e mudar " "sua configuração." #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "Hylafax setup failed" msgstr "Configuração do Hylafax falhou" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" "Enquanto estava instalando o hylafax um script chamado 'faxsetup' falhou. " "Isto pode ser causado por várias razões e nĂŁo pode ser corrigido " "automaticamente portanto o pacote hylafax-server nĂŁo está configurado. Por " "favor, corrija o problema, execute 'faxsetup -server' como root e configure " "o hylafax-server manualmente." #~ msgid "Don't forget to setup a modem line" #~ msgstr "NĂŁo esqueça de configurar uma linha de modem" #~ msgid "" #~ "Hylafax is now installed as a server but you still have to configure at " #~ "least a modem in order to send or receive faxes. Please use faxaddmodem " #~ "in order to define a modem and then restart hylafax so that it will use " #~ "the new configuration." #~ msgstr "" #~ "O Hylafax agora está instalado como um servidor, mas ainda Ă© preciso " #~ "configurar pelo menos um modem para que seja possĂ­vel enviar ou receber " #~ "faxes. Por favor, utilize o utilitário faxaddmodem para definir um modem " #~ "e reinicie o hylafax para que a nova configuração possa ser utilizada." hylafax-6.0.6/debian/po/ru.po000066400000000000000000000104461176352547600160320ustar00rootroot00000000000000# translation of hylafax-ru.po to Russian # Nikolai Prokoschenko , 2005. # Yuri Kozlov , 2006. # # msgid "" msgstr "" "Project-Id-Version: hylafax 4.2.1-1\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-23 10:48+0100\n" "PO-Revision-Date: 2006-03-20 21:38+0300\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.9.1\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "ЗапŃŃтить HylaFAX ŃейчаŃ?" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" "Hylafax Ńже наŃтроен и может быть запŃщен. Đ•Ńли вы хотите запŃŃтить его " "позже врŃчнŃŃŽ, не забŃдьте изменить значение RUN_HYLAFAX в файле /etc/" "default/hylafax." #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Check base64 encoders" msgstr "Проверка кодировщиков base64" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" "Hylafax может отŃылать принятые факŃŃ‹ по электронной почте в виде вложения, " "заŃифрованного base64. ПоŃĐşĐľĐ»ŃŚĐşŃ Hylafax может работать и без этой Ń„Ńнкции, " "вам Đ˝Ńжно Ńделать ŃледŃющее: ŃŃтановить пакет Ń Ńифровальной программой " "(mime-codecs или sharutils) и запŃŃтить 'faxsetup -server' -- тем Ńамым её " "наличие бŃдет проверено и запиŃано в наŃтройки." #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "Hylafax setup failed" msgstr "Не ŃдалоŃŃŚ наŃтроить Hylafax" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" "Đ’Đľ время ŃŃтановки hylafax Ńценарий 'faxsetup' заверŃилŃŃŹ Ń ĐľŃибкой. Это " "могло произойти по многим причинам и не может быть иŃправлено автоматичеŃки, " "ĐżĐľŃŤŃ‚ĐľĐĽŃ ĐżĐ°ĐşĐµŃ‚ hylafax-server ĐľŃтаётŃŃŹ ненаŃтроенным. ĐŃправьте ĐľŃибкŃ, " "запŃŃтите 'faxsetup -server' Ń ĐżŃ€Đ°Đ˛Đ°ĐĽĐ¸ ŃŃперпользователя и выполните " "повторнŃŃŽ наŃŃ‚Ń€ĐľĐąĐşŃ hylafax-server врŃчнŃŃŽ." #~ msgid "Don't forget to setup a modem line" #~ msgstr "Не забŃдьте наŃтроить модемнŃŃŽ линию" #~ msgid "" #~ "Hylafax is now installed as a server but you still have to configure at " #~ "least a modem in order to send or receive faxes. Please use faxaddmodem " #~ "in order to define a modem and then restart hylafax so that it will use " #~ "the new configuration." #~ msgstr "" #~ "Теперь Hylafax ŃŃтановлен в качеŃтве Ńервера, но для приёма или отправки " #~ "факŃов Đ˝Ńжно наŃтроить хотя бы один модем. Đ’ĐľŃпользŃйтеŃŃŚ программой " #~ "faxaddmodem для наŃтройки модема и перезапŃŃтите hylafax." hylafax-6.0.6/debian/po/sv.po000066400000000000000000000077401176352547600160370ustar00rootroot00000000000000# # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: hylafax\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-23 10:48+0100\n" "PO-Revision-Date: 2006-03-19 23:53+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "Starta HylaFAX-demonen nu?" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" "Hylafax är redan konfigurerad och kan startas nu. Om du angivit att starta " "den manuellt senare, tänk pĺ att ändra värdet för RUN_HYLAFAX i /etc/default/" "hylafax." #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Check base64 encoders" msgstr "Kontrollera base64-kodare" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" "Hylafax har möjligheten att skicka mottagna fax via e-post. Dessa e-" "postmeddelanden behöver inkludera base64-kodade bilagor. Eftersom detta inte " "är nödvändigt för att hylafax ska fungera behöver du göra nĺgra manuella " "steg: du bör installera ett paket som tillhandahĺller kodare (sĺsom mime-" "codecs eller sharutils) och köra \"faxsetup -server\" sĺ att en automatisk " "kontroll av dessa kodare görs och ändrar dess konfiguration." #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "Hylafax setup failed" msgstr "Konfiguration av hylafax misslyckades" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" "Under installationen av hylafax misslyckades ett skript kallat \"faxsetup\". " "Detta kan ha orsakats av flera anledningar och kan inte rättas till " "automatiskt sĺ nu är hylafax-server-paketet ej konfigurerat. Rätta till " "problemet, kör \"faxsetup -server\" som root och konfigurera om hylafax-" "server manuellt." #~ msgid "Don't forget to setup a modem line" #~ msgstr "Glöm inte att konfigurera en modemlinje" #~ msgid "" #~ "Hylafax is now installed as a server but you still have to configure at " #~ "least a modem in order to send or receive faxes. Please use faxaddmodem " #~ "in order to define a modem and then restart hylafax so that it will use " #~ "the new configuration." #~ msgstr "" #~ "Hylafax installeras numera som en server men du mĺste fortfarande " #~ "konfigurera ĺtminstone ett modem för att skicka eller ta emot fax. " #~ "Vänligen använd faxaddmodem för att definiera ett modem och starta sedan " #~ "om hylafax sĺ att den kan använda den nya konfigurationen." hylafax-6.0.6/debian/po/templates.pot000066400000000000000000000037721176352547600175720ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-23 10:48+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Check base64 encoders" msgstr "" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "Hylafax setup failed" msgstr "" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" hylafax-6.0.6/debian/po/vi.po000066400000000000000000000104771176352547600160260ustar00rootroot00000000000000# Vietnamese Translation for hylafax. # Copyright © 2005 Free Software Foundation, Inc. # Clytie Siddall , 2005. # msgid "" msgstr "" "Project-Id-Version: hylafax 4.2.5-2\n" "Report-Msgid-Bugs-To: eppesuig@debian.org\n" "POT-Creation-Date: 2006-11-23 10:48+0100\n" "PO-Revision-Date: 2006-03-20 11:31+1030\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0\n" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "Start the HylaFAX daemon now?" msgstr "Khởi chạy trình ná»n (dæmon) HylaFAX ngay bao giờ khĂ´ng?" #. Type: boolean #. Description #: ../hylafax-server.templates:1001 msgid "" "Hylafax is already configured and may be started now. If you specify to " "start it later manually, remember to change the value of RUN_HYLAFAX in /etc/" "default/hylafax." msgstr "" "Trình hylafax đã được cấu hình thì cĂł thỠđược khởi chạy ngay bây giờ. Náşżu " "bạn chọn tá»± khởi chạy nĂł láş§n sau, hĂŁy nhá»› sá»­a đổi giá trị cá»§a « RUN_HYLAFAX " "» trong táş­p tin ." #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "Check base64 encoders" msgstr "Kiá»m tra bá»™ mĂŁ hĂła base64 (cơ số 64)" #. Type: error #. Description #: ../hylafax-server.templates:2001 msgid "" "Hylafax is able to send received faxes via email. These emails need to " "include base64 encoded attachments. Since this is not essential to hylafax " "to work, you need to do manually some further steps: you should install a " "package that provide encoders (like mime-codecs or sharutils) and run " "'faxsetup -server' that will automatically check for those encoders and " "change its configuration." msgstr "" "Trình hylafax cĂł thá» gá»­i qua thư Ä‘iện tá»­ Ä‘iện thư đã nháş­n. Mọi thư kiá»u nĂ y " "cáş§n phải chứa đính kèm mĂŁ hĂła báş±ng cơ số 64. Vì tĂ­nh nÄng nĂ y khĂ´ng phải cáş§n " "yáşżu cho những hĂ nh động thường cá»§a trình Hylafax, bạn cáş§n phải tá»± theo má»™t " "số bước thĂŞm đỠsá»­ dụng nĂł. HĂŁy cĂ i đắt má»™t gĂłi cung cấp nhiá»u bá»™ mĂŁ hĂła " "(như « mime-codecs » hay « sharutils ») rồi chạy « faxsetup -server » (Ä‘iện " "thư thiáşżt láş­p trình phục vụ) mĂ  sáş˝ kiá»m tra tá»± động cĂł những bá»™ mĂŁ hĂła đó " "chưa, vĂ  sá»­a đổi cấu hình nĂł." #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "Hylafax setup failed" msgstr "Việc thiáşżt láş­p hylafax bị lá»—i" #. Type: error #. Description #: ../hylafax-server.templates:3001 msgid "" "While installing hylafax a script called 'faxsetup' failed. This can be " "caused by many reasons and cannot be fixed automatically so the hylafax-" "server package is now unconfigured. Please fix the problem, run 'faxsetup -" "server' as root and reconfigure hylafax-server manually." msgstr "" "Trong khi cĂ i đặt hylafax, má»™t táş­p lệnh tĂŞn « faxsetup » (thiáşżt láş­p Ä‘iện " "thư) bị lá»—i. Trường hợp cĂł thá» do nhiá»u lĂ˝ do, vĂ  khĂ´ng cĂł khả nÄng sá»­a tá»± " "động nĂŞn gĂłi hylafax chưa cấu hình. Vui lòng sá»­a vấn đỠnĂ y, chạy tiáşżn trình " "« faxsetup-server » (trình phục vụ thiáşżt láş­p Ä‘iện thư) vá»›i tư cách người chá»§ " "(root) đỠtá»± cấu hình hylafax-server." #~ msgid "Don't forget to setup a modem line" #~ msgstr "Äừng quĂŞn thiáşżt láş­p má»™t dòng bá»™ Ä‘iá»u giải." #~ msgid "" #~ "Hylafax is now installed as a server but you still have to configure at " #~ "least a modem in order to send or receive faxes. Please use faxaddmodem " #~ "in order to define a modem and then restart hylafax so that it will use " #~ "the new configuration." #~ msgstr "" #~ "GĂłi hylafax đã được cĂ i đặt lĂ  trình phục vụ, nhưng bạn váş«n còn cáş§n phải " #~ "cấu hình Ă­t nhất má»™t bá»™ Ä‘iá»u giải (modem) đỠgá»­i hay nháş­n Ä‘iện thư. HĂŁy " #~ "sá»­ dụng « faxaddmodem » (Ä‘iện thư thĂŞm bá»™ Ä‘iá»u giải) đỠđịnh nghÄ©a má»™t bá»™ " #~ "Ä‘iá»u giải, rồi khởi chạy lại trình hylafax đỠsá»­ dụng cấu hình má»›i nĂ y." hylafax-6.0.6/debian/rules000077500000000000000000000243671176352547600155150ustar00rootroot00000000000000#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export SHELL=/bin/bash CFLAGS = -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif LANGUAGES=nl es configure: configure-stamp configure-stamp: patch-stamp cp -p /usr/share/misc/config.* . yes | /bin/bash ./configure \ --with-HTML=yes \ --with-UTMP=auto \ --with-DIR_BIN="/usr/bin" \ --with-DIR_LIBDATA="/etc/hylafax" \ --with-DIR_LIB="/usr/lib/hylafax" \ --with-DIR_LIBEXEC="/usr/sbin" \ --with-DIR_MAN="/usr/share/man" \ --with-DIR_SBIN="/usr/sbin" \ --with-DIR_LOCKS="/var/lock" \ --with-PATH_AFM="/usr/share/fonts/type1/gsfonts" \ --with-DIR_LOCALE="/usr/share/locale" \ --with-FONTMAP="/usr/share/gs-esp/8.15/lib:/usr/share/gs-esp/7.07/lib:/usr/share/gs/6.53" \ --with-DIR_HTML="/usr/share/doc/hylafax" \ --with-DIR_CGI="/usr/lib/cgi-bin" \ --with-HTMLPATH="/doc/hylafax" \ --with-SYSGID="root" \ --with-SYSUID="root" \ --with-PATH_GETTY="/etc/hylafax/getty-link" \ --with-PATH_VGETTY="/etc/hylafax/vgetty-link" \ --with-PATH_EGETTY="/etc/hylafax/egetty-link" \ --with-PATH_SENDMAIL="/usr/sbin/sendmail" \ --with-PATH_GSRIP="/usr/bin/gs" \ --with-MANSCHEME="bsd-source-gzip-strip" \ --with-INSTALL='${PORT}/../debian/install ${PORT}' \ --with-LIBZ="-lz" \ --with-ZLIBINC="-I/usr/include" \ --with-CONFIG_MAXGID="65534" \ --with-CMP="/usr/bin/cmp" \ --with-COL="/usr/bin/col" \ --with-MKFIFO="/usr/bin/mkfifo" \ --with-SORT="/usr/bin/sort" \ --with-OPTIMIZER="$(CFLAGS)" \ --with-MANDIR="/usr/share/man" \ --with-PATH_IMPRIP="/usr/bin/psrip" # --with-FUSER="/bin/fuser" \ # --with-AWK="/usr/bin/awk" \ # --with-BASE64ENCODE="/usr/bin/mimencode" \ # --with-MIMENCODE="/usr/bin/mimencode" \ # --with-UUENCODE="/usr/bin/uuencode" \ # --with-QPENCODE="/usr/bin/mimencode -q" touch configure-stamp build: build-arch build-arch: build-arch-stamp build-arch-stamp: configure-stamp # $(MAKE) all COPTIONS="$(CFLAGS)" $(MAKE) all touch build-arch-stamp clean: clean1 unpatch clean1: dh_testdir dh_testroot rm -f build-arch-stamp configure-stamp [ ! -f Makefile ] || make distclean [ ! -d man/cman.apps ] \ || rmdir man/cman.apps man/cman.files man/sman.apps man/sman.files rm -f port/Makefile port/install.sh port/mkdepend rm -f config.{guess,sub} rm -f dummy xgnu.c dummy.c xmakeinc t dummy.o dummy.C confMakefile config.log a.out dh_clean PWD := $(shell pwd) p_client = hylafax-client p_server = hylafax-server d_client = debian/$(p_client) d_server = debian/$(p_server) install: install-client install-server install-server: dh_testdir dh_testroot dh_clean -k -p$(p_server) : # install server package dh_installdirs -p$(p_server) \ etc/hylafax \ usr/sbin \ var/log/hylafax \ usr/lib/hylafax/bin \ var/spool/hylafax/{archive,client,config,dev,info,log,bin,etc} \ var/spool/hylafax/{recvq,status,sendq,doneq,docq,tmp,pollq} \ usr/share/man/{man5,man8} \ usr/share/locale \ usr/share/lintian/overrides cp -p debian/hosts.hfaxd hfaxd/hfaxd.conf util/cover.templ \ etc/dialrules etc/dialrules.sf-ba etc/dialrules.europe \ etc/lutRS18.pcf \ $(d_server)/etc/hylafax/. cp -p debian/hylafax.config $(d_server)/etc/hylafax/config cp -pR etc/templates $(d_server)/etc/hylafax/ rm -r $(d_server)/etc/hylafax/templates/html-sample1 cp -p util/{faxmsg,faxconfig,faxmodem,faxstate,faxwatch} \ util/{faxinfo,tiffcheck,typetest,dialtest,faxadduser,faxdeluser} \ faxd/{faxq,faxqclean,faxgetty,faxsend} \ faxd/{pagesend,tsitest,tagtest,cqtest} \ faxd/choptest \ hfaxd/hfaxd \ etc/ondelay \ etc/lockname \ $(d_server)/usr/sbin/. for i in \ util/xferfaxstats.sh util/recvstats.sh util/faxcron.sh \ etc/faxaddmodem.sh etc/faxsetup.sh etc/probemodem.sh; \ do \ b=`basename $$i .sh`; \ install -p $$i $(d_server)/usr/sbin/$$b; \ done for i in \ util/{ps2fax.gs.sh,pdf2fax.gs.sh,pcl2fax.sh,tiff2fax.sh,tiff2pdf.sh} \ util/{archive.sh,notify.sh,notify-4.1.sh,faxrcvd.sh,pollrcvd.sh,mkcover.sh,wedged.sh} \ util/{common-functions.sh,dictionary.sh,qp-encode.awk,b64-encode.awk}; \ do \ b=`basename $$i .sh`; \ install -p $$i $(d_server)/var/spool/hylafax/bin/$$b; \ done install -p util/notify.awk $(d_server)/var/spool/hylafax/bin/. chmod a-x $(d_server)/var/spool/hylafax/bin/{dictionary,common-functions} cp -p config/[a-z]* $(d_server)/var/spool/hylafax/config/. ln -sf faxmsg $(d_server)/usr/sbin/faxanswer ln -sf faxmsg $(d_server)/usr/sbin/faxabort ln -sf faxmsg $(d_server)/usr/sbin/faxquit ln -sf faxmsg $(d_server)/usr/sbin/faxlock # ln -sf /etc/hylafax $(d_server)/var/spool/hylafax/etc # ln -sf ps2fax.gs $(d_server)/var/spool/hylafax/bin/ps2fax # ln -sf pdf2fax.gs $(d_server)/var/spool/hylafax/bin/pdf2fax : # install server man pages for i in man/sman.files/*.4f; do \ b=`basename $$i .4f`; \ cp -p $$i $(d_server)/usr/share/man/man5/$$b.5; \ done for i in man/sman.apps/*.1m; do \ b=`basename $$i .1m`; \ cp -p $$i $(d_server)/usr/share/man/man8/$$b.8; \ done for i in debian/man/*.8; do \ b=`basename $$i .8`; \ cp -p $$i $(d_server)/usr/share/man/man8/$$b.8; \ done # i18n mo files for l in $(LANGUAGES); do \ mkdir $(d_server)/usr/share/locale/$$l; \ mkdir $(d_server)/usr/share/locale/$$l/LC_MESSAGES; \ cp po/hylafax-server/$$l.mo $(d_server)/usr/share/locale/$$l/LC_MESSAGES/hylafax-server.mo; \ done # override lintian warnings cp -p debian/lintian.override.hylafax-server \ $(d_server)/usr/share/lintian/overrides/$(p_server) dh_installexamples -p$(p_server) debian/examples/* install --mode=a+rx -p debian/copy_configuration_from_spool $(d_server)/usr/lib/hylafax/bin/ dh_install -p$(p_server) --list-missing install-client: dh_testdir dh_testroot dh_clean -k -p$(p_client) : # install client package dh_installdirs -p$(p_client) \ etc/hylafax \ usr/bin \ usr/lib \ usr/share/man/{man1,man5} \ usr/share/hylafax \ usr/share/doc/hylafax-client/faxmail \ usr/share/locale \ usr/share/lintian/overrides cp -p debian/hyla.conf faxcover/faxcover.ps faxmail/faxmail.ps \ libhylafax/typerules \ $(d_client)/etc/hylafax/. touch $(d_client)/etc/hylafax/faxcover.ps cp -p libhylafax/pagesizes $(d_client)/usr/share/hylafax/. install -p util/textfmt faxalter/faxalter faxcover/faxcover \ faxmail/faxmail faxrm/faxrm faxstat/faxstat \ sendfax/sendfax sendpage/sendpage \ $(d_client)/usr/bin/. #i18n .mo files for l in $(LANGUAGES); do \ mkdir $(d_client)/usr/share/locale/$$l; \ mkdir $(d_client)/usr/share/locale/$$l/LC_MESSAGES; \ cp po/libhylafax/$$l.mo $(d_client)/usr/share/locale/$$l/LC_MESSAGES/libhylafax.mo; \ cp po/hylafax-client/$$l.mo $(d_client)/usr/share/locale/$$l/LC_MESSAGES/hylafax-client.mo; \ done install -p faxmail/mailfax.sh-postfix faxmail/mailfax.sh-qmail \ faxmail/mailfax.sh-sendmail faxmail/mailfax.sh-smail \ faxmail/README \ $(d_client)/usr/share/doc/hylafax-client/faxmail/ for i in faxcover/edit-faxcover.sh; \ do \ b=`basename $$i .sh`; \ install -p $$i $(d_client)/usr/bin/$$b; \ done : # install client man pages for i in man/cman.files/*.4f; do \ b=`basename $$i .4f`; \ cp -p $$i $(d_client)/usr/share/man/man5/$$b.5; \ done for i in man/cman.apps/*.1; do \ b=`basename $$i .1`; \ [ $$b != sgi2fax ] && cp -p $$i $(d_client)/usr/share/man/man1/$$b.1; \ done # override lintian warnings cp -p debian/lintian.override.hylafax-client \ $(d_client)/usr/share/lintian/overrides/$(p_client) # needed by sendfax ... mkdir -p $(d_client)/usr/sbin ln -sf ../bin/textfmt $(d_client)/usr/sbin/textfmt dh_install -p$(p_client) --list-missing # Build architecture dependant packages using the common target. binary-arch: build-arch install-client install-server dh_testdir dh_testroot dh_installchangelogs -a doc/RELEASENOTES-6.0.txt dh_installdocs -a -A \ debian/README.mgetty debian/README.Debian \ TODO CONTRIBUTORS dh_installexamples dh_installdebconf -p$(p_server) dh_installinit -p$(p_server) --name=hylafax --no-start dh_installcron -p$(p_server) --name=hylafax dh_strip -a dh_compress -a dh_fixperms -a chgrp uucp $(d_server)/etc/hylafax chown uucp:uucp \ $(d_server)/var/spool/hylafax/{client,config,dev,info,log,recvq,status,archive,docq,doneq,pollq,sendq,tmp,.} chmod 755 \ $(d_server)/var/spool/hylafax/{archive,docq,doneq,pollq,sendq} chmod 775 $(d_server)/var/spool/hylafax chmod 4777 $(d_server)/var/spool/hylafax/tmp chmod 755 $(d_server)/var/spool/hylafax/dev chown uucp $(d_server)/etc/hylafax/hosts.hfaxd chmod 600 $(d_server)/etc/hylafax/hosts.hfaxd dh_makeshlibs -a dh_installdeb -a dh_shlibdeps -phylafax-client \ debian/hylafax-client/usr/bin/faxalter \ debian/hylafax-client/usr/bin/faxcover \ debian/hylafax-client/usr/bin/faxmail \ debian/hylafax-client/usr/bin/faxrm \ debian/hylafax-client/usr/bin/faxstat \ debian/hylafax-client/usr/bin/sendfax \ debian/hylafax-client/usr/bin/sendpage \ debian/hylafax-client/usr/bin/textfmt dh_shlibdeps -L libfaxutil -phylafax-server \ debian/hylafax-server/usr/sbin/choptest \ debian/hylafax-server/usr/sbin/cqtest \ debian/hylafax-server/usr/sbin/dialtest \ debian/hylafax-server/usr/sbin/faxadduser \ debian/hylafax-server/usr/sbin/faxconfig \ debian/hylafax-server/usr/sbin/faxdeluser \ debian/hylafax-server/usr/sbin/faxgetty \ debian/hylafax-server/usr/sbin/faxinfo \ debian/hylafax-server/usr/sbin/faxmodem \ debian/hylafax-server/usr/sbin/faxmsg \ debian/hylafax-server/usr/sbin/faxq \ debian/hylafax-server/usr/sbin/faxqclean \ debian/hylafax-server/usr/sbin/faxsend \ debian/hylafax-server/usr/sbin/faxstate \ debian/hylafax-server/usr/sbin/faxwatch \ debian/hylafax-server/usr/sbin/hfaxd \ debian/hylafax-server/usr/sbin/ondelay \ debian/hylafax-server/usr/sbin/lockname \ debian/hylafax-server/usr/sbin/pagesend \ debian/hylafax-server/usr/sbin/tagtest \ debian/hylafax-server/usr/sbin/tiffcheck \ debian/hylafax-server/usr/sbin/tsitest \ debian/hylafax-server/usr/sbin/typetest dh_gencontrol -a dh_md5sums -a dh_builddeb -a include /usr/share/dpatch/dpatch.make binary: binary-arch .PHONY: build clean clean1 binary-arch binary install install-client install-server configure patch unpatch hylafax-6.0.6/debian/watch000066400000000000000000000002001176352547600154420ustar00rootroot00000000000000# to check for upstream updates and more. version=3 ftp://ftp.hylafax.org/source/hylafax-([^SNAPSHOT]*)\.tar\.gz debian uupdate hylafax-6.0.6/defs.in000066400000000000000000000273501176352547600144570ustar00rootroot00000000000000# $Id$ # # @WARNING@ # # HylaFAX Facsimile Software # # Copyright (c) 1988-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # 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. # # # VERSION: @VERSION@ # DATE: @DATE@ # TARGET: @TARGET@ # CCOMPILER: @CCOMPILER@ # CXXCOMPILER: @CXXCOMPILER@ # @SETMAKE@ MAKEFILE = Makefile SHELL = @SCRIPT_SH@ VERSION = @VERSION@ ABI_VERSION = @ABI_VERSION@ ABI_PATCH = @ABI_PATCH@ # # Directory locations setup at configuration time. # Note that changing these parameters here is likely # to insufficient; you are better off rerunning the # configure script so that all uses are set correctly. # SPOOL = @SPOOL@ SBIN = @SBIN@ BIN = @BIN@ LIBDATA = @LIBDATA@ LIBDIR = @LIBDIR@ LIBEXEC = @LIBEXEC@ FONTMAP = @FONTMAP@ FONTPATH = @FONTPATH@ SENDMAIL = @SENDMAIL@ # TOPSRCDIR = @SRCDIR@ PORT = ${DEPTH}/port SRCDIR = ${DEPTH}/${TOPSRCDIR}/${SUBDIR} VPATH = ${DEPTH}/${TOPSRCDIR}/${SUBDIR} # # PostScript imaging support to setup for the default # installation. This should be one of "gs" or "dps" # according to whether Ghostscript or the DPS-based # SGI tool is to be used. # PSPACKAGE = @PSPACKAGE@ # # Basic tools used in the build process. # C++ = @CXXCOMPILER@ CC = @CCOMPILER@ AR = @AR@ AROPTS = @AROPTS@ RANLIB = @RANLIB@ MKDEPEND = @MKDEPEND@ # # Programs used during installation. # INSTALL = @INSTALL@ ${INSTALL_OPTS} ECHO = @ECHO@ FUSER = @FUSER@ GREP = @GREP@ RM = @RM@ PWDCMD = @PWDCMD@ MKDIR = @MKDIR@ NAWK = @AWK@ SED = @SED@ SORT = @SORT@ TTYCMD = @TTYCMD@ # PRODUCT = hylafax GENDIST = @GENDIST@ # for SGI systems # # Uid&Gid for installing server stuff. Note that the server process # proper (/usr/etc/faxd or similar) must either run setuid root or # setuid uucp (i.e. fax and uucp must have the same uid). This is # so that the fax server can participate in the UUCP locking scheme # and thereby implement tty line sharing (i.e. share the same line # and modem for both fax and data). # FAXUSER = @FAXUID@ FAXGROUP = @FAXGID@ # # Ownership of system directories that might be created at install time # SYSUSER = @SYSUID@ SYSGROUP = @SYSGID@ DIRMODE = 755 # # Enable Dynamic Shared Object (DSO) support if appropriate. # # DSO is the suffix for a DSO file (e.g. ".so"). If DSO's are # not supported on a system then set this to ".a" to get static # linking of the appropriate libraries. # # DSOOPTS are options to CCF/C++F when creating a DSO. # DSODELAY is the option to supply when building a DSO with libraries # that should be ``lazy loaded'' (e.g. because they are infrequently # used) # LLDOPTS is intended to be used to pass options that force searching # for DSO's that are stuck in non-standard system locations # DSO = @DSOSUF@ DSOOPTS = @DSOOPTS@ DSODELAY = @DSODELAY@ LLDOPTS = @LLDOPTS@ # # Default optimizer and prototype options # OPTIMIZER = @OPTIMIZER@ CVERSION = @ENVOPTS@ C++FILE = @CXXFILE@ # default definitions for programs--overide them as desired LIBS = ${UTIL}/libhylafax-${ABI_VERSION}.${DSO} LLDLIBS = -L${UTIL} -lhylafax-${ABI_VERSION} @LIBJBIG@ ${LIBTIFF} ${LIBINTL} ${LIBZ} ${LIBREGEX} ${LIBPORT} ${MACHDEPLIBS} # # Override this definition to eliminate shared library use. # SHDLIBC = @SHDLIBC@ # # Libraries that may vary from machine to machine (especially if # you use GNU GCC instead of AT&T C++). # MACHDEPLIBS = @MACHDEPLIBS@ # # I18N-related definitions. The source for the INTL library # is not required to build this software, but you must have # the INTL library installed somewhere on your system to link # against. If the default "-lintl" is insufficient to locate # the library, you can setup a config.local file that defines # LIBINTL and/or INTLINC (used to find libintl.h) INTLINC = @INTLINC@ LIBINTL = @LIBINTL@ # # # TIFF-related definitions. The source for the TIFF library # is not required to build this software, but you must have # the TIFF library installed somewhere on your system to link # against. If the default "-L /usr/local/lib -ltiff" is # insufficient to locate the library you can setup a config.local # file that defines LIBTIFF and/or TIFFINC (used to find tiffio.h) # TIFFINC = @TIFFINC@ LIBTIFF = @LIBTIFF@ TIFFBIN = @TIFFBIN@ # # zlib-related definitions. The source for the zlib library # is not required to build this software, but you must have # the zlib library installed somewhere on your system to link # against. If the default "-L /usr/local/lib -lz" is # insufficient to locate the library you can setup a config.local # file that defines LIBZ and/or ZINC (used to find zlib.h) # ZLIBINC = @ZLIBINC@ LIBZ = @LIBZ@ # # regex-related definitions. The source for the POSIX regular # expression package is not required to build this software, # but you must have the resulting library installed somewhere # on your system to link against. If the default value # "-L /usr/local/lib -lregex" is insufficient to locate the # library you can setup a config.local file that defines LIBREGEX # and/or REGEXINC # REGEXINC = @REGEXINC@ LIBREGEX = @LIBREGEX@ # random utility functions and classes UTIL = ${DEPTH}/libhylafax FAXD = ${DEPTH}/faxd LIBPORT = @LIBPORT@ LIBPAM = @LIBPAM@ LIBUTIL = @LIBUTIL@ LIBCRYPT = @LIBCRYPT@ # # Definitions used by common rules. # COMMONRULES = ${DEPTH}/rules COMMONTARGS = clobber clean rmtargets depend incdepend # # C compiler flags are composed of variable (set on the command line), # local (defined in the makefile), and global (defined in this file) # parts, in that order. This ordering is used so that variable or # locally specified include directories are searched before the globally # specified ones. # CFLAGS = ${CVERSION} ${VCFLAGS} ${LCFLAGS} ${GCFLAGS} VCFLAGS = ${VCDEFS} ${VCINCS} ${VCOPTS} LCFLAGS = ${LCDEFS} ${LCINCS} ${LCOPTS} GCFLAGS = ${GCDEFS} ${GCINCS} ${GCOPTS} COPTS = ${VCOPTS} ${LCOPTS} ${GCOPTS} CDEFS = ${VCDEFS} ${LCDEFS} ${GCDEFS} CINCS = ${VCINCS} ${LCINCS} ${GCINCS} GCOPTS = @GCOPTS@ ${OPTIMIZER} @PROTOTYPES@ GCDEFS = @ANSICPP@ GCINCS = -I. -I${DEPTH} -I${SRCDIR} \ -I${DEPTH}/${TOPSRCDIR}/libhylafax ${REGEXINC} ${TIFFINC} ${INTLINC} # # C++ flags are decomposed using the same hierarchy as C flags. # C++FLAGS = ${CVERSION} ${VC++FLAGS} ${LC++FLAGS} ${GC++FLAGS} VC++FLAGS = ${VC++DEFS} ${VC++INCS} ${VC++OPTS} LC++FLAGS = ${LC++DEFS} ${LC++INCS} ${LC++OPTS} GC++FLAGS = ${GC++DEFS} ${GC++INCS} ${GC++OPTS} C++OPTS = ${VC++OPTS} ${LC++OPTS} ${GC++OPTS} C++DEFS = ${VC++DEFS} ${LC++DEFS} ${GC++DEFS} C++INCS = ${VC++INCS} ${LC++INCS} ${GC++INCS} GC++OPTS = @GCXXOPTS@ ${OPTIMIZER} GC++INCS = -I. -I${DEPTH} -I${SRCDIR} \ -I${DEPTH}/${TOPSRCDIR}/libhylafax ${REGEXINC} ${TIFFINC} ${INTLINC} GC++DEFS = @ANSICXXPP@ # # Loader flags, composed of library (-l's) and option parts, with # the libraries appearing last. Both of these are divided into variable, # local, and global parts. The composition of LDFLAGS is done in the # other "direction" from CFLAGS so that all the -L's, that are part of # LDOPTS, appear before any of the -l's, which are part of LDLIBS. # Another benefit of segregating the libraries from the remaining of the # loader options is that the libraries alone can easily be given to # another program, e.g., lint. # # Notes: # - If a program should not be linked with the shared version of libc, # then its make file should override the setting of SHDLIBC with a # line such as "SHDLIBC=". # LDFLAGS = ${LDOPTS} ${LDLIBS} LDOPTS = ${VLDOPTS} ${LLDOPTS} ${GLDOPTS} LDLIBS = ${VLDLIBS} ${LLDLIBS} ${GLDLIBS} GLDOPTS = GLDLIBS = ${SHDLIBC} # # Convenient command macros that include the flags macros. # C++F = ${C++} ${C++FLAGS} CCF = ${CC} ${CFLAGS} # # Shell script for generating make dependencies. MKDEPEND is a shorthand # for the tool's absolute pathname. MKDEPENDC adds MKDEPCFLAGS and the -c # mkdepend option to this. The other language's mkdepend variables try to # include their language's name in the variable names. Unfortunately, a # lot of makefiles already use the nondescript LMKDEPFLAGS for C language # mkdepend options, so we initialize LMKDEPCFLAGS with ${LMKDEPFLAGS}. # MKDEPENDC++ = ${MKDEPEND} ${MKDEPC++FLAGS} -c \ "${C++F} ${C++FILE} -c -M @MKDEPCXXOPTS@" MKDEPENDC = ${MKDEPEND} ${MKDEPCFLAGS} -c "${CCF} -c -M @MKDEPCOPTS@" MKDEPC++FLAGS = ${VMKDEPC++FLAGS} ${LMKDEPC++FLAGS} ${GMKDEPC++FLAGS} MKDEPCFLAGS = ${VMKDEPCFLAGS} ${LMKDEPCFLAGS} ${GMKDEPCFLAGS} LMKDEPCFLAGS = ${LMKDEPFLAGS} GMKDEPFLAGS = -e 's@ ${INCLDIR}/@ $${INCLDIR}/@' GMKDEPC++FLAGS = ${GMKDEPFLAGS} -s C++ -e 's@\.c++\.o *: @\.o: @' GMKDEPCFLAGS = ${GMKDEPFLAGS} # # Macro to add to LMKDEPCFLAGS or LMKDEPC++FLAGS if your makefile builds # single-source programs using null suffix rules (e.g., .c:}. This option # works for both C and C++ make depend. # NULLSUFFIX_MKDEPFLAG=-e 's@\.o+*:@:@' # # MKDEPFILE is the name of the dependency database, included by rules. # MKDEPFILE = Makedepend # # CDEPFILES lists all C or cc-compiled source files that depend on header # files computable by ${MKDEPENDC}. C++DEPFILES lists all C++ files having # dependencies computable by ${MKDEPENDC++}. # C++DEPFILES = ${C++FILES} CDEPFILES = ${CFILES} DEPFILES = ${C++DEPFILES} ${CDEPFILES} # # Directory shorthands, mainly for make depend (see GMKDEPFLAGS above). # INCLDIR = /usr/include # # Manual-related controls: # # MAN head of manual tree # MANAPPS subdirectory for client stuff in BIN # MANSYS subdirectory for server & server-related apps # MANFILES subdirectory for file format info # MAN = @MANDIR@ MANAPPS = @MANAPPS@ MANSYS = @MANSYS@ MANFILES = @MANFILES@ # # MANNUM4_5 specification of manpage numbering for 4, 4F, 5, or 5F # MANNUM1_8 specification of manpage numbering for 8, 8C, or 1M # MANCVT command to convert source to installable target (can use # $? and $@, but not $<) MANNUM4_5 = @MANNUM4_5@ MANNUM1_8 = @MANNUM1_8@ MANCVT = @MANCVT@ # # The following macros are used during the install step to generate # the filenames of the target manual pages. They appear inside a # shell for loop in a command of the form: # # f=${MAN*NAME} # # where the variable ``i'' contains the filename of the formatted # manual page (formatted according to the MANCVT macro). # # MANCAPPNAME generate installed client app man page filename # MANCFILENAME generate installed client file format man page filename # MANSAPPNAME generate installed server app man page filename # MANSFILENAME generate installed server file format man page filename # # MANCAPPNAME = @MANCAPPNAME@ MANCFILENAME = @MANCFILENAME@ MANSAPPNAME = @MANSAPPNAME@ MANSFILENAME = @MANSFILENAME@ # # NLS Support # # All translations listed here must have a translated po/${LANG}.po file # LOCALEDIR = @LOCALEDIR@ LANGUAGES = nl es vi id de XGETTEXT = @XGETTEXT@ MSGMERGE = @MSGMERGE@ MSGFMT = @MSGFMT@ MSGCAT = @MSGCAT@ hylafax-6.0.6/dist/000077500000000000000000000000001176352547600141425ustar00rootroot00000000000000hylafax-6.0.6/dist/hylafax.alpha000066400000000000000000000000211176352547600165760ustar00rootroot00000000000000define ALPHA 023 hylafax-6.0.6/dist/hylafax.dist000066400000000000000000000066271176352547600164760ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # 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. # define CUR_MAJ_VERS 1006 # Major Version number define CUR_MIN_VERS 010 # Minor Version number define CUR_VERS ${CUR_MAJ_VERS}${CUR_MIN_VERS}${ALPHA} define FAX_NAME "HylaFAX" include hylafax.version include hylafax.alpha product hylafax id "${FAX_NAME} Facsimile Software, Version ${FAX_VNUM}" inplace image sw id "${FAX_NAME} Software" version "${CUR_VERS}" subsys client default id "${FAX_NAME} Client Software" exp "hylafax.sw.client" replaces self replaces flexfax.sw.client 0 oldvers prereq ( dps_eoe.sw.dpsfonts 1006000000 maxint # AFM files tiff.sw.tools 1006001029 maxint # TIFF DSO ) endsubsys subsys server id "${FAX_NAME} Server Software" exp "hylafax.sw.server" replaces self replaces flexfax.sw.server 0 oldvers # # Server requires a PostScript RIP: either DPS-, # Impressario-2.1- or Ghostscript-based. # prereq ( hylafax.sw.dpsrip 0 maxint # DPS-based RIP tiff.sw.tools 1006001029 maxint # TIFF DSO ) prereq ( hylafax.sw.imprip 0 maxint # IMP 2.1 RIP tiff.sw.tools 1006001029 maxint # TIFF DSO ) prereq ( fw_gs.sw.gs 0 maxint # Ghostscript & tiff.sw.tools 1006001029 maxint # TIFF DSO ) endsubsys subsys dpsrip id "DPS-based PostScript RIP (for server, COFF only)" exp "hylafax.sw.dpsrip" prereq ( dps_eoe.sw.dps 1006000000 maxint # VM startup dps_eoe.sw.dpsfonts 1006000000 maxint # fonts ) endsubsys subsys imprip id "Impressario 2.1-based PostScript RIP (for server)" exp "hylafax.sw.imprip" prereq ( impr_rip.sw.impr 1232807300 maxint # psrip & co. dps_eoe.sw.dpsfonts 1232729832 maxint # fonts tiff.sw.tools 1006001029 maxint # TIFF DSO ) endsubsys endimage image man id "${FAX_NAME} UNIX Manual Pages" version "${CUR_VERS}" subsys client default id "${FAX_NAME} Client Manual Pages" exp "hylafax.man.client" replaces self replaces flexfax.man.* 0 oldvers endsubsys subsys server id "${FAX_NAME} Server Manual Pages" exp "hylafax.man.server" replaces self replaces flexfax.man.* 0 oldvers endsubsys endimage endproduct hylafax-6.0.6/dist/newalpha000066400000000000000000000027331176352547600156710ustar00rootroot00000000000000#! /bin/sh # $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # 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 test -r hylafax.alpha; then ALPHA=`cat hylafax.alpha`; rm -f hylafax.alpha echo "$ALPHA" | awk '{ printf "define ALPHA %03d\n", $3+1}' > hylafax.alpha else echo "define ALPHA 001" >hylafax.alpha fi hylafax-6.0.6/dist/newversion000066400000000000000000000026561176352547600162750ustar00rootroot00000000000000#! /bin/sh # $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1994-1996 Sam Leffler # Copyright (c) 1994-1996 Silicon Graphics, Inc. # 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. # rm -f hylafax.version awk ' $1 ~ /.*beta/ { print "define FAX_VNUM " $0 } $1 !~ /.*beta/{ print "define FAX_VNUM \"" $0 " (release)\"" } ' ../VERSION > hylafax.version hylafax-6.0.6/distrules000066400000000000000000002066211176352547600151470ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1988-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # 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. # # # HylaFAX distribution rules. # This list is automatically built from: # git ls-files -x .cvsignore -- port # PORTFILES=\ port/Makefile.in \ port/flock.c \ port/ftruncate.c \ port/getopt.c \ port/install.sh.in \ port/irix/so_locations \ port/mkdepend.in \ port/mkdtemp.c \ port/mkstemp.c \ port/random.c \ port/setegid.c \ port/setenv.c \ port/seteuid.c \ port/setvbuf.c \ port/snprintf.c \ port/srandom.c \ port/strcasecmp.c \ port/strtod.c \ port/strtoul.c \ port/syslog.c \ port/version.c.in \ port/vsnprintf.c \ port/vsyslog.c \ port/writev.c \ ${NULL} # Files that make up the HylaFAX # source distribution, except for # manual pages. # This list is automatically built from: # git ls-files -x 'man/*' -x 'port/*' -x 'port/*/*' -x .cvsignore # HYLAFAXSRC=\ CONTRIBUTORS \ COPYRIGHT \ INSTALL \ Makefile.in \ README \ TODO \ VERSION \ config.guess \ config.h.in \ config.site \ config.sub \ config/Makefile.in \ config/att-dataport \ config/att-dataport-2 \ config/att-dataport-2.0 \ config/att-dpexpress-2 \ config/cirrus \ config/class1 \ config/class1.0 \ config/class2 \ config/class2.0 \ config/class2.1 \ config/conexant-1.0 \ config/davicom-2 \ config/digi \ config/digi-2 \ config/digi-20 \ config/dsi-scout+ \ config/e-tech \ config/eicon \ config/eicon-2 \ config/elsa-microlink-56k-basic-2.0 \ config/everex-2496d \ config/exar \ config/gvc-288 \ config/gvc-288-2 \ config/hayes \ config/iaxmodem \ config/intel-400e \ config/ip568x \ config/linux-isdn-2 \ config/lucent \ config/lucent-isa \ config/lucent-mt-10 \ config/lucent-mt-2 \ config/lucent-mt-20 \ config/lucent-mt-21 \ config/mainpine-10 \ config/mainpine-2 \ config/mainpine-20 \ config/mainpine-21 \ config/moto-288 \ config/mt-1432 \ config/nuvo-voyager \ config/ppi-pm14400fxmt \ config/ppi-pm14400fxsa \ config/prometheus \ config/rc144ac \ config/rc144ac-1 \ config/rc288dpi \ config/rc288dpi-1 \ config/rc32acl \ config/rc32acl-1 \ config/rockwell-k56 \ config/rockwell-rc \ config/sierra \ config/skel \ config/t38modem \ config/telebit-qblazer \ config/telebit-t3000 \ config/telebit-wb \ config/topic \ config/tricom2842 \ config/uds-fastalk \ config/umc92144 \ config/umc9624 \ config/usr-2.0 \ config/usr-rts \ config/usr-xon \ config/zyxel-1496e \ config/zyxel-1496e-1 \ config/zyxel-1496e-2.0 \ config/zyxel-2864 \ configure \ debian/NEWS \ debian/README.Debian \ debian/README.mgetty \ debian/changelog \ debian/compat \ debian/control \ debian/copy_configuration_from_spool \ debian/copyright \ debian/examples/FaxDispatch.example \ debian/examples/pam-hylafax \ debian/examples/retainfaxcover.sh \ debian/hosts.hfaxd \ debian/hyla.conf \ debian/hylafax-client.install \ debian/hylafax-client.postinst \ debian/hylafax-client.postrm \ debian/hylafax-server.conffiles \ debian/hylafax-server.hylafax.cron.monthly \ debian/hylafax-server.hylafax.cron.weekly \ debian/hylafax-server.hylafax.default \ debian/hylafax-server.hylafax.init \ debian/hylafax-server.postinst \ debian/hylafax-server.postrm \ debian/hylafax-server.prerm \ debian/hylafax-server.templates \ debian/hylafax.config \ debian/lintian.override.hylafax \ debian/lintian.override.hylafax-client \ debian/lintian.override.hylafax-server \ debian/man/faxmsg.8 \ debian/man/lockname.8 \ debian/man/ondelay.8 \ debian/man/probemodem.8 \ debian/man/typetest.8 \ debian/minimal.config \ debian/patches/00list \ debian/patches/00patch-opts \ debian/patches/00template \ debian/patches/500_two_dirs_config.dpatch \ debian/patches/600_setupclient.dpatch \ debian/patches/602_xferstat.dpatch \ debian/patches/604_faxaddmodem_friendly.dpatch \ debian/patches/605_faxrecv_newarg7.dpatch \ debian/patches/650_faxsetup_paths.dpatch \ debian/patches/652_faxsetup_faxmaster.dpatch \ debian/patches/654_faxsetup_gs.dpatch \ debian/patches/655_faxaddmodem_message.dpatch \ debian/patches/657_typerules.dpatch \ debian/patches/658_oldnotify_awk.dpatch \ debian/patches/659_notify_from_address.dpatch \ debian/po/POTFILES.in \ debian/po/bg.po \ debian/po/ca.po \ debian/po/cs.po \ debian/po/de.po \ debian/po/es.po \ debian/po/fr.po \ debian/po/gl.po \ debian/po/it.po \ debian/po/ja.po \ debian/po/nl.po \ debian/po/pt.po \ debian/po/pt_BR.po \ debian/po/ru.po \ debian/po/sv.po \ debian/po/templates.pot \ debian/po/vi.po \ debian/rules \ debian/watch \ defs.in \ dist/hylafax.alpha \ dist/hylafax.dist \ dist/newalpha \ dist/newversion \ distrules \ doc/RELEASENOTES-4.3.txt \ doc/RELEASENOTES-4.4.txt \ doc/RELEASENOTES-6.0.txt \ etc/Makefile.in \ etc/copy.h \ etc/copy.m \ etc/copy.ps \ etc/dialrules \ etc/dialrules.europe \ etc/dialrules.sf-ba \ etc/faxaddmodem.sh.in \ etc/faxsetup.bsdi \ etc/faxsetup.irix \ etc/faxsetup.linux \ etc/faxsetup.sh.in \ etc/hylafax.in \ etc/lockname.c \ etc/lutRS18.pcf \ etc/ondelay.c \ etc/probemodem.sh.in \ etc/templates/README \ etc/templates/de/faxrcvd-error.txt \ etc/templates/de/faxrcvd-failure.txt \ etc/templates/de/faxrcvd-notify-error.txt \ etc/templates/de/faxrcvd-notify-success.txt \ etc/templates/de/faxrcvd-success.txt \ etc/templates/de/notify-blocked.txt \ etc/templates/de/notify-done-page.txt \ etc/templates/de/notify-done.txt \ etc/templates/de/notify-failed-page.txt \ etc/templates/de/notify-failed.txt \ etc/templates/de/notify-faxmaster.txt \ etc/templates/de/notify-format_failed.txt \ etc/templates/de/notify-killed.txt \ etc/templates/de/notify-no_formatter.txt \ etc/templates/de/notify-poll_failed.txt \ etc/templates/de/notify-poll_no_document.txt \ etc/templates/de/notify-poll_rejected.txt \ etc/templates/de/notify-rejected.txt \ etc/templates/de/notify-removed.txt \ etc/templates/de/notify-requeued.txt \ etc/templates/de/notify-timedout.txt \ etc/templates/en/faxrcvd-error.txt \ etc/templates/en/faxrcvd-failure.txt \ etc/templates/en/faxrcvd-notify-error.txt \ etc/templates/en/faxrcvd-notify-success.txt \ etc/templates/en/faxrcvd-success.txt \ etc/templates/en/notify-blocked.txt \ etc/templates/en/notify-done-page.txt \ etc/templates/en/notify-done.txt \ etc/templates/en/notify-failed-page.txt \ etc/templates/en/notify-failed.txt \ etc/templates/en/notify-faxmaster.txt \ etc/templates/en/notify-format_failed.txt \ etc/templates/en/notify-killed.txt \ etc/templates/en/notify-no_formatter.txt \ etc/templates/en/notify-poll_failed.txt \ etc/templates/en/notify-poll_no_document.txt \ etc/templates/en/notify-poll_rejected.txt \ etc/templates/en/notify-rejected.txt \ etc/templates/en/notify-removed.txt \ etc/templates/en/notify-requeued.txt \ etc/templates/en/notify-timedout.txt \ etc/templates/es/faxrcvd-error.txt \ etc/templates/es/faxrcvd-failure.txt \ etc/templates/es/faxrcvd-notify-error.txt \ etc/templates/es/faxrcvd-notify-success.txt \ etc/templates/es/faxrcvd-success.txt \ etc/templates/es/notify-blocked.txt \ etc/templates/es/notify-done-page.txt \ etc/templates/es/notify-done.txt \ etc/templates/es/notify-failed-page.txt \ etc/templates/es/notify-failed.txt \ etc/templates/es/notify-faxmaster.txt \ etc/templates/es/notify-format_failed.txt \ etc/templates/es/notify-killed.txt \ etc/templates/es/notify-no_formatter.txt \ etc/templates/es/notify-poll_failed.txt \ etc/templates/es/notify-poll_no_document.txt \ etc/templates/es/notify-poll_rejected.txt \ etc/templates/es/notify-rejected.txt \ etc/templates/es/notify-removed.txt \ etc/templates/es/notify-requeued.txt \ etc/templates/es/notify-timedout.txt \ etc/templates/fr/faxrcvd-error.txt \ etc/templates/fr/faxrcvd-failure.txt \ etc/templates/fr/faxrcvd-notify-error.txt \ etc/templates/fr/faxrcvd-notify-success.txt \ etc/templates/fr/faxrcvd-success.txt \ etc/templates/fr/notify-blocked.txt \ etc/templates/fr/notify-done-page.txt \ etc/templates/fr/notify-done.txt \ etc/templates/fr/notify-failed-page.txt \ etc/templates/fr/notify-failed.txt \ etc/templates/fr/notify-faxmaster.txt \ etc/templates/fr/notify-format_failed.txt \ etc/templates/fr/notify-killed.txt \ etc/templates/fr/notify-no_formatter.txt \ etc/templates/fr/notify-poll_failed.txt \ etc/templates/fr/notify-poll_no_document.txt \ etc/templates/fr/notify-poll_rejected.txt \ etc/templates/fr/notify-rejected.txt \ etc/templates/fr/notify-removed.txt \ etc/templates/fr/notify-requeued.txt \ etc/templates/fr/notify-timedout.txt \ etc/templates/html-sample1/css.inc \ etc/templates/html-sample1/divider.inc \ etc/templates/html-sample1/fax-attach.inc \ etc/templates/html-sample1/fax-data.inc \ etc/templates/html-sample1/fax-dispatched.inc \ etc/templates/html-sample1/faxrcvd-error.txt \ etc/templates/html-sample1/faxrcvd-failure.txt \ etc/templates/html-sample1/faxrcvd-notify-error.txt \ etc/templates/html-sample1/faxrcvd-notify-success.txt \ etc/templates/html-sample1/faxrcvd-success.txt \ etc/templates/html-sample1/footer.inc \ etc/templates/html-sample1/header.inc \ etc/templates/html-sample1/hook.sh \ etc/templates/html-sample1/job-data.inc \ etc/templates/html-sample1/notify-blocked.txt \ etc/templates/html-sample1/notify-done.txt \ etc/templates/html-sample1/notify-failed.txt \ etc/templates/html-sample1/notify-faxmaster.txt \ etc/templates/html-sample1/notify-format_failed.txt \ etc/templates/html-sample1/notify-killed.txt \ etc/templates/html-sample1/notify-no_formatter.txt \ etc/templates/html-sample1/notify-rejected.txt \ etc/templates/html-sample1/notify-removed.txt \ etc/templates/html-sample1/notify-requeued.txt \ etc/templates/html-sample1/notify-timedout.txt \ etc/templates/html-sample1/session_log.inc \ etc/templates/it/faxrcvd-error.txt \ etc/templates/it/faxrcvd-failure.txt \ etc/templates/it/faxrcvd-notify-error.txt \ etc/templates/it/faxrcvd-notify-success.txt \ etc/templates/it/faxrcvd-success.txt \ etc/templates/it/notify-blocked.txt \ etc/templates/it/notify-done-page.txt \ etc/templates/it/notify-done.txt \ etc/templates/it/notify-failed-page.txt \ etc/templates/it/notify-failed.txt \ etc/templates/it/notify-faxmaster.txt \ etc/templates/it/notify-format_failed.txt \ etc/templates/it/notify-killed.txt \ etc/templates/it/notify-no_formatter.txt \ etc/templates/it/notify-poll_failed.txt \ etc/templates/it/notify-poll_no_document.txt \ etc/templates/it/notify-poll_rejected.txt \ etc/templates/it/notify-rejected.txt \ etc/templates/it/notify-removed.txt \ etc/templates/it/notify-requeued.txt \ etc/templates/it/notify-timedout.txt \ etc/templates/pl/faxrcvd-error.txt \ etc/templates/pl/faxrcvd-failure.txt \ etc/templates/pl/faxrcvd-notify-error.txt \ etc/templates/pl/faxrcvd-notify-success.txt \ etc/templates/pl/faxrcvd-success.txt \ etc/templates/pl/notify-blocked.txt \ etc/templates/pl/notify-done-page.txt \ etc/templates/pl/notify-done.txt \ etc/templates/pl/notify-failed-page.txt \ etc/templates/pl/notify-failed.txt \ etc/templates/pl/notify-faxmaster.txt \ etc/templates/pl/notify-format_failed.txt \ etc/templates/pl/notify-killed.txt \ etc/templates/pl/notify-no_formatter.txt \ etc/templates/pl/notify-poll_failed.txt \ etc/templates/pl/notify-poll_no_document.txt \ etc/templates/pl/notify-poll_rejected.txt \ etc/templates/pl/notify-rejected.txt \ etc/templates/pl/notify-removed.txt \ etc/templates/pl/notify-requeued.txt \ etc/templates/pl/notify-timedout.txt \ etc/templates/pt/faxrcvd-error.txt \ etc/templates/pt/faxrcvd-failure.txt \ etc/templates/pt/faxrcvd-notify-error.txt \ etc/templates/pt/faxrcvd-notify-success.txt \ etc/templates/pt/faxrcvd-success.txt \ etc/templates/pt/notify-blocked.txt \ etc/templates/pt/notify-done-page.txt \ etc/templates/pt/notify-done.txt \ etc/templates/pt/notify-failed-page.txt \ etc/templates/pt/notify-failed.txt \ etc/templates/pt/notify-faxmaster.txt \ etc/templates/pt/notify-format_failed.txt \ etc/templates/pt/notify-killed.txt \ etc/templates/pt/notify-no_formatter.txt \ etc/templates/pt/notify-poll_failed.txt \ etc/templates/pt/notify-poll_no_document.txt \ etc/templates/pt/notify-poll_rejected.txt \ etc/templates/pt/notify-rejected.txt \ etc/templates/pt/notify-removed.txt \ etc/templates/pt/notify-requeued.txt \ etc/templates/pt/notify-timedout.txt \ etc/templates/pt_BR/faxrcvd-error.txt \ etc/templates/pt_BR/faxrcvd-failure.txt \ etc/templates/pt_BR/faxrcvd-notify-error.txt \ etc/templates/pt_BR/faxrcvd-notify-success.txt \ etc/templates/pt_BR/faxrcvd-success.txt \ etc/templates/pt_BR/notify-blocked.txt \ etc/templates/pt_BR/notify-done-page.txt \ etc/templates/pt_BR/notify-done.txt \ etc/templates/pt_BR/notify-failed-page.txt \ etc/templates/pt_BR/notify-failed.txt \ etc/templates/pt_BR/notify-faxmaster.txt \ etc/templates/pt_BR/notify-format_failed.txt \ etc/templates/pt_BR/notify-killed.txt \ etc/templates/pt_BR/notify-no_formatter.txt \ etc/templates/pt_BR/notify-poll_failed.txt \ etc/templates/pt_BR/notify-poll_no_document.txt \ etc/templates/pt_BR/notify-poll_rejected.txt \ etc/templates/pt_BR/notify-rejected.txt \ etc/templates/pt_BR/notify-removed.txt \ etc/templates/pt_BR/notify-requeued.txt \ etc/templates/pt_BR/notify-timedout.txt \ etc/templates/ro/faxrcvd-error.txt \ etc/templates/ro/faxrcvd-failure.txt \ etc/templates/ro/faxrcvd-notify-error.txt \ etc/templates/ro/faxrcvd-notify-success.txt \ etc/templates/ro/faxrcvd-success.txt \ etc/templates/ro/notify-blocked.txt \ etc/templates/ro/notify-done-page.txt \ etc/templates/ro/notify-done.txt \ etc/templates/ro/notify-failed-page.txt \ etc/templates/ro/notify-failed.txt \ etc/templates/ro/notify-faxmaster.txt \ etc/templates/ro/notify-format_failed.txt \ etc/templates/ro/notify-killed.txt \ etc/templates/ro/notify-no_formatter.txt \ etc/templates/ro/notify-poll_failed.txt \ etc/templates/ro/notify-poll_no_document.txt \ etc/templates/ro/notify-poll_rejected.txt \ etc/templates/ro/notify-rejected.txt \ etc/templates/ro/notify-removed.txt \ etc/templates/ro/notify-requeued.txt \ etc/templates/ro/notify-timedout.txt \ faxalter/Makefile.in \ faxalter/faxalter.c++ \ faxcover/Makefile.in \ faxcover/edit-faxcover.sh.in \ faxcover/faxcover.c++ \ faxcover/faxcover.ps \ faxcover/faxcover_example_sgi.ps \ faxd/Batch.c++ \ faxd/Batch.h \ faxd/Class0.c++ \ faxd/Class0.h \ faxd/Class1.c++ \ faxd/Class1.h \ faxd/Class10.c++ \ faxd/Class10.h \ faxd/Class1Ersatz.c++ \ faxd/Class1Ersatz.h \ faxd/Class1Poll.c++ \ faxd/Class1Recv.c++ \ faxd/Class1Send.c++ \ faxd/Class2.c++ \ faxd/Class2.h \ faxd/Class20.c++ \ faxd/Class20.h \ faxd/Class21.c++ \ faxd/Class21.h \ faxd/Class2Ersatz.c++ \ faxd/Class2Ersatz.h \ faxd/Class2Poll.c++ \ faxd/Class2Recv.c++ \ faxd/Class2Send.c++ \ faxd/ClassModem.c++ \ faxd/ClassModem.h \ faxd/CopyQuality.c++ \ faxd/DestInfo.c++ \ faxd/DestInfo.h \ faxd/FaxAcctInfo.c++ \ faxd/FaxAcctInfo.h \ faxd/FaxFont.c++ \ faxd/FaxFont.h \ faxd/FaxItem.c++ \ faxd/FaxItem.h \ faxd/FaxMachineInfo.c++ \ faxd/FaxMachineInfo.h \ faxd/FaxMachineLog.c++ \ faxd/FaxMachineLog.h \ faxd/FaxModem.c++ \ faxd/FaxModem.h \ faxd/FaxPoll.c++ \ faxd/FaxRecv.c++ \ faxd/FaxRequest.c++ \ faxd/FaxRequest.h \ faxd/FaxSend.c++ \ faxd/FaxSendStatus.h \ faxd/FaxServer.c++ \ faxd/FaxServer.h \ faxd/FaxTrace.h \ faxd/G3Decoder.c++ \ faxd/G3Decoder.h \ faxd/G3Encoder.c++ \ faxd/G3Encoder.h \ faxd/Getty.c++ \ faxd/Getty.h \ faxd/GettyBSD.c++ \ faxd/GettyBSD.h \ faxd/GettySysV.c++ \ faxd/GettySysV.h \ faxd/HDLCFrame.c++ \ faxd/HDLCFrame.h \ faxd/HylaClient.c++ \ faxd/HylaClient.h \ faxd/Job.c++ \ faxd/Job.h \ faxd/JobControl.c++ \ faxd/JobControl.h \ faxd/Makefile.in \ faxd/MemoryDecoder.c++ \ faxd/MemoryDecoder.h \ faxd/Modem.c++ \ faxd/Modem.h \ faxd/ModemConfig.c++ \ faxd/ModemConfig.h \ faxd/ModemServer.c++ \ faxd/ModemServer.h \ faxd/NSF.c++ \ faxd/NSF.h \ faxd/PCFFont.c++ \ faxd/PCFFont.h \ faxd/QLink.c++ \ faxd/QLink.h \ faxd/STATUS.txt \ faxd/ServerConfig.c++ \ faxd/ServerConfig.h \ faxd/TagLine.c++ \ faxd/Trigger.c++ \ faxd/Trigger.h \ faxd/TriggerRef.c++ \ faxd/TriggerRef.h \ faxd/UUCPLock.c++ \ faxd/UUCPLock.h \ faxd/choptest.c++ \ faxd/cqtest.c++ \ faxd/faxApp.c++ \ faxd/faxApp.h \ faxd/faxGettyApp.c++ \ faxd/faxGettyApp.h \ faxd/faxQCleanApp.c++ \ faxd/faxQueueApp.c++ \ faxd/faxQueueApp.h \ faxd/faxSendApp.c++ \ faxd/faxSendApp.h \ faxd/ixo.h \ faxd/mkhash.c \ faxd/pageSendApp.c++ \ faxd/pageSendApp.h \ faxd/t4.h \ faxd/tagtest.c++ \ faxd/tif_fax3.h \ faxd/trigtest.c++ \ faxd/tsitest.c++ \ faxmail/MIMEState.c++ \ faxmail/MIMEState.h \ faxmail/Makefile.in \ faxmail/MsgFmt.c++ \ faxmail/MsgFmt.h \ faxmail/README \ faxmail/faxmail.c++ \ faxmail/faxmail.ps \ faxmail/mailfax.sh-postfix \ faxmail/mailfax.sh-qmail \ faxmail/mailfax.sh-sendmail \ faxmail/mailfax.sh-smail \ faxrm/Makefile.in \ faxrm/faxrm.c++ \ faxstat/Makefile.in \ faxstat/faxstat.c++ \ hfaxd/Admin.c++ \ hfaxd/FIFO.c++ \ hfaxd/FileCache.c++ \ hfaxd/FileCache.h \ hfaxd/FileSystem.c++ \ hfaxd/FileTransfer.c++ \ hfaxd/HylaFAXServer.c++ \ hfaxd/HylaFAXServer.h \ hfaxd/InetFaxServer.c++ \ hfaxd/InetFaxServer.h \ hfaxd/Jobs.c++ \ hfaxd/Login.c++ \ hfaxd/Makefile.in \ hfaxd/PAM.c++ \ hfaxd/Parser.c++ \ hfaxd/RecvQueue.c++ \ hfaxd/SNPPServer.c++ \ hfaxd/SNPPServer.h \ hfaxd/Status.c++ \ hfaxd/SuperServer.c++ \ hfaxd/SuperServer.h \ hfaxd/TODO \ hfaxd/Trace.h \ hfaxd/Trigger.c++ \ hfaxd/UnixFaxServer.c++ \ hfaxd/UnixFaxServer.h \ hfaxd/User.c++ \ hfaxd/hfaxd.conf \ hfaxd/main.c++ \ hfaxd/manifest.h \ libhylafax/Array.c++ \ libhylafax/Array.h \ libhylafax/AtSyntax.c++ \ libhylafax/BoolArray.c++ \ libhylafax/BoolArray.h \ libhylafax/CallID.c++ \ libhylafax/CallID.h \ libhylafax/Class2Params.c++ \ libhylafax/Class2Params.h \ libhylafax/DSmacros.h \ libhylafax/DialRules.c++ \ libhylafax/DialRules.h \ libhylafax/Dictionary.c++ \ libhylafax/Dictionary.h \ libhylafax/Dispatcher.c++ \ libhylafax/Dispatcher.h \ libhylafax/Fatal.c++ \ libhylafax/FaxClient.c++ \ libhylafax/FaxClient.h \ libhylafax/FaxConfig.c++ \ libhylafax/FaxConfig.h \ libhylafax/FaxDB.c++ \ libhylafax/FaxDB.h \ libhylafax/FaxParams.c++ \ libhylafax/FaxParams.h \ libhylafax/FaxRecvInfo.c++ \ libhylafax/FaxRecvInfo.h \ libhylafax/FaxSendInfo.c++ \ libhylafax/FaxSendInfo.h \ libhylafax/FmtTime.c++ \ libhylafax/IOHandler.c++ \ libhylafax/IOHandler.h \ libhylafax/InetTransport.c++ \ libhylafax/InetTransport.h \ libhylafax/JobExt.c++ \ libhylafax/JobExt.h \ libhylafax/Makefile.IRIXdso \ libhylafax/Makefile.LINUXdso \ libhylafax/Makefile.SOLARISdso \ libhylafax/Makefile.in \ libhylafax/ModemExt.c++ \ libhylafax/ModemExt.h \ libhylafax/NLS.c++ \ libhylafax/NLS.h \ libhylafax/Obj.c++ \ libhylafax/Obj.h \ libhylafax/PageSize.c++ \ libhylafax/PageSize.h \ libhylafax/Ptr.h \ libhylafax/RE.c++ \ libhylafax/RE.h \ libhylafax/REArray.c++ \ libhylafax/REArray.h \ libhylafax/REDict.c++ \ libhylafax/REDict.h \ libhylafax/Range.c++ \ libhylafax/Range.h \ libhylafax/SNPPClient.c++ \ libhylafax/SNPPClient.h \ libhylafax/SNPPJob.c++ \ libhylafax/SNPPJob.h \ libhylafax/SendFaxClient.c++ \ libhylafax/SendFaxClient.h \ libhylafax/SendFaxJob.c++ \ libhylafax/SendFaxJob.h \ libhylafax/Sequence.c++ \ libhylafax/Sequence.h \ libhylafax/Socket.h \ libhylafax/StackBuffer.c++ \ libhylafax/StackBuffer.h \ libhylafax/Status.c++ \ libhylafax/Status.h \ libhylafax/Str.c++ \ libhylafax/Str.h \ libhylafax/StrArray.c++ \ libhylafax/StrArray.h \ libhylafax/StrDict.c++ \ libhylafax/StrDict.h \ libhylafax/Sys.c++ \ libhylafax/Sys.h \ libhylafax/SystemLog.c++ \ libhylafax/SystemLog.h \ libhylafax/TextFormat.c++ \ libhylafax/TextFormat.h \ libhylafax/TimeOfDay.c++ \ libhylafax/TimeOfDay.h \ libhylafax/Timeout.c++ \ libhylafax/Timeout.h \ libhylafax/Transport.c++ \ libhylafax/Transport.h \ libhylafax/TypeRules.c++ \ libhylafax/TypeRules.h \ libhylafax/Types.h \ libhylafax/UnixTransport.c++ \ libhylafax/UnixTransport.h \ libhylafax/class2.h \ libhylafax/cvtfacility.c \ libhylafax/fxassert.c \ libhylafax/pagesizes.in \ libhylafax/t.30.h \ libhylafax/typerules \ misc/jbig.tif \ nls-rules.mk \ pkg/Makefile.in \ pkg/README \ pkg/cpkginfo.in \ pkg/cproto.stub.in \ pkg/crequest.in \ pkg/depend \ pkg/make.links \ pkg/make_proto.sh.in \ pkg/postinstall.in \ pkg/postremove.in \ pkg/preremove \ pkg/proto.local \ pkg/spkginfo.in \ pkg/sproto.stub.in \ pkg/srequest.in \ po/Makefile.in \ po/POTFILES.in \ po/es.po \ po/hylafax-client/messages.pot \ po/hylafax-server/messages.pot \ po/hylafax.pot \ po/id.po \ po/libhylafax/messages.pot \ po/nl.po \ po/nls.mk \ po/version.po.in \ po/vi.po \ regex/COPYRIGHT \ regex/Makefile.in \ regex/README \ regex/WHATSNEW \ regex/cclass.h \ regex/cname.h \ regex/engine.c \ regex/re_format.7 \ regex/regcomp.c \ regex/regerror.c \ regex/regex.3 \ regex/regex.h \ regex/regex2.h \ regex/regexec.c \ regex/regfree.c \ regex/utils.h \ rpm/FaxDispatch \ rpm/README.rpm \ rpm/config \ rpm/config.modem \ rpm/cron.daily \ rpm/cron.hourly \ rpm/hyla.conf \ rpm/hylafax.spec \ rpm/init \ rpm/jobcontrol.sh \ rpm/logrotate.conf \ rpm/patches/001-faxsetup-server.patch \ rpm/setup.cache \ rpm/setup.modem \ rpm/sysconfig \ rules.in \ sendfax/Makefile.in \ sendfax/sendfax.c++ \ sendpage/Makefile.in \ sendpage/sendpage.c++ \ sgi2fax/Makefile.in \ sgi2fax/hipass.c \ sgi2fax/hipass.h \ sgi2fax/imgtofax.c \ sgi2fax/izoom.c \ sgi2fax/izoom.h \ sgi2fax/lum.h \ sgi2fax/lut.c \ sgi2fax/lut.h \ sgi2fax/rand.c \ sgi2fax/row.c \ util/Makefile.in \ util/archive.sh.in \ util/b64-encode.awk \ util/checkat.c++ \ util/common-functions.sh.in \ util/cover.templ \ util/dialtest.c++ \ util/dictionary.sh.in \ util/dpsprinter.ps \ util/faxadduser.c \ util/faxconfig.c \ util/faxcron.sh.in \ util/faxdb \ util/faxdeluser.c \ util/faxfetch.c++ \ util/faxinfo.c++ \ util/faxmodem.c \ util/faxmsg.c \ util/faxrcvd.sh.in \ util/faxstate.c \ util/faxwatch.c++ \ util/mkcover.sh.in \ util/notify-4.1.sh.in \ util/notify-4.2.sh.in \ util/notify.awk \ util/notify.sh.in \ util/pcl2fax.sh.in \ util/pdf2fax.gs.sh.in \ util/pollrcvd.sh.in \ util/ps2fax.dps.sh.in \ util/ps2fax.gs.sh.in \ util/ps2fax.imp.sh.in \ util/qp-encode.awk \ util/recvstats.sh.in \ util/textfmt.c++ \ util/tiff2fax.sh.in \ util/tiff2pdf.sh.in \ util/tiffcheck.c++ \ util/typetest.c++ \ util/wedged.sh.in \ util/xferfaxstats.sh.in \ ${PORTFILES} \ ${NULL} # # HylaFAX manual pages. # This list is automatically built from: # git ls-files -x .cvsignore -- man # MANPAGES=\ man/Makefile.in \ man/choptest.1m \ man/cqtest.1m \ man/dialrules.4f \ man/dialtest.1m \ man/doneq.4f \ man/edit-faxcover.1 \ man/faxabort.1m \ man/faxaddmodem.1m \ man/faxadduser.1m \ man/faxalter.1 \ man/faxanswer.1m \ man/faxconfig.1m \ man/faxcover.1 \ man/faxcron.1m \ man/faxdeluser.1m \ man/faxgetty.1m \ man/faxinfo.1m \ man/faxlock.1m \ man/faxmail.1 \ man/faxmodem.1m \ man/faxq.1m \ man/faxqclean.1m \ man/faxquit.1m \ man/faxrcvd.1m \ man/faxrm.1 \ man/faxsend.1m \ man/faxsetup.1m \ man/faxstat.1 \ man/faxstate.1m \ man/faxwatch.1m \ man/hfaxd.1m \ man/hosts.hfaxd.4f \ man/hylafax-client.1 \ man/hylafax-config.4f \ man/hylafax-info.4f \ man/hylafax-log.4f \ man/hylafax-server.4f \ man/hylafax-shutdown.4f \ man/jobcontrol.1m \ man/mkcover.1m \ man/notify.1m \ man/pagermap.4f \ man/pagesend.1m \ man/pagesizes.4f \ man/pdf2fax.1m \ man/pollrcvd.1m \ man/ps2fax.1m \ man/recvq.4f \ man/recvstats.1m \ man/sendfax.1 \ man/sendpage.1 \ man/sendq.4f \ man/sgi2fax.1 \ man/status.4f \ man/tagtest.1m \ man/textfmt.1 \ man/tiff2fax.1m \ man/tiffcheck.1m \ man/tsi.4f \ man/tsitest.1m \ man/typerules.4f \ man/wedged.1m \ man/xferfaxlog.4f \ man/xferfaxstats.1m \ ${NULL} # # These rules are used to create the source distribution images # TAR = tar COMPRESS= gzip ZIPSUF = gz CONFIG = -with-CC=cc \ -with-CXX=CC \ -with-GCOPTS=" " \ -with-DPS \ -with-IMP \ -with-GSRIP=/usr/freeware/bin/gs \ -with-IMPRIP='$$DIR_LIBEXEC/psrip' \ -with-LIBMALLOC=no \ -with-SCRIPT_SH=/bin/sh alpha: (cd ${SRCDIR}/dist; sh newversion) -${MAKE} clobber echo touching Makedepend ; touch Makedepend ${MAKE} alpha.stamp # ${SRCDIR}/configure ${CONFIG} # ${MAKE} product ${MAKE} alpha.tar # # NB: A bunch of this work in splitting up the arg lists # is done to avoid overflowing system params (e.g. # the size of the environment). # # stamp relevant files according to current alpha alpha.stamp: VERSION=`awk '{print "Alpha" $$3}' ${SRCDIR}/dist/hylafax.alpha`;\ NOW=`date`; \ cd ${SRCDIR}; \ for i in ${HYLAFAXSRC}; do \ REV=`rlog -h -d"$$NOW" $$i|fgrep 'head:'|awk '{print $$2}'`;\ rcs "-N$$VERSION:$$REV" "-sExp:$$REV" $$i && co -sExp $$i; \ done; \ for i in ${MANPAGES}; do \ REV=`rlog -h -d"$$NOW" $$i|fgrep 'head:'|awk '{print $$2}'`;\ rcs "-N$$VERSION:$$REV" "-sExp:$$REV" $$i && co -sExp $$i; \ done; \ purge-old-alphas: VERSIONS=`echo ${ALPHA} | awk '{for (i=1; i<=$$1; i++) printf " -nAlpha%03d",i}'`;\ cd ${SRCDIR}; \ for i in ${HYLAFAXSRC}; do \ echo rcs $$VERSIONS $$i; \ rcs $$VERSIONS $$i && co $$i; \ done; \ for i in ${MANPAGES}; do \ echo rcs $$VERSIONS $$i; \ rcs $$VERSIONS $$i && co $$i; \ done; \ alphadiff: cd ${SRCDIR}; \ -@for i in ${HYLAFAXSRC}; do \ rcsdiff -r${ALPHA} $$i; \ done; \ -@for i in ${MANPAGES}; do \ rcsdiff -r${ALPHA} $$i; \ done; \ # create alpha distribution archive alpha.tar: VERSION="v`cat ${SRCDIR}/VERSION``awk '{print $$3}' ${SRCDIR}/dist/hylafax.alpha`"; \ rm -f hylafax-$$VERSION $$VERSION $$VERSION-tar; \ ln -s ${SRCDIR} hylafax-$$VERSION; \ (for i in ${HYLAFAXSRC} dist/hylafax.alpha; do \ echo $$i; \ done) | sed "s;.*;hylafax-$$VERSION/&;" > $$VERSION; \ (for i in ${MANPAGES}; do \ echo $$i; \ done) | sed "s;.*;hylafax-$$VERSION/&;" >> $$VERSION; \ ${TAR} -cvf $$VERSION-tar --files-from $$VERSION; \ rm -f hylafax-$$VERSION-tar.${ZIPSUF}; \ cat $$VERSION-tar | ${COMPRESS} >hylafax-$$VERSION-tar.${ZIPSUF};\ rm -f hylafax-$$VERSION $$VERSION $$VERSION-tar; release: (cd ${SRCDIR}/dist; sh newversion) -${MAKE} clobber echo touching Makedepend ; touch Makedepend ${MAKE} release.stamp # ${SRCDIR}/configure ${CONFIG} # ${MAKE} product ${MAKE} release.tar release.stamp: VERSION="Release`sed 's/\./_/g' ${SRCDIR}/VERSION`"; \ NOW=`date`; \ cd ${SRCDIR}; \ for i in ${HYLAFAXSRC}; do \ REV=`rlog -h -d"$$NOW" $$i|fgrep 'head:'|awk '{print $$2}'`;\ rcs "-N$$VERSION:$$REV" "-sRel:$$REV" $$i && co -sRel $$i; \ done; \ for i in ${MANPAGES}; do \ REV=`rlog -h -d"$$NOW" $$i|fgrep 'head:'|awk '{print $$2}'`;\ rcs "-N$$VERSION:$$REV" "-sRel:$$REV" $$i && co -sRel $$i; \ done; \ # create release distribution archive release.tar: VERSION=`cat ${SRCDIR}/VERSION`; \ rm -f hylafax-$$VERSION $$VERSION $$VERSION.tar; \ ln -s ${SRCDIR} hylafax-$$VERSION; \ (for i in ${HYLAFAXSRC}; do \ echo $$i; \ done) | sed "s;.*;hylafax-$$VERSION/&;" > $$VERSION; \ (for i in ${MANPAGES}; do \ echo $$i; \ done) | sed "s;.*;hylafax-$$VERSION/&;" >> $$VERSION; \ ${TAR} -cvf $$VERSION.tar --files-from $$VERSION; \ rm -f hylafax-$$VERSION.tar.${ZIPSUF}; \ cat $$VERSION.tar | ${COMPRESS} >hylafax-$$VERSION.tar.${ZIPSUF};\ rm -f hylafax-$$VERSION $$VERSION $$VERSION.tar; hylafax-6.0.6/doc/000077500000000000000000000000001176352547600137445ustar00rootroot00000000000000hylafax-6.0.6/doc/RELEASENOTES-4.3.txt000066400000000000000000000341221176352547600167020ustar00rootroot00000000000000HylaFAX 4.3.11 OVERVIEW ----------------------------------------------------------------------------- HylaFAX 4.3 introduces several new features for HylaFAX: * E-Mail templates for faxrcvd/pollrcvd/notify * JobControl for fine-grained job control (obsoletes DestControls) * Generic CallID framework allows for handling of any identifications your line/modem combination can present (obsoletes CIDName/CIDNumber) Upgrading to 4.3 from Previous releases ----------------------------------------------------------------------------- This release contains important fixes to the faxq job scheduler. All users should upgrade. Anyone presently running a version of HylaFAX older than 4.3.0 and using DestControls should study the JobControl feature we added in 4.3.0 carefully and test migration to the new framework before upgrading a production server. Likewise, those using QualifyCID to reject faxes from certain callers should become familar with DynamicConfig and RejectCall. * HylaFAX no longer uses the bin/dictionary script and etc/FaxDictionary file to customize emails. Users requiring customized emails should create etc/templates/some-directory/, copy the basic *.txt templates into there, set the $TEMPLATE variable in etc/FaxDispatch and etc/FaxNotify and start hacking. * QualifyCID is obsolete, having been replaced by DynamicConfig in 4.3.0 * DestControls is obsolete, having been replaced by JobControl in 4.3.0 * Some modem config files generated from earlier versions' config file prototypes may contain Class1TCFRecvHack. This is no longer desireable for production use, and this feature should now only be used for debugging purposes. * If upgrading from any release older than 4.2.2, be advised that CIDName/CIDNumber are now part of a larger CallID framework. * libtiff-3.6.1 is fatally flawed when dealing with Group 3 images. Don't use it as-is. See: http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=500 CHANGES for 4.3.0 - May 18. 2006 ----------------------------------------------------------------------------- * fix rare occassion where TCF fails following an unexpected receipt of prologue frames (30 Jan 2006) * fix segfault on some compilers where the rare occassion of receiving CTC instead of PPS occurs (30 Jan 2006) * fix configure in vsnprintf detection (30 Jan 2006) * use PDF in q-files when appropriate (30 Jan 2006) * add support for libtiff-3.8 (31 Jan 2006) * use To-Company and To-Name coverpage entries in the notification message if they are available to use (21 Feb 2006) * add CHARSET config option for mailing scripts (21 Feb 2006) * add dictionary for notify, faxrcvd, and pollrcvd internationalization support (21 Feb 2006) * fix buffer overrun in NSF parsing (21 Feb 2006) * remove QualifyCID in lieu of DynamicConfig RejectCall (15 Mar 2006) * expand Class1JBIGSupport to allow for differentiation between full, none, send, and receive support (17 Mar 2006) * fix batching of page jobs (23 Mar 2006) * Fix locking of recvq tiff files (BUG 739) (23 Mar 2006) * Fix hfaxd timezone handling on new GLIBC (BUG 723) (24 Mar 2006) * Fix hfaxd SNPP login code to 250 (Bug 732) (27 Mar 2006) * Add JobControl (obsoletes DestControl) (27 Mar 2006) * Update config.guess & config.sub (27 Mar 2006) * Add IAXmodem config prototype (02 Apr 2006) * Add isdn4linux modem config prototype (02 Apr 2006) * improve handling of V.34 control channel retrain (02 Apr 2006) * set minimum of 4800 for V.34 primary rate renegotiations (02 Apr 2006) * Correctly remove EOFB at the end of MMR images (02,10 Apr 2006) * ignore MESSAGE-WAITING response after dialing (02 Apr 2006) * extend V.21 HDLC frame reception timeout to 10 sec (03 Apr 2006) * set Class1RMPersistence to 0 in digi config prototype (03 Apr 2006) * add German NSFs and correct HylaFAX NSF bit order (03 Apr 2006) * fix incorrect "Fax protocol error" in ECM mode (03 Apr 2006) * flush modem I/O on receptions before sending any data (03 Apr 2006) * Add JobControlWait to allow faxq to wait for JobControlCmd to finish synchronously (4 Apr 2006) * Repair broken MMR from some Multitech modems (BUG 763) (21 Apr 2006) * Fix sendfax to accept both destination and user subaddresses (BUG 762) (21 Apr 2006) * Fix quoted-printable MIME encoding in faxrcvd (BUG 760) (21 Apr 2006) * Resolve Solaris bus error under native compiler (BUG 769) (23 Apr 2006) * Make sure hfaxd returns JBIG faxes in recvq list (BUG 731) (23 Apr 2006) * back out flush modem I/O (BUG 756) (24 Apr 2006) * Fix unblocking job problem (BUG 733) (24 Apr 2006) * Fix some of the error paths in the setReadyToRun jobcontrol pipe, fork, and exec calls (BUG 745) (25 Apr 2006) * Fix runSchedule() concurrency problem (BUG 745) (26 Apr 2006) * Fix faxq sleepq concurrency problem (BUG 745) (26 Apr 2006) * Enhance Italian translation (BUG 758) (26 Apr 2006) * Use areBatchable() to make sure batching doesn't ignore job modems (28 Apr 2006) * Don't let users kill each other's jobs (BUG 752) (28 Apr 2006) * Re-work fix for hfaxd's time handling (BUG 723) (28 Apr 2006) * More fixes to batching and jobcontrol interaction (3 May 2006) * Fix hfaxd corruption on killed jobs (BUG 401) (5 May 2006) * Fix DCS tag handling in Class2 (BUG 771) (5 May 2006) CHANGES for 4.3.1 - December 5, 2006 ----------------------------------------------------------------------------- * Add UseJobTagLine config option for faxsend (4 Apr 2006) * Add continuation support to FaxClient in libfaxutil (31 May 2006) * Use ] && [ instead of -a for shell portability (2 Jun 2006) * Add resubmit capability to faxalter (2 Jun 2006) * Enhance SHIELDED_DTMF (5 Jun 2006) * Add JobProtection option to hfaxd (12 Jun 2006) * Fix faxmail's handling of nested mime (14 Jun 2006) * Enhance faxinfo with formating options (2 Jul 2006) * fix Class 2 data format parsing of +FIS response (4 Jul 2006) * correct CIELAB to be ITULAB (4 Jul 2006) * Add missing From: headers to notify (4 Jul 2006) * Improve the handling of user aborts in Class 1 sending (4 Jul 2006) * Improve recovery after Class 1 TCF receipt times out (4 Jul 2006) * Avoid problems when resending single ECM Frame (5 Jul 2005) * don't use tiffcp "-r" option on JBIG TIFFs (5 Jan 2006) * fix timeout on AT command sending to modem (5 Jul 2006) * Fix RecvFmt string printing (Bug 805) (18 Jul 2006) * Documentation updates (18 Jul 2006) * don't skip initial NSF bytes in station ID search when no known T.35 manufacturer ID was used (18 Jul 2006) * fix faxaddmodem config parsing for Digicom Leonardo modems(19 Jul 2006) * replace Class1SendMsgDelay with Class1SwitchingCmd (20 Jul 2006) * do Class1SwitchingCmd before sending MCF after PPS-NULL (20 Jul 2006) * fix indicator when 100% non-zero TCF data is received (20 Jul 2006) * fix faxgetty hang in ECM due to missing timeouts (20 Jul 2006) * fix error of accepting too-short of DCS signal (20 Jul 2006) * faxaddmodem: Allow identification when no AT+FMM? or AT+FMI? (21 Jul 2006) * don't exit faxq with assertion failure when a job times out and is interrupted during sending (21 Jul 2006) * Add templates for use in faxrcvd translations (14 Aug 2006) * Unify mime encoding between notify and faxrcvd * handle +FHNG/+FNG after AT+FDT in Class 2 (15 Sep 2006) * make cover pages visible in /docq/ through hfaxd (17 Sep 2006) * Add HPUX 11.11 support to configure (27 Sep 2006) * Add Motorola SM56 USB (Apple) modem (27 Sep 2006) * faxsetup nolonger blindly removes $TMPDIR (29 Sep 2006) * Add Romanian templates (29 Sep 2006) * Add Quoted-Printable encoding option (3 Oct 2006) * Encodes email body according to template setting (3 Oct 2006) * fax faxqclean, don't remove cover documents still referenced (4 Oct 2006) * Private tmpdir was not set by faxrcvd, but used for body encoding (6 Oct 2006) * There was a small possibility of corruption a base64 output produced by uuencode if an encoded line started with "begin" (6 Oct 2006) * uuencode STDERR was not redirected to $ERRORSTO (6 Oct 2006) * Base64 encoding with uuencode was broken on 3 Oct (6 Oct 2006) * Change how we compile shared objects for Solaris DSO support (12 Oct 2006) * Always update on-disk qfiles for jobs when state changes to running (19 Oct 2006) * Use old style lock files for OpenServer 6 (20 Oct 2006) * Disable JPEG support when compiling with older libtiff (3 Nov 2006) * Fixed sendfax PDF page counting (bug 830) (13 Nov 2006) * Fixed faxqclean to work correctly with cover documents using the new naming scheme, yet still work with previously named documents (bug 831) (20 Nov 2006) * Added exit codes to faxalter (Bug 796) (4 Dec 2006) CHANGES for 4.3.2 - February 16, 2007 ----------------------------------------------------------------------------- * Moved default templates to etc/tempates/en/ to clean up etc/templates/ (22 Dec 2006) * Updated pollrcvd to use templates (22 Dec 2006) * Use @SCRIPT_SH@ for bin/ scripts to allow configure selection (23 Dec 2006) * Redirected unwanted output from pd2pdf while running notify (24 Dec 2006) * Add the Include: option for Config file options (8 Jan 2007) * Simplify/Unify mime encoder selection and use (9 Jan 2007/29 Jan 2007) * Added debian/ directory with rules to create a simple Debian package (21 Jan 2007) * PAM reworked to use complete sessions independantly (25 Jan 2007) * Added error exit codes to faxinfo (7 Feb 2007) * Added sample HTML templates to demonstrate templating features (9 Feb 2007) * Encode subject headers (using B encoding) when necessary (9 Feb 2007) CHANGES for 4.3.3 - March 2, 2007 ----------------------------------------------------------------------------- * Make ConvertFile return filename even for noop on PDF files (20 Feb 2007) * Correctly named notify "rejected" templates (bug 849) (20 Feb 2007) * Include jobtag in Subject of notification emails (bug 850) (22 Feb 2007) * Remove unused CHARSET setting (bug 843) (23 Feb 2007) * Fix broken SNPP authentication (Bug 851) (28 Feb 2007) * Fix faxq seqfault when syslogging strings containing %s, etc (28 Feb 2007) * Allow multiple FILETYPE (28 Feb 2007) CHANGES for 4.3.4 - May 14, 2007 ----------------------------------------------------------------------------- * Email raw TIFF files with the correct MIME type of image/tiff (23 Mar 2007) * Accepts 'original' as equivalent to 'raw' for RETURNFILETYPE (23 Mar 2007) * Fix faxq trigger bugs which can cause faxq to crash (26 Mar 2007) * Fix faxq modem handling which can cause multiple concurrent faxsend invocations on the same device (8 May 2007) CHANGES for 4.3.5 - August 22, 2007 ----------------------------------------------------------------------------- * Fix faxrcvd/notify application/PDF mimetype (5 Aug 2007) * faxaddmodem doesn't fuser -k by default, allowing iaxmodem to be detected by faxaddmodem (17 Aug 2007) * Fix faxmail handling of RFC 822 comments in headers (21 Aug 2007) * Fix faxq handling of large formatter output (21 Aug 2007) * Fix configure GCC version detection for Gentoo (22 Aug 2007) CHANGES for 4.3.6 - October 2, 2007 ----------------------------------------------------------------------------- * Fix configure handling for broken Gentoo fix (23 Aug 2007) * Fix RFC822 comments MIME-Versio header for faxmail (14 Sep 2007) * Fix hfaxd extra 550 Error message (14 Sep 2007) * Fix man page typos (17 Sep 2007) * Fix large SESSION_LOG variable causing bash problems (24 Sep 2007) CHANGES for 4.3.7 - November 23, 2007 ----------------------------------------------------------------------------- * Pass correct time to notify (23 October, 2007) * Fix typo in MT5600ZDX prototype (9 Nov 2007) * Bug 875: faxsetup and faxaddmodem temporty files (13 Nov 2007) * hfaxd: Remove PAM debug logging including passwords (15 Nov 2007) * fix TypeRules verbose logging names (15 Nov 2007) * Add support for libtiff 3.9 (21 Nov 2007) CHANGES for 4.3.8 ----------------------------------------------------------------------------- * Fix faxq modem Triggers (16 Jan 2008) * hfaxd lockJob() - don't blindly O_CREAT job we're trying to lock (22 Feb 2008) * hfaxd: Don't update job's last modified time unless it's actually successfull (22 Feb 2008) * faxq: Check TimeOfDate before batching (2 Apr 2008) * hfaxd: Fix RECV_START, RECV_PAGE, RECV_DOC triggers (22 Jul 2008) * faxgetty/faxsend: Correct Include config file parsing (22 Jul 2008) * b64-encode.awk: Fix bug on old SCO awk (2009-01-30) * POSIX constants can be set to -1 if the functionnality is unavailable (2009-03-20) * configure: Modern C++ compilers no-longer support the STL syntax (2009-04-03) * [etc/faxaddmodem.sh.in etc/probemodem.sh.in] shell portability fix (2009-04-17) * [pkg/postinstall.in] typo in cron example (2009-04-17) * configure: Work on deprecated CXX Headers (2009-04-20) * Signal handlers need to be careful with errno (2009-07-03) CHANGES for 4.3.9 ----------------------------------------------------------------------------- * hfaxd: Cleanup uid initizliaztion and theoretical overflow (2009-08-14) * PageHandling: Fix handling of large blank areas (2009-09-18) * faxq: Don't assert on bad FIFO messages (2009-09-21) * Str::vformat() Don't reuse va_args (2009-10-07) * Class1: ECM page and block count should be sent as modulus. (2009-11-13) * Class1: Initialize blockNumber (2009-11-13) CHANGES for 4.3.10 ----------------------------------------------------------------------------- * Typo in CONFIG_UNIXTRANSPORT define checks (2009-11-06) * Allow "any" as answer method for FIFO messages (2010-01-22) * Updates LibTIFF homepage URLs (2010-02-05) * Updated ftp site address in setup error message (2010-03-05) * Correctly check for long lines when checking for the last match (2010-02-05) * Fix calls to pdf2fax/ps2fax in ConvertFile (2010-04-02) * manpages: Updates from debian (2010-05-05) * pdf2fax/ps2fax: Use -dMaxStripSize=0 (2010-05-05) * Fixes compilation on some platforms (2010-06-24) * faxq: better capturing of failed conversion output (2010-08-30) CHANGES for 4.6.11 ----------------------------------------------------------------------------- * man: JobReqError/JobRetryError were missing in hylafax-config.4f (2011-04-19) * hfaxd: Release old accept fd (2011-11-03) * Re-order library files in fchmod() configure check (2010-10-12) * typerules: adding missing comma to typeNames array (2011-04-19) * faxsend: JobRetryOther/JobRequeueOther weren't actually being used (2012-05-07) hylafax-6.0.6/doc/RELEASENOTES-4.4.txt000066400000000000000000000237751176352547600167170ustar00rootroot00000000000000HylaFAX 4.4.8 Overview ----------------------------------------------------------------------------- HylaFAX 4.4 introduces several new features for HylaFAX: * New scheduler core, optimized for batching and large queues * Improved faxmail, handling documents independently using the same flexible HylaFAX typerules framework used by sendfax * Improved JPEG/JBIG support for Class1 and Class2 * faxq AuditHook for hooking into all faxq events * STATUSCODE job paramater to complement the STATE and STATUS parameters to allow clients to give customized descriptive messages about the status of a job. Upgrade to 4.4 from Previous releases ----------------------------------------------------------------------------- Things to watch: * rerun faxaddmodem - lots of protocol fixes and corresponding config option changes * rerun faxsetup - changes to the encode selection and use for the faxrcvd/notify/pollrcvd scripts * faxmail is now a direct-delivery HylaFAX client. It no longer formats the entire e-mail into a single postscript document, but hands the documents to HylaFAX directly. CHANGES for 4.4.0 ----------------------------------------------------------------------------- * Stop caching of DATE and VERSION by configure (Bug 854) (9 Mar 2007) * Adds T.32 Addendum 1 Extended DF formats (12 Mar 2007) * Unify and simply FCF tracing routines (12 Mar 2007) * Pad TCS/CSI string to avoid Class2 modem bugs (12 Mar 2007) * Increase the wait time for AT+FCLASS=? response (12 Mar 2007) * Fix error of forgotton fxgetty child under flawed ECM * Stop using CRP in Phase D in Class 1 sending (12 Mar 2007) * Add BadPageHandlingMethod feature defauting to RTN-SAVE (12 Mar 2007) * Don't wait Class1TrainingRecovery when CRP was received (12 Mar 2007) * Don't trigger hasV17Trouble for pages other than the first (12 Mar 2007) * Fix error of sending a block twice, empty the 2nd time (12 Mar 2007) * Replace Class1TrainingRecovery with Class1SwitchingCmd * Simplify Class1SwitchingCmd code and prevent duplication of the command in session (12 Mar 2007) * Add Class1PageLengthSupport config option (12 Mar 2007) * Add Class1PageWidthSupport modem config option (12 Mar 2007) * Extend "awaiting ECM synchronization" timeout (12 Mar 2007) * Improve ECM HDLC frame decoder to recover more quickly from data corruption and possibly find frames where it couldn't before (12 Mar 2007) * Improve response handling of AT+FRH=3 (12 Mar 2007) * Calculate PPM/PPS waiter instead of using T1 * We can't rely on the timeout value to know if CONNECT has been seen (12 Mar 2007) * Handle +FCERROR after most +FRH=3 commands (12 Mar 2007) * Restart Class 1 TCF reception timer after zeros start * Add more intelligence to the Class 1 receiver in sending RTN (12 Mar 2007) * Log correctly when a receiver DIS indicates no V.8 bit but V.8 was already known to have succeeded (12 Mar 2007) * Handle MPS/EOP/EOM/CRP when expecting DCS, i.e. after RTN * Handle instances where ECM is negotiated but the sender transmits non-ECM data and signalling (12 Mar 2007) * Bug 811: children should exit with _exit() (12 Mar 2007) * when dealing with JBIG/JPEG send PPR if we detect no frames received but we're still missing the last frame (12 Mar 2007) * Logging instances where a sender transmits PPS again after our fourth PPR signal (12 Mar 2007) * Add DTMF handling during call (12 Mar 2007) * Use DLE+DTX to help reseting when stuck in transmit (13 Mar 2007) * Recognize DTMF as caller id when waiting for rings (13 Mar 2007) * Force ECM when using V.8 (13 Mar 2007) * Prevent picking up again on the receiver's MCF signal when re-entering Phase B in a batch (13 Mar 2007) * Don't fallback to V.17 speeds on TCF retransmisions (13 Mar 2007) * Improve sender-side RNR/RR flow control interaction (13 Mar 2007) * Flush modem input after NO CARRIER result in Class 1 Phase C send (13 Mar 2007) * Fix send buffer when transmitting non-ECM data with a non-zero scanline-time value (13 Mar 2007) * Restrict the usage of sending EOR, even when using MH and MR (13 Mar 2007) * Improve and extend JPEG parsing (13 Mar 2007) * Improve Class 1 handling when prologue frames fail after EOM (13 Mar 2007) * Compensate for 1728 pixel data when they DCS signalled differently (13 Mar 2007) * Added the complete debian/ directory in order to create official Debian packages (17 Mar 2007) * Email raw TIFF files with the correct MIME type of image/tiff (23 Mar 2007) * Accepts 'original' as equivalent to 'raw' for RETURNFILETYPE (23 Mar 2007) * faxq scheduler overhaul for efficiency and batching (May 4 2007) * Faxmail overhaul - make handle documents independantly, just like sendfax (9 May 2007) * Change socklen_t configure/detection for HP-UX 11 (11 May 2007) * Add preliminary Class2 JBIG Support (11 May 2007) * Add JPEC (colour fax) to Class2 (12 May 2007) * Remove broken JobControlWait (23 July 2007) CHANGES for 4.4.1 ----------------------------------------------------------------------------- * faxmail: don't submit an empty postscript file if not formatting was done (17 Aug 2007) * faxaddmodem doesn't fuser -k by default, allowing iaxmodem to be detected by faxaddmodem (17 Aug 2007) * fix status/statuscode parsing of the job qfile which showed artifacts in the notify emails (20 Aug 2007) * Fix faxmail handling of RFC 822 comments in headers (21 Aug 2007) * Fix faxq handling of large formatter output (21 Aug 2007) * Fix configure GCC version detection for Gentoo (22 Aug 2007) * Fix faxq trigger handling (14 Sep 2007) CHANGES for 4.4.2 ----------------------------------------------------------------------------- * Fix configure GCC for broken Gentoo fix (23 Aug) * faxq: Suppress blocked notifies if job is already blocked (7 Sep 2007) * faxq: reduce copius scheduler logging (7 Sep 2007) * faxmail: fix suppression of empty postcript formatting file (10 Sep 2007) * faxmail: Fixed RFC 822 comment segfaults (14 Sep 2007) * faxq: Fixed multiple trigger issues (14 Sep 2007) * hfaxd: fix double 550 error code on access permisions (14 Sep 2007) * man pages: fix mulitple typos (17 Sep 2007) * Fix large SESSION_LOG variable causing bash problems (24 Sep 2007) CHANGES for 4.4.3 ----------------------------------------------------------------------------- * setSleep must be called before sending the notification if we want the right time to be passed to notify. (24 Oct 2007) * faxmail: Update man page/options to match again (6 Nov 2007) * prototype configs: typo in MT5600ZDX (9 Nov 2007) * Bug 875: faxsetup and faxaddmodem may forget locks and temporary files when exiting (13 Nov 2007) * hfaxd: Remove PAM debug logging (15 Nov 2007) * TypeRules: fix istring addition (15 Nov 2007) * faxmail: Don't pass non-plain text through the internal plain text formatter (11 Nov 2007) * xferfaxlog: Update man pages (20 Nov 2007) * Add support for libtiff 3.9 (21 Nov 2007) CHANGES for 4.4.4 ----------------------------------------------------------------------------- * faxq: Don't allow pending jobs with future TTS to block current jobs (11 Dec 2007, 19 Dec 2007) CHANGES for 4.4.5 ----------------------------------------------------------------------------- * Fix faxq modem Triggers (16 Jan 2008) * Solaris/SunWSPro: Don't use empty array definitions (23 Jan 2008) * Quiet compiler warnings (24 Jan 2008) * hfaxd lockJob() - don't blindly O_CREAT job we're trying to lock (22 Feb 2008) * hfaxd: Don't update job's last modified time unless it's actually successfull (22 Feb 2008) * faxq: Be more careful in choosing jobs to batch (2 Apr 2008) * hfaxd: Fix RECV_START, RECV_PAGE, RECV_DOC triggers (22 Jul 2008) * faxgetty/faxsend: Correct Include config file parsing (22 Jul 2008) * Abort receive session on error writing to file (2008-11-21) * Bug 902: Fix non-void function without a return (2009-02-02) * b64-encode.awk: Fix bug on old SCO awk (2009-01-30) * Bug 901: mimeencoding bug in templates handling (2009-02-06) * POSIX constants can be set to -1 if the functionnality is unavailable (2009-03-20) * configure: Modern C++ compilers no-longer support the STL syntax (2009-04-03) * [etc/faxaddmodem.sh.in etc/probemodem.sh.in] shell portability fix (2009-04-17) * [pkg/postinstall.in] typo in cron example (2009-04-17) * configure: Work on deprecated CXX Headers (2009-04-20) * templates: Update Polish translation (2009-05-15) * Signal handlers need to be careful with errno (2009-07-03) CHANGES for 4.4.6 ----------------------------------------------------------------------------- * pagesend: Fix broken switch statement (2009-08-14) * hfaxd: Cleanup uid initizliaztion and theoretical overflow (2009-08-14) * PageHandling: Fix handling of large blank areas (2009-09-18) * faxq: Don't assert on bad FIFO messages (2009-09-21) * Str::vformat() Don't reuse va_args (2009-10-07) * Class1: Initialize blockNumber (2009-11-13) * Class1: ECM page and block count should be sent as modulus. (2009-11-13) CHANGES for 4.4.7 ----------------------------------------------------------------------------- * Typo in CONFIG_UNIXTRANSPORT define checks (2009-11-06) * Allow "any" as answer method for FIFO messages (2010-01-22) * Updates LibTIFF homepage URLs (2010-02-05) * Updated ftp site address in setup error message (2010-03-05) * Correctly check for long lines when checking for the last match (2010-02-05) * Fix calls to pdf2fax/ps2fax in ConvertFile (2010-04-02) * pdf2fax/ps2fax: Use -dMaxStripSize=0 (2010-05-05) * manpages: Updates from debian (2010-05-05) * Fixes compilation on some platforms (2010-06-24) * faxq: better capturing of failed conversion output (2010-08-10) * Class2: Fix hangup cause handling (2010-08-30) * Compiler warning cleanup (2010-08-30) CHANGES for 4.4.8 ----------------------------------------------------------------------------- * Re-order library files in fchmod() configure check (2010-10-12) * Bug 934: We need to avoid a 0-index in playList (2010-09-16) * man: JobReqError/JobRetryError were missing in hylafax-config.4f (2011-04-19) * typerules: adding missing comma to typeNames array (2011-04-19) * hfaxd: Release old accept fd (2011-11-03) * faxsend: JobRetryOther/JobRequeueOther weren't actually being used (2012-05-07) hylafax-6.0.6/doc/RELEASENOTES-6.0.txt000066400000000000000000000530361176352547600167060ustar00rootroot00000000000000HylaFAX 6.0.6 Overview ----------------------------------------------------------------------------- HylaFAX 6.0 introduces several new features for HylaFAX: There are many additional features available: * PCL Support * hfaxd Can sort list output arbitrarily for clients * I18n: HylaFAX client strings are now translated and available in different languages * IPv6 support * New permissions in hfaxd to allow for more admin control on who can see/modify jobs/faxes (see PublicJobQ/JobProtection/PublicRecvQ) * Powerful page range handling capabilities * Better faxq/notify integration * Numerous fax modem/protocol fixes and enhancements In addition, the aging support for the unused "old protocol" has been removed. Upgrade to 6.0 from previous 4.4 releases ----------------------------------------------------------------------------- There are 3 differences to note during the upgrade process, probably none of which affect most people. HylaFAX now supports IPv6. This means that the default bind for hfaxd may change depending on what your system defaults are configured as. Some systems (such as FreeBSD 6/7) come configured with IPv6 as the system default, but set to not allow IPv4 connections. On systems such as these, you may need specify a bind address with -l if you want to over-ride the system default: hfaxd -l 0.0.0.0 -i hylafax hfaxd -l 0.0.0.0 -i hylafax -l ::0 -i hylafax If you have clients that still use the old protocol (not the common FTP style protocol), they will no longer work with a new hfaxd daemon. The notification email machanism no longer sends "blocked" emails by default, as the jobs re not being requeued, or done. To continue receiving them, you'll need to configure it in FaxNotify. Changes for HylaFAX 6.0.0 ----------------------------------------------------------------------------- * faxmail: don't submit an empty postscript file if no formatting was done (17 Aug 2007) * faxmail: fix suppression of empty postscript formatting file (18 Aug 2007) * fix status/statuscode parsing of the job qfile which showed artifacts in the notify emails (20 Aug 2007) * faxaddmodem doesn't fuser -k by default, allowing iaxmodem to be detected by faxaddmodem (20 Aug 2007) * Fix faxq handling of large formatter output (21 Aug 2007) * faxmail: Fixed RFC 822 comment handling (14 Sep 2007, 21 Aug 2007) * Fix configure GCC version detection for Gentoo (22 Aug 2007) * hfaxd: fix double 550 error code on access permisions (14 Sep 2007) * faxq: Fixed multiple trigger issues (14 Sep 2007) * faxq: Suppress blocked notifies if job is already blocked (7 Sep 2007) * faxq: reduce copius scheduler logging (7 Sep 2007) * man pages: fix mulitple typos (17 Sep 2007) * Bug 864: fix huge SESSION_LOG bash problems (24 Sep 2007) * Digis: Disable MMR (2007-09-26) * Class2: Fix EOFB when using LSB2MSB (2007-09-26) * Add Prototype config support fo ZyXEL Omni56K Plus (2007-09-26) * Class1: Adjust time we wait after MCF (2007-09-26) * Class1: Don't look for Phase C again after EOP (2007-09-26) * Class1: Improve handling of DCN in Phase B (2007-09-26) * faxaddmodem: Clean up after failure to decude DTE-DCE speed. (2007-09-26) * Class 2.0: Implement Phase C debugging and +FDB=1 support for Multitech (2007-09-26) * Class1: Don't repeat DCN if they don't DCN in response to ours (2007-09-26) * Class1: Add Class1HookSensitivity (2007-09-26) * Eicon: document some reset strings: (2007-09-26) * Class1: Adjust timing of DCN reception to improve hearing it. (2007-09-26) * Class2: Fix Class2RTFCC (2007-09-26) * Class1: Add missing error message (2007-09-26) * NSF: Add another Samsung (2007-09-26) * faxgetty: fix units error in ModemAnsweResponseTimeout (2007-09-26) * faxgetty: retry answer command if modem doesn't respond (2007-09-26) * Modem: Handle repeated BUSY in response to commands as error. (2007-09-26) * Class1: Handle CRP at Phase C reception (2007-09-26) * Class1: Stop fast looping while receiving ECM data. (2007-09-26) * Modems: Handle DLE+ETX noise after dialing (2007-09-26) * Modem: Log NSS, SUB, and PWD signals as we get them. (2007-09-26) * Class1: Handle DCN as done when trying to train (2007-09-26) * Eicon: add Call ID pattern defaults in the config templates (2007-09-26) * Class1: Cope with echo of FTT or CFR (2007-09-26) * Class1: Handle CTR echo (2007-09-26) * Add ModemNoAutoAnswerCmdDelay to handle spurious data during initialization (2007-09-26) * Add MinAcceptedLineCount to prevent confirming receipt of short pages (2007-09-26) * Class1: Fix error message (2007-09-26) * Class1: Update lastMCF timer when repeating lastMCF. (2007-09-26) * Class1: Handle T.31 protocol properly (2007-09-26) * Class1: Extend ECM timeout (2007-09-26) * Class1: Add Class1TCFMinRunECMMod config option to allow higher speeds with ECM (2007-09-26) * Class1: Handle NO CARRIER result during data transmition (2007-09-26) * Class1: Use switchingPause before sending DCN (2007-09-26) * Class1: Abort on timeout waiting for carrier drop in ECM (2007-09-26) * Class1: Timer in prologue is T1, not T2 (2007-09-26) * Class1: Be more resiliant handling post-page messages (2007-09-26) * Update release notes to follow HylaFAX 4.4.2 (2007-10-22) * Add missing sendq fields to parseQFile (2007-10-23) * Update release notes (2007-10-23) * setSleep must be called before sending the notification if we want the right time to be passed to notify. (2007-10-23) * Add a "DebugLeaveTmp" config which makes faxmail leave it's temporary files around (2007-10-23) * faxmail: debugLeaveTmp condition was reversed (2007-10-23) * faxmail: use mimeconverters to preprocess/discard mime parts (2007-10-31) * Add default prototype support for Mainpine IQ modems (2007-11-01) * Class1: Switching pause only if not doing V.34 (2007-11-01) * faxmail: Update man page/options to match again (2007-11-06) * dialtest: Clean up compiler warnings (2007-11-08) * dialtest: Add "quiet" mode (2007-11-08) * Updating ignore files for recently added generated files. (2007-11-09) * String markups for i18N (gettext) support. (2007-11-09) * Actual NLS support in client programs (2007-11-09) * Initial pot file and filelist for i18n (gettext) support. (2007-11-09) * prototype configs: typo in MT5600ZDX (2007-11-09) * Compiler warning cleanups (2007-11-13) * Bug 875: faxsetup and faxaddmodem may forget locks and temporary files when exiting (2007-11-13) * man: Fix Makefile rules to allow parallel build (2007-11-14) * hfaxd: Remove PAM debug logging (2007-11-15) * TypeRules: fix istring addition (2007-11-15) * xferfaxlog: Update man pages (2007-11-21) * Class1: reconfirm PPS on retransmitted block (2007-11-26) * Class1: Don't confirm a PPM with no image data (2007-11-26) * Class1: Improve ECM synchronization timeout handling: (2007-11-26) * Modem noise: +A8 (2007-11-26) * Class1: Attempt to send training at least 3 times (2007-11-26) * Intel Satisfaxion doesn't support +FRS/+FTS (2007-11-26) * Support full path device names (2007-11-26) * Mainpine Class2/2.1 can disable V17 (2007-11-26) * Class1: Fix protocol when we exceed MaxRecvPages (2007-11-26) * Class1: Handle echo of MCF when in non-ECM reception (2007-11-26) * Class1: Fix occasional incorrect EOFB formatting on sending MMR data (2007-11-26) * man/faxcron: Clarify files removed from recvq (2007-11-26) * Class2: Wait for OK folowing an +FHS (2007-11-26) * Try to handle Eicon Class2 better (2007-11-26) * Adjust config template for Motorola RC288DPi modems (2007-11-26) * Class2: Handle subparameters when modem supports JP but doesn't show it (2007-11-26) * Class2Params: Fix array index causing faxinfo segfault: (2007-11-26) * faxinfo: Improve handling whe FAXDCS not present (2007-11-26) * Add passive support into libfaxutil for all client programs. (2007-11-26) * faxaddmodem: Default to CountryCode/AreaCode given during faxsetup (2007-11-26) * IAXModem config: Enable V.17 (2007-11-26) * typerules: Example using pdftk to auto-rotate pages to portrait (2007-11-26) * Add variant voice mode with DTMF dectection for some USR modems (2007-11-26) * Make fmtTime() always include hours (2007-11-26) * Error codes: E111 more accurate (2007-11-26) * Add another Samsung NSF (2007-11-26) * Cleanup CONTRIBUTORS (2007-11-26) * Revert the fuser "behaviour reversal" (2007-11-26) * configure: handle darwin9 (Mac OSX 10.5) as darwin8 POSIX priority scheduling (2007-11-26) * faxq: Don't allow pending jobs with future TTS to block current jobs (2007-12-11) * Remove patterns from man/Makefile (2007-12-11) * configure: libintl checks require args (2007-12-28) * debian/patches: 604 (2008-01-04) * Rename "libfaxutil" to "libhylafax" (2008-01-11) * Rework DSO support (2008-01-11) * Fix faxq modem Triggers (2008-01-16) * faxmail: Remove double-quotes, etc (2008-01-22) * faxmail: Use X-Fax-To for coverpage name (2008-01-22) * FaxClient: Quote any " in the string before passing it to server (2008-01-22) * Solaris/SunWSPro: Don't use empty array definitions (2008-01-23) * Solaris DSO: fixups after the DSO work (2008-01-23) * Solaris: Needs some support for new code (2008-01-23) * Bug 883: faxmail error with newline in headers (2008-01-24) * Quiet compiler warnings (2008-01-24) * AFM fonts were removed a long time ago (2008-01-29) * Add missing modem config entries (2008-01-30) * man/callid.4f has been gone almost 2 years (2008-01-31) * fallout from libhylafax reorg (2008-01-31) * Remove DestControls cruft. OK Patrice. (2008-02-03) * hfaxd lockJob() - don't blindly O_CREAT job we're trying to lock (2008-02-22) * hfaxd: Don't update job's last modified time unless it's actually successful (2008-02-22) * Protocol: add SITE LOCKWAIT command (2008-02-22) * hfaxd: Compile fixup (2008-02-22) * SCO Fixups (2008-02-27) * configure: Fix an always true typo (2008-02-28) * i18n: Change NLS interface a bit - libhylafax *is* a C++ library (2008-02-28) * i18n: Build infrastructure (2008-02-28) * i18n: Add built .pot infrastructure (2008-02-28) * i18n: Add NL and ES translations (2008-02-28) * configure: LIBINTL to find libraries needed for gettext (2008-02-28) * i18n: Install the language specifec catalog files (2008-02-28) * Debian: Add rules to include i18n support (2008-02-29) * i18n: Missed some changes of _() to NLS::TEXT() (2008-02-29) * i18n: fixed typos in template header (2008-02-29) * i18n: Missing translatable strings from .pot files (2008-02-29) * i18n: Regenerated pot templates to include the previously missing strings (2008-02-29) * i18n: Updated cvsignore for nls generated files (2008-02-29) * configure: Be more careful about replacing generated files (2008-03-10) * Add Vietnamese PO translation (2008-03-20) * NLS: Some fixups for when NLS is disabled (2008-04-28) * Class1: Don't train if we are seeing adequate progress (2008-04-28) * Class1: Add another needed pause (2008-04-28) * Class1: Initialize blockNumber (2008-04-28) * Add Class 1.0 for Multitech 5656ZDX (2008-04-28) * Add support for VCON in waitfor escape (2008-04-28) * Protocol Clients: Initialize FORM to UNKNOWN (2008-04-28) * Class1: Be more lax in our timeouts wrating for Phase C (2008-04-28) * faxmail: print an error message when a part is discarded (2008-04-28) * fixup: faxmail error discard (2008-04-28) * tiffcheck: Check for black-on-white (2008-04-28) * fixup: tiffcheck black-on-white (2008-04-28) * man pages: Fix up incorrect docs (2008-04-28) * faxaddmodem: Prefer Class 1.0 (2008-04-28) * faxq: Don't take STDERR as STDOUT (2008-04-28) * fixup: faxq: STDERR/STDOUT - runConverter() (2008-04-28) * faxcover: Add from-mail-address feature (2008-04-28) * Class1: prevent infinite looping in recvFrame (2008-04-28) * libhylafax: Don't tryncate commands at 100 characters at 100 characters (2008-04-28) * faxq: Cleanup timeout accounting (2008-04-28) * faxgetty/faxsend: Remove extra forks (2008-04-28) * Don't write info file unless it has a name (2008-04-28) * man: Fix NotifyCmd reference (2008-04-28) * xferfaxlog: Add recvq fax filename to RECV records (2008-04-28) * fixup: man/xferfaxlog merge (2008-04-28) * Complete PCL support in the server. (2008-04-28) * fixup: hfaxd PCL (2008-04-28) * faxsend/faxgetty: SaveRawImage (2008-04-28) * hfaxd: Remove old protocol support (2008-04-28) * fixup: Remove old protocol - don't remove formats (2008-04-28) * fixup: hfaxd old protocol - man pages (2008-04-28) * Time formats: Make them concistantly *always* HH:MM:SS (2008-04-28) * man pages: Small fixups (2008-04-28) * PollLockPokeModem: check on modem when lock file is polled (2008-04-28) * faxcron: Be more explicit in last 7 days (2008-04-28) * configure: HP-UX fixes (2008-04-28) * Class1: Be more lenient on handling NO CARRIER response (2008-04-28) * Add "Restart" enhancement to init script (2008-04-28) * CallID: Initialize answerlength on deprecated CIDName/CIDNumber config options (2008-04-28) * faxq: Be more careful in choosing jobs to batch (2008-04-28) * hfaxd: Cleanup FIFO removal (2008-04-28) * hfaxd: Fix RECV_START, RECV_PAGE, RECV_DOC triggers (2008-04-28) * configure: Detect darwin for broken FD_ISSET (2008-04-28) * Makefiles: SUBDIR support in defs.in (2008-05-02) * po: update po files (2008-05-02) * Add fxStackBuffer interface to Job/Modem/Recv *printf functions (2008-05-02) * hfaxd sorting based on the *SortFormat variables (2008-05-02) * man page: fix up strange alignment in hfaxd.1m (2008-05-02) * README: Remove unused hyphenation (2008-05-07) * hfaxd: sorting fixups (2008-05-08) * debian: DIR_LOCALE needs to be set, not LOCALEDIR (2008-05-08) * Some grep and awk calls were not using the configured values of $GREP and $AWK (2008-05-30) * common-functions: enhancements to parseQfile (2008-05-30) * Updated POT template header (2008-05-30) * Use traps to make sure cleanup is done on exit (2008-06-13) * Re-visited tmpdir creation (2008-06-13) * Now use hfExit and SetupPrivateTmp in util scripts (2008-06-13) * TMPDIR was not exported for external programs usage (2008-06-13) * notify: have faxq *always* run notify (2008-06-19) * Allow for colons to appear in the value part of a qfile field (2008-07-18) * faxgetty/faxsend: Correct Include config file parsing (2008-07-22) * configure: Modern C++ compilers no-longer support the STL syntax (2008-09-05) * Debugging: cleanup and additions (2008-09-08) * mkhash: Berstien hash, collision free (2008-09-15) * Reading booleans from config should alow the full boolean range (2008-09-16) * Bug 887: Impossible to configure lowercase modem commands (2008-09-16) * Bug 891: No waiting for DCN after a control channel retrain after the last MCF is sent. (2008-09-16) * faxmail: application/postscript attachments were sill going inline (2008-09-17) * JPARM PAGERANGE [] (2008-09-22) * faxq & faxsend: Page range handling (2008-09-22) * sendfax: -Z support (2008-09-22) * faxalter: Add support for -Z (2008-09-22) * ModemConfig: Clean up setConfigItem(...) (2008-09-22) * hfaxd: Move JobProtection to be default file permissions for sendq/doneq files (2008-09-22) * hfaxd: small code refactoring for checkFileRights (2008-09-22) * hfaxd: Adds PrivateJobQ setting to allow for jobq protection (2008-09-22) * hfaxd: PrivateRecvQ to allow private recvq listing (2008-09-22) * hfaxd: Allow others (same uid) to operate on jobs (2008-09-22) * hfaxd documentation: Update for PublicRecvQ/PublicJobQ (2008-09-22) * faxsetup: Make sure to quote a potentially empty variable (2008-09-22) * Move the HylaFAX Version string from config.h to an extern variable (2008-09-23) * notify: Use SENDTO properly as the address for emails (2008-09-23) * Cleanup pagehandling/skip in faxq (2008-10-01) * Track cover pages in page range handling (2008-10-01) * Track skipped pages and cover pages (2008-10-01) * faxsend: Don't count skipped pages as transmitted in xferfaxlog accounting (2008-10-01) * Abort receive session on error writing to file (2008-11-21) * Added translator comments for many unclear translatable strings (2008-11-28) * Add Indonesian translation (2008-12-04) * Don't change output language during po/mo building (2008-12-19) * Create the locale install directory if needed (2009-01-16) * libhylafax: IPv6 infrastructure (2009-01-16) * hfaxd - IPv6 (AF_INET6) socket support (2009-01-16) * hfaxd: EPRT support (RFC 2428) (2009-01-16) * hfaxd: EPSV support (RFC 2428) (2009-01-16) * libhylafax: ipv6 support (2009-01-16) * libhylafax: Passive mode IPv6 (2009-01-16) * Allows quoting of : (as \:) in hosts.hfaxd file for IPv6 addresses (2009-01-16) * getaddrinfo AI_* hints are not always available (2009-01-20) * configure: UnixWare use of variadic macros (2009-01-20) * configure: Add define for s6_addr32 if needed on SVR5 systems. (2009-01-21) * b64-encode.awk: Fix bug on old SCO awk (2009-01-30) * Bug 902: Fix non-void function without a return (2009-02-02) * Bug 901: mimeencoding bug in templates handling (2009-02-06) * faxrcvd: Add multiple receipient/message capability (2009-02-07) * notify: Add back NOTIFY_FAXMASTER support (2009-02-07) * notify: Fix man page discrepancies (2009-02-07) * Bug 903: faxrcvd script SENDTO handling (2009-02-13) * configure: Allow compiler to be specified with the path (2009-02-17) * IPV6 on SunOS (2009-02-27) * Rework NLS slightly for old SunOS (2009-02-27) * Use ABI_VERSION in libfaxserver (2009-02-27) * notifyPageSent() fixup (2009-02-27) * Multiple clode cleanups and warning elimination (2009-02-27) * POSIX constants can be set to -1 if the functionnality is unavailable (2009-03-20) * Make sure B encoded strings stay withing the RFC length limits and never separate UTF-8 characters in multiple encoded words (2009-03-20) * Adds Q encoding possibility (2009-03-20) * Select between Q and B encoding according to data to encode (2009-03-20) * notify: Don't send blocked notifications as "requeued" (2009-03-27) * configure/build: Multiple cleanups for portablity and simplicity (2009-04-23) CHANGES for 6.0.1 ----------------------------------------------------------------------------- * Cleanup distrules (2009-05-15) * Adds RPM building right from tarball (2009-05-15) * templates: Update Polish translation (2009-05-15) CHANGES for 6.0.2 ----------------------------------------------------------------------------- * distrules: Add rpm patches (2009-05-19) * RPM spec: Don't try and force all client programs to $BIN (2009-05-19) * Socket.h: OpenBSD portability (2009-05-19) * FaxClient: Apparently @ is used and common (2009-05-22) * Have RPM patched faxsetup check for the right -server package name to detect server installation. (2009-05-22) * Socket fixes for BSD 4.4 sockets (2009-05-23) CHANGES for 6.0.3 ----------------------------------------------------------------------------- * Remove debugging statements (2009-06-04) * More debug statements need to be removed (2009-06-04) * Signal handlers need to be careful with errno (2009-07-03) CHANGES for 6.0.4 ----------------------------------------------------------------------------- * Page sent protocol trace fixes (2009-07-24) * Don't duplicate any file in a release tarball (2009-08-07) * IPv6: Rework initial bind (2009-08-07) * Some CVS-GIT cleanups/release notes (2009-08-14) * pagesend: Fix broken switch statement (2009-08-14) * hfaxd: Cleanup uid initizliaztion and theoretical overflow (2009-08-14) * nls: Add German translation (2009-09-14) * PageHandling: Fix handling of large blank areas (2009-09-18) * Add support for libtiff 3.9 (2007-11-21) * faxq: Don't assert on bad FIFO messages (2009-09-21) * Updated RPM dependencies (2009-09-25) * Str::vformat() Don't reuse va_args (2009-10-07) * faxmail: Fix broken to address/name parsing (2009-10-29) * Update releasenotes and documentation re IPv6 support (2009-11-13) * hfaxd: log what address(es) we're listing on when starting (2009-11-13) * faxsend: Class1 1 ECM when skipping pages needs to be more careful (2009-11-13) * Class1: ECM page and block count should be sent as modulus. (2009-11-13) CHANGES for 6.0.5 ----------------------------------------------------------------------------- * Typo in CONFIG_UNIXTRANSPORT define checks (2009-11-06) * Allow "any" as answer method for FIFO messages (2010-01-22) * Updates LibTIFF homepage URLs (2010-02-05) * Updated ftp site address in setup error message (2010-03-05) * Correctly check for long lines when checking for the last match (2010-02-05) * Fix calls to pdf2fax/ps2fax in ConvertFile (2010-04-02) * notify: FaxMaster notifications wildcard fixups (2010-05-05) * manpages: Updates from debian (2010-05-05) * pdf2fax/ps2fax: Use -dMaxStripSize=0 (2010-05-05) * Bug 928: issues with installClient target of Hylafax (2010-05-05) * Fixes compilation on some platforms (2010-06-24) * faxq: better capturing of failed conversion output (2010-08-10) * Class2: Fix hangup cause handling (2010-08-30) * Compiler warning cleanup (2010-08-30) CHANGES for 6.0.6 ----------------------------------------------------------------------------- * Update RPM spec file to 6.0.5 release (2010-10-12) * Re-order library files in fchmod() configure check (2010-10-12) * faxalter: Wire up the page range -Z options (2010-12-14) * man: JobReqError/JobRetryError were missing in hylafax-config.4f (2011-04-19) * typerules: adding missing comma to typeNames array (2011-04-19) * Do not warn about one of the Fontpath directories not existing (2010-02-05) * Reworked how faxsetup looks for Fontmap (2010-03-05) * Use a private Fontmap.HylaFAX file of .pfb files (2010-03-05) * Combine all Fontmap files in memory, including new Fontmap.HylaFAX (2011-04-10) * Bug 934: We need to avoid a 0-index in playList (2010-09-16) * hfaxd: Eliminte extraneous debug logging (2011-08-10) * hfaxd: Make source port for active connections be ctrl port - 1 (2011-11-03) * hfaxd: Release old accept fd (2011-11-03) * Support libtiff 4.0 (2012-04-03) * faxsend: JobRetryOther/JobRequeueOther weren't actually being used (2012-05-07) hylafax-6.0.6/etc/000077500000000000000000000000001176352547600137525ustar00rootroot00000000000000hylafax-6.0.6/etc/.cvsignore000066400000000000000000000002021176352547600157440ustar00rootroot00000000000000config.fax faxaddmodem faxaddmodem.sh faxsetup faxsetup.sh hosts.hfaxd hylafax lockname Makefile ondelay probemodem.sh xferfaxlog hylafax-6.0.6/etc/Makefile.in000066400000000000000000000114461176352547600160250ustar00rootroot00000000000000#!smake # $Id$ # # @WARNING@ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # 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. # # # VERSION: @VERSION@ # DATE: @DATE@ # TARGET: @TARGET@ # CCOMPILER: @CCOMPILER@ # CXXCOMPILER: @CXXCOMPILER@ # DEPTH=.. SUBDIR=etc @MAKEINCLUDE@ @MAKELQUOTE@${DEPTH}/defs@MAKERQUOTE@ DIR_SYSVINIT = @SYSVINITDIR@ DIR_SYSVINITSTART = @SYSVINITSTARTDIR@ DIR_SYSVINITSTOP = @SYSVINITSTOPDIR@ MANNUM4_5 = @MANNUM4_5@ MANNUM1_8 = @MANNUM1_8@ NAME_SYSVINITSTART = @SYSVINITSTARTNAME@ NAME_SYSVINITSTOP = @SYSVINITSTOPNAME@ DIALRULES=dialrules \ dialrules.sf-ba \ dialrules.europe TARGETS = config.fax hosts.hfaxd xferfaxlog lockname ondelay TEMPLATES = en fr de ro pt_BR pt es it pl html-sample1 default all:: @${MAKE} targets targets: ${TARGETS} @MAKEINCLUDE@ @MAKELQUOTE@${COMMONRULES}@MAKERQUOTE@ hosts.hfaxd: ${ECHO} "localhost" >hosts.hfaxd ${ECHO} "127.0.0.1" >>hosts.hfaxd xferfaxlog: ${ECHO} >xferfaxlog config.fax: ${ECHO} on >config.fax lockname: ${SRCDIR}/lockname.c ${CCF} -o $@ ${SRCDIR}/lockname.c ondelay: ${SRCDIR}/ondelay.c ${CCF} -o $@ ${SRCDIR}/ondelay.c PUTSERVER = ${INSTALL} -idb ${PRODUCT}.sw.server PUTSAMPLE = ${PUTSERVER} -u ${FAXUSER} -g ${FAXGROUP} \ -idb "config(noupdate)" install: default ${PUTSERVER} -F ${SBIN} -m 755 -src faxaddmodem.sh -O faxaddmodem ${PUTSERVER} -F ${SBIN} -m 755 -src faxsetup.sh -O faxsetup for i in bsdi irix linux; do \ ${PUTSERVER} -F ${SBIN} -m 755 \ -src ${SRCDIR}/faxsetup.$$i -O faxsetup.$$i; \ done ${PUTSERVER} -F ${SBIN} -m 755 -src probemodem.sh -O probemodem ${PUTSAMPLE} -F ${SPOOL}/etc -m 644 -o xferfaxlog ${PUTSAMPLE} -F ${SPOOL}/etc -m 600 -o hosts.hfaxd for i in ${DIALRULES}; do \ ${PUTSERVER} -F ${SPOOL}/etc -m 444 -src ${SRCDIR}/$$i \ -idb "config(update)" -O $$i; \ done ${PUTSERVER} -F ${LIBEXEC} -m 755 -O lockname ondelay ${PUTSAMPLE} -F ${SPOOL}/etc -m 644 -idb nostrip \ -src ${SRCDIR}/lutRS18.pcf -O lutRS18.pcf ${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m ${DIRMODE} \ -idb hylafax.sw.server -dir -F ${SPOOL}/etc templates ${PUTSAMPLE} -F ${SPOOL}/etc/templates -m 644 \ -src ${SRCDIR}/templates/README -O README @for d in ${TEMPLATES}; do \ ${ECHO} "Installing templates/$$d"; \ ${INSTALL} -u ${FAXUSER} -g ${FAXGROUP} -m ${DIRMODE} \ -idb hylafax.sw.server -dir -F ${SPOOL}/etc/templates $$d; \ for f in ${SRCDIR}/templates/$$d/*; do \ ${PUTSAMPLE} -F ${SPOOL}/etc/templates/$$d -m 644 -src $$f `basename $$f`; \ done; \ done; # # System V-specific init support. # installSysVInit: hylafax if [ "@SYSVINIT@" = yes ]; then \ ${PUTSERVER} -F ${DIR_SYSVINIT} -m 755 -O hylafax; \ echo "checking ${DIR_SYSVINITSTART} directories"; \ for i in ${DIR_SYSVINITSTART}; do \ if test -d ${DIR_SYSVINIT}/$$i; then \ ${PUTSERVER} -F ${DIR_SYSVINIT}/$$i -lns ../`basename ${DIR_SYSVINIT}`/hylafax ${NAME_SYSVINITSTART}; \ fi; \ done; \ echo "checking ${DIR_SYSVINITSTOP} directories"; \ for i in ${DIR_SYSVINITSTOP}; do \ if test -d ${DIR_SYSVINIT}/$$i; then \ ${PUTSERVER} -F ${DIR_SYSVINIT}/$$i -lns ../`basename ${DIR_SYSVINIT}`/hylafax ${NAME_SYSVINITSTOP}; \ fi; \ done; \ else \ ${PUTSERVER} -F ${SBIN} -m 755 hylafax; \ fi if test -d /etc/config; then \ ${PUTSERVER} -F /etc/config -m 644 -src config.fax -O fax; \ fi installClient: default ${PUTSERVER} -F ${SBIN} -m 755 -src faxsetup.sh -O faxsetup for i in bsdi irix linux; do \ ${PUTSERVER} -F ${SBIN} -m 755 \ -src ${SRCDIR}/faxsetup.$$i -O faxsetup.$$i; \ done # # These targets are created during the configuration procedure. # clobberconfig: -${RM} -f hylafax probemodem.sh faxaddmodem.sh faxsetup.sh hylafax-6.0.6/etc/copy.h000066400000000000000000000023731176352547600151020ustar00rootroot00000000000000/* $Id$ /* * Copyright (c) 1990-1996 Sam Leffler * Copyright (c) 1991-1996 Silicon Graphics, Inc. * HylaFAX is a trademark of Silicon Graphics, Inc. * * 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. */ hylafax-6.0.6/etc/copy.m000066400000000000000000000024011176352547600150770ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # 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. # hylafax-6.0.6/etc/copy.ps000066400000000000000000000024011176352547600152650ustar00rootroot00000000000000% $Id$ % % HylaFAX Facsimile Software % % Copyright (c) 1990-1996 Sam Leffler % Copyright (c) 1991-1996 Silicon Graphics, Inc. % HylaFAX is a trademark of Silicon Graphics, Inc. % % 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. % hylafax-6.0.6/etc/dialrules000066400000000000000000000034771176352547600156740ustar00rootroot00000000000000! $Id$ ! ! HylaFAX (tm) Dialing String Processing Rules. ! ! This file describes how to process user-specified dialing strings ! to create two items: ! ! CanonicalNumber: a unique string that is derived from all dialing ! strings to the same destination phone number. This string is used ! by the fax server for ``naming'' the destination. ! ! DialString: the string passed to the modem for use in dialing the ! telephone. This string should be void of any characters that might ! confuse the modem. ! Area=${AreaCode} ! local area code Country=${CountryCode} ! local country code IDPrefix=${InternationalPrefix} ! prefix for placing an international call LDPrefix=${LongDistancePrefix} ! prefix for placing a long distance call ! WS=" " ! our notion of white space ! ! Convert a phone number to a canonical format: ! ! + ! ! by (possibly) stripping off leading dialing prefixes for ! long distance and/or international dialing. ! CanonicalNumber := [ %.* = ! strip calling card stuff [abcABC] = 2 ! these convert alpha to numbers [defDEF] = 3 [ghiGHI] = 4 [jklJKL] = 5 [mnoMNO] = 6 [prsPRS] = 7 [tuvTUV] = 8 [wxyWXY] = 9 [^+0-9]+ = ! strip white space etc. ^${IDPrefix} = + ! replace int. dialing code ^${LDPrefix} = +${Country} ! replace l.d. dialing code ^[^+] = +${Country}${Area}& ! otherwise, insert canon form ] ! ! Process a dialing string according to local requirements. ! These rules do only one transformation: they convert in-country ! international calls to long-distance calls. ! DialString := [ [-${WS}.]+ = ! strip syntactic sugar [abcABC] = 2 ! these convert alpha to numbers [defDEF] = 3 [ghiGHI] = 4 [jklJKL] = 5 [mnoMNO] = 6 [prsPRS] = 7 [tuvTUV] = 8 [wxyWXY] = 9 ^[+]${Country} = ${LDPrefix} ! long distance call ^[+] = ${IDPrefix} ! international call ] hylafax-6.0.6/etc/dialrules.europe000066400000000000000000000045351176352547600171660ustar00rootroot00000000000000! $Id$ ! ! HylaFAX (tm) Dialing String Processing Rules ! for much of Europe. ! ! From: "Ed Cole" ! ! This file describes how to process user-specified dialing strings ! to create two items: ! ! CanonicalNumber: a unique string that is derived from all dialing ! strings to the same destination phone number. This string is used ! by the fax server for ``naming'' the destination. ! ! DialString: the string passed to the modem for use in dialing the ! telephone. This string should be void of any characters that might ! confuse the modem. ! Area=${AreaCode} ! local area code Country=${CountryCode} ! local country code IDPrefix=${InternationalPrefix} ! prefix for placing an international call LDPrefix=${LongDistancePrefix} ! prefix for placing a long distance call ! WS=" " ! our notion of white space ! ! Convert a phone number to a canonical format: ! ! + ! ! by (possibly) stripping off leading dialing prefixes for ! long distance and/or international dialing. ! CanonicalNumber := [ %.* = ! strip calling card stuff [abcABC] = 2 ! these convert alpha to numbers [defDEF] = 3 [ghiGHI] = 4 [jklJKL] = 5 [mnoMNO] = 6 [prsPRS] = 7 [tuvTUV] = 8 [wxyWXY] = 9 [^+0-9]+ = ! strip white space etc. ^${IDPrefix} = + ! replace int. dialing code ^${LDPrefix} = +${Country} ! STD call (long distance) ^[^+] = +${Country}${Area}& ! else cononicalize ] ! ! Process a dialing string according to local requirements. ! These rules do only one transformation: they convert in-country ! international calls to long-distance calls. ! DialString := [ [-${WS}.]+ = ! strip syntactic sugar [abcABC] = 2 ! these convert alpha to numbers [defDEF] = 3 [ghiGHI] = 4 [jklJKL] = 5 [mnoMNO] = 6 [prsPRS] = 7 [tuvTUV] = 8 [wxyWXY] = 9 ^${IDPrefix}${Country}${Area} = ! local phone call ^${LDPrefix}${Area} = ! local phone call ^${IDPrefix}${Country} = ${LDPrefix} ! STD call (long distance) ^[+]${Country}${Area} = ! local phone call ^[+]${Country} = ${LDPrefix} ! STD call (long distance) ^[+] = ${IDPrefix} ! international call ] hylafax-6.0.6/etc/dialrules.sf-ba000066400000000000000000000040551176352547600166540ustar00rootroot00000000000000! $Id$ ! ! HylaFAX (tm) Dialing String Processing Rules ! for the San Francisco Bay Area. ! ! This file describes how to process user-specified dialing strings ! to create two items: ! ! CanonicalNumber: a unique string that is derived from all dialing ! strings to the same destination phone number. This string is used ! by the fax server for ``naming'' the destination. ! ! DialString: the string passed to the modem for use in dialing the ! telephone. This string should be void of any characters that might ! confuse the modem. ! Area=${AreaCode} ! local area code Country=${CountryCode} ! local country code IDPrefix=${InternationalPrefix} ! prefix for placing an international call LDPrefix=${LongDistancePrefix} ! prefix for placing a long distance call ! WS=" " ! our notion of white space ! ! Convert a phone number to a canonical format: ! ! + ! ! by (possibly) stripping off leading dialing prefixes for ! long distance and/or international dialing. ! CanonicalNumber := [ %.* = ! strip calling card stuff [abcABC] = 2 ! these convert alpha to numbers [defDEF] = 3 [ghiGHI] = 4 [jklJKL] = 5 [mnoMNO] = 6 [prsPRS] = 7 [tuvTUV] = 8 [wxyWXY] = 9 [^+0-9]+ = ! strip white space etc. ^${IDPrefix} = + ! replace int. dialing code ^${LDPrefix} = +${Country} ! replace l.d. dialing code ^[^+] = +${Country}${Area}& ! otherwise, insert canon form ] ! ! Process a dialing string according to local requirements. ! This may involve stripping local country and area codes, ! inserting dialing prefixes, etc. In the SF bay area it is ! necessary to remove any long distance dialing information ! when calling a number in the same area code. ! DialString := [ [-${WS}.]+ = ! strip syntactic sugar [abcABC] = 2 ! these convert alpha to numbers [defDEF] = 3 [ghiGHI] = 4 [jklJKL] = 5 [mnoMNO] = 6 [prsPRS] = 7 [tuvTUV] = 8 [wxyWXY] = 9 ^${LDPrefix}${Area} = ! local phone call ^[+]${Country}${Area} = ! local phone call ^[+]${Country} = ${LDPrefix} ! long distance call ^[+] = ${IDPrefix} ! international call ] hylafax-6.0.6/etc/faxaddmodem.sh.in000066400000000000000000001542761176352547600172030ustar00rootroot00000000000000#! @SCRIPT_SH@ # $Id$ # # @WARNING@ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # 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. # # # VERSION: @VERSION@ # DATE: @DATE@ # TARGET: @TARGET@ # # # faxaddmodem [tty] # # This script interactively configures a HylaFAX server # from keyboard input on a standard terminal. There may # be some system dependencies in here; hard to say with # this mountain of shell code! # SPOOL=@SPOOL@ die() { kill -1 $$ # use kill so trap handler is called } SPEED= DOFUSER=no while [ x"$1" != x"" ] ; do case $1 in -s) SPEED=$2; shift;; -f) DOFUSER=yes;; -*) echo "Usage: $0 [-s SPEED] [-f] [ttyname]"; exit 1;; *) TTY=$1;; esac shift done # Test selected modem speed against a list of known standards if [ "$SPEED" != "" ] && [ "$SPEED" != 38400 ] && [ "$SPEED" != 19200 ] \ && [ "$SPEED" != 9600 ] && [ "$SPEED" != 4800 ] && [ "$SPEED" != 2400 ] \ && [ "$SPEED" != 1200 ]; then cat</dev/null` test -z "$euid" && test -w /dev && euid=root if [ "$euid" != "root" ]; then echo "Sorry, but you must run this script as the super-user!" exit 1 fi # security TMPDIR=`(mktemp -d /tmp/.faxaddmodem.XXXXXX) 2>/dev/null` if test X$TMPDIR = X; then TMPDIR=/tmp/.faxaddmodem$$ fi @RM@ -rf $TMPDIR (umask 077 ; mkdir $TMPDIR) || exit 1 SH=$SCRIPT_SH # shell for use below CPATH=$SPOOL/etc/config # prefix of configuration file OUT=$TMPDIR/faxaddmodem.sh$$ # temp file in which modem output is recorded SVR4UULCKN=$LIBEXEC/lockname # SVR4 UUCP lock name construction program ONDELAY=$LIBEXEC/ondelay # prgm to open devices blocking on carrier CAT="$CAT -u" # something to do unbuffered reads and writes FAX=@FAXUID@ # identity of the fax user GROUP=/etc/group # where to go for group entries PROTOGID=@FAXGID@ # group who's gid we use for FAX user defPROTOGID=10 # use this gid if PROTOGID doesn't exist MODEMCONFIG=$SPOOL/config # location of prototype modem config files RMCMD="$RM -f" # forced removal # # Build a list of config files in a portable way for grepping... # cd $MODEMCONFIG CONFIG_LIST="" for file in *; do if [ -f "$file" ]; then CONFIG_LIST="$CONFIG_LIST $file" fi done # # Prompt the user for a string that can not be null. # promptForNonNullStringParameter() { x="" while [ -z "$x" ]; do prompt "$2 [$1]?"; read x if [ "$x" ]; then # strip leading and trailing white space x=`echo "$x" | $SED -e 's/^[ ]*//' -e 's/[ ]*$//'` else x="$1" fi done param="$x" } # # Prompt the user for a string that can be null. # promptForStringParameter() { prompt "$2 [$1]?"; read x if [ "$x" ]; then # strip leading and trailing white space x=`echo "$x" | $SED -e 's/^[ ]*//' -e 's/[ ]*$//'` else x="$1" fi param="$x" } # # Prompt the user for a numeric value. # promptForNumericParameter() { x="" while [ -z "$x" ]; do prompt "$2 [$1]?"; read x if [ "$x" ]; then # strip leading and trailing white space x=`echo "$x" | $SED -e 's/^[ ]*//' -e 's/[ ]*$//'` match=`expr "$x" : "\([0-9]*\)"` if [ "$match" != "$x" ]; then echo "" echo "This must be entirely numeric; please correct it." echo "" x=""; fi else x="$1" fi done param="$x" } # # Prompt the user for a C-style numeric value. # promptForCStyleNumericParameter() { x="" while [ -z "$x" ]; do prompt "$2 [$1]?"; read x if [ "$x" ]; then # strip leading and trailing white space and C-style 0x prefix x=`echo "$x" | $SED -e 's/^[ ]*//' -e 's/[ ]*$//'` match=`expr "$x" : "\([0-9]*\)" \| "$x" : "\(0x[0-9a-fA-F]*\)"` if [ "$match" != "$x" ]; then echo "" echo "This must be entirely numeric; please correct it." echo "" x=""; fi else x="$1" fi done param="$x" } # # Prompt the user for a boolean value. # promptForBooleanParameter() { x="" while [ -z "$x" ]; do prompt "$2 [$1]?"; read x if [ "$x" ]; then # strip leading and trailing white space x=`echo "$x" | $SED -e 's/^[ ]*//' -e 's/[ ]*$//'` case "$x" in n|no|off) x=no;; y|yes|on) x=yes;; *) cat < $x done if [ "$DOFUSER" = "yes" ]; then # zap any gettys or other users if [ ! -f $FUSER ]; then cat</dev/null 2>&1 fi fi cat< Spaces, hyphens, and periods can be included for legibility. For example, +$CountryCode.$AreaCode.555.1212 is a possible phone number (using your country and area codes). EOF ok=no; fi } # # Verify that a number is octal and if not, add a prefixing "0". # checkOctalNumber() { param=$1 if [ "`expr "$param" : '\(.\)'`" != 0 ]; then param="0${param}" return 0 else return 1 fi } checkForLocalFile() { f="`echo $1 | $SED 's/\"//g'`" if [ ! -f $SPOOL/$f ]; then cat<$PROMPTS</dev/null 2>&1;; cua*) ttysoftcar -n $TTY >/dev/null 2>&1;; esac ;; esac if [ -x ${ONDELAY} ]; then onDev() { if [ "$1" = -c ]; then shift; catpid=`${ONDELAY} $tdev $SH -c "$* >$OUT" & echo $!` else ${ONDELAY} $tdev $SH -c "$*" fi } else cat<<'EOF' The "ondelay" program to open the device without blocking is not present. We're going to try to continue without it; let's hope that the serial port won't block waiting for carrier... EOF onDev() { if [ "$1" = -c ]; then shift; catpid=`$SH <$tdev >$tdev -c "$* >$OUT" & echo $!` else $SH <$tdev >$tdev -c "$*" fi } fi STTY=`ttyStty $tdev` # appropriate stty cmd # # Send each command in SendString to the modem and collect # the result in $OUT. Read this very carefully. It's got # a lot of magic in it! # SendToModem() { COMMAND=$* sleep 1 # wait for previous kill case $TARGET in *-linux*) ;; *) onDev $STTY 0; sleep 1 ;; # reset the modem (hopefully) esac # start listening for output onDev -c "$STTY clocal && exec $CAT $tdev"; sleep 2 # # NB: eof is set to ^A so that only 1 character is needed # for a pending read on HPUX systems # onDev $STTY -echo -icrnl -ixon -ixoff -isig eof '"^A"' clocal $SPEED; sleep 1 # NB: merging \r & ATQ0 causes some modems problems printf "\r" >$tdev; sleep 1; # force consistent state printf "ATQ0V1E1\r" >$tdev; sleep 1; # enable echo and result codes for i in $COMMAND; do printf "$i\r" >$tdev; sleep 1; done kill -9 $catpid; catpid= # NB: [*&\\\\$] must have the "$" last for AIX (yech) pat=`echo "$i"|$SED -e 's/[*&\\\\$]/\\\\&/g'` # escape regex metacharacters RESPONSE=`tr -ds '\015' '\012' < $OUT | \ $SED -n "/$pat/{n;s/ *$//;p;q;}" | $SED 's/+F.*=//'` } echo "" if [ -z "$SPEED" ]; then # # Probe for the highest speed at which the modem # responds to "AT" with "OK". # printf "Probing for best speed to talk to modem:" SPEEDS=`ttySpeeds $tdev` # set of speeds for auto-bauding for SPEED in $SPEEDS do printf " $SPEED" SendToModem AT >/dev/null 2>&1 sleep 1 RESULT=`tr -ds '\015' '\012' < $OUT | $SED -n '$p'` test "$RESULT" = OK && break; done if [ "$RESULT" != OK ]; then echo "" echo "Unable to deduce DTE-DCE speed; check that you are using the" echo "correct device and/or that your modem is setup properly. If" echo "all else fails, try the -s option to lock the speed." die fi echo " OK." else echo "Using user-specified $SPEED to talk to modem." fi RESULT=""; while [ -z "$RESULT" ]; do # # This goes in the background while we try to # reset the modem. If something goes wrong, it'll # nag the user to check on the problem. # (trap "exit 1" 1 2 15; while true; do sleep 10; echo "" echo "Hmm, something seems to be hung, check your modem eh?" done)& nagpid=$! trap "$RMCMD \$JUNK; $RMCMD -r $TMPDIR; kill $nagpid \$catpid; exit 1" 1 2 15 SendToModem "AT+FCLASS=?" # ask for class support exec 3>&2 2> /dev/null # Mute stderr against child death kill $nagpid wait $nagpid # Really waits its end exec 2>&3 3>&- # Restore stderr trap "$RMCMD \$JUNK; $RMCMD -r $TMPDIR; test \"\$catpid\" && kill \$catpid; exit 1" 1 2 15 sleep 1 RESULT=`tr -ds '\015' '\012' < $OUT | $SED -n '$p'` if [ -z "$RESPONSE" ]; then echo "" echo "There was no response from the modem. Perhaps the modem is" echo "turned off or the cable between the modem and host is not" echo "connected. Please check the modem and hit a carriage return" prompt "when you are ready to try again:" read x fi done ModemType="" Manufacturer="" Model="" ProtoType=skel # # Initialize desired flow control scheme # according to the device name (if it's # meaningful). Otherwise, setup to use any # default flow control defined in the prototype # configuration file. # FlowControl=default case $TARGET in *-irix*) case $TTY in ttym${PORT}) FlowControl=xonxoff;; ttyf${PORT}) FlowControl=rtscts;; esac ;; esac # # Prompt the user for a flow control scheme. # promptForFlowControlParameter() { x="" while [ -z "$x" ]; do prompt "$2 [$1]?"; read x if [ "$x" ]; then # strip leading and trailing white space x=`echo "$x" | $SED -e 's/^[ ]*//' -e 's/[ ]*$//'` case "$x" in xon*|XON*) x=xonxoff;; rts*|RTS*) x=rtscts;; def*|DEF*) x=default;; *) cat <$PROMPTS . $PROMPTS fi printModemConfig case $TARGET in *-irix*) checkFlowControlAgainstTTY;; esac # # XXX not sure what kind of consistency checking that can # be done w/o knowing more about the modem... # prompt "Are these ok [yes]?"; read ok done TMPSED=$TMPDIR/faxsed$$; JUNK="$JUNK $TMPSED" (echoServerSedCommands; echoModemSedCommands)>$TMPSED # # All done with the prompting; edit up a config file! # echo "" echo "Creating new configuration file $CONFIG..." JUNK="$JUNK $CONFIG.new" if $SED -f $TMPSED $proto >$CONFIG.new; then if cmp -s $CONFIG.new $CONFIG >/dev/null 2>&1; then echo "...nothing appears to have changed; leaving the original file." $RMCMD $CONFIG.new else if [ -f $CONFIG ]; then echo "...saving current file as $CONFIG.sav." mv $CONFIG $CONFIG.sav fi $MV $CONFIG.new $CONFIG $CHOWN $FAX $CONFIG $CHGRP $faxGID $CONFIG $CHMOD 644 $CONFIG fi else echo "" echo "*** Sorry, something went wrong building $CONFIG.new." echo "*** The original config file is unchanged; I'm terminating before" echo "*** I do something stupid." echo "" die fi # # Create FIFO. special file and remove any old one. # FIFO=$SPOOL/FIFO.$DEVID test -p $FIFO || { prompt "Creating fifo $FIFO for faxgetty..." if (mkfifo $FIFO) >/dev/null 2>&1; then echo "done." elif (mknod $FIFO p) >/dev/null 2>&1; then echo "done." else echo "" echo "*** Unable to create fifo \"$FIFO\"; terminating." die fi } $CHOWN $FAX $FIFO; $CHGRP $faxGID $FIFO; $CHMOD 600 $FIFO if [ "$OLDFIFO" ]; then echo "Removing old fifo $OLDFIFO."; $RMCMD $OLDFIFO; fi echo "Done setting up the modem configuration." echo "" # # Configuration parameters specific to scheduler operation. # Required parameters are *always* emitted in the created # configuration file; optional parameters are emitted # only if the configured value differs from the default # value known to be used by the server. # # NB: the order of some parameters is important; e.g. # DialStringRules must be after AreaCode and CountryCode. # RequiredSchedulerParameters=" LogFacility CountryCode AreaCode LongDistancePrefix InternationalPrefix DialStringRules ServerTracing " OptionalSchedulerParameters=" ContCoverPage ContCoverCmd MaxConcurrentCalls MaxDials MaxSendPages MaxTries ModemGroup PostScriptTimeout PS2FaxCmd SendFaxCmd SendPageCmd SendUUCPCmd SessionTracing TimeOfDay Use2D " defaultContCoverPage= defaultContCoverCmd=\"bin/mkcover\" defaultMaxConcurrentCalls=1 defaultMaxDials=12 defaultMaxSendPages=0xffffffff defaultMaxTries=3 defaultModemGroup= defaultPostScriptTimeout=180 defaultPS2FaxCmd=\"bin/ps2fax\" defaultSendFaxCmd=\"bin/faxsend\" defaultSendPageCmd=\"bin/pagesend\" defaultSendUUCPCmd=\"bin/uucpsend\" defaultSessionTracing=0xffffffff defaultTimeOfDay=\"Any\" defaultUse2D=Yes # # NB: these defaults are set above # OptionalParameters=" $OptionalSchedulerParameters JobReqOther NotifyCmd UUCPLockDir UUCPLockTimeout UUCPLockType " SchedulerParameters=" $RequiredSchedulerParameters $OptionalParameters " # # The following parameters are checked to make sure # they have values consistent with what was just written # to the modem configuration file. It is ok for some # of these to be different, but usually they should be # the same so if they disagree we prompt the user to # see if we should propagate the new values from the # modem config file to the scheduler config file. # CheckedParameters=" LogFacility CountryCode AreaCode LongDistancePrefix InternationalPrefix DialStringRules JobReqOther NotifyCmd UUCPLockDir UUCPLockTimeout UUCPLockType " # # Echo the configuration lines for those scheduler parameters # whose value is different from the default value. Note # that we handle the case where there is embedded whitespace # by enclosing the parameter value in quotes. # echoSchedulerParameters() { (for i in $RequiredSchedulerParameters; do eval echo \"$i:\$$i:\" done for i in $OptionalSchedulerParameters; do eval echo \"$i:\$$i:\$default$i\" done) | $AWK -F: ' function p(tag, value) { tabs = substr("\t\t\t", 1, 3-int((length(tag)+1)/8)); if (match(value, "^[^\"].*[ ]") == 0) printf "%s:%s%s\n", tag, tabs, value else printf "%s:%s\"%s\"\n", tag, tabs, value } $2 != $3{ p($1, $2) }' } # # Print the current server configuration parameters. # printSchedulerConfig() { (for i in $SchedulerParameters; do eval echo \"$i:\$$i:\$default$i\" done) | $AWK -F: ' function p(tag, value) { tabs = substr("\t\t\t", 1, 3-int((length(tag)+1)/8)); printf "%s:%s%s\n", tag, tabs, value } BEGIN { printf "\nThe non-default scheduler parameters are:\n\n" } $2 != $3{ p($1, $2) } END { printf "\n" }' } # # Check the current contents of the scheduler configuration file # against that parameters just setup for the per-modem config file. # If anything has changed (e.g. phone number info), then prompt # the user to update the file. # updateConfig=yes # # Initialize server parameters from the defaults. # for i in $OptionalSchedulerParameters; do eval $i=\$default$i done if [ -f $SCHEDCONFIG ]; then echo "Checking $SCHEDCONFIG for consistency..." # # Save current settings in variables with a ``modem'' prefix. # for i in $CheckedParameters; do eval modem$i=\$$i done # # Read old configuration file in as the ``current settings''. # getServerParameters $SCHEDCONFIG # # Check current parameter settings against ``modem settings''. # If inconsistencies are detected in the parameters that should # (by default) be kept consistent, then try to propagate the new # parameter settings from the modem config file to the scheduler # config file. # ok=yes for i in $CheckedParameters; do eval test \"\$$i\" != \"\$modem$i\" && { ok=skip; break; } done if [ $ok != yes ]; then echo "...some parameters are different." # # Move the ``modem settings'' to the current settings # and let the user ok them or change them to what they # want. We do this shuffle w/o touching the default # settings so that optional parameter handling works # (i.e. that only non-default values for optional params # are displayed and/or written to the file). # for i in $CheckedParameters; do eval $i=\$modem$i done else echo "...everything looks ok; leaving existing file unchanged." updateConfig=no fi else echo "No scheduler configuration file exists, creating one from scratch." ok=skip # got important params above fi rm -f $PROMPTS while isNotOK $ok; do if [ "$ok" != skip ]; then test -f $PROMPTS || compilePrompts>$PROMPTS<$SCHEDCONFIG.new 2>/dev/null if cmp -s $SCHEDCONFIG.new $SCHEDCONFIG >/dev/null 2>&1; then echo "...nothing appears to have changed; leaving the original file." rm -f $SCHEDCONFIG.new elif [ -s $SCHEDCONFIG.new ]; then if [ -f $SCHEDCONFIG ]; then echo "...saving current file as $SCHEDCONFIG.sav." $MV $SCHEDCONFIG $SCHEDCONFIG.sav fi $MV $SCHEDCONFIG.new $SCHEDCONFIG $CHOWN $FAX $SCHEDCONFIG $CHGRP $faxGID $SCHEDCONFIG $CHMOD 644 $SCHEDCONFIG else echo "" echo "*** Sorry, something went wrong building $SCHEDCONFIG.new." echo "*** The original config file is unchanged; check your disk space?" echo "" die fi fi echo "" echo "Don't forget to run faxmodem(@MANNUM1_8@) (if you have a send-only environment)" echo "or configure init to run faxgetty on $TTY." exec >/dev/null 2>&1 # cleanup $RMCMD $JUNK; $RMCMD -r $TMPDIR exit 0 hylafax-6.0.6/etc/faxsetup.bsdi000066400000000000000000000030041176352547600164510ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1995-1996 Sam Leffler # Copyright (c) 1995-1996 Silicon Graphics, Inc. # 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. # # # BSD/OS-specific definitions for faxsetup. # dumpTTYFuncs() { cat<<'EOF' ttyPort() { expr $1 : 'com\(.*\)' } ttyLocks() { echo $UUCP_LOCKDIR/LCK..$1 } ttyAliases() { echo /dev/$1 } ttyDev() { echo /dev/$1 } checkPort() { return } EOF } hylafax-6.0.6/etc/faxsetup.irix000066400000000000000000000054311176352547600165110ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1995-1996 Sam Leffler # Copyright (c) 1995-1996 Silicon Graphics, Inc. # 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. # # # IRIX-specific definitions for faxsetup. # dumpTTYFuncs() { cat<<'EOF' ttyPort() { expr $1 : 'tty.\(.*\)' } ttyLocks() { port=`ttyPort $1` locks= for x in f m d; do locks="$locks $UUCP_LOCKDIR/LCK..tty$x${port}" done echo $locks } ttyAliases() { port=`ttyPort $1` echo /dev/ttyd${port} /dev/ttym${port} /dev/ttyf${port} } ttyDev() { # # NB: we use ttyd* device names in the following # work so that we are not stopped by a need for DCD. # port=`ttyPort $1` echo /dev/ttyd${port} } checkIRIXPort() { devID="`echo $1 | tr '/' '_'`" if [ -f $CPATH.$devID ] && [ -p $SPOOL/FIFO.$devID ]; then echo "There appears to be a modem already setup on $devID," prompt "is this to be replaced [yes]?" read x; isOK $x || { echo "Sorry, but you can not configure multiple servers on" echo "the same serial port." exit 1 } # setup pathnames for old stuff OLDFIFO=$SPOOL/FIFO.$devID; OLDCONFIG=$CPATH.$devID fi } checkPort() { case $1 in ttym${PORT}) checkIRIXPort ttyd${PORT}; checkIRIXPort ttyf${PORT};; ttyf${PORT}) checkIRIXPort ttym${PORT}; checkIRIXPort ttyd${PORT};; ttyd${PORT}) checkIRIXPort ttym${PORT}; checkIRIXPort ttyf${PORT};; esac } EOF } # # Hide the fax user from pandora & co. # machdepPasswdWork() { f=${SGIPASSWD:-/etc/passwd.sgi} if [ -f $f ]; then x=$FAX:noshow grep $x $f >/dev/null 2>&1 || { Note "" Note "" Note "Adding the $FAX user to $f so it is hidden from pandora/clogin." echo "$x" >>$f } fi } hylafax-6.0.6/etc/faxsetup.linux000066400000000000000000000051101176352547600166670ustar00rootroot00000000000000# $Id$ # # HylaFAX Facsimile Software # # Copyright (c) 1995-1996 Sam Leffler # Copyright (c) 1995-1996 Silicon Graphics, Inc. # 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. # # # Linux-specific definitions for faxsetup. # addPasswd() { # We're probably creating a user with the same uid as another, # so we need to use 'useradd -o' if available. Also, some # useradds copy a number of "dot" files when creating the home # directory, so if available, '-M' prevents that, and if it is # an invalid option, then simply not using '-m' will usually # do the trick. We have to watch the exit status of this script, # so, the last command run should have somthing to do with the valid # creation of the "fax" user. if [ -z "`useradd 2>&1 | grep -- -o`" ]; then # useradd does *not* support the -o option useradd -c 'Facsimile Agent' -d $4 -s /bin/false $1; usermod -u $2 -o -g $3 $1; elif [ -z "`useradd -M 2>&1 | grep -E 'invalid|illegal'`" ]; then # useradd supports the -M option useradd -M -c 'Facsimile Agent' -d $4 -u $2 -o -g $3 -s /bin/false $1; else # useradd does *not* support the -M option useradd -c 'Facsimile Agent' -d $4 -u $2 -o -g $3 -s /bin/false $1; fi } deletePasswd() { userdel -r $1 } lockPasswd() { return 0 } modifyPasswd() { usermod -d $4 -m -u $2 -o -g $3 $1 # NB: we must do it twice to keep Linux happy if the # home directory allready exists usermod -d $4 -m -u $2 -o -g $3 $1 } hylafax-6.0.6/etc/faxsetup.sh.in000066400000000000000000002072331176352547600165610ustar00rootroot00000000000000#! @SCRIPT_SH@ # $Id$ # # @WARNING@ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # 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. # # # VERSION: @VERSION@ # DATE: @DATE@ # TARGET: @TARGET@ # # # faxsetup [options] # # This script interactively prepares and verifies # a HylaFAX client and/or server machine for use. # PATH=/bin:/usr/bin:/etc test -d /usr/ucb && PATH=$PATH:/usr/ucb # Sun and others test -d /usr/bsd && PATH=$PATH:/usr/bsd # Silicon Graphics test -d /usr/5bin && PATH=/usr/5bin:$PATH:/usr/etc # Sun and others test -d /usr/sbin && PATH=/usr/sbin:$PATH # 4.4BSD-derived test -d /usr/local/bin && PATH=$PATH:/usr/local/bin # for GNU tools AWK=@AWK@ # awk for use below CAT=@CAT@ # cat command for use below CHGRP=@CHGRP@ # change file group for use below CHMOD=@CHMOD@ # change file mode for use below CHOWN=@CHOWN@ # change file owner for use below CP=@CP@ # cp command for use below ECHO=@ECHO@ # echo command for use below ENCODING=@ENCODING@ # encoding style for uuencode/mimencode FUSER=@FUSER@ # fuser command to dump in setup.cache GREP=@GREP@ # grep command for use below LN=@LN@ # ln command for use below LN_S=@LN_S@ # ln option for creating a symbolic link MKFIFO=@MKFIFO@ # FIFO creation program for use below MV=@MV@ # move file for use below PCL6CMD=@PCL6CMD@ # pcl6 (GhostPCL) program RMCMD=@RM@ # remove file for use below SCRIPT_SH=@SCRIPT_SH@ # shell for use below SED=@SED@ # sed for use below TIFF2PDF=@TIFF2PDF@ # tiff-to-pdf conversion tool TTYCMD=@TTYCMD@ # tty for error output BASE64ENCODE="@BASE64ENCODE@" # base64encode command to dump in setup.cache MIMENCODE="@MIMENCODE@" # mimeencode command to dump in setup.cache for old notifys QPENCODE="@QPENCODE@" # qpencode command to dump in setup.cache UUENCODE="@UUENCODE@" # uuencode command to dump in setup.cache FAX=@FAXUID@ # identity of the fax user SERVICES=/etc/services # location of services database INETDCONF=/usr/etc/inetd.conf # default location of inetd configuration file ALIASES=/usr/lib/aliases # default location of mail aliases database file PASSWD=/etc/passwd # where to go for password entries PROTOUID=@FAXUID@ # user who's uid we use for FAX user defPROTOUID=3 # use this uid if PROTOUID doesn't exist GROUP=/etc/group # where to go for group entries PROTOGID=@FAXGID@ # group who's gid we use for FAX user defPROTOGID=10 # use this gid if PROTOGID doesn't exist VERSION="@VERSION@" # configured version DATE="@DATE@" # data software was configured TARGET="@TARGET@" # configured target PATH_AFM=@FONTPATH@ # directory for Adobe Font Metric files PATH_FONTMAP=@FONTMAP@ # directory for FontMap files DIR_BIN=@BIN@ # directory for client applications DIR_LIBDATA=@LIBDATA@ # directory for client data files DIR_LIBEXEC=@LIBEXEC@ # directory where servers are located DIR_LOCKS=@UUCP_LOCKDIR@ # UUCP locking directory DIR_MAN=@MANDIR@ # directory for manual pages DIR_SBIN=@SBIN@ # directory for server applications DIR_SPOOL=@SPOOL@ # top of fax spooling tree TIFFBIN=@TIFFBIN@ # TIFF tools LOCKS=@UUCP_LOCKTYPE@ # UUCP lock type PATH_GETTY=@PATHGETTY@ # pathname for getty program PATH_SENDMAIL=@SENDMAIL@ # pathname for sendmail PATH_VGETTY=@PATHVGETTY@ # pathname for voice getty program PATH_EGETTY=@PATHEGETTY@ # pathname for external getty program PS=@PSPACKAGE@ # default PostScript RIP package PATH_GSRIP=@GSRIP@ # pathname of Ghostscript RIP PATH_DPSRIP=@DPSRIP@ # pathname of old IRIX DPS RIP PATH_IMPRIP=@IMPRIP@ # pathname of IRIX Impressario RIP POSIXLY_CORRECT=1; export POSIXLY_CORRECT # disable GNU extensions # # Location of sysv init script # DIR_SYSVINIT=@SYSVINITDIR@ FAXQ_SERVER=@FAXQ_SERVER@ HFAXD_SERVER=@HFAXD_SERVER@ HFAXD_SNPP_SERVER=@HFAXD_SNPP_SERVER@ # # These are the configuration parameters written to the # setup.cache file and read in by all the HylaFAX scripts. # # We use the same names used by configure for consistency # (but some confusion within this script). # VARS="SCRIPT_SH FONTPATH PATH_AFM AWK BASE64ENCODE BIN DIR_BIN CAT CHGRP CHMOD CHOWN CP DPSRIP PATH_DPSRIP ECHO ENCODING FAXQ_SERVER FUSER GREP GSRIP PATH_GSRIP HFAXD_SERVER HFAXD_SNPP_SERVER IMPRIP PATH_IMPRIP LIBDATA DIR_LIBDATA LIBEXEC DIR_LIBEXEC LN MANDIR DIR_MAN MIMENCODE MKFIFO MV PATH PATHGETTY PATH_GETTY PATHVGETTY PATH_VGETTY PATHEGETTY PATH_EGETTY PCL6CMD PSPACKAGE PS QPENCODE RM RMCMD SBIN DIR_SBIN SED SENDMAIL PATH_SENDMAIL SPOOL DIR_SPOOL SYSVINIT TIFF2PDF TIFFBIN TARGET TTYCMD UUENCODE UUCP_LOCKDIR DIR_LOCKS UUCP_LOCKTYPE LOCKS" dumpvals() { echo "$VARS" | while read a b; do eval c=\$${b:-$a}; echo "$a='$c'"; done } # # Find the full pathname of an executable; # supply a default if nothing is found. # findAppDef() { app=$1; path=$2; def=$3 case $app in /*) test -x $app && { echo $app; return; };; esac IFS=: for i in $path; do test -x $i/$app && { echo $i/$app; return; } done echo $def } # # Error diagnostics that should go to the terminal are # done with this interface or cat. # bitch() { echo "$@" 1>&2 } # # This is the preferred interface for # configure to terminate abnormally. # boom() { $RM $JUNK # boom can be called before TMPDIR is set if test x$TMPDIR != x; then $RM -r $TMPDIR fi exit 1 } usage() { cat</dev/null # chuck messages else exec 4>&1 # messages go to stdout fi Note() { echo "$@" 1>&4 } capture() { (eval "set -x; $*") > /dev/null 2>&1 return } Note "" Note "Setup program for HylaFAX (tm) $VERSION." Note "" Note "Created for $TARGET on $DATE." Note "" CPU=`expr $TARGET : '\([^\-]*\)'` || CPU=unknown VENDOR=`expr $TARGET : '[^\-]*-\([^\-]*\)'` || VENDOR=unknown OS=`expr $TARGET : '[^\-]*-[^\-]*-\([a-zA-Z]*\).*'` || OS=unknown RELEASE=`(uname -r) 2>/dev/null` || RELEASE=unknown # # Read in any site, target, vendor, os, or os-release # specific setup work. Note that we read stuff here # so that configuration parameters can be altered. We # use some pre-defined function names below to provide # hooks for other actions. # # # Hooks for additional client+server checks # otherBasicServerChecks() { true } otherBasicClientChecks() { true } # # Hook for adding stuff to setup.modem # dumpOtherModemFuncs() { true } # # Figure out which brand of echo we have and define prompt # and printf shell functions accordingly. Note that we # assume that if the System V-style echo is not present, # then the BSD printf program is available. These functions # are defined here so that they can be tailored on a per-site, # etc. basis. # if [ `echo foo\\\c`@ = "foo@" ]; then # System V-style echo supports \r # and \c which is all that we need prompt() { echo "$* \\c" } printf() { echo "$*\\c" } dumpPromptFuncs() { cat<<-'EOF' prompt() { echo "$* \\c" } printf() { echo "$*\\c" } EOF } elif [ "`echo -n foo`@" = "foo@" ]; then # BSD-style echo; use echo -n to get # a line without the trailing newline prompt() { echo -n "$* " } dumpPromptFuncs() { cat<<-'EOF' prompt() { echo -n "$* " } EOF } else # something else; do without prompt() { echo "$*" } dumpPromptFuncs() { cat<<-'EOF' prompt() { echo "$*" } EOF } fi if onServer; then # # Setup the password file manipulation functions according # to whether we have System-V style support through the # passmgmt program, or BSD style support through the chpass # program, or for SCO boxes through pwconv, or SVR4 style support # through useradd. If none are found, we setup functions that # will cause us to abort if we need to munge the password file. # # NB: some systems override these function definitions through # per-os faxsetup files # if [ -f /bin/passmgmt ] || [ -f /usr/sbin/passmgmt ]; then addPasswd() { passmgmt -o -a -c 'Facsimile Agent' -h $4 -u $2 -g $3 $1 } deletePasswd() { passmgmt -d $1 } modifyPasswd() { passmgmt -m -h $4 -u $2 -o -g $3 $1 } lockPasswd() { passwd -l $1 } elif [ -f /usr/bin/chpass ]; then addPasswd() { chpass -a "$1:*:$2:$3::0:0:Facsimile Agent:$4:" } modifyPasswd() { chpass -a "$1:*:$2:$3::0:0:Facsimile Agent:$4:" } lockPasswd() { return 0 # entries are always locked } elif [ -f /etc/pwconv ]; then # could be a SCO box addPasswd() { echo "${1}:NOLOGIN:${2}:${3}:Facsimile Agent:${4}:/bin/false" >> ${PASSWD} /etc/pwconv } lockPasswd() { return 0 # entries are always locked } modifyPasswd() { OLD_HOME=`grep "^${1}:" ${PASSWD} | awk -F: '{print $6}'` ed - $PASSWD <<_EOF g~^$1:~s~${OLD_HOME}~$4~ w q _EOF } elif [ -f /usr/sbin/useradd ] || [ -f /etc/useradd ]; then addPasswd() { useradd -c 'Facsimile Agent' -d $4 -u $2 -o -g $3 $1 } deletePasswd() { userdel $1 } modifyPasswd() { usermod -m -d $4 -u $2 -o -g $3 $1 } lockPasswd() { passwd -l $1 } else addPasswd() { cat >&2 <&2 </dev/null 2>&1 && speeds="\$speeds \$s" done fi echo \$speeds } EOF } ;; *) dumpSTTYFuncs() { cat</dev/null 2>&1 && speeds="\$speeds \$s" done fi echo \$speeds } EOF } ;; esac machdepPasswdWork() { true } # # Default values for new scheduler config files # defaultLogFacility=daemon defaultCountryCode=1 defaultAreaCode= defaultLongDistancePrefix=1 defaultInternationalPrefix=011 defaultDialStringRules=\"etc/dialrules\" defaultServerTracing=1 defaultContCoverPage= defaultContCoverCmd=\"bin/mkcover\" defaultMaxConcurrentCalls=1 defaultMaxDials=12 defaultMaxSendPages=0xffffffff defaultMaxTries=3 defaultModemGroup= defaultPostScriptTimeout=180 defaultPS2FaxCmd=\"bin/ps2fax\" defaultSendFaxCmd=\"bin/faxsend\" defaultSendPageCmd=\"bin/pagesend\" defaultSendUUCPCmd=\"bin/uucpsend\" defaultSessionTracing=0xffffffff defaultTimeOfDay=\"Any\" defaultUse2D=Yes defaultNotifyCmd=\"bin/notify\" defaultUUCPLockDir=\"$DIR_LOCKS\" defaultUUCPLockTimeout=30 defaultUUCPLockType=\"$LOCKS\" fi CONFIG_FILES= if [ -f $DIR_SBIN/faxsetup.local ]; then . $DIR_SBIN/faxsetup.local CONFIG_FILES="$CONFIG_FILES $DIR_SBIN/faxsetup.local" elif [ -f $DIR_SBIN/faxsetup.${CPU}-${VENDOR}-${OS}${RELEASE} ]; then . $DIR_SBIN/faxsetup.${CPU}-${VENDOR}-${OS}${RELEASE} CONFIG_FILES="$CONFIG_FILES $DIR_SBIN/faxsetup.${CPU}-${VENDOR}-${OS}${RELEASE}" elif [ -f $DIR_SBIN/faxsetup.${VENDOR}-${OS}${RELEASE} ]; then . $DIR_SBIN/faxsetup.${VENDOR}-${OS}${RELEASE} CONFIG_FILES="$CONFIG_FILES $DIR_SBIN/faxsetup.${VENDOR}-${OS}${RELEASE}" elif [ -f $DIR_SBIN/faxsetup.${CPU}-${VENDOR}-${OS} ]; then . $DIR_SBIN/faxsetup.${CPU}-${VENDOR}-${OS} CONFIG_FILES="$CONFIG_FILES $DIR_SBIN/faxsetup.${CPU}-${VENDOR}-${OS}" elif [ -f $DIR_SBIN/faxsetup.${VENDOR}-${OS} ]; then . $DIR_SBIN/faxsetup.${VENDOR}-${OS} CONFIG_FILES="$CONFIG_FILES $DIR_SBIN/faxsetup.${VENDOR}-${OS}" elif [ -f $DIR_SBIN/faxsetup.${CPU}-${VENDOR} ]; then . $DIR_SBIN/faxsetup.${CPU}-${VENDOR} CONFIG_FILES="$CONFIG_FILES $DIR_SBIN/faxsetup.${CPU}-${VENDOR}" elif [ -f $DIR_SBIN/faxsetup.${VENDOR} ]; then . $DIR_SBIN/faxsetup.${VENDOR} CONFIG_FILES="$CONFIG_FILES $DIR_SBIN/faxsetup.${VENDOR}" elif [ -f $DIR_SBIN/faxsetup.${OS} ]; then . $DIR_SBIN/faxsetup.${OS} CONFIG_FILES="$CONFIG_FILES $DIR_SBIN/faxsetup.${OS}" fi # # Flush cached values if something was specified on the # command line # if onServer; then REASON= if [ $WITHARGS = yes ]; then REASON="of command line parameters" elif [ "$CONFIG_FILES" ]; then REASON=`find $CONFIG_FILES -newer $DIR_SPOOL/etc/setup.cache -print 2>/dev/null` test "$REASON" && REASON="$REASON has been updated" fi if [ "$REASON" ] && [ -f $DIR_SPOOL/etc/setup.cache ]; then Note "Flushing cached parameters because $REASON." Note "" rm -f $DIR_SPOOL/etc/setup.cache fi if [ -f $DIR_SPOOL/etc/setup.cache ]; then Note "Reading cached parameters from $DIR_SPOOL/etc/setup.cache." Note "" . $DIR_SPOOL/etc/setup.cache fi fi # # Double-check these settings... # if [ ! -x "$TIFF2PDF" ] || [ "$TIFF2PDF" = "bin/tiff2pdf" ]; then TIFF2PDF=`findAppDef tiff2pdf $PATH bin/tiff2pdf` if [ "$TIFF2PDF" != "bin/tiff2pdf" ]; then test -x "$TIFF2PDF" && Note "Found converter: $TIFF2PDF" fi fi test -x "$PCL6CMD" || { PCL6CMD=`findAppDef pcl6 $PATH pcl6` test -x "$PCL6CMD" && Note "Found PCL converter: $PCL6CMD" } test -x "$UUENCODE" || { UUENCODE=`findAppDef uuencode $PATH uuencode` test -x "$UUENCODE" && Note "Found uuencode encoder: $UUENCODE" } # $BASE64ENCODE may contain parameters cmd=`echo "$BASE64ENCODE" | $SED -e "s/^ *//" -e "s/ .*$//"` test -x "$cmd" || BASE64ENCODE=`findAppDef mimencode $PATH mimencode` test -x "$BASE64ENCODE" || BASE64ENCODE=`findAppDef base64-encode $PATH base64-encode` test -x "$BASE64ENCODE" || BASE64ENCODE=`findAppDef base64 $PATH base64` test -x "$BASE64ENCODE" || { if [ -x "$UUENCODE" ]; then if capture "$UUENCODE -m $PASSWD foo"; then BASE64ENCODE="$UUENCODE -m ==== | $GREP -v ====" fi fi } test -n "$BASE64ENCODE" && Note "Found base64 encoder: $BASE64ENCODE" # $QPENCODE may contain parameters cmd=`echo $QPENCODE | $SED -e "s/^ *//" -e "s/ .*$//"` test -x "$cmd" || { cmd=`findAppDef mimencode $PATH mimencode` QPENCODE="$cmd -q" test -x $cmd || { QPENCODE=`findAppDef qp-encode $PATH qp-encode` } } test -n "$QPENCODE" && Note "Found Quoted-Printable encoder: $QPENCODE" if [ -n "$BASE64ENCODE" ]; then if [ "$ENCODING" != "base64" ]; then ENCODING=base64 Note "Looks like $BASE64ENCODE supports base64 encoding." fi elif [ -x "$UUENCODE" ]; then if [ "$ENCODING" != "x-uuencode" ]; then ENCODING=x-uuencode Note "Looks like $UUENCODE does not support base64 encoding." fi fi # $MIMENCODE may contain parameters cmd=`echo "$MIMENCODE" | $SED -e "s/^ *//" -e "s/ .*$//"` test -x "$cmd" || { MIMENCODE=`findAppDef mimencode $PATH mimencode` } test -n "$MIMENCODE" && Note "Found mimencode for compatibilty: $MIMENCODE" RM="$RMCMD -f" # remove file for use below # # Deduce the effective user id: # 1. POSIX-style, the id program # 2. the old whoami program # 3. last gasp, check if we have write permission on /dev # euid=`id|$SED -e 's/.*uid=[0-9]*(\([^)]*\)).*/\1/'` test -z "$euid" && euid=`(whoami) 2>/dev/null` test -z "$euid" && test -w /dev && euid=root if [ "$euid" != "root" ]; then bitch "Sorry, but you must run this script as the super-user!" boom fi onClient && Note "Checking system for proper client configuration." onServer && Note "Checking system for proper server configuration." # # Verify configuration parameters are correct. # dirMisConfigured() { cat >&2 <&2 <<-EOF FATAL ERROR: $DIR_SPOOL does not exist or is not a directory! The HylaFAX spooling area $DIR_SPOOL does not exist or this file is not a directory. If the HylaFAX software is not yet installed you must do so before running this script. If the software is installed but is configured for use in a different location than this script expects then you may override the default pathname by running this script with a -with-DIR_SPOOL option; e.g. faxsetup -with-DIR_SPOOL=/var/spool/someplace_unexpected EOF boom } cd $DIR_SPOOL DIRS="archive bin client config dev docq doneq etc info log\ pollq recvq sendq status tmp" for i in $DIRS; do test -d $i || dirMisConfigured $DIR_SPOOL/$i done # # XXX should check permission and ownership of sensitive dirs # # Setup TMPDIR before anything can trap and rm it TMPDIR=`(mktemp -d /tmp/.faxsetup.XXXXXX) 2>/dev/null` if test x$TMPDIR = x; then TMPDIR=/tmp/.faxsetup$$ fi $RM -rf $TMPDIR (umask 077 ; mkdir $TMPDIR) || exit 1 JUNK="etc/setup.tmp" trap "$RM \$JUNK; $RM -r \$TMPDIR; exit 1" 1 2 15 exec 5>etc/setup.tmp echo '# Warning, this file was automatically generated by faxsetup' >&5 echo '# on' `date` "for ${USER:-$euid}" >&5 fi # # Basic client installation. # if onClient; then test -d $DIR_BIN || dirMisConfigured $DIR_BIN for file in sendfax sendpage faxstat faxalter faxcover faxmail faxrm; do test -x $DIR_BIN/$file || { cat >&2 <&2 <&2 <&2 <&2 <&2 <&4 <&2 <&2 </dev/null 2>&1; then true elif test -r conffifo; then # NB: not everyone has test -p true else cat >&2 </dev/null 2>&1 return } CheckAwk $AWK || { cat >&2 </dev/null | $AWK -F '[ ]' ' BEGIN { start = 0; } /Search path:/ { start = 1 } { if (start == 1) { if ($1 == "") { gsub(" ","") gsub("^[.]","") gsub("^:","") printf "%s", $0 } else if ($1 != "Search") start = 0 } } ' } genFontmap() { FONTMAP_FILE=$1 Note "" Note "Generating Fontmap $FONTMAP_FILE." Note "" echo "% HylaFAX FontMap file generated by faxsetup on `date 2>/dev/null`" > $FONTMAP_FILE for d in `echo $2 | $SED 's/:/ /g'`; do if [ -d "$d" ]; then cd $d for f in `ls | grep '\.afm'`; do $AWK -F '[ ]' '/FontName/ {print "/"$2"\t("FILENAME")\t;"; exit}; // {}' $f >> $FONTMAP_FILE done fi done } validateFont() { FONTNAME=$1 FONTMAP_PATH=$2 FONT_PATH=$3 # Note "" # Note "Searching for a font named $FONTNAME." # Note "" ALIAS=$FONTNAME while [ "$ALIAS" != "$LAST_ALIAS" ]; do LAST_ALIAS=$ALIAS for d in `echo $FONTMAP_PATH | $SED 's/:/ /g'`; do if [ -d "$d" ]; then cd $d for f in Fontmap Fontmap.GS Fontmap.HylaFAX; do if [ -f $f ]; then OUTPUT=`$SED -n -e 's/^\/'$ALIAS'[ ]*\((\([^)]*\))\|\/\([^ ;]*\)\).*/\2\3/p' $f` if [ -n "$OUTPUT" ]; then # Allow later files to overwrite previous definitions ALIAS=$OUTPUT fi fi done fi done done FONTFILE=`echo $ALIAS | sed -e 's/\.[^./]*$//'` for d in `echo $FONT_PATH | $SED 's/:/ /g'`; do if [ -f "$d/$FONTFILE.afm" ] || [ -f "$d/$FONTFILE" ]; then echo $FONTNAME return fi done } getDefaultFont() { FONTNAME=$1 FONTMAP_PATH=$2 FONT_PATH=$3 FONTNAME=`validateFont $FONTNAME $FONTMAP_PATH $FONT_PATH` if [ -n "$FONTNAME" ]; then echo $FONTNAME return fi # Requested font not found, searching for Courier FONTNAME=`validateFont Courier $FONTMAP_PATH $FONT_PATH` if [ -n "$FONTNAME" ]; then echo $FONTNAME return fi Note "" Note "Searching for a default font." Note "" # Courier font not found, searching for any font, with a # preference for fixed, non-italic, non-bold font. MAX=-1 for d in `echo $FONT_PATH | $SED 's/:/ /g'`; do if [ -d "$d" ]; then cd $d for f in `ls | grep '\.afm'`; do VAL=`$AWK -F '[ ]' ' /^IsFixedPitch / {count++; if (tolower($2) == "true") val += 100} /^ItalicAngle / {count++; if ($2 == 0) val += 10} /^Weight / {count++; if (tolower($2) == "regular") val += 5; if (tolower($2) == "normal") val += 4; if (tolower($2) == "roman") val += 3; if (tolower($2) == "medium") val += 2; if (tolower($2) == "book") val += 1} // {if (count >= 3) exit} BEGIN {val = count = 0} END {print val} ' $f` if [ $VAL -gt $MAX ]; then MAX=$VAL FONTNAME=`echo $f | sed -e 's/\.[^./]*$//'` fi done fi done echo $FONTNAME return } if [ -f $DIR_LIBDATA/hyla.conf ]; then CONFIGURED_PATH_AFM=`$SED -n -e 's/^FontPath:[ ]*\(.*\)/\1/p' $DIR_LIBDATA/hyla.conf` CONFIGURED_PATH_FONTMAP=`$SED -n -e 's/^FontMap:[ ]*\(.*\)/\1/p' $DIR_LIBDATA/hyla.conf` CONFIGURED_TEXTFONT=`$SED -n -e 's/^TextFont:[ ]*\(.*\)/\1/p' $DIR_LIBDATA/hyla.conf` fi if [ -n "$CONFIGURED_TEXTFONT" ]; then FONTNAME=$CONFIGURED_TEXTFONT else FONTNAME=Courier fi if [ -n "$CONFIGURED_PATH_FONTMAP" ]; then FONTMAP_PATH=$CONFIGURED_PATH_FONTMAP else FONTMAP_PATH=$PATH_AFM fi if [ -n "$CONFIGURED_PATH_AFM" ]; then FONT_PATH=$CONFIGURED_PATH_AFM else FONT_PATH=$PATH_AFM fi FOUND_FONTNAME=`getDefaultFont $FONTNAME $FONTMAP_PATH $FONT_PATH` if [ "$FOUND_FONTNAME" != "$FONTNAME" ]; then genFontmap $DIR_LIBDATA/Fontmap.HylaFAX $FONT_PATH FOUND_FONTNAME=`getDefaultFont $FONTNAME $FONTMAP_PATH:$DIR_LIBDATA $FONT_PATH` if [ "$FOUND_FONTNAME" = "$FONTNAME" ]; then # Font was found using our local Fontmap file FONTMAP_PATH=$FONTMAP_PATH:$DIR_LIBDATA else RUNTIME_PATH_AFM=`getGSFonts` if [ -n "$RUNTIME_PATH_AFM" ] && \ ( [ "$RUNTIME_PATH_AFM" != "$FONTMAP_PATH" ] || \ [ "$RUNTIME_PATH_AFM" != "$FONT_PATH" ] ); then FONTMAP_PATH=$RUNTIME_PATH_AFM FONT_PATH=$RUNTIME_PATH_AFM FOUND_FONTNAME=`getDefaultFont $FONTNAME $FONTMAP_PATH $FONT_PATH` if [ "$FOUND_FONTNAME" != "$FONTNAME" ]; then FOUND_FONTNAME=`getDefaultFont $FONTNAME $FONTMAP_PATH:$DIR_LIBDATA $FONT_PATH` if [ -n "$FOUND_FONTNAME" ]; then # Font was found using our local Fontmap file FONTMAP_PATH=$FONTMAP_PATH:$DIR_LIBDATA fi fi fi fi fi if [ -n "$FOUND_FONTNAME" ] && [ "$FOUND_FONTNAME" != "$FONTNAME" ]; then # Requested font not found # Setting default font to the best one found FONTNAME=$FOUND_FONTNAME fi if [ -n "$FONTNAME" ]; then Note "" Note "Found $FONTNAME to use as default font." Note "" else Note "" Note "Found no font to use as default font. You will most probably" Note "have to specify a font on textfmt command line." Note "" fi if [ -n "$FONTMAP_PATH" ] && \ ( [ "$CONFIGURED_PATH_FONTMAP" != "$FONTMAP_PATH" ] || \ [ "$CONFIGURED_PATH_AFM" != "$FONT_PATH" ] || \ [ "$CONFIGURED_TEXTFONT" != "$FONTNAME" ] ); then if [ -f $DIR_LIBDATA/hyla.conf ]; then $AWK '!/^FontMap|^FontPath|^TextFont|\/FontPath added by|^# Font configuration added by/ { print }' \ $DIR_LIBDATA/hyla.conf > $DIR_LIBDATA/hyla.conf.tmp fi if [ -n "$FONTMAP_PATH" ] && \ ( [ "$PATH_FONTMAP" != "$FONTMAP_PATH" ] || \ [ "$PATH_AFM" != "$FONT_PATH" ] || \ [ "Courier" != "$FONTNAME" ] ); then Note "" Note "Setting font configuration in $DIR_LIBDATA/hyla.conf." Note "" echo "# Font configuration added by faxsetup (`date 2>/dev/null`)" \ >> $DIR_LIBDATA/hyla.conf.tmp fi if [ -n "$FONTMAP_PATH" ] && [ "$PATH_FONTMAP" != "$FONTMAP_PATH" ]; then echo "FontMap: $FONTMAP_PATH" >> $DIR_LIBDATA/hyla.conf.tmp PATH_FONTMAP=$FONTMAP_PATH fi if [ -n "$FONT_PATH" ] && [ "$PATH_AFM" != "$FONT_PATH" ]; then echo "FontPath: $FONT_PATH" >> $DIR_LIBDATA/hyla.conf.tmp PATH_AFM=$FONT_PATH fi if [ -n "$FONTNAME" ] && [ "Courier" != "$FONTNAME" ]; then echo "TextFont: $FONTNAME" >> $DIR_LIBDATA/hyla.conf.tmp fi $MV $DIR_LIBDATA/hyla.conf.tmp $DIR_LIBDATA/hyla.conf fi # # Installation of Adobe Font Metric files # if [ -z "$FONT_PATH" ];then cat >&4 <&1 | grep tiffg3 >/dev/null 2>&1 || { cat >&2 <&2 </dev/null 2>&1 if [ $? -eq 2 ]; then if expr $RELEASE \>= 6.2 >/dev/null; then cat >&2 <= 6.2 >/dev/null; then cat >&2 </dev/null` if [ "$t" != hello ]; then cat >&2 <