]> git.ipfire.org Git - thirdparty/HylaFAX.git/log
thirdparty/HylaFAX.git
20 months agoMake sure message didn't get truncated before sending command to FIFO
Patrice Fournier [Wed, 24 Oct 2012 16:13:39 +0000 (12:13 -0400)] 
Make sure message didn't get truncated before sending command to FIFO

20 months agoFIFO sending utilities must send NUL character at the end of commands
Patrice Fournier [Wed, 24 Oct 2012 16:12:53 +0000 (12:12 -0400)] 
FIFO sending utilities must send NUL character at the end of commands

Without NUL character, calling utilities in succession has chances of
concatenating different commands in a single invalid one.

7 years agoAddress CVE-2018-17141 and fixes a few vulnerabilities in code supporting JPEG
Patrice Fournier [Tue, 18 Sep 2018 03:00:53 +0000 (23:00 -0400)] 
Address CVE-2018-17141 and fixes a few vulnerabilities in code supporting JPEG

These changes are adapted from Lee's fix for this vulnerability.

Luis Merino, Markus Vervier, and Eric Sesterhenn of X41 D-SEC GmbH
(Security Advisory: X41-2018-008) discovered an uninitialized pointer write
and also an out-of-bounds write in FaxModem::writeECMData() that could lead
to remote code execution with a specially-crafted fax sender.

These changes fix the coding errors and deliberately prevent malicious and
malfunctioning senders from inadvertently or deliberately setting JPEG and
MH/MR/MMR/JBIG formats in the same DCS signal.

7 years agoFix GCC-7 compiler error
Patrice Fournier [Mon, 9 Oct 2017 20:06:36 +0000 (16:06 -0400)] 
Fix GCC-7 compiler error

11 years agoFix memory corruption when using libtiff v4.0 or newer
Thomas Jarosch [Thu, 31 Jul 2014 12:58:08 +0000 (14:58 +0200)] 
Fix memory corruption when using libtiff v4.0 or newer

One tag was missed when adapting to
libtiff v4.0 uint64 data types.

Upstream libtiff documents the following tags as changed:
   TIFFTAG_FREEBYTECOUNTS
   TIFFTAG_FREEOFFSETS

   TIFFTAG_STRIPBYTECOUNTS
   TIFFTAG_STRIPOFFSETS

   TIFFTAG_TILEBYTECOUNTS
   TIFFTAG_TILEOFFSETS

13 years agoAllow TSI to be specified in config file (and with X-FAX-TSI header)
Patrice Fournier [Tue, 3 Jul 2012 20:50:32 +0000 (16:50 -0400)] 
Allow TSI to be specified in config file (and with X-FAX-TSI header)

13 years agoserverconfig fixup: JobRetryOther + JobRequeueOther
Aidan Van Dyk [Wed, 27 Jun 2012 02:50:21 +0000 (22:50 -0400)] 
serverconfig fixup: JobRetryOther + JobRequeueOther

13 years agoCheck faxanswer "how" parameter length...
Patrice Fournier [Wed, 27 Jun 2012 02:50:30 +0000 (22:50 -0400)] 
Check faxanswer "how" parameter length...

13 years agoThe last line of a configuration file may not be terminated by a '\n'
Patrice Fournier [Wed, 27 Jun 2012 02:50:30 +0000 (22:50 -0400)] 
The last line of a configuration file may not be terminated by a '\n'

Make sure the last character of a read line is '\n' before nuking it.

13 years agoSet fax status on glare errors
Patrice Fournier [Wed, 27 Jun 2012 02:50:30 +0000 (22:50 -0400)] 
Set fax status on glare errors

13 years agofaxsend: JobRetryOther/JobRequeueOther weren't actually being used
Aidan Van Dyk [Tue, 8 May 2012 00:24:10 +0000 (20:24 -0400)] 
faxsend: JobRetryOther/JobRequeueOther weren't actually being used

13 years agoUpdate releasenotes and documentation re IPv6 support
Aidan Van Dyk [Fri, 6 Nov 2009 16:17:40 +0000 (11:17 -0500)] 
Update releasenotes and documentation re IPv6 support

13 years agoStr: Add wchar_t support
Aidan Van Dyk [Wed, 23 Dec 2009 20:27:10 +0000 (15:27 -0500)] 
Str: Add wchar_t support

