(change made on 97dec)
comment from Lars follows:
Included is an updated patch-ab file for hylafax for current that
fixes the busywait that occurred once the fifo_poll() fix went into
the kernel in December.
The symptoms were that faxqetty and faxq would chew up an inordinate
amount of time waiting for input form their FIFOS. Basically the
kernel fix was to make select() return a 1 on EOF (in accordance
with POSIX) and for read() to keep returning 0 on EOF (which is
the state you are in if you open the fifo for reading in non-blocking
mode and there are no writers).
Reviewed by: asami
Submitted by: Lars Fredriksen <lars@fredriks-1.pr.mcs.net>
(1) pkg_* can't handle absolute paths, so use two @cwd's and relative paths
throughout.
(2) pkg_* can't handle FIFOs, so use mkfifo to create it and rm to delete it.
(3) pkg_* can't handle empty directories, so create them with mkdir.
(4) the @mode/@owner/@group directives don't appear to work so use @exec
to set all the modes.
all the COMMENTs! No package names, no version numbers, no "this is
absolutix-3.1.2" type comments that have zero information contents.
Now, without any bad examples to follow, nobody has an excuse to import
a port with those kind of comments. :)
Phew! 238 ports modified!
does not define INSTALL, so that the one in the source will be
honored.
(2) Change comments about "mv patch-ab patch-ab.mv", that won't work.
It should be "rm patch-ab".
(3) EXEC_DEPENDS now have ghostview, gs and bash.
(4) Compress manpages.
(5) Remove post-clean target, there is no such thing! ("make clean"
will delete the whole work/ subdirectory anyway.)
"EXTRACT_SUFX=-tar.gz" and taking out all the echo's in pre-fetch
that complains how it doesn't work. Reorder some variables, take
out the numerous KEYWORD lines, etc.
This port is still broken rather badly. For starters, there are 17
chunks of failing patches.
A new import based on Sam Leffler's Hylafax V3.0pl0. Flexfax is now obsolete.
Import includes & applies the base patch Sam posted on the flexfax mail list
(mail list is still called flexfax, though the package is called Hylafax).
Sam declared our ports/comms/flexfax to be obsolete (over a year old).
Sometime after the CD release, I will post a proposal to remove
ports/comms/flexfax.
I will maintain ports/comms/hylafax as I need fax capability.
Thanks to Asami Satoshi for suggested improvements,
I leave him to `bless' this port by adding the final
comms/Makefile: SUBDIR += hylafax
Until he does that, any mistakes I may have made shouldnt break any makes :-)
I've undoubtedly screwed something up, somewhere, its a big port (30M inc bins),please test, Oh... and "Share & Enjoy" :-)
---
Julian Stacey <jhs@freebsd.org> Tel. +49 89 268616. Fax Modem: 2608126
http://www.regent.e-technik.tu-muenchen.de/people/jhs.html