head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.38 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.36 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.34 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.32 pkgsrc-2011Q2-base:1.7 pkgsrc-2009Q4:1.7.0.30 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.7.0.28 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.26 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.24 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.22 pkgsrc-2008Q2-base:1.7 pkgsrc-2008Q1:1.7.0.20 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.18 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.16 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.14 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.12 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.10 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.8 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.6 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.4 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.2 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.6.0.6 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.4 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.2 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.5.0.6 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.4 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.2 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.3; locks; strict; comment @# @; 1.7 date 2005.10.30.20.14.07; author adrianp; state dead; branches; next 1.6; 1.6 date 2005.01.27.16.22.37; author adam; state Exp; branches 1.6.6.1; next 1.5; 1.5 date 2004.05.22.11.58.42; author wiz; state Exp; branches 1.5.6.1; next 1.4; 1.4 date 2003.09.25.03.38.30; author grant; state dead; branches; next 1.3; 1.3 date 2001.05.10.21.00.34; author dmcmahill; state Exp; branches; next 1.2; 1.2 date 2000.08.30.09.50.46; author abs; state dead; branches; next 1.1; 1.1 date 2000.08.29.17.08.38; author abs; state Exp; branches; next ; 1.6.6.1 date 2005.10.30.22.56.09; author salo; state dead; branches; next ; 1.5.6.1 date 2005.02.21.17.42.53; author snj; state Exp; branches; next ; desc @@ 1.7 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-as,v 1.6 2005/01/27 16:22:37 adam Exp $ --- faxd/Class2Send.c++.orig 2004-11-23 18:11:02.000000000 +0000 +++ faxd/Class2Send.c++ @@@@ -450,7 +450,7 @@@@ Class2Modem::sendPageData(TIFF* tif, u_i 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.6 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.6.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-as,v 1.6 2005/01/27 16:22:37 adam Exp $ @ 1.5 log @Add patches to fix build on alpha; from Dave Huang in PR 25666. @ text @d3 1 a3 1 --- faxd/Class2Send.c++.orig 2003-04-19 18:23:51.000000000 +0200 d5 1 a5 1 @@@@ -394,7 +394,7 @@@@ Class2Modem::sendPageData(TIFF* tif, u_i @ 1.5.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-as,v 1.6 2005/01/27 16:22:37 adam Exp $ d3 1 a3 1 --- faxd/Class2Send.c++.orig 2004-11-23 18:11:02.000000000 +0000 d5 1 a5 1 @@@@ -450,7 +450,7 @@@@ Class2Modem::sendPageData(TIFF* tif, u_i @ 1.4 log @remove patches which shouldn't be here (hi, abs!) @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.3 2001/05/10 21:00:34 dmcmahill Exp $ d3 11 a13 11 fix type mismatch on 64 bit machines --- faxd/FaxModem.c++.orig Mon Feb 5 01:32:57 2001 +++ faxd/FaxModem.c++ Thu May 10 16:48:15 2001 @@@@ -815,5 +815,5 @@@@ void -FaxModem::correctPhaseCData(u_char* buf, u_long* pBufSize, +FaxModem::correctPhaseCData(u_char* buf, uint32* pBufSize, u_int fillorder, const Class2Params& params) { @ 1.3 log @fix type mismatch for 64 bit machines. Should not affect 32 bit machines. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 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 Update to hylafax-4.1b2nb2 @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.1 2000/08/29 17:08:38 abs Exp $ d3 11 a13 14 --- util/typerules.orig Mon Oct 12 21:47:48 1998 +++ util/typerules @@@@ -128,6 +128,11 @@@@ >15 string ascii ps %F/textfmt -B -f Courier-Bold\ -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.1 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 @d1 1 a1 1 $NetBSD$ @