Some uses of our HylaFAX Clients user wchar_t strings

14 years agoBug 949: notify man page does not mention TEMPLATE variable
Aidan Van Dyk [Tue, 10 Apr 2012 23:32:46 +0000 (19:32 -0400)] 
Bug 949: notify man page does not mention TEMPLATE variable

The notify man page should mention that FaxNotify may set TEMPLATE variable in
order to change the language of the sent email.

This uses the same text as faxrcvd.1m.

14 years agoUpdate release notes, prepare for moving to 6.1
Aidan Van Dyk [Wed, 4 Apr 2012 02:04:22 +0000 (22:04 -0400)] 
Update release notes, prepare for moving to 6.1

14 years agoUpdate releasenotes
Aidan Van Dyk [Wed, 4 Apr 2012 01:14:02 +0000 (21:14 -0400)] 
Update releasenotes

14 years agoSupport libtiff 4.0
Aidan Van Dyk [Wed, 4 Apr 2012 00:07:11 +0000 (20:07 -0400)] 
Support libtiff 4.0

libtiff 4.0 changed a few things:
- no more TIFFDirEntry
- Moved to "Classic" vs "Big" tiffs, so renamed some things
- Moved to 64-bit types for bytecounts/offsets

14 years agohfaxd: Release old accept fd
Aidan Van Dyk [Thu, 3 Nov 2011 19:58:08 +0000 (15:58 -0400)] 
hfaxd: Release old accept fd

By unlinking from the dispatcher early, we prevented it from being
closed in the child, leaving an open listening fd on the main hfaxd
port.

If the main (parent) hfaxd exits, the child will inheret the listen
but won't actually include it in it's selects, or handle it.  It just
prevents a new master hfaxd from binding to it.

14 years agohfaxd: Make source port for active connections be ctrl port - 1
Aidan Van Dyk [Thu, 3 Nov 2011 15:46:40 +0000 (11:46 -0400)] 
hfaxd: Make source port for active connections be ctrl port - 1

Traditionally, active FTP data connections come from port-1 (4558 by default).
Even though firewalls now don't usually rely on that, but do active control connection
inspection to find ports being used, let's try and be as nice as we can to
non FTP-aware firewalls.

This was subtracting 1 before the bites swap, causing it to be 4303 on little
endian machines.

Noticed by Amin Mozafari.

14 years agoman: Dialrules recursion
Aidan Van Dyk [Mon, 12 Sep 2011 19:34:12 +0000 (15:34 -0400)] 
man: Dialrules recursion

14 years agoDialRules - recursively allow dialrules to reference others
Aidan Van Dyk [Mon, 29 Aug 2011 17:36:38 +0000 (13:36 -0400)] 
DialRules - recursively allow dialrules to reference others

This allows rules to reference other rules.  The names are looked up
at runtime, not parse time, so they can reference rules not yet
defined.  The expected usage would be to reference a "canonicalization" rule
(either CanonicalNumber directly, or through some indepenant rule) in
multiple places without needing repeats.

The replace format is of the form be \Name(...)

Example dialrules
    ! rules to canonoicalize numbers to +IDD format
    CanonicalNumber := [
....
    ]
    DialString := [
.* = \CanonicalNumber(&) ! Get the canonical
^[+]${Country}${Area} =  ! Local call
^[+]${Country} = ${LDPrefix} ! domestic long distance
^[+] = ${IDDPrefix} ! International
    ]

There is a recursion depth limit in this, just to avoid infinute rule recursion.

14 years agoDialRules: Avoid abort on zero length matches
Aidan Van Dyk [Fri, 9 Sep 2011 17:24:09 +0000 (13:24 -0400)] 
DialRules: Avoid abort on zero length matches

Pattern rules may contain 0 length matches, such as:
   (^[+])?([0-9]*)

We have nothing to replace it with (mlen = 0), so trying to extract
it from the string causes and abort.  If there is nothing to replace
it with, there is nothing to try extracting for insertion.

If the match reference was not matched in the string, StartOfMatch and
EndOfMatch both return -1, leaving mlen = 0, making it an ideal check
if there is something to extract and insert.

