Aidan Van Dyk [Fri, 27 Feb 2009 17:41:13 +0000 (17:41 +0000)]
Rework NLS slightly for old SunOS
We need to be careful not to do any real gettext defines. We tried to
avoid touching any real gettext stuff throught the code for fears of
portabilty, this just finishes this up so our "code" is completely gettext
free, and we don't need to do any gettext defines that can conflict with
system headers.
Tim Rice [Sat, 14 Feb 2009 21:37:36 +0000 (21:37 +0000)]
[pkg/README pkg/make.links pkg/postinstall.in pkg/preremove pkg/proto.local]
Clean up inconsistent versions in comments.
s|/usr/local|/opt| in comments/examples.
Aidan Van Dyk [Wed, 21 Jan 2009 14:32:14 +0000 (14:32 +0000)]
Out of tree build - message .mo catalogs
In the conversion to not use inferred rules (supporting old makes), I
dropped the ability to build out-of-tree from my initial NLS work. With
an inferred rule, make handle the path stuff nicely for us.
Here we check if $CATALOG/messages.pot exists, and if not, copy it from
$SRCDIR. The only reason for it to not exist is that we're not building
in SRCDIR.
Note that to build the .mo files, you either need to have the
messages.pot for the various catalog. Either "build" them
(make update-po), or copy them from SRCDIR.
Aidan Van Dyk [Tue, 20 Jan 2009 19:02:26 +0000 (19:02 +0000)]
configure: UnixWare use of variadic macros
CC on UnixWare(7) needs this for variadic macros. It's only in GCXXOPTS
because cc *doesn't* need it, and actually fails if it's used, so this is
CC specific.
Aidan Van Dyk [Fri, 16 Jan 2009 18:57:55 +0000 (18:57 +0000)]
hfaxd: EPRT support (RFC 2428)
This adds EPRT support (RFC 2428) extension to FTP protocol
allowing for IPv6 clients to specify data connection ports. EPRT works
for both IPv4 and IPv6, but is necessary for IPv6.
Aidan Van Dyk [Fri, 16 Jan 2009 18:57:33 +0000 (18:57 +0000)]
hfaxd - IPv6 (AF_INET6) socket support
Now we can accept both INET and INET6 sockets... We used to be able to do
that with xinetd/etc, but we would handle an INET6 socket like an INET
socket. Now we can do both natively, or with an inetd helper, and handle
both properly as an INET/INET6 sockets.
Tim Rice [Fri, 9 Jan 2009 01:50:31 +0000 (01:50 +0000)]
- (tim) [configure pkg/cproto.stub.in pkg/sproto.stub.in pkg/make_proto.sh.in
pkg/postinstall.in] Improvements to the SVR[45] package bits. Will do the
right thing on important files if installed multiple times. Better man page
handling.
Aidan Van Dyk [Wed, 1 Oct 2008 20:21:05 +0000 (20:21 +0000)]
faxsend: Don't count skipped pages as transmitted in xferfaxlog accounting
Including skipped pages (especially when large documetns are "Reprocessed"
to send a page or two can really throw off reports based on xferfaxlog,
such as xferfaxstats.
Aidan Van Dyk [Wed, 1 Oct 2008 20:06:51 +0000 (20:06 +0000)]
Track skipped pages and cover pages
Setting TagLineCoverNumString implies that you *don't* want to include
the cover pages in the normal page numbering. The tagline page numbers
will adjusted to not count the cover pages, and instead of using the
page number of the cover page, the set string will used instead.
Aidan Van Dyk [Wed, 1 Oct 2008 20:03:39 +0000 (20:03 +0000)]
Track cover pages in page range handling
Making the "page range" be inclusive of everything is problematic, since
continuation cover pages can "change" the pages of a document. This
tracks cover pages, and makes the page-range handling exlude cover pages
from it's range handling.
HylaFAX generally considers UID mathing to be "equivilent" in terms of
logged in uses. This extends the permission checking in hfaxd's sendq
file handling so the admin can set JobPermission such that users with the
same uid have "write" permission, allows them to modify jobs just like
the jobs owner.
hfaxd: Adds PrivateJobQ setting to allow for jobq protection
This brings sendq/doneq access settings in line with all the other access
checks in HylaFAX, but only if PrivateJobQ is set.
This allows the admin to control access to jobs to users, and groups of users
based on their uid (and the job qfile's gid, set from the creating users uid)
This implents page range handling for faxq and faxsend.
The pagehandling string now includes information about skipping pages, and
allows faxsend to skip them, preserving the ability to know if the next
document needs to change formats or now.
Counting of skipped pages while sending is handled by a new per-device
config option:
CountSkippedPages
faxmail: application/postscript attachments were sill going inline
The move to handle attachments as seperate documents and not try and munge
them all into a single postscript document forgot the
application/postscript case.
This changes it so application/postscript are handled as seperate
documents, just like everything else. It adds a special mime type that
will allow postscript to be added inline:
application/x-faxmail-inline-postscript