head	1.9;
access;
symbols
	pkgsrc-2013Q2:1.9.0.38
	pkgsrc-2013Q2-base:1.9
	pkgsrc-2012Q4:1.9.0.36
	pkgsrc-2012Q4-base:1.9
	pkgsrc-2011Q4:1.9.0.34
	pkgsrc-2011Q4-base:1.9
	pkgsrc-2011Q2:1.9.0.32
	pkgsrc-2011Q2-base:1.9
	pkgsrc-2009Q4:1.9.0.30
	pkgsrc-2009Q4-base:1.9
	pkgsrc-2008Q4:1.9.0.28
	pkgsrc-2008Q4-base:1.9
	pkgsrc-2008Q3:1.9.0.26
	pkgsrc-2008Q3-base:1.9
	cube-native-xorg:1.9.0.24
	cube-native-xorg-base:1.9
	pkgsrc-2008Q2:1.9.0.22
	pkgsrc-2008Q2-base:1.9
	pkgsrc-2008Q1:1.9.0.20
	pkgsrc-2008Q1-base:1.9
	pkgsrc-2007Q4:1.9.0.18
	pkgsrc-2007Q4-base:1.9
	pkgsrc-2007Q3:1.9.0.16
	pkgsrc-2007Q3-base:1.9
	pkgsrc-2007Q2:1.9.0.14
	pkgsrc-2007Q2-base:1.9
	pkgsrc-2007Q1:1.9.0.12
	pkgsrc-2007Q1-base:1.9
	pkgsrc-2006Q4:1.9.0.10
	pkgsrc-2006Q4-base:1.9
	pkgsrc-2006Q3:1.9.0.8
	pkgsrc-2006Q3-base:1.9
	pkgsrc-2006Q2:1.9.0.6
	pkgsrc-2006Q2-base:1.9
	pkgsrc-2006Q1:1.9.0.4
	pkgsrc-2006Q1-base:1.9
	pkgsrc-2005Q4:1.9.0.2
	pkgsrc-2005Q4-base:1.9
	pkgsrc-2005Q3:1.8.0.6
	pkgsrc-2005Q3-base:1.8
	pkgsrc-2005Q2:1.8.0.4
	pkgsrc-2005Q2-base:1.8
	pkgsrc-2005Q1:1.8.0.2
	pkgsrc-2005Q1-base:1.8
	pkgsrc-2004Q4:1.7.0.6
	pkgsrc-2004Q4-base:1.7
	pkgsrc-2004Q3:1.7.0.4
	pkgsrc-2004Q3-base:1.7
	pkgsrc-2004Q2:1.7.0.2
	pkgsrc-2004Q2-base:1.7
	pkgsrc-2004Q1:1.6.0.4
	pkgsrc-2004Q1-base:1.6
	pkgsrc-2003Q4:1.6.0.2
	pkgsrc-2003Q4-base:1.6
	netbsd-1-6-1:1.5.0.6
	netbsd-1-6-1-base:1.5
	netbsd-1-6:1.5.0.8
	netbsd-1-6-RELEASE-base:1.5
	pkgviews:1.5.0.4
	pkgviews-base:1.5
	buildlink2:1.5.0.2
	buildlink2-base:1.5
	netbsd-1-5-PATCH003:1.5
	netbsd-1-5-PATCH001:1.4
	netbsd-1-5-RELEASE:1.3
	netbsd-1-4-PATCH003:1.3
	netbsd-1-4-PATCH002:1.1.1.1
	comdex-fall-1999:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.9
date	2005.10.30.20.14.07;	author adrianp;	state dead;
branches;
next	1.8;

1.8
date	2005.01.27.16.22.37;	author adam;	state Exp;
branches
	1.8.6.1;
next	1.7;

1.7
date	2004.05.22.11.58.42;	author wiz;	state Exp;
branches
	1.7.6.1;
next	1.6;

1.6
date	2003.06.27.12.18.13;	author hubertf;	state dead;
branches;
next	1.5;

1.5
date	2001.07.08.13.32.15;	author bad;	state Exp;
branches;
next	1.4;

1.4
date	2001.04.23.15.06.20;	author abs;	state Exp;
branches;
next	1.3;

1.3
date	2000.08.30.09.50.46;	author abs;	state Exp;
branches;
next	1.2;

1.2
date	2000.08.29.17.08.38;	author abs;	state Exp;
branches;
next	1.1;

1.1
date	99.08.11.06.04.30;	author rh;	state Exp;
branches
	1.1.1.1;
next	;

1.8.6.1
date	2005.10.30.22.56.09;	author salo;	state dead;
branches;
next	;

1.7.6.1
date	2005.02.21.17.42.53;	author snj;	state Exp;
branches;
next	;

1.1.1.1
date	99.08.11.06.04.30;	author rh;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Security fixes for SA16906 (CAN-2005-3069 and CAN-2005-3070) from hylafax CVS
Remove obsolete patches to make this build again on NetBSD (x86)
@
text
@$NetBSD: patch-ar,v 1.8 2005/01/27 16:22:37 adam Exp $