14 years agoDialRules: Warn on invalid escape sequence
Aidan Van Dyk [Tue, 30 Aug 2011 20:48:09 +0000 (16:48 -0400)] 
DialRules: Warn on invalid escape sequence

Instead of just ripping the \ out, make sure we know what the next
character is and warn if it's not a proper digit.

14 years agohfaxd: Eliminte extraneous debug logging
Aidan Van Dyk [Wed, 10 Aug 2011 12:48:46 +0000 (08:48 -0400)] 
hfaxd: Eliminte extraneous debug logging

This code is well excersised, and all this logging in everybody's
syslog is just annoying.

14 years agoUpdate releasenotes
Aidan Van Dyk [Wed, 29 Jun 2011 13:45:18 +0000 (09:45 -0400)] 
Update releasenotes

14 years agoBug 934: We need to avoid a 0-index in playList
Aidan Van Dyk [Thu, 16 Sep 2010 15:51:24 +0000 (11:51 -0400)] 
Bug 934: We need to avoid a 0-index in playList

14 years agoCombine all Fontmap files in memory, including new Fontmap.HylaFAX
Patrice Fournier [Mon, 11 Apr 2011 02:58:32 +0000 (22:58 -0400)] 
Combine all Fontmap files in memory, including new Fontmap.HylaFAX

Reads the Fontmap.HylaFAX created by faxsetup when existing Fontmap
is missing filename mappings. Combine all Fontmap files so that aliases
can now point to entries in other Fontmap files.

14 years agoUse a private Fontmap.HylaFAX file of .pfb files
Patrice Fournier [Fri, 5 Mar 2010 18:53:32 +0000 (13:53 -0500)] 
Use a private Fontmap.HylaFAX file of .pfb files

If the existing Fontmap files do not provide the information to
find the default font, creates a private Fontmap.HylaFAX file
that will list all pfb fonts found to their font names. No
aliases are generated by this and every Fontmap file is searched
for any alias.

14 years agoReworked how faxsetup looks for Fontmap
Patrice Fournier [Fri, 5 Mar 2010 18:40:13 +0000 (13:40 -0500)] 
Reworked how faxsetup looks for Fontmap

If a previous faxsetup had added Fontmap/Fontpath lines in
hyla.conf and the hardcoded Fontmap path is the same as the
installed Ghostscript search path, the previously added
Fontmap/Fontpath lines were left untouched even if they
were not valid anymore.

This patch now looks for a valid combination to set in hyla.conf
and will remove unneeded lines if necessary. It will even set
a default font (using a font filename) if the default "Courier"
font (or any font specified in hyla.conf) is not found using
the Fontmap files.

14 years agoDo not warn about one of the Fontpath directories not existing
Patrice Fournier [Fri, 5 Feb 2010 21:20:54 +0000 (16:20 -0500)] 
Do not warn about one of the Fontpath directories not existing

Fontpath usually contain multiple directories with one or more
not existing. Having faxsetup warn the user about this directory
not existing and having the possibility of causing problems just
confuse users. There is already a warning if no .afm file is
found in any of those directories. That should be enough.

14 years agotyperules: adding missing comma to typeNames array
David Oxley [Tue, 19 Apr 2011 16:10:49 +0000 (12:10 -0400)] 
typerules: adding missing comma to typeNames array

14 years agoman: JobReqError/JobRetryError were missing in hylafax-config.4f
Aidan Van Dyk [Tue, 19 Apr 2011 16:58:43 +0000 (12:58 -0400)] 
man: JobReqError/JobRetryError were missing in hylafax-config.4f

14 years agofaxalter: Wire up the page range -Z options
Aidan Van Dyk [Tue, 14 Dec 2010 20:02:26 +0000 (15:02 -0500)] 
faxalter: Wire up the page range -Z options

Code for range was in place, but the Z: was left out of the option string.

14 years agoCompiler warning cleanup
Aidan Van Dyk [Mon, 30 Aug 2010 17:52:31 +0000 (13:52 -0400)] 
Compiler warning cleanup

14 years agoClass2: Fix hangup cause handling
Aidan Van Dyk [Mon, 30 Aug 2010 17:51:42 +0000 (13:51 -0400)] 
Class2: Fix hangup cause handling

