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.10 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.8 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.6 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.4 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.2 pkgsrc-2003Q4-base:1.5 netbsd-1-6-1:1.4.0.6 netbsd-1-6-1-base:1.4 netbsd-1-6:1.4.0.8 netbsd-1-6-RELEASE-base:1.4 pkgviews:1.4.0.4 pkgviews-base:1.4 buildlink2:1.4.0.2 buildlink2-base:1.4 netbsd-1-5-PATCH003:1.4 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.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 2003.09.23.21.39.48; author abs; state Exp; branches 1.5.10.1; next 1.4; 1.4 date 2001.04.23.15.06.17; 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.29; author rh; state Exp; branches 1.1.1.1; next ; 1.6.6.1 date 2005.10.30.22.56.09; author salo; state dead; branches; next ; 1.5.10.1 date 2005.02.21.17.42.53; author snj; state Exp; branches; next ; 1.1.1.1 date 99.08.11.06.04.29; author rh; 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-ak,v 1.6 2005/01/27 16:22:37 adam Exp $ --- faxd/FaxModem.h.orig 2004-09-20 19:18:07.000000000 +0000 +++ faxd/FaxModem.h @@@@ -152,7 +152,7 @@@@ protected: /* * Correct if neccessary Phase C (T.4/T.6) data (remove extra RTC/EOFB etc.) */ - int correctPhaseCData(u_char* buf, u_long* pBufSize, + int correctPhaseCData(u_char* buf, uint32* pBufSize, u_int fillorder, const Class2Params& params); /* * Convert Phase C data... @ 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-ak,v 1.6 2005/01/27 16:22:37 adam Exp $ @ 1.5 log @Update hylfax to 4.1.7. Changes since 4.1.5: * added new edit-faxcover script * added various enhancements to faxsetup * default libtiff v3.6 compatibility * added NOTIFY_FAXMASTER and ENCODING parameters for FaxDispatch * added 2D-MMR support for Class 2 modems that support it * added RingTimeout, ModemRingResponse, CIDNumberAnswerLength, and CIDNameAnswerLength modem config parameters * support for MultiTech MT5634ZDXb and MT5634ZBA-DID * added subaddressing specification capability to sendfax * numerous bugfixes (several significant) and build cleanups * fixes the PageChop feature that broken in 4.1.6 Also fixed some cosmetic NetBSD issues with faxadmodem @ text @d3 1 a3 1 --- faxd/FaxModem.h.orig Sat Apr 26 08:11:21 2003 d5 1 a5 1 @@@@ -144,7 +144,7 @@@@ protected: d7 1 a7 1 * Correct if neccessary Phase C (T.4) data (remove extra RTC etc.) d9 2 a10 2 - void correctPhaseCData(u_char* buf, u_long* pBufSize, + void correctPhaseCData(u_char* buf, uint32* pBufSize, d12 2 a13 2 public: enum { // FaxModem::RTNHandling @ 1.5.10.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-ak,v 1.6 2005/01/27 16:22:37 adam Exp $ d3 1 a3 1 --- faxd/FaxModem.h.orig 2004-09-20 19:18:07.000000000 +0000 d5 1 a5 1 @@@@ -152,7 +152,7 @@@@ protected: d7 1 a7 1 * Correct if neccessary Phase C (T.4/T.6) data (remove extra RTC/EOFB etc.) d9 2 a10 2 - int correctPhaseCData(u_char* buf, u_long* pBufSize, + int correctPhaseCData(u_char* buf, uint32* pBufSize, d12 2 a13 2 /* * Convert Phase C data... @ 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 @d3 3 a5 8 --- faxd/UUCPLock.c++.orig Thu Sep 21 10:24:54 2000 +++ faxd/UUCPLock.c++ @@@@ -37,6 +37,7 @@@@ } #endif #include +#include d7 7 a13 16 * UUCP Device Locking Support. @@@@ -146,8 +147,13 @@@@ if (!pwd) faxApp::fatal("Can not deduce identity of UUCP"); UUCPuid = pwd->pw_uid; - UUCPgid = pwd->pw_gid; endpwent(); // paranoia + + const group *grp = getgrnam(FAX_GROUP); + if (!grp) + faxApp::fatal("Can not deduce group identity of '" FAX_GROUP "'"); + UUCPgid = grp->gr_gid; + endgrent(); // paranoia } } uid_t UUCPLock::getUUCPUid() { setupIDs(); return UUCPuid; } @ 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 Update to hylafax-4.1b2nb2 @ text @d3 1 a3 1 --- faxd/UUCPLock.c++.orig Sun Jun 13 08:41:05 1999 @ 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 @@ 1.1 log @Initial revision @ text @d3 25 a27 11 --- util/faxcron.sh.in.orig Tue Jun 29 13:55:07 1999 +++ util/faxcron.sh.in Mon Aug 9 22:06:17 1999 @@@@ -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.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 @@