--- faxd/Class1Send.c++.orig	2004-12-29 02:16:46.000000000 +0000
+++ faxd/Class1Send.c++
@@@@ -1673,7 +1673,7 @@@@ Class1Modem::sendPage(TIFF* tif, Class2P
 	uint32* stripbytecount;
 	(void) TIFFGetField(tif, TIFFTAG_STRIPBYTECOUNTS, &stripbytecount);
 	tstrip_t strip;
-	u_long totdata = 0;
+	uint32 totdata = 0;
 	for (strip = 0; strip < nstrips; strip++)
 	    totdata += stripbytecount[strip];
 	/*
@


1.8
log
@Changes 4.2.1:

* fix CAN-2004-1182: hfaxd client/server authentication
  vulnerability (10 Jan 2005)
* fix possible filename race in tiff2pdf (10 Jan 2005)
* improve modern distinctive ring support, add
  NoAnswerVoice config feature, and enhance third-party
  getty interaction (1, 2 Jan 2005)
* add support for etc/resetmodem (30 Dec 2004)
* fix NOTIFY_FAXMASTER within notify (30 Dec 2004)
* improve tiff2pdf and use it more (29 Dec 2004)
* fix 300 dpi support for some receivers (28 Dec 2004)
* cause faxsetup to double-check and fix attachment encoding
  setup (27 Dec 2004)
* add uuencode support in pollrcvd (27 Dec 2004)
* add support for base64-encode (27 Dec 2004)
* check strftime with arguments, gcc-3.3 fix (23 Dec 2004)
* initialize some variables in some scripts that may not
  be initialzed in setup.cache (23, 27 Dec 2004)
* remove need to have separate "fax" user (22 Dec 2004)
* fix parsing of AT+FCLASS=? response within faxaddmodem
  and probemodem (21 Dec 2004)
* improve multi-line handling within notify (20 Dec 2004)
* improve trap handling in faxaddmodem/probemodem (17 Dec 2004)
* fix hfaxd from rejecting jobs scheduled for the past while
  the killtime is still in the future (15 Dec 2004)
* drop ftp links from received notification e-mail (8 Dec 2004)
* fix dial-and-answer feature (2 Dec 2004)
* add NSF recognition for MFC-3100C (29 Nov 2004)
* fix Class 1 support for services "0,1.0" (26 Nov 2004)
* limit hfaxd jobs cache size (23 Nov 2004)
* fix hfaxd ABOR command and trigger (23 Nov 2004)
* fix error when hfaxd FIFO fills (23 Nov 2004)
* document -age option for recvstats/xferfaxstats (23 Nov 2004)
* add coversheet information into the q-file (23 Nov 2004)
* fix documentation regarding DesiredEC (23 Nov 2004)
* change minsp to minbr for consistency (23 Nov, 2 Dec 2004)
* fix hfaxd problem with file descriptors (23 Nov 2004)
* fix hfaxd from dying on ECONNABORTED (23 Nov 2004)
* add -fpic to DSO build for non-x86 Linux (23 Nov 2004)
* add CALL records to xferfaxlog and LogCalls config (16 Nov 2004)
* fix/implement desireddf in faxsend and faxq (29 Oct 2004)
* fix the filetype output for JPARM DOCUMENTS (14 Oct 2004)
* add SHIELDED_DTMF option for CIDNumber (7 Oct 2004)
* add Class1Resolutions, deprecate Class1ExtendedRes (20 Sep 2004)
* fix a bug in notify when the job is killed (15 Sep 2004)
* initialize supplementary groups when switching
  uid (13 Sep, 8 Dec 2004)
* fix faxsend to retrain after receiving RTP (9 Sep 2004)
* fix tiffcheck unit comparison error (1 Sep 2004)
* fix misconfirmation of some ECM faxes (30 Aug 2004)
* add fax batching support to faxq (30 Aug, 9 Sep 2004)
* ignore garbage after sending TCF data (26 Aug 2004)
* fix truncation of filenames in faxcron (26 Aug 2004)
* add configure support for libtiff 3.7 (25 Aug 2004)
* extend short send-HDLC timeouts (18 Aug 2004)
* add a pause after receiving MCF on non-ECM send sessions (18 Aug 2004)
* fix broken fax polling (17 Aug 2004)
* add several timing enhancements for stressed
  servers (16 Aug, 10, 15 Sep, 14 Oct 2004)
@
text
@d1 1
a1 1
$NetBSD$
@


1.8.6.1
log
@Pullup ticket 868 - requested by Adrian Portelli
security fixes for hylafax

Revisions pulled up:
- pkgsrc/comms/hylafax/Makefile			1.44
- pkgsrc/comms/hylafax/distinfo			1.15
- pkgsrc/comms/hylafax/patches/patch-aj		removed
- pkgsrc/comms/hylafax/patches/patch-ak		removed
- pkgsrc/comms/hylafax/patches/patch-ar		removed
- pkgsrc/comms/hylafax/patches/patch-as		removed
- pkgsrc/comms/hylafax/patches/patch-ba		1.1
- pkgsrc/comms/hylafax/patches/patch-bb		1.1
- pkgsrc/comms/hylafax/patches/patch-bc		1.1
- pkgsrc/comms/hylafax/patches/patch-bd		1.1
- pkgsrc/comms/hylafax/patches/patch-be		1.1

   Module Name:		pkgsrc
   Committed By:	adrianp
   Date:		Sun Oct 30 20:14:07 UTC 2005

   Modified Files:
   	pkgsrc/comms/hylafax: Makefile distinfo
   Added Files:
   	pkgsrc/comms/hylafax/patches: patch-ba patch-bb patch-bc patch-bd
   	    patch-be
   Removed Files:
   	pkgsrc/comms/hylafax/patches: patch-aj patch-ak patch-ar patch-as

   Log Message:
   Security fixes for SA16906 (CAN-2005-3069 and CAN-2005-3070) from hylafax
   CVS
   Remove obsolete patches to make this build again on NetBSD (x86)
@
text
@d1 1
a1 1
$NetBSD: patch-ar,v 1.8 2005/01/27 16:22:37 adam Exp $
@


1.7
log
@Add patches to fix build on alpha; from Dave Huang in PR 25666.
@
text
@d3 1
a3 1
--- faxd/Class1Send.c++.orig	2003-02-08 23:58:09.000000000 +0100
d5 1
a5 1
@@@@ -797,7 +797,7 @@@@ Class1Modem::sendPage(TIFF* tif, const C
@


1.7.6.1
log
@Pullup ticket 303 - requested by Lubomir Sedlacik
security fix for hylafax

Revisions pulled up:
- pkgsrc/comms/hylafax/distinfo		1.12
- pkgsrc/comms/hylafax/Makefile		1.42
- pkgsrc/comms/hylafax/PLIST		1.8
- pkgsrc/comms/hylafax/distinfo		1.13
- pkgsrc/comms/hylafax/patches/patch-ac	1.7
- pkgsrc/comms/hylafax/patches/patch-ae	1.9-1.10
- pkgsrc/comms/hylafax/patches/patch-af	1.7
- pkgsrc/comms/hylafax/patches/patch-ah	1.6
- pkgsrc/comms/hylafax/patches/patch-ai	1.9
- pkgsrc/comms/hylafax/patches/patch-aj	1.6
- pkgsrc/comms/hylafax/patches/patch-ak	1.6
- pkgsrc/comms/hylafax/patches/patch-al	1.6
- pkgsrc/comms/hylafax/patches/patch-an	1.7
- pkgsrc/comms/hylafax/patches/patch-ao	1.7
- pkgsrc/comms/hylafax/patches/patch-ap	1.8
- pkgsrc/comms/hylafax/patches/patch-aq	removed
- pkgsrc/comms/hylafax/patches/patch-ar	1.8
- pkgsrc/comms/hylafax/patches/patch-as	1.6


    Module Name:    pkgsrc
    Committed By:   markd
    Date:           Mon Jan  3 22:58:14 UTC 2005

    Modified Files:
            pkgsrc/comms/hylafax: distinfo
            pkgsrc/comms/hylafax/patches: patch-ae

    Log Message:
    Fix configure to allow build with libtiff 3.7.

    ---

    Module Name:    pkgsrc
    Committed By:   adam
    Date:           Thu Jan 27 16:22:37 UTC 2005

    Modified Files:
            pkgsrc/comms/hylafax: Makefile PLIST distinfo
            pkgsrc/comms/hylafax/patches: patch-ac patch-ae patch-af patch-ah
                patch-ai patch-aj patch-ak patch-al patch-an patch-ao patch-ap
                patch-ar patch-as
    Removed Files:
            pkgsrc/comms/hylafax/patches: patch-aq

    Log Message:
    Changes 4.2.1:

    * fix CAN-2004-1182: hfaxd client/server authentication
      vulnerability (10 Jan 2005)
    * fix possible filename race in tiff2pdf (10 Jan 2005)
    * improve modern distinctive ring support, add
      NoAnswerVoice config feature, and enhance third-party
      getty interaction (1, 2 Jan 2005)
    * add support for etc/resetmodem (30 Dec 2004)
    * fix NOTIFY_FAXMASTER within notify (30 Dec 2004)
    * improve tiff2pdf and use it more (29 Dec 2004)
    * fix 300 dpi support for some receivers (28 Dec 2004)
    * cause faxsetup to double-check and fix attachment encoding
      setup (27 Dec 2004)
    * add uuencode support in pollrcvd (27 Dec 2004)
    * add support for base64-encode (27 Dec 2004)
    * check strftime with arguments, gcc-3.3 fix (23 Dec 2004)
    * initialize some variables in some scripts that may not
      be initialzed in setup.cache (23, 27 Dec 2004)
    * remove need to have separate "fax" user (22 Dec 2004)
    * fix parsing of AT+FCLASS=3D? response within faxaddmodem
      and probemodem (21 Dec 2004)
    * improve multi-line handling within notify (20 Dec 2004)
    * improve trap handling in faxaddmodem/probemodem (17 Dec 2004)
    * fix hfaxd from rejecting jobs scheduled for the past while
      the killtime is still in the future (15 Dec 2004)
    * drop ftp links from received notification e-mail (8 Dec 2004)
    * fix dial-and-answer feature (2 Dec 2004)
    * add NSF recognition for MFC-3100C (29 Nov 2004)
    * fix Class 1 support for services "0,1.0" (26 Nov 2004)
    * limit hfaxd jobs cache size (23 Nov 2004)
    * fix hfaxd ABOR command and trigger (23 Nov 2004)
    * fix error when hfaxd FIFO fills (23 Nov 2004)
    * document -age option for recvstats/xferfaxstats (23 Nov 2004)
    * add coversheet information into the q-file (23 Nov 2004)
    * fix documentation regarding DesiredEC (23 Nov 2004)
    * change minsp to minbr for consistency (23 Nov, 2 Dec 2004)
    * fix hfaxd problem with file descriptors (23 Nov 2004)
    * fix hfaxd from dying on ECONNABORTED (23 Nov 2004)
    * add -fpic to DSO build for non-x86 Linux (23 Nov 2004)
    * add CALL records to xferfaxlog and LogCalls config (16 Nov 2004)
    * fix/implement desireddf in faxsend and faxq (29 Oct 2004)
    * fix the filetype output for JPARM DOCUMENTS (14 Oct 2004)
    * add SHIELDED_DTMF option for CIDNumber (7 Oct 2004)
    * add Class1Resolutions, deprecate Class1ExtendedRes (20 Sep 2004)
    * fix a bug in notify when the job is killed (15 Sep 2004)
    * initialize supplementary groups when switching
      uid (13 Sep, 8 Dec 2004)
    * fix faxsend to retrain after receiving RTP (9 Sep 2004)
    * fix tiffcheck unit comparison error (1 Sep 2004)
    * fix misconfirmation of some ECM faxes (30 Aug 2004)
    * add fax batching support to faxq (30 Aug, 9 Sep 2004)
    * ignore garbage after sending TCF data (26 Aug 2004)
    * fix truncation of filenames in faxcron (26 Aug 2004)
    * add configure support for libtiff 3.7 (25 Aug 2004)
    * extend short send-HDLC timeouts (18 Aug 2004)
    * add a pause after receiving MCF on non-ECM send sessions (18 Aug 2004)
    * fix broken fax polling (17 Aug 2004)
    * add several timing enhancements for stressed
      servers (16 Aug, 10, 15 Sep, 14 Oct 2004)
@
text
@d1 1
a1 1
$NetBSD: patch-ar,v 1.8 2005/01/27 16:22:37 adam Exp $
d3 1
a3 1
--- faxd/Class1Send.c++.orig	2004-12-29 02:16:46.000000000 +0000
d5 1
a5 1
@@@@ -1673,7 +1673,7 @@@@ Class1Modem::sendPage(TIFF* tif, Class2P
@


1.6
log
@Update hylafax to 4.1.5. Fixes a security hole!


Other changes:

Changelog for HylaFAX 4.1.5 - Oct 21, 2002

* fix lockfile polling race condition (21 Oct 2002)

Changelog for HylaFAX 4.1.4 - Oct 20, 2002

* fix broken polling in Class 1 (08 Oct 2002)
* change pollrcvd to behave similarly to faxrcvd (06 Oct 2002)
* fix faxqclean to not miss certain orphaned files (01 Oct 2002)
* change faxrcvd to only require 4 parameters (01 Oct 2002)
* fix recvstats to handle new Super G3 faxing speeds (01 Oct 2002)
* cause faxgetty to poll for lockfiles while RUNNING (01 Oct 2002)
* cause faxq to explicitly trigger LOCKWAIT for faxgetty (01 Oct 2002)
* replace the select bug workaround with a better fix (01 Oct 2002)
* allow sendfax -z option to accept whitespace in file (22 Sep 2002)
* add -f and -c options to probemodem (20 Sep 2002)
* improve sendfax parsing of '-z' destination file (22 Sept 2002)
* disabled Solaris DSO support due to problems (13 Sep 2002)
* add Class1ResponseWaitCmd to help USR send errors (13 Sep 2002)
* add recognition of most of Japan NSF codes (13 Sep 2002)
* fix notify manpage to not include commid (13 Sep 2002)
* fix +XMonth capability of "at" syntax to use 12 month year (13 Sep 2002)
* fix killtime to allow >= 24 day settings (13 Sep 2002)
* add RingExtended config option (29 Aug 2002)
* pass CID information to faxrcvd when using faxanswer (27 Aug 2002)
* increase the RING timeout setting to six seconds (27 Aug 2002)
* break lucent-isa prototype from lucent (27 Aug 2002)
* add Class1MsgRecvHackCmd otpion (21 Aug 2002)
* add faxqclean -A (force archiving) option (20, 29 Aug 2002)
* fix pdf2fax to be installed properly for custom packaging (19 Aug 2002)
* add Digi AccelePort prototype support (15 Aug 2002)
* number DSOs according to the HylaFAX version (15 Aug 2002)
* make faxalter accept more than one option at a time (14 Aug 2002)
* add recognition of all US and UK NSF codes (14 Aug 2002)
* change ModemBaudRateDelay default to help USRs reset (13 Aug 2002)
* fix xferfaxstats to handle new Super G3 faxing speeds (08 Aug 2002)
* support page counting for PDFs (02 Aug 2002)
* change sendfax to warn users about bad placement of "-d" options (02 Aug 2002)
* fixed faxaddmodem and probemodem for portability (02, 07 Aug 2002)
* corrected some comments in prototype config files (01 Aug 2002)
* added support for new USR Courier modem (01 Aug 2002)

Changelog for HylaFAX 4.1.3 - Jul 27, 2002

* change some comments in the usr-xon and usr-rts (27 Jul 2002)
* synchronize faxd/tif_fax3.h with libtiff's (23 Jul 2002)
* remove the SGI logo from the default coverpage (23 Jul 2002)
* documentation clarification for NoCarrierRetries (22 Jul 2002)
* fix notify.awk to handle jobtag values with colons (19 Jul 2002)
* remove admin-only restriction to the tagline (16 Jul 2002)
* adds prototype support for MultiTech ISI5634PCI (09 Jul 2002)
* caused the wedged script to give exit status (06 Jul 2002)
* allowed faxgetty to identify extended RING data as a RING (06 Jul 2002)
* fixed a buffer overflow when receiving long scan lines (06 Jul 2002)
* enhanced Class1Modem::parseQuery() to parse correctly +FTM responses
  which contain item ranges (dashes) (27 Jun 2002)
* made fixes to enable gcc v3.0 compatibility (15 Jun 2002)
* made minor changes for Sun Forte compiler compatibility (14 Jun 2002)
* fixed hostname format string vulnerabilities in faxrm, faxalter,
  faxstat, sendfax, sendpage, and faxwatch (14 Jun 2002)
* added TagLineFormat option for receiver's name (14 Jun 2002)
* added MultiTech RTFCC support via Class2RTFCC option (11, 28 Jun 2002)
* workaround a Lucent V92 firmware bug in HDLC frame tracing (08 Jun 2002)
* added Class2PTSQueryCmd for broken Class 2.0 firmwares (08 Jun 2002)
* fixed a TSI format string vulnerability in faxgetty (08 Jun 2002)
* fixed faxrcvd creation of PDFs other than letter size (08 Jun 2002)
* added sendfax -z option to read destinations from a file (08 Jun 2002)
* updated 'make clobberconfig' (27 May 2002)
* added support for Solaris DSOs (24 May 2002)
* fixed Class 1 sending CRP handling (24 May 2002)
* changed Class 1 reception protocol to tolerate long syslog
  delays which could be encountered in extremely heavy loads (24 May 2002)
* added prototype support for Sedlbauer Speedfax ISDN (24 May 2002)
* added Class1TCFRecvHack config option (24 May 2002)
* changed Class1SwitchingDelay to Class1SwitchingCmd (24 May 2002)
* more 64-bit system compatibility enhancement (24 May 2002)
* large update added initial Class 2.1 and V.34-fax support in particular
  for the MultiTech MT5634ZBA-V92 and MT5634ZPX-PCI-V92 (23 May, 14 Jun 2002)
* have faxsetup check the fax user home directory (23 May 2002)
* allow server-side usage of DisplayNumber in dialrules (23 May 2002)
* changed various scripts for POSIX compliance (23 May 2002)
* fixed a logging error in faxqclean (23 May 2002)
* added prototype support for RocketModem PCI (10 May 2002)
* changed the options proccessing order to fix Desired* options (03 May 2002)
* added prototype support for Eicon Diva modems (03 May 2002)
* enhanced configure for OSF-5.1A utmp support (03 May 2002)
* fixed a five-second delay when receiving DID (03 May 2002, 27 May 2002)
* added prototype for Davicom modems (03 May 2002)
* fixed faxqclean to keep referenced docs in the doneq (03 May 2002)
* Japanization and 64-bit system enhancement (03 May 2002)
* fixed a configure problem with sed-3.02.80 (03 May 2002, 23 May 2002)
* fixed a copy quality logic error with Class 2 reception (03 May 2002)
* documented the use of "-1" values in sendfax for MaxDials (03 May 2002)
* correct JobReqOther from interfering with other requeing (03 May 2002)
* add preliminary job archiving support (03 May 2002)
* make stripping of binaries in html conditional on HTML=yes (13 Apr 2002)

Changelog for HylaFAX 4.1.2 - Apr 11, 2002

* T.4 incompatability error message more descriptive (11 Apr 2002)
* fix faxcron to prevent it from deleting seqf files (11 Apr 2002)
* alter faxaddmodem to perform regex on the ATI0 result (7 Apr 2002)
* enhance defaults to recognize and configure Mac OS X (7 Apr 2002)
* change PWD usage in configure to PWDCMD (7 Apr 2002)
* add notification message to timedout jobs (7 Apr 2002)
* cleanup previous Topic modem enhancement (7 Apr 2002)
* cleanup previous Digital Unix enhancement (7 Apr 2002)
* cleanup previous "F" status enhancement (7 Apr 2002)
* changed many prototype configs to use 19200 baud instead of 38400
  and to not use the "@@" dial-command option (7 Apr 2002)
* fix segfault in faxqclean (28 Feb 2002)

Changelog for HylaFAX 4.1.1 - Feb 24, 2002

* resolve faxsetup and textfmt problems with Ghostscript 6.5
  where Fontmap.GS could not be found (14 Feb 2002)
* fix blocked jobs from getting requeued at the end (14 Feb 2002)
* caused faxgetty to pass CIDName to faxrcvd and enhance
  documentation to include DNIS details (14 Feb 2002)
* gave failed jobs status "F" instead of "D" (14 Feb 2002)
* add Topic modem prototype config support (14 Feb 2002)
* replace Class1Send[EOP|PPM|TCF]Delay with
  Class1[EOP|PPM|TCF]WaitCmd, using +FTS for these pauses,
  resolving some timing issues (14 Feb 2002)
* fix PriorityScheduling and update html for SCO (13 Feb 2002)
* added OpenUNIX support (13 Feb 2002)
* updated config.guess (13 Feb 2002)
* correct ECM detection in Class 2 (2 Feb 2002)
* added ModemSoftResetCmdDelay default and option (2 Feb 2002)
* enhanced Class 1 parseQuery to allow for the use
  of parenthesis (2 Feb 2002)
* added NSF entries for various machine types (2 Feb 2002)
* fixed hfaxd from always exiting nonzero with inetd (2 Feb 2002)
* altered logging to prevent double-double quoting (2 Feb 2002)
* fixed pageSendApp.c++ logging pointer (2 Feb 2002)
* changed the faxaddmodem default to select Class 1 (2 Feb 2002)
* adjusted Class1SwitchingDelay default to fix ISDNs (2 Feb 2002)
* added prototype config support for some Boca, USR, and
  Practical Peripherals modems (2 Feb 2002)
* corrected problems building on Digital UNIX Alphas (2 Feb 2002)
* improved faxgetty glare handling (2 Feb 2002)
* improved some logging verbosity (2 Feb 2002)
* fixed an RTNHandlingMethod typo (16 Dec 2001)
* fixed RTNHandlingMethod brokenness (15 Oct 2001)
* corrected DestControls ability to use numeric arguments and other
  similar DestControls fixes (12 Aug 2001)
* more Lucent and K56 modem prototype config support (12 Aug 2001)
* workaround: stopped trying to utilize NDIS frames (12 Aug 2001)
* added Class1SendMsgDelay (12 Aug 2001)
* enhanced the logging of garbage frames (12 Aug 2001)
* added prototype config support for Hayes Optima (12 Aug 2001)
* fixed faxgetty's parsing of Class 1.0 in +FCLASS=? (12 Aug 2001)
* finally added faxcover "from" options and corrected it to
  function as documented for comments (12 Aug 2001)
* corrected and enhanced earlier QualifyTSI fix (12 Aug 2001)
* updated config.guess, config.sub from gcc-3.0 (18 Jul 2001)
* cause the sequence files to begin at 1 rather than 2 (15 Jul 2001)
* include external MultiTech into lucent-mt-2 (15 Jul 2001)
* apply use of "none" to rc32acl prototype config (15 Jul 2001)
* corrected documentation regarding some defaults (15 Jul 2001)
* fixed stripQuotes for unexpected TSI quoting (15 Jul 2001)
* integrate Linux DSO support (15 Jul 2001)
* fixed bash v2 verbosity in probemodem (15 Jul 2001)
* note to run hfaxd as root if run from inetd (4 Jul 2001)
* remove setuid from hfaxd in pkg (4 Jul 2001)
* add INSTALL to distrules (4 Jul 2001)
* add prototype config for Prometheus (3 Jul 2001)
* correct timing of DCN after failed QualifyTSI check (2 Jul 2001)
* fix Class 1 EOM handling (2 Jul 2001)
* add Class1SendEOPDelay config option and increase the default
  from 95ms to 200ms to prevent modem timeouts (2 Jul 2001)
* enhance faxrcvd to utilize CID, use FILETYPE (for FaxDispatch), and
  other minor faxrcvd enhancments (2 Jul 2001)
* pass CID data through successive rings and to faxrcvd (2 Jul 2001)
* caused bulk faxes to drop in requeue priority (2 Jul 2001)
* fix faxaddmodem from mis-parsing a modem's phone number (2 Jul 2001)
* added 7-bit text support to typerules (2 Jul 2001)
* stop faxqclean from deleting docq files that are in-use (2 Jul 2001)
* fixed a bash barf when VERSION changed (2 Jul 2001)
* caused configure to check zlib before libtiff (2 Jul 2001)
* added prototype config support for AT&T Lucent modem (2 Jul 2001)
* applied the use of "none" in rc288dpi config (2 Jul 2001)

Patch contributed by Andreas Hallmann <Andreas.Hallmann@@tiscali.de
in PR 21804.
@
text
@d1 1
a1 1
$NetBSD: patch-ar,v 1.5 2001/07/08 13:32:15 bad Exp $
d3 11
a13 14
--- util/typerules.orig	Sun Apr 15 06:58:06 2001
+++ util/typerules	Sun Jul  8 00:48:02 2001
@@@@ -134,6 +134,11 @@@@
 >15     string          ascii		ps	%F/textfmt -B -f Courier-Bold\
 						-Ml=0.4in -p 11 -s %s >%o <%i
 #
+# Japanization (should help other iso-2022 variants too)
+#
+#>15	string		asciiesc	ps	a2ps-j -l '' -p -ns -nt <%i >%o
+#0	asciiesc	x		ps	a2ps-j -l '' -p -ns -nt <%i >%o
+#
 # This causes anything else with ascii-only data to be treated as text.
 #
 0	ascii		x		ps	%F/textfmt -B -f Courier-Bold\
@


1.5
log
@Update Hylafax to 4.1 release.

Because the beta package was named 4.1b3 name this 4.1nb1.

Note that the spool directory has moved from /var/spool/fax to
/var/spool/hylafax.  Notify the user about this from faxsetup if appropriate.

Use root:wheel as SYSUID:SYSGID so the install does not mess up the
permissions on $PREFIX/{bin,sbin} etc.

Changelog for HylaFAX 4.1 - Jul 1, 2001
* tidied up README & INSTALL for full release (01 Jul 2001)
* repaired dangling references to recently renamed manpages (01 Jul 2001)
* no other changes - 4.1rc2 basically promoted to 4.1

Changelog for HylaFAX 4.1rc2 - Jun 17, 2001

* corrected some default JobReq* values (17 Jun 2001)
* clarified documentation on sendfax -k option (17 Jun 2001)
* added prototype configs for Courier and Zyxel models (17 Jun 2001)
* added "Modem" option to DestControls (17 Jun 2001)
* fix a segfault when processing null HDLC frames (17 Jun 2001)
* continue manpage naming transition of 03 Jun (13 Jun 2001)
* fix minor flaw in PriorityScheduling documentation (13 Jun 2001)
* improve faxsetup onClient routines (07, 14 Jun 2001)
* impose a T2 timeout on faxgetty vulnerability (07 Jun 2001)
* updates for HTML documentation (07 Jun 2001)

Changelog for HylaFAX 4.1rc1 - Jun 04, 2001

* remove use of /sbin/killall, problematic on Tru64 (04 Jun 2001)
* fix ModemServer.c++ for OpenBSD (04 Jun 2001)
* change manpage names: config to hylafax-config, info to
  hylafax-info, log to hylafax-log, and shutdown to
  hylafax-shutdown (03 Jun 2001)
* add configs for UMC9624 and MT5634ZPX-PCI modems (03 Jun 2001)
* fix TimeOfDay race if using bad syntax (03 Jun 2001)
* break the initialization string apart and
  remove ModemOnHookCmd from it (03 Jun 2001)
* allow use of "none" in five config options (03 Jun 2001)
* add HylaFAX version and device usage in logs (30 May 2001)
* rearrangements in configure to fix HP sed (30 May 2001)
* change default spool dir to /var/spool/hylafax (29 May 2001)
* make ModemServer attempt resets twice, if needed (29 May 2001)
* fixes for building outside of source tree (27 May 2001)
* fixes for 'make package' (27 May 2001)
* removed a goto in faxd/Class1Send.c++ which
  caused compile errors for some (27 May 2001)
* improved error handling for:  (20 May 2001)
  - DLE+ETX
  - ERROR after AT+FRM (instead of +FCERROR)
  - faxgetty training hangups
* added ModemDTRDropDelay config option and default,
  correcting some "Can not setup modem" issues (20 May 2001)
* improved logging verbosity for SEND FAILED (20 May 2001)
* updated various documentation antiquities (20 May 2001)
* added Lucent (LT) Winmodem prototype config (20 May 2001)
* added default status/any.info creation by faxsetup (20, 27 May 2001)
* added PriorityScheduling option and POSIX function (20 May 2001)
* fixed previous utmp update for libc5 (20 May 2001)
* added Class1SwitchingDelay config option and default,
  correcting some timeout errors (20 May 2001)
* fixed file gid numbering (20 May 2001)
* Adjusted faxq to load-balance modems with equal priority (22 Apr 2001)
* Added new CONTRIBUTORS (14 Apr 2001)
* Merged performance-rts into rc288dpi-1 config file (14/19 Apr 2001)
* Fixed vix.com reference in hylafax-server man page (14 Apr 2001)
* Fixed \(dg character mis-recognition in faxwatch man page (14 Apr 2001)
* Fixed hard-coded man page numbers in scripts (14/16 Apr 2001)
* Clarify documentation of MaxConcurrentJobs (14 Apr 2001)
* Alter install of hfaxd to not be suid (13 Apr 2001)
* Fix hfaxd -q format string vulnerability (13 Apr 2001)
* Add more NSF codes to known-NSF list (26 Mar 2001, 14 Apr 2001)
* Fix to allow null-TSI matching (19 Mar 2001)
* Fix USR default use of Class2APQueryCmd (19 Mar 2001)
* Added server-side PDF conversion (19 Mar 2001, 14/17 Apr 2001)
* Correct a typo in wedged man page (08 Mar 2001)
* Fixed incorrect paths in some man pages (08 Mar 2001)
* Various utmpx, LOCKS, and IXO_XMITTIMEOUT fixes (08 Mar 2001)
@
text
@d1 1
a1 1
$NetBSD: patch-ar,v 1.4 2001/04/23 15:06:20 abs Exp $
@


1.4
log
@Update hylafax to 4.1b3, including the recent hfaxd fmt vulnerability fix.

Changelog for 1.4beta3:

* creation of doneq manpage (20Feb2001)
* changed link order in defs.in to fix SCO 3.2v4.2 (11Feb2001)
* standardize default TagLine behavior (05Feb2001)
* add prototype support for more Cirrus modems (05Feb2001)
* added faxstat %Y and %Z JobFmt options (04Dec2000)
* man/sendfax corrections (26Nov2000, 04Dec2000, 05Feb20001)
* replace \(tm and dagger characters in manpages (26Nov2000, 04Dec2000)
* correct recvstats and xferfaxstats from skipping 1st day of month (26Nov2000)
* added prototype support to usr-rts and usr-xon configs (15Nov2000, 05Feb2001)
* added prototype support to config/usr-2.0 (15Nov2000)
* added prototype support to config/rc288dpi (15Nov2000)
* replace SysV SIGCLD define with posix SIGCHLD define (15Nov2000)
* fix faxsetup typo causing a bash error (30Oct2000)
* some typos in the tarball. Corrected Hylafax -> HylaFAX (29Oct2000)
* rework of README, COPYRIGHT, and CONTRIBUTORS files (29Oct2000, 04Dec2000)
* man/config corrections (29Oct2000, 26Nov2000)
* awk fix for Solaris (28Oct2000)
* created a non-interactive configure option (21Oct2000)
* various html documentation updates (15Oct2000)
* significant SysV init-script upgrade (15Oct2000, 31Oct2000)
* remove useless and problematic verifyModemRate from faxaddmodem (24Sep2000)
* fix faxsetup/faxaddmodem fuser errors (24Sep2000, 30Oct2000)
* replace MANSEDLOCAL from configure and manpage numbering fixes
  (23Sep2000, 13Nov2000, 06Feb2001)
* clean up code to create FDIS strings and temp filename creation in
  SendFaxClient (21Sep2000)
* sprintf type cleanups to faxd files (21Sep2000)
* fix fxAssert that was around the wrong way in Str.c++ (21Sep2000)
* replace sprintf with snprintf in faxadduser, faxdeluser and faxmsg
  (20Sep2000)
* trap some other potential overflows in faxmsg (20-21Sep2000)
* enhance the durability of the fxStr classes format() and vformat() methods
  using the [v]snprintf functions (20Sep2000)
* replace sprintf() call in faxalter.c++ with fxStr::format() (20Sep2000)
* add snprintf and vsnprintf to port functions (20Sep2000, 15Nov2000)
* fix format functions(ie sprintf) so that they are not called twice
  on the same string (20Sep2000)
* fix typo fxStr::format() to fxStr::vformat() in ModemServer.c++ (19Sep2000)
* ensure the va_list in ModemServer.c++ is not reused (16Sep2000)
* fix isolating snprintf calls to fxStr class (16Sep2000)
* cleaned up some potential buffer overflows (16Sep2000)
* fix faxsetup for Linux users (14Sep2000)
* fix faxsetup crashes due to useradd not supporting -o option (13Sep2000,
  19Sep2000)
* Class 1 fixes: (08Sep2000)
    - fix minimum scan line time
    - fix first and last scan lines
    - fix some EOP/MPS errors
    - ModemRecvFillOrder default value is now autodetected
    - Class 2.0 for USR modems is now disabled by default if no ModemType
    - ModemFlowControl default value is now XONXOFF instead of NONE
    - correct ModemMfrQueryCmd and ModemModelQueryCmd default values
* fix ugly bash-2 script output in faxaddmodem (05Sep2000)
* shift the left margin in 0.4 inches when invoking textfmt (04Sep2000)
* fix 2 instances of find statement so that it doesn't select directories
  (04Sep2000)
* add -dFIXEDMEDIA in ps2fax.gs to cope with broken Windows Postscript
  (04Sep2000)
* add letter size paper handling to ps2gax.gs script (04Sep2000)
* fix pagesize handling in faxmail (04Sep2000)
* zlib removed from HylaFAX distribution (03Sep2000, 16Sep2000)
* Class 2 fix post-page response (AT+FET) (02Sep2000)
* fix problem on some Solaris systems using gcc (31Aug2000)
* fix a missing format specifier in the FaxRecv.c++ traceServer() call
  (29Aug2000)
* portably fix faxaddmodem to not cause grep to complain about directories
  (29Aug2000)
* Class 2 RTN algorithm changed. RTNHandlingMethod parameter added (26Aug2000)
* checks added to prevent possible crash when the DTE returns a broken NSF
  frame (25Aug2000)
* typerules support for PDF (23Aug2000)
* fix vendorIdSize const definition to be outside the class itself
  (14-15Aug2000)
* use @@SCRIPT_SH@@ instead of /bin/sh in recvstats, faxcron, and xferfaxstats
  (21Jul2000)
* correct awk substr to be explicitly origin-1 in faxcron (21Jul2000)
* fix variable assignment in faxsetup else loop (21Jul2000)
* fix unbounded access to fxStr nsf in NSF.c++ (29Jun2000)
* rename rockwell config file to rockwell-rc (23Jun2000)
* defensive shell programming action (18Jun2000)
* BSD and other portability fixes (18Jun2000)
* security fixes (18Jun2000, 23Jun2000)
* Class 2 fix to distinguish between RTN and PIN (07Jun2000)
* Dmitry's class1-general patch: (07Jun2000)
    - Decoding T.30 DIS Frame
    - HDLC Timeout
    - Numberof training attempts
    - Correct delay on soft-resets
* beautify SysV init script output (05Jun2000)
* new config file for the AT&T DataPort Express in Class 2 (03Jun2000)
* silence pointless stty errors when running faxaddmodem on Linux (03Jun2000)
* SCO 5 workaround for ioctl (03Jun2000)
* add '-type f' to find invocation in faxcron (01Jun2000)
* added ModemSoftResetCmd to the start of default reset string (29May2000)
* rework of configure libtiff test; supports detecting 3.4 and 3.5
  (28May2000, 29May2000, 03Jun2000, 06Jun2000, 08Jun2000, 13Aug2000)
* allow HylaFAX to print national characters in the tagline (29Mar2000)
* clean up lingering docq files on multi-destination faxes (23Mar2000)
* fix problem with NSF.c++ decode() routine (18May2000)
* recognition of common NSF strings from fax vendors (15May2000)
* remove unused 'modemresetcmd' from ModemConfig.c++ (11May2000)
* libtiff-3.5 compatibility fix!!! (11May2000)
* fix O_EXCL handling when opening sequence file (31Mar2000)
* fix Y2K rollover bug (29Mar2000)
* fix erronious xferfaxstats/recvstats output (29Mar2000)
* correction so faxcron returns traces of suspicious failures (29Mar2000)
* automatically call BreakIntoCommentX in faxcover to create commentX vars
  (10Mar2000, 17Mar2000)
* reorder header files in SuperServer.c++ (10Mar2000)
* Y2K fix to SNPPClient.c++ (08Mar2000)
* fix to faxQueueApp.c++ crackArgv function to correctly handle end of
  string (08Mar2000)
* added snprintf protoype checking to configure (05Mar2000, 10Mar2000)
* ensure that fd_set is properly defined in the Dispatcher header file
  (05Mar2000)
* fixed mkstemp wrapper function in util/Sys.h (05Mar2000)
* added missing 'char*' declaration to cp variable in faxcover (03Mar2000)
* added new config file for Performance modems (29Feb2000)
* create new config file: rockwell-k56 (04Dec1999, 29Feb2000, 22Jun2000)
* updated info about the mailing list archives and added info about the links
  and resources page to the supporting documentation section (03Dec1999)
* made mavigation links consistent in html (03Dec1999)
* in html recommend 1.16b firmware to reduce T.30 T2 timeout errors for
  Multitech (03Dec1999)
* created icon used for navigation in modem pages (21Nov1999)
* html updated for new modem pages and contents.gif icon (21Nov1999)
* security fixes (17-18Nov1999)
    - cleaned up whitespace in MIMEState.c++
    - added a glibc check after mkstemp() in faxmail
    - fixed another potential overflow in imgtofax.c
* security fix for faxcover (17Nov1999)
* zlib configure fixes (17Nov1999, 03Mar2000)
* fix faxalter security vulnerability (11Nov1999)
* fix the BoundingBox parameter in TextFmt.c++ (10Sep1999)
* incorporated the version number into the config.h file (02Sep1999)
* prefer sigaction() over sigvec() for signal handling functions (01Sep1999)
* Unixware portability fixes (01Sep1999)
* support work for HP-UX 11 (23Aug1999, 02Sep1999, 06Sep2000)
* support gcc-2.95 (23Aug1999, 27Aug1999, 30May2000)
* broke hylafax manpage into hylafax-server and hylafax-client (18Aug1999,
  15Oct2000)
* add Ultrix Guidance in html (18Aug1999)
* created manpages for faxadduser and faxdeluser (11Aug1999)
* continued fixes due to renaming etc/hosts to etc/hosts.hfaxd (05Aug1999,
  15Oct2000)
* added faxadduser and faxdeluser utilities (05Aug1999, 11Aug1999)
* fixes in the package directory (05Aug1999)
* standardize defines included in Makefile headers among the subdirectories
  (05Aug1999)
* removed section numbers from manpages in html (02-03Aug1999)
* html modems list updated (26Jul1999)
* fix bool in configure (26Jul1999)
* configure script updates (26Jul1999)
* added support for Elsa Microlink modem (15Jul1999)
* various information updates for change to hylafax.org (15Jul1999)
* change ModemClass parameter to ModemGroup (10Jul1999)
* created a BreakIntoCommentX faxcover function (30Jun1999, 10Jul1999)
@
text
@d1 1
a1 1
$NetBSD$
d3 3
a5 3
--- util/typerules.orig	Mon Sep  4 06:57:44 2000
+++ util/typerules
@@@@ -129,6 +129,11 @@@@
@


1.3
log
@- Install template config files in share/hylafax/*_template/, and then copy
  into /var/spool/fax, rather than trying to use symlinks which break under
  chroot().
- Add basic rc.d/hylafax.sh startup script
- Use tiff-3.5-interfaces.patch, pointed out by Bernd Proissl <news@@proissl.de>
Update to hylafax-4.1b2nb2
@
text
@d3 1
a3 1
--- util/typerules.orig	Mon Oct 12 21:47:48 1998
d5 1
a5 1
@@@@ -128,6 +128,11 @@@@
d7 1
a7 1
 						    -p 11 -s %s >%o <%i
@


1.2
log
@Patch faxd/tif_fax3.h to avoid potential infinite loop in EXPAND1D and EXPAND2D
This package still has bizarre issues with trying to symlink everything across
from /var/spool/fax into /usr/pkg/..., which breaks probably due to judicious
use of chroot(). That _really_ needs to be fixed
@
text
@d3 14
a16 11
--- util/faxcron.sh.in.orig	Tue Jun 29 12:55:07 1999
+++ util/faxcron.sh.in
@@@@ -41,7 +41,7 @@@@
 AGELOG=30			# keep log info for last 30 days
 AGERCV=7			# purge received facsimile after 2 days
 AGETMP=1			# purge orphaned temp files after 1 day
-FAXUSER=fax			# owner of log files
+FAXUSER=@@FAXUID@@		# 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
@


1.1
log
@Initial revision
@
text
@d3 11
a13 27
--- Makefile.in.orig	Sat Feb 14 11:46:32 1998
+++ Makefile.in	Fri Apr 16 00:03:33 1999
@@@@ -247,22 +247,13 @@@@
 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 \
+	-${MKDIR} -p -m 755 ${PREFIX}/share/doc/hylafax
+	${INSTALL} -m 444 -F ${PREFIX}/share/doc/hylafax -idb hylafax.sw.server \
 	    -src ${SRCDIR}/COPYRIGHT -O COPYRIGHT
 	@@if [ "@@ZLIB@@" = yes ]; then \
 	    ${ECHO} "= "zlib; cd zlib; ${MAKE} install; \
@


1.1.1.1
log
@Initial import of hylafax-4.1b1, a telecommunication and fax server system,
as reported by myself in pkg/6678, with tons of modifications.
@
text
@@