This makes sur that errors on reception in Class2 aren't "missed", as seen in:
Date: Mon, 30 Aug 2010 16:20:51 +0200
From: Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
Subject: [hylafax-users] COMREC error (code 72), Normal and proper end of connection,
To: hylafax-users@hylafax.org
Message-ID: <1283178051.5043.21.camel@scarafaggio>

14 years agofaxq: better capturing of failed conversion output
Aidan Van Dyk [Tue, 10 Aug 2010 20:18:25 +0000 (16:18 -0400)] 
faxq: better capturing of failed conversion output

14 years agoFixes compilation on some platforms
Patrice Fournier [Thu, 24 Jun 2010 14:56:09 +0000 (10:56 -0400)] 
Fixes compilation on some platforms

At least on avr32 Linux with gcc, there was missing casts to a fxmin parameters.

14 years agoBug 928: issues with installClient target of Hylafax
Aidan Van Dyk [Wed, 5 May 2010 15:54:31 +0000 (11:54 -0400)] 
Bug 928: issues with installClient target of Hylafax

make installClient needed:
    installDSO in libhylafax
    installClient in libhylafax
    a fix in the NLS syntax

14 years agopdf2fax/ps2fax: Use -dMaxStripSize=0
Aidan Van Dyk [Wed, 5 May 2010 15:42:46 +0000 (11:42 -0400)] 
pdf2fax/ps2fax: Use -dMaxStripSize=0

Ghostscript changed their default from 0.  Unfortunately, in 8.71, they used a
small 8K, which causes "blank images" when this is send in 2D-MMR right to the
client by faxsend assuming it's a single strip.

This can be overridden/changed using FaxModify.

14 years agomanpages: Updates from debian
Aidan Van Dyk [Wed, 5 May 2010 15:41:55 +0000 (11:41 -0400)] 
manpages: Updates from debian

14 years agonotify: FaxMaster notifications wildcard fixups
Aidan Van Dyk [Wed, 5 May 2010 15:31:23 +0000 (11:31 -0400)] 
notify: FaxMaster notifications wildcard fixups

In the faxmaster notification case, * instead of "*" is needed to match everything.

From David Oxley @ D. E. Shaw & Co.

14 years agoFix calls to pdf2fax/ps2fax in ConvertFile
Patrice Fournier [Fri, 2 Apr 2010 15:01:43 +0000 (11:01 -0400)] 
Fix calls to pdf2fax/ps2fax in ConvertFile

Jorn Dreyer noticed that the call to pdf2fax from ConvertFile
was incorrect in it's handling of the output filename.
The same problem affected the ps2fax call.

14 years agoCorrectly check for long lines when checking for the last match
Patrice Fournier [Fri, 5 Feb 2010 23:34:34 +0000 (18:34 -0500)] 
Correctly check for long lines when checking for the last match

Bodo Meissner found that textfmt would wrongfully return a line
too long error message in some circumstances and suggested a
fix for this.

14 years agoUpdated ftp site address in setup error message
Patrice Fournier [Fri, 5 Mar 2010 17:06:39 +0000 (12:06 -0500)] 
Updated ftp site address in setup error message

14 years agoUpdates LibTIFF homepage URLs
Patrice Fournier [Fri, 5 Feb 2010 20:13:44 +0000 (15:13 -0500)] 
Updates LibTIFF homepage URLs

14 years agoAllow "any" as answer method for FIFO messages
Patrice Fournier [Fri, 22 Jan 2010 21:24:26 +0000 (16:24 -0500)] 
Allow "any" as answer method for FIFO messages

"ANSWER modem" hfaxd command with no method sends "any" as the method.
faxanswer defaults to an empty method, but lists "any" as a valid method
in the man page.This method was not accepted by faxgetty. This adds the
"any" method as an alias to no method at all.

14 years agoTypo in CONFIG_UNIXTRANSPORT define checks
Patrice Fournier [Fri, 6 Nov 2009 15:01:13 +0000 (10:01 -0500)] 
Typo in CONFIG_UNIXTRANSPORT define checks

14 years agoUpdate releasenotes in preparation for 6.0.4-rc2
Aidan Van Dyk [Fri, 13 Nov 2009 19:35:25 +0000 (14:35 -0500)] 
Update releasenotes in preparation for 6.0.4-rc2

14 years agoClass1: ECM page and block count should be sent as modulus.
Patrice Fournier [Mon, 9 Nov 2009 12:30:06 +0000 (07:30 -0500)] 
Class1: ECM page and block count should be sent as modulus.

14 years agofaxsend: Class1 1 ECM when skipping pages needs to be more careful
Aidan Van Dyk [Wed, 4 Nov 2009 20:38:43 +0000 (15:38 -0500)] 
faxsend: Class1 1 ECM when skipping pages needs to be more careful

pageNumberOfCall is not a generic number - it's used explicitly for putting the
page number in the ECM frames... This is ECM specific to Class 1, and needs to
marge forwared 1 every page sent in a call, regardless of job, skipping, etc.

14 years agohfaxd: log what address(es) we're listing on when starting
Aidan Van Dyk [Fri, 6 Nov 2009 16:55:10 +0000 (11:55 -0500)] 
hfaxd: log what address(es) we're listing on when starting

14 years agoRe-order library files in fchmod() configure check
Patrice Fournier [Tue, 12 Oct 2010 15:35:25 +0000 (11:35 -0400)] 
Re-order library files in fchmod() configure check

Newer gcc -E stops it's output on the first missing include file so we must
make sure that a possibly missing file in the list of headers to check is at
the end.

16 years agofaxmail: Fix broken to address/name parsing
Aidan Van Dyk [Thu, 29 Oct 2009 14:52:26 +0000 (10:52 -0400)] 
faxmail: Fix broken to address/name parsing

16 years agoUpdate release notes for back branch releases
Aidan Van Dyk [Wed, 7 Oct 2009 14:36:45 +0000 (10:36 -0400)] 
Update release notes for back branch releases

16 years agoStr::vformat() Don't reuse va_args
Aidan Van Dyk [Wed, 7 Oct 2009 13:28:27 +0000 (09:28 -0400)] 
Str::vformat()  Don't reuse va_args

Use of the va_args is "destructive", and you need to use a copy
if you intend to re-use it.

16 years agoUpdated RPM dependencies
Patrice Fournier [Fri, 25 Sep 2009 20:07:55 +0000 (16:07 -0400)] 
Updated RPM dependencies

Moved the RPM dependencies to the binary packages and added an RPM build
dependency on gettext-tools for SUSE

16 years agofaxq: Don't assert on bad FIFO messages
Aidan Van Dyk [Mon, 21 Sep 2009 20:06:27 +0000 (16:06 -0400)] 
faxq: Don't assert on bad FIFO messages

Bad fifo messages shouldn't get in, but if they do, we'ld do better
to just ignore them than assert somewhere deaper (in idToDev)

16 years agoAdd support for libtiff 3.9
Aidan Van Dyk [Wed, 21 Nov 2007 14:45:23 +0000 (14:45 +0000)] 
Add support for libtiff 3.9

16 years agoPageHandling: Fix handling of large blank areas
Aidan Van Dyk [Fri, 18 Sep 2009 18:26:24 +0000 (14:26 -0400)] 
PageHandling:  Fix handling of large blank areas

If the blank data at the end of a page is more than 64K, then it doesn't fit
into a 'Z%04x' field.  In reality, the only way you get more than 64K of blank
data is if the tiff encodes the blanks pixel for pixel, and *not* encoding.
Fortunately, the only program I've seen that does that is Microsoft FAX
service.

Unfortunately, if it is > 64K, we need to limit it, otherwise we end up
something like:
Internal botch; unknown post-page handling string "e1Z131b0P"

16 years agonls: Add German translation
Aidan Van Dyk [Mon, 14 Sep 2009 18:12:14 +0000 (14:12 -0400)] 
nls: Add German translation

16 years agoclients: Add -O option
Aidan Van Dyk [Fri, 12 Jun 2009 15:31:53 +0000 (11:31 -0400)] 
clients: Add -O option

This adds a -O <option> syntax to the HylaFAX clients.  This is
similar to the -c <option> on the server counterparts.  Unfortunately
 -c is already used by many clients (and -O is used for other things on
the server parts).

This gives you the ability to set any config option on a per-invocation
basis, like:
faxstat -O 'JobFmt: %j,%s' -O 'RecvFmt: %m' -r -d -s

16 years agohfaxd/faxq: Add -c <option> to hfaxd/faxq as done in faxsend/faxgetty
Aidan Van Dyk [Fri, 12 Jun 2009 15:29:38 +0000 (11:29 -0400)] 
hfaxd/faxq: Add -c <option> to hfaxd/faxq as done in faxsend/faxgetty

This means all the "server" components of HylaFAX take -c option
arguments on the command line.  faxq, faxsend and faxgetty have
already done this, this gives hfaxd that ability too.  It's useful
if you need to start hfaxd with some option that you don't want
going in the config file.

This also documents the -c option in the rest of the man pages.

16 years agohfaxd: Cleanup uid initizliaztion and theoretical overflow
Aidan Van Dyk [Fri, 14 Aug 2009 16:14:00 +0000 (12:14 -0400)] 
hfaxd:  Cleanup uid initizliaztion and theoretical overflow

This fixes a "techincal" array overflow:
FAXUID_MAX == FAXUID_ANON == 60002 == array size.
array[FAXUID_ANON] is out of bounds

It happens to not be one because our "bit array" doesn't end exactly
on long bindaries, to the out-of-bound by 1 is still in the allocated
"long array".

This also tightens up checks on acceptable uid values before being used
or assigned.

16 years agoRevert "Bug 608: fixes for compilation on AMD 64"
Aidan Van Dyk [Tue, 9 Jun 2009 18:27:45 +0000 (14:27 -0400)] 
Revert "Bug 608: fixes for compilation on AMD 64"

This reverts commit 2b711903d33ea38717a1238f2277e8a3bdecbe44.

That commit changed the recvData API callback from:
  bool (*f)(void*, const char*, int, fxStr&)
to;
  bool (*f)(int, const char*, int, fxStr&)

Which is the exact *wrong* thing to do, and did it under the guise of
AMD fixes...  That warning is properly fixed here as well as bringing the
API back to the (void*) argument.

16 years agopagesend: Fix broken switch statement
Aidan Van Dyk [Fri, 14 Aug 2009 16:01:56 +0000 (12:01 -0400)] 
pagesend: Fix broken switch statement

16 years agoCleanup debian changelog
Aidan Van Dyk [Fri, 14 Aug 2009 15:48:43 +0000 (11:48 -0400)] 
Cleanup debian changelog

16 years agoIPv6: Rework initial bind
Aidan Van Dyk [Fri, 7 Aug 2009 17:42:33 +0000 (13:42 -0400)] 
IPv6: Rework initial bind

From the getaddrinfo man page:
                    AI_PASSIVE      If the AI_PASSIVE bit is set it indicates
                                    that the returned socket address structure
                                    is intended for use in a call to bind(2).
                                    In this case, if the hostname argument is
                                    the null pointer, then the IP address por-
                                    tion of the socket address structure will
                                    be set to INADDR_ANY for an IPv4 address
                                    or IN6ADDR_ANY_INIT for an IPv6 address.

                                    If the AI_PASSIVE bit is not set, the
                                    returned socket address structure will be
                                    ready for use in a call to connect(2) for
                                    a connection-oriented protocol or
                                    connect(2), sendto(2), or sendmsg(2) if a
                                    connectionless protocol was chosen.  The
                                    IP address portion of the socket address
                                    structure will be set to the loopback
                                    address if hostname is the null pointer
                                    and AI_PASSIVE is not set.

We were doing this manually by memset-ing the sockaddr if bindaddress was
null, but this is the proper way to do it.

16 years agoDon't duplicate any file in a release tarball
Patrice Fournier [Fri, 7 Aug 2009 15:22:13 +0000 (11:22 -0400)] 
Don't duplicate any file in a release tarball

16 years agoUpdate release notes
Patrice Fournier [Fri, 31 Jul 2009 16:24:22 +0000 (12:24 -0400)] 
Update release notes

16 years agoPage sent protocol trace fixes
Aidan Van Dyk [Fri, 24 Jul 2009 21:37:14 +0000 (17:37 -0400)] 
Page sent protocol trace fixes

If skipped pages are not counted, make sure to not trace skipped pages as
faxed and to use the same page number for sent pages as in the tagline.
(cherry picked from commit 9ffba03b5ba4f41999b6231c6a1850ccffcad8aa)

16 years agoMore errno cleanups
Aidan Van Dyk [Sat, 4 Jul 2009 02:44:57 +0000 (02:44 +0000)] 
More errno cleanups

... in line with the previous fixes.
(cherry picked from commit 4904aeb538e9160fcdf279bb6bcf618a7d292c0b)

16 years agoSignal handlers need to be careful with errno
Aidan Van Dyk [Fri, 3 Jul 2009 19:19:58 +0000 (19:19 +0000)] 
Signal handlers need to be careful with errno

Because other code relies on errno being set correctly from the
result of a previous syscall.
(cherry picked from commit baefdd9588a8169679d32be84c0a26f3523c3664)

16 years agoMore debug statements need to be removed
Aidan Van Dyk [Thu, 4 Jun 2009 16:01:05 +0000 (16:01 +0000)] 
More debug statements need to be removed
(cherry picked from commit 0b34b0a0932344e958bfbc0d0e36fa6d8ba6d13e)

16 years agoRemove debugging statements
Aidan Van Dyk [Thu, 4 Jun 2009 15:43:47 +0000 (15:43 +0000)] 
Remove debugging statements
(cherry picked from commit 7808eecb32a4e2467e0358194eca9e892a403642)

16 years agoSocket fixes for BSD 4.4 sockets
Aidan Van Dyk [Sat, 23 May 2009 12:22:02 +0000 (12:22 +0000)] 
Socket fixes for BSD 4.4 sockets

Giovanni Bechis reported things not working on OpenBSD, which uses the BSD
4.4 sockaddr struct which doesn't have sa_family as the first member.  So
we can't rely on a family being the first member of our union either.
(cherry picked from commit 9695174b15fa8839ec7203c4c6def1a1b87e5f5d)

16 years agoFaxClient: Apparently <modem>@ is used and common
Aidan Van Dyk [Fri, 22 May 2009 19:53:19 +0000 (19:53 +0000)] 
FaxClient: Apparently <modem>@ is used and common

At least, we shouldn't segfault on it.
(cherry picked from commit ad4574469b885952423711080c77e7ac31c0c743)

16 years agoSocket.h: OpenBSD portability
Aidan Van Dyk [Tue, 19 May 2009 15:44:20 +0000 (15:44 +0000)] 
Socket.h:  OpenBSD portability

Fix from Giovanni Bechis <bigionews@snb.it>
(cherry picked from commit effbbec24aadf058859990f3ac3114e9a8de6224)

16 years agotemplates: Update Polish translation
Aidan Van Dyk [Fri, 15 May 2009 18:46:38 +0000 (18:46 +0000)] 
templates: Update Polish translation
(cherry picked from commit e5e8c4b50fc895ba7111d1b4d0802b1865647d2d)

16 years agoAdds RPM building right from tarball
Patrice Fournier [Fri, 31 Jul 2009 16:05:40 +0000 (12:05 -0400)] 
Adds RPM building right from tarball

Build an RPM with just:

  rpmbuild -ta path/hylafax-$VERSION.tar.gz

Based on the following commits:
 395986440c00af624cf729c199af9daa385e8792
 111a6c004d81fdd22de16e6072fde0f5a748dad3
 331c20be8a352fec904f841040dbc108010036d9
 90db29cc72feccea81db09ffd954efa0295c13f4

16 years agoCleanup distrules
Patrice Fournier [Fri, 15 May 2009 17:50:52 +0000 (17:50 +0000)] 
Cleanup distrules

Update list of files to distribute in the tarball and make sure
`make release.tar` will build a correctly named release tarball.
(cherry picked from commit 9d866b3ab4d325f890051fc8e7fa4cef83e33030)

16 years agoChanged revision control name in version number
Patrice Fournier [Fri, 31 Jul 2009 14:41:08 +0000 (10:41 -0400)] 
Changed revision control name in version number

16 years agoCVS HEAD is now 6.1-CVS 6.1-GIT
Aidan Van Dyk [Fri, 24 Apr 2009 19:03:25 +0000 (19:03 +0000)] 
CVS HEAD is now 6.1-CVS

16 years agoHylaFAX 6.0.0 is out. HYLAFAX-6_0_0
Aidan Van Dyk [Fri, 24 Apr 2009 18:08:15 +0000 (18:08 +0000)] 
HylaFAX 6.0.0 is out.

16 years agoUpdate releasenotes
Aidan Van Dyk [Fri, 24 Apr 2009 18:08:05 +0000 (18:08 +0000)] 
Update releasenotes

16 years agoconfigure/build: Cleanup LIBZ defaults
Aidan Van Dyk [Thu, 23 Apr 2009 14:30:42 +0000 (14:30 +0000)] 
configure/build: Cleanup LIBZ defaults

16 years agoconfigure/build: Clean up REGEXINC
Aidan Van Dyk [Thu, 23 Apr 2009 12:45:30 +0000 (12:45 +0000)] 
configure/build: Clean up REGEXINC

REGEXINC now matches other *INC variables

16 years agoRemove unused DBLIB configure/build support
Aidan Van Dyk [Thu, 23 Apr 2009 12:45:23 +0000 (12:45 +0000)] 
Remove unused DBLIB configure/build support

16 years agoconfigure/build: Cleanup TIFFINC/LIBTIFF
Aidan Van Dyk [Thu, 23 Apr 2009 12:45:02 +0000 (12:45 +0000)] 
configure/build: Cleanup TIFFINC/LIBTIFF

TIFFINC now matches the other *INC variables.

16 years agoconfigure: Beter INTL configuration
Aidan Van Dyk [Wed, 22 Apr 2009 18:58:28 +0000 (18:58 +0000)] 
configure: Beter INTL configuration

16 years agomake distclean: clean up i18n po catalog stuff
Aidan Van Dyk [Wed, 22 Apr 2009 17:24:54 +0000 (17:24 +0000)] 
make distclean: clean up i18n po catalog stuff

16 years ago[defs.in] Remove hard coded -L/usr/local/lib from GLDOPTS.
Tim Rice [Wed, 22 Apr 2009 16:57:37 +0000 (16:57 +0000)] 
[defs.in] Remove hard coded -L/usr/local/lib from GLDOPTS.

16 years agoconfigure: Work on deprecated CXX Headers
Aidan Van Dyk [Mon, 20 Apr 2009 15:29:45 +0000 (15:29 +0000)] 
configure: Work on deprecated CXX Headers

C++ has had the <file> syntax for headers now for a long time... But,
some platforms are *still* using the <file.h> syntax.

16 years ago[Makefile.in port/Makefile.in libhylafax/Makefile.in] port/version.c and
Tim Rice [Sat, 18 Apr 2009 03:08:05 +0000 (03:08 +0000)] 
[Makefile.in port/Makefile.in libhylafax/Makefile.in] port/version.c and
libhylafax/pagesizes are generated files that should be removed on a
"make distclean".

16 years ago[pkg/postinstall.in] typo in cron example
Tim Rice [Sat, 18 Apr 2009 00:16:44 +0000 (00:16 +0000)] 
[pkg/postinstall.in] typo in cron example

16 years ago[etc/faxaddmodem.sh.in etc/probemodem.sh.in] shell portability fix
Tim Rice [Sat, 18 Apr 2009 00:13:24 +0000 (00:13 +0000)] 
[etc/faxaddmodem.sh.in etc/probemodem.sh.in] shell portability fix

16 years agonotify: Don't send blocked notifications as "requeued"
Aidan Van Dyk [Wed, 15 Apr 2009 15:29:53 +0000 (15:29 +0000)] 
notify: Don't send blocked notifications as "requeued"

Blocked jobs really aren't being requeued, they are just "in the queue",
like any other job limited by no devices, or modem groups, or delayed,
etc.

17 years agoFixup README HYLAFAX-6_0_0-rc1
Aidan Van Dyk [Fri, 20 Mar 2009 23:16:18 +0000 (23:16 +0000)] 
Fixup README

17 years agoUpdate debian changelog
Aidan Van Dyk [Fri, 20 Mar 2009 22:54:09 +0000 (22:54 +0000)] 
Update debian changelog

17 years agoHylaFAX 6.0.0-rc1
Aidan Van Dyk [Fri, 20 Mar 2009 22:44:21 +0000 (22:44 +0000)] 
HylaFAX 6.0.0-rc1

17 years agoUpdate releasenotes
Aidan Van Dyk [Fri, 20 Mar 2009 22:43:49 +0000 (22:43 +0000)] 
Update releasenotes