HylaFAX 4.0.2
This commit is contained in:
parent
5e7e9034d8
commit
bcbfb2e050
@ -1,61 +1,73 @@
|
|||||||
# OpenBSD makefile for: hylafax
|
# OpenBSD makefile for: hylafax
|
||||||
# Version required: v4.0pl1
|
# Version required: v4.0pl2
|
||||||
# Date created: 8 Feb 1998
|
# Date created: 2 Sep 1998
|
||||||
# Whom: d
|
# Whom: d
|
||||||
#
|
#
|
||||||
# $OpenBSD: Makefile,v 1.4 1998/06/14 08:10:23 marc Exp $
|
# $OpenBSD: Makefile,v 1.5 1998/09/04 00:35:54 d Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= hylafax-v4.0pl1
|
DISTNAME= hylafax-v4.0pl2
|
||||||
PKGNAME= hylafax-4.0.1
|
PKGNAME= hylafax-4.0.2
|
||||||
CATEGORIES= comms
|
CATEGORIES= comms
|
||||||
MASTER_SITES= ftp://ftp.sgi.com/sgi/fax/source/
|
MASTER_SITES= ftp://ftp.sgi.com/sgi/fax/source/
|
||||||
EXTRACT_SUFX= -tar.gz
|
EXTRACT_SUFX= -tar.gz
|
||||||
|
|
||||||
MAINTAINER= d@openbsd.org
|
MAINTAINER= d@openbsd.org
|
||||||
|
|
||||||
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2 \
|
BUILD_DEPENDS+= ${PREFIX}/lib/afm/Courier:${PORTSDIR}/print/afm
|
||||||
${PREFIX}/lib/afm/Courier:${PORTSDIR}/print/afm
|
|
||||||
|
|
||||||
# no dependency on ghostscript because we don't know which
|
RUN_DEPENDS= ghostscript-5.10:${PORTSDIR}/print/ghostscript5
|
||||||
# version the user prefers
|
LIB_DEPENDS= tiff\\.3\\.4:${PORTSDIR}/graphics/tiff34
|
||||||
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
|
|
||||||
LIB_DEPENDS= tiff\\.3\\.4:${PORTSDIR}/graphics/tiff34 \
|
|
||||||
jpeg\\.62\\.:${PORTSDIR}/graphics/jpeg
|
|
||||||
|
|
||||||
USE_GMAKE= yes
|
.if !defined(A4)
|
||||||
|
PAGESIZE= North American Letter
|
||||||
|
.else
|
||||||
|
PAGESIZE= ISO A4
|
||||||
|
.endif
|
||||||
|
|
||||||
|
FAXUID=uucp
|
||||||
|
FAXGID=dialer
|
||||||
|
|
||||||
# libtiff34 crashes on this machine when dynamically linked?? (mac68k)
|
|
||||||
# so change -ltiff34 to ${PREFIX}/lib/libtiff34.a to avoid this
|
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --with-INSTALL="" \
|
CONFIGURE_ARGS= --with-INSTALL="" \
|
||||||
--with-MAKE=gmake --with-CC=/usr/bin/cc \
|
--with-MAKE=${MAKE} \
|
||||||
--with-LIBTIFF="-L${PREFIX}/lib -ltiff34 -ljpeg" \
|
--with-CC=${CC} \
|
||||||
--with-ZLIB=no --with-LIBZ='-lz' \
|
--with-CXX=${CXX} \
|
||||||
--with-
|
--with-DIR_HTML=/usr/share/doc/html/hylafax \
|
||||||
|
--with-PAGESIZE="${PAGESIZE}" \
|
||||||
|
--with-LIBTIFF="-L${PREFIX}/lib -ltiff" \
|
||||||
|
--with-ZLIB=no --with-LIBZ='-lz' --with-ZLIBINC=/usr/include \
|
||||||
|
--with-REGEX=no --with-LIBREGEX= --with-REGEXINC=/usr/include \
|
||||||
|
--with-FAXUID=${FAXUID} --with-FAXGID=${FAXGID} \
|
||||||
|
|
||||||
MAN1= hylafax.1 faxalter.1 faxcover.1 faxmail.1 faxrm.1 faxstat.1 sendfax.1 \
|
MAN1= choptest.1m cqtest.1m dialtest.1m faxabort.1m faxaddmodem.1m \
|
||||||
sendpage.1 sgi2fax.1 textfmt.1
|
faxalter.1 faxanswer.1m faxconfig.1m faxcover.1 faxcron.1m \
|
||||||
MAN5= pagesizes.5f typerules.5f \
|
faxgetty.1m faxinfo.1m faxmail.1 faxmodem.1m faxq.1m \
|
||||||
hylafax.5f cid.5f config.5f destctrls.5f dialrules.5f hosts.5f \
|
faxqclean.1m faxquit.1m faxrcvd.1m faxrm.1 faxsend.1m \
|
||||||
info.5f log.5f pagermap.5f recvq.5f sendq.5f shutdown.5f status.5f \
|
faxsetup.1m faxstat.1 faxstate.1m faxwatch.1m hfaxd.1m \
|
||||||
tsi.5f xferlog.5f
|
hylafax.1 mkcover.1m notify.1m pagesend.1m pollrcvd.1m \
|
||||||
MAN8= cqtest.8c choptest.8c dialtest.8c faxabort.8c faxaddmodem.8c \
|
ps2fax.1m recvstats.1m sendfax.1 sendpage.1 sgi2fax.1 \
|
||||||
faxanswer.8c faxconfig.8c faxmodem.8c faxstate.8c faxcron.8c \
|
tagtest.1m textfmt.1 tiff2fax.1m tiffcheck.1m tsitest.1m \
|
||||||
faxgetty.8c faxinfo.8c faxq.8c faxqclean.8c faxquit.8c faxrcvd.8c \
|
wedged.1m xferstats.1m
|
||||||
faxsend.8c faxsetup.8c faxwatch.8c hfaxd.8c mkcover.8c notify.8c \
|
|
||||||
pagesend.8c pollrcvd.8c ps2fax.8c recvstats.8c tagtest.8c tiff2fax.8c \
|
MAN4= cid.4f config.4f destctrls.4f dialrules.4f hosts.4f hylafax.4f \
|
||||||
tiffcheck.8c tsitest.8c wedged.8c xferstats.8c
|
info.4f log.4f pagermap.4f pagesizes.4f recvq.4f sendq.4f \
|
||||||
|
shutdown.4f status.4f tsi.4f typerules.4f xferlog.4f
|
||||||
|
|
||||||
SUID_EXES= ${PREFIX}/sbin/faxgetty ${PREFIX}/sbin/faxq \
|
SUID_EXES= ${PREFIX}/sbin/faxgetty ${PREFIX}/sbin/faxq \
|
||||||
${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter
|
${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter
|
||||||
|
|
||||||
|
pre-fetch:
|
||||||
|
.if !defined(A4)
|
||||||
|
@${ECHO_MSG} "Type \"make A4=yes\" if you want A4 as default page size."
|
||||||
|
.else
|
||||||
|
@${ECHO_MSG} "Using \"ISO A4\" for default page size."
|
||||||
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
/usr/sbin/chown uucp ${SUID_EXES}
|
/usr/sbin/chown ${FAXUID}.${FAXGID} ${SUID_EXES}
|
||||||
chmod a=rx,u+s ${SUID_EXES}
|
chmod a=rx,u+s ${SUID_EXES}
|
||||||
@if [ ! -f ${PREFIX}/etc/rc.d/hylafax.sh.sample ]; then \
|
${INSTALL_DATA} ${FILESDIR}/hylafax.sh.sample ${PREFIX}/lib/fax
|
||||||
cp ${FILESDIR}/hylafax.sh.sample ${PREFIX}/etc/rc.d; \
|
|
||||||
fi
|
|
||||||
${CAT} ${PKGDIR}/MESSAGE
|
${CAT} ${PKGDIR}/MESSAGE
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# hylafax startup example.
|
|
||||||
# be sure to initialize the followings:
|
# OpenBSD HylaFAX startup example
|
||||||
|
#
|
||||||
|
# Make sure that you have configured HylaFAX before running faxq!:
|
||||||
# server: /usr/local/sbin/faxsetup
|
# server: /usr/local/sbin/faxsetup
|
||||||
# modems: /usr/local/sbin/faxaddmodem
|
# modems: /usr/local/sbin/faxaddmodem
|
||||||
# incoming calls: /etc/ttys
|
# incoming calls: /etc/ttys
|
||||||
|
|
||||||
if [ -x /usr/local/sbin/faxq ]; then
|
if [ -x /usr/local/sbin/faxq ]; then
|
||||||
/usr/local/sbin/faxq && echo -n ' hylafax'
|
/usr/local/sbin/faxq && echo -n ' hylafax'
|
||||||
fi
|
fi
|
||||||
|
@ -1 +1 @@
|
|||||||
MD5 (hylafax-v4.0pl1-tar.gz) = 47af6fb4b94985c8829c47003bc4e4ab
|
MD5 (hylafax-v4.0pl2-tar.gz) = 59966e41f769770134b2c80c84245874
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
--- config/skel.orig Wed Nov 27 00:20:26 1996
|
--- config/skel.orig Wed Sep 2 13:02:56 1998
|
||||||
+++ config/skel Sun Feb 8 03:37:56 1998
|
+++ config/skel Wed Sep 2 13:03:15 1998
|
||||||
@@ -41,8 +41,8 @@
|
@@ -41,8 +41,8 @@
|
||||||
SessionTracing: 11 # log server-related operations
|
SessionTracing: 11 # log server-related operations
|
||||||
RecvFileMode: 0600 # recvd facsimile are not public
|
RecvFileMode: 0600 # recvd facsimile are not public
|
||||||
|
@ -1,16 +1,11 @@
|
|||||||
--- config/zyxel-2864.orig Wed Nov 27 00:20:29 1996
|
--- etc/faxsetup.sh.in.orig Wed Sep 2 13:01:12 1998
|
||||||
+++ config/zyxel-2864 Sun Feb 8 03:37:56 1998
|
+++ etc/faxsetup.sh.in Wed Sep 2 13:01:30 1998
|
||||||
@@ -63,12 +63,11 @@
|
@@ -489,7 +489,7 @@
|
||||||
# &B1 DTE-DCE rate is fixed at DTE setting
|
# Functions required by faxaddmodem.
|
||||||
# &N0 Auto-negotiate highest possible DCE-DCE link rate
|
#
|
||||||
# &S0 DSR always on
|
case $TARGET in
|
||||||
-# *F0 Deny remote configuration
|
- *-sunos*|*-linux*|*-ultrix*|*-hpux*|*-freebsd*|*-netbsd*)
|
||||||
# S18=4 Receive at 38400
|
+ *-sunos*|*-linux*|*-ultrix*|*-hpux*|*-freebsd*|*-netbsd*|*-openbsd*)
|
||||||
# S38.3=1 DCD on/off sequence follows UNIX standard; also
|
dumpTTYFuncs()
|
||||||
# fix receiving baud rate at S18 value
|
{
|
||||||
#
|
cat<<'EOF'
|
||||||
-ModemResetCmds: AT&B1&N0&S0*F0S18=4S38.3=1
|
|
||||||
+ModemResetCmds: AT&B1&N0&S0S18=4S38.3=1
|
|
||||||
#
|
|
||||||
ModemDialCmd: ATDT%s # no '@' 'cuz then busy not recognized
|
|
||||||
NoCarrierRetrys: 3 # retry 3 times on no carrier
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
--- util/SendFaxClient.c++.orig Wed Nov 27 00:20:41 1996
|
--- faxd/Getty.c++.orig Wed Sep 2 13:06:02 1998
|
||||||
+++ util/SendFaxClient.c++ Sun Feb 8 03:38:00 1998
|
+++ faxd/Getty.c++ Wed Sep 2 13:06:18 1998
|
||||||
@@ -716,7 +716,7 @@
|
@@ -218,7 +218,7 @@
|
||||||
return tr;
|
// NB: this is executed in the parent
|
||||||
|
fxStr device = fxStr::format("%s/" | line, _PATH_DEV);
|
||||||
|
Sys::chown(device, UUCPLock::getUUCPUid(), UUCPLock::getUUCPGid());
|
||||||
|
- Sys::chmod(device, 0600); // reset protection
|
||||||
|
+ Sys::chmod(device, 0660); // reset protection
|
||||||
}
|
}
|
||||||
|
|
||||||
-#include "tiffio.h"
|
extern void vlogError(const char* fmt, va_list ap);
|
||||||
+#include "tiffio34.h"
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Count the number of ``pages'' in a TIFF file.
|
|
||||||
|
@ -1,67 +1,11 @@
|
|||||||
--- util/TypeRules.c++.orig Wed Nov 27 00:20:45 1996
|
--- faxd/ModemServer.c++.orig Wed Sep 2 13:06:37 1998
|
||||||
+++ util/TypeRules.c++ Sun Feb 8 03:38:01 1998
|
+++ faxd/ModemServer.c++ Wed Sep 2 13:07:08 1998
|
||||||
@@ -48,7 +48,7 @@
|
@@ -895,7 +895,7 @@
|
||||||
}
|
"7 bits, odd parity", // ODD
|
||||||
|
};
|
||||||
|
|
||||||
static const char* typeNames[] =
|
-#if defined(CCTS_OFLOW) && defined(CRTS_IFLOW) && !defined(__NetBSD__)
|
||||||
- { "ascii", "string", "address", "byte", "short", "long" };
|
+#if defined(CCTS_OFLOW) && defined(CRTS_IFLOW) && !defined(__NetBSD__) && !defined(__OpenBSD__)
|
||||||
+ { "ascii", "asciiesc", "string", "address", "byte", "short", "long" };
|
#undef CRTSCTS /* BSDi */
|
||||||
static const char* opNames[] =
|
#define CRTSCTS (CCTS_OFLOW|CRTS_IFLOW)
|
||||||
{ "<any>", "=", "!=", "<", "<=", ">", ">=", "&", "^", "!" };
|
#endif
|
||||||
static const char* resultNames[] = { "tiff", "postscript", "error" };
|
|
||||||
@@ -65,7 +65,7 @@
|
|
||||||
);
|
|
||||||
if (type == STRING)
|
|
||||||
printf(" \"%s\"", value.s);
|
|
||||||
- else if (type != ASCII) {
|
|
||||||
+ else if (type != ASCII && type != ASCIIESC) {
|
|
||||||
if (op == ANY)
|
|
||||||
printf(" <any value>");
|
|
||||||
else
|
|
||||||
@@ -83,6 +83,7 @@
|
|
||||||
const u_char* cp = (const u_char*) data;
|
|
||||||
switch (type) {
|
|
||||||
case ASCII:
|
|
||||||
+ {
|
|
||||||
u_int i;
|
|
||||||
for (i = 0; i < size; i++)
|
|
||||||
if (!isprint(cp[i]) && !isspace(cp[i])) {
|
|
||||||
@@ -92,6 +93,19 @@
|
|
||||||
}
|
|
||||||
ok = TRUE;
|
|
||||||
goto done;
|
|
||||||
+ }
|
|
||||||
+ case ASCIIESC:
|
|
||||||
+ {
|
|
||||||
+ u_int i;
|
|
||||||
+ for (i = 0; i < size; i++)
|
|
||||||
+ if (!isprint(cp[i]) && !isspace(cp[i]) && cp[i] != '\033') {
|
|
||||||
+ if (verbose)
|
|
||||||
+ printf("failed (unprintable char %#x)\n", cp[i]);
|
|
||||||
+ return (FALSE);
|
|
||||||
+ }
|
|
||||||
+ ok = TRUE;
|
|
||||||
+ goto done;
|
|
||||||
+ }
|
|
||||||
case STRING:
|
|
||||||
ok = (strncmp((const char*)(cp+off), value.s,
|
|
||||||
fxmin((u_int) strlen(value.s), (u_int)(size-off))) == 0);
|
|
||||||
@@ -307,6 +321,8 @@
|
|
||||||
rule.type = TypeRule::STRING;
|
|
||||||
else if (strncasecmp(tp, "ascii", cp-tp) == 0)
|
|
||||||
rule.type = TypeRule::ASCII;
|
|
||||||
+ else if (strncasecmp(tp, "asciiesc", cp-tp) == 0)
|
|
||||||
+ rule.type = TypeRule::ASCIIESC;
|
|
||||||
else if (strncasecmp(tp, "addr", cp-tp) == 0)
|
|
||||||
rule.type = TypeRule::ADDR;
|
|
||||||
else {
|
|
||||||
@@ -317,7 +333,8 @@
|
|
||||||
cp++;
|
|
||||||
rule.op = TypeRule::EQ; // default is '='
|
|
||||||
const char* vp = cp;
|
|
||||||
- if (rule.type != TypeRule::STRING && rule.type != TypeRule::ASCII) {
|
|
||||||
+ if (rule.type != TypeRule::STRING && rule.type != TypeRule::ASCII
|
|
||||||
+ && rule.type != TypeRule::ASCIIESC) {
|
|
||||||
// numeric value
|
|
||||||
switch (*vp) {
|
|
||||||
case '=': rule.op = TypeRule::EQ; cp++; break;
|
|
||||||
|
@ -1,10 +1,25 @@
|
|||||||
--- util/TypeRules.h.orig Wed Nov 27 00:20:56 1996
|
--- faxd/UUCPLock.c++.orig Wed Sep 2 13:07:27 1998
|
||||||
+++ util/TypeRules.h Sun Feb 8 03:38:01 1998
|
+++ faxd/UUCPLock.c++ Wed Sep 2 13:09:17 1998
|
||||||
@@ -130,6 +130,7 @@
|
@@ -37,6 +37,7 @@
|
||||||
fxBool cont; // continuation
|
}
|
||||||
enum {
|
#endif
|
||||||
ASCII, // ascii-only string
|
#include <pwd.h>
|
||||||
+ ASCIIESC, // ascii-only string + escape char (iso-2022 variants)
|
+#include <grp.h>
|
||||||
STRING, // byte string
|
|
||||||
ADDR, // address of match
|
/*
|
||||||
BYTE, // 8 bits
|
* 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("dialer");
|
||||||
|
+ if (!grp)
|
||||||
|
+ faxApp::fatal("Can not deduce identity of DIALER");
|
||||||
|
+ UUCPgid = grp->gr_gid;
|
||||||
|
+ endgrent(); // paranoia
|
||||||
|
}
|
||||||
|
}
|
||||||
|
uid_t UUCPLock::getUUCPUid() { setupIDs(); return UUCPuid; }
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
--- util/faxinfo.c++.orig Wed Nov 27 00:21:03 1996
|
--- config.guess.orig Wed Sep 2 12:57:38 1998
|
||||||
+++ util/faxinfo.c++ Sun Feb 8 03:38:01 1998
|
+++ config.guess Wed Sep 2 12:58:13 1998
|
||||||
@@ -30,7 +30,7 @@
|
@@ -276,6 +276,9 @@
|
||||||
#include <errno.h>
|
*:NetBSD:*:*)
|
||||||
#include <string.h>
|
echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||||
#include <stdlib.h>
|
exit 0 ;;
|
||||||
-#include "tiffio.h"
|
+ *:OpenBSD:*:*)
|
||||||
+#include "tiffio34.h"
|
+ echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||||
|
+ exit 0 ;;
|
||||||
#include "PageSize.h"
|
*:GNU:*:*)
|
||||||
#include "Class2Params.h"
|
echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
||||||
|
exit 0 ;;
|
||||||
|
@ -1,11 +1,36 @@
|
|||||||
--- util/tiffcheck.c++.orig Wed Nov 27 00:21:04 1996
|
--- configure.orig Wed Sep 2 12:58:28 1998
|
||||||
+++ util/tiffcheck.c++ Sun Feb 8 03:38:01 1998
|
+++ configure Wed Sep 2 13:11:44 1998
|
||||||
@@ -24,7 +24,7 @@
|
@@ -248,7 +248,7 @@
|
||||||
*/
|
test -d /usr/ucb && PATH=$PATH:/usr/ucb # Sun and others
|
||||||
#include "Sys.h"
|
test -d /usr/contrib/bin && PATH=$PATH:/usr/contrib/bin # BSDi
|
||||||
#include "Str.h"
|
test -d /usr/5bin && PATH=/usr/5bin:$PATH:/usr/etc # Sun and others
|
||||||
-#include "tiffio.h"
|
-test -d /usr/local/bin && PATH=/usr/local/bin:$PATH # for GNU stuff
|
||||||
+#include "tiffio34.h"
|
+test -d /usr/local/bin && PATH=$PATH:/usr/local/bin # for GNU stuff
|
||||||
|
PATH=$PATH:$OPATH
|
||||||
static const char* appName;
|
|
||||||
|
|
||||||
|
POSIXLY_CORRECT=1; export POSIXLY_CORRECT # disable GNU extensions
|
||||||
|
@@ -3399,6 +3399,7 @@
|
||||||
|
*-solaris*) LOCKS="+ascii";;
|
||||||
|
*-freebsd*) LOCKS=ascii;;
|
||||||
|
*-netbsd*) LOCKS=ascii;;
|
||||||
|
+ *-openbsd*) LOCKS=ascii;;
|
||||||
|
*bsd*) LOCKS=binary;;
|
||||||
|
*) LOCKS=ascii;;
|
||||||
|
esac
|
||||||
|
@@ -3575,6 +3576,7 @@
|
||||||
|
*-bsdi*|*-netbsd*) MANSCHEME=bsd-nroff-gzip-0.gz;;
|
||||||
|
*-freebsd*) MANSCHEME=bsd-source-cat;;
|
||||||
|
*-linux*) MANSCHEME=bsd-source-cat;;
|
||||||
|
+ *-openbsd*) MANSCHEME=bsd-source-cat;;
|
||||||
|
*-ultrix*) MANSCHEME=bsd-source-cat;;
|
||||||
|
*-sunos*) MANSCHEME=bsd-source-cat-strip;;
|
||||||
|
*-sysv[234]*) MANSCHEME=sysv-source-cat-strip;;
|
||||||
|
@@ -3966,7 +3968,7 @@
|
||||||
|
printConfig
|
||||||
|
checkForExecutable $PATH_SENDMAIL
|
||||||
|
checkForExecutable $PATH_GETTY
|
||||||
|
- prompt "Are these ok [yes]?"; read ok
|
||||||
|
+ ok=yes # prompt "Are these ok [yes]?"; read ok
|
||||||
|
test -z "$ok" && ok=yes
|
||||||
|
case "$ok" in
|
||||||
|
[1-9]|1[0-9]) promptForParameter $ok;;
|
||||||
|
@ -1,14 +1,10 @@
|
|||||||
--- util/typerules.orig Wed Nov 27 00:21:01 1996
|
--- util/Types.h.orig Wed Sep 2 16:36:00 1998
|
||||||
+++ util/typerules Sun Feb 8 03:38:01 1998
|
+++ util/Types.h Wed Sep 2 16:36:20 1998
|
||||||
@@ -128,6 +128,11 @@
|
@@ -26,6 +26,7 @@
|
||||||
>15 string ascii ps %F/textfmt -B -f Courier-Bold\
|
#ifndef _Types_
|
||||||
-p 11 -s %s >%o <%i
|
#define _Types_
|
||||||
#
|
|
||||||
+# Japanization (should help other iso-2022 variants too)
|
+#include <std.h>
|
||||||
+#
|
#include "string.h"
|
||||||
+#>15 string asciiesc ps a2ps-j -l '' -p -ns -nt <%i >%o
|
#include "assert.h"
|
||||||
+#0 asciiesc x ps a2ps-j -l '' -p -ns -nt <%i >%o
|
#include "stdio.h"
|
||||||
+#
|
|
||||||
# This causes anything else with ascii-only data to be treated as text.
|
|
||||||
#
|
|
||||||
0 ascii x ps %F/textfmt -B -f Courier-Bold\
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
--- faxd/Class1.c++.orig Wed Nov 27 00:21:26 1996
|
--- util/SendFaxJob.c++.orig Wed Sep 2 16:37:59 1998
|
||||||
+++ faxd/Class1.c++ Sun Feb 8 03:37:57 1998
|
+++ util/SendFaxJob.c++ Wed Sep 2 16:38:55 1998
|
||||||
@@ -31,7 +31,7 @@
|
@@ -496,7 +496,7 @@
|
||||||
#include "ModemConfig.h"
|
fxBool fileSent =
|
||||||
#include "HDLCFrame.h"
|
client.setFormat(FaxClient::FORM_PS)
|
||||||
#include "t.30.h"
|
&& client.setType(FaxClient::TYPE_I) // XXX??? TYPE_A
|
||||||
-#include "tiffio.h"
|
- && client.sendZData(fd, FaxClient::storeTemp, coverDoc, emsg);
|
||||||
+#include "tiffio34.h"
|
+ && client.sendZData(fd, &FaxClient::storeTemp, coverDoc, emsg);
|
||||||
|
Sys::close(fd);
|
||||||
#include <stdlib.h>
|
if (!fileSent) {
|
||||||
#include <ctype.h>
|
if (emsg == "")
|
||||||
|
@ -1,11 +1,16 @@
|
|||||||
--- faxd/FaxModem.h.orig Wed Nov 27 00:21:18 1996
|
--- util/SendFaxClient.c++.orig Wed Sep 2 16:39:51 1998
|
||||||
+++ faxd/FaxModem.h Sun Feb 8 03:37:57 1998
|
+++ util/SendFaxClient.c++ Wed Sep 2 16:40:50 1998
|
||||||
@@ -30,7 +30,7 @@
|
@@ -457,11 +457,11 @@
|
||||||
*/
|
if (info.rule->getResult() == TypeRule::TIFF) {
|
||||||
#include "ClassModem.h"
|
fileSent = setFormat(FORM_TIFF)
|
||||||
#include "Class2Params.h"
|
&& setType(TYPE_I)
|
||||||
-#include "tiffio.h"
|
- && sendData(fd, FaxClient::storeTemp, info.doc, emsg);
|
||||||
+#include "tiffio34.h"
|
+ && sendData(fd, &FaxClient::storeTemp, info.doc, emsg);
|
||||||
#include "G3Decoder.h"
|
} else {
|
||||||
#include "FaxSendStatus.h"
|
fileSent = setFormat(FORM_PS)
|
||||||
|
&& setType(TYPE_I) // XXX TYPE_A???
|
||||||
|
- && sendZData(fd, FaxClient::storeTemp, info.doc, emsg);
|
||||||
|
+ && sendZData(fd, &FaxClient::storeTemp, info.doc, emsg);
|
||||||
|
}
|
||||||
|
Sys::close(fd);
|
||||||
|
if (!fileSent) {
|
||||||
|
@ -1,11 +1,25 @@
|
|||||||
--- faxd/FaxRecv.c++.orig Wed Nov 27 00:21:32 1996
|
--- util/TextFmt.c++.orig Wed Sep 2 16:50:49 1998
|
||||||
+++ faxd/FaxRecv.c++ Sun Feb 8 03:37:57 1998
|
+++ util/TextFmt.c++ Wed Sep 2 16:58:43 1998
|
||||||
@@ -30,7 +30,7 @@
|
@@ -47,6 +47,7 @@
|
||||||
#include <errno.h>
|
#if HAS_MMAP
|
||||||
|
#include <sys/mman.h>
|
||||||
|
#endif
|
||||||
|
+#include <paths.h>
|
||||||
|
|
||||||
#include "Dispatcher.h"
|
#define LUNIT (72*20) // local coord system is .05 scale
|
||||||
-#include "tiffio.h"
|
#define ICVT(x) ((TextCoord)((x)*LUNIT)) // scale inches to local coordinates
|
||||||
+#include "tiffio34.h"
|
@@ -244,12 +245,11 @@
|
||||||
#include "FaxServer.h"
|
/*
|
||||||
#include "FaxRecvInfo.h"
|
* Open the file w+ so that we can reread the temp file.
|
||||||
#include "faxApp.h" // XXX
|
*/
|
||||||
|
- tempfile = tmpnam(NULL);
|
||||||
|
- tf = Sys::fopen(tempfile, "w+");
|
||||||
|
+ tempfile = _PATH_TMP ".hylafax.XXXXXXXXXXXX";
|
||||||
|
+ tf = Sys::mkstemp(tempfile);
|
||||||
|
if (tf == NULL)
|
||||||
|
fatal("%s: Cannot open temporary file: %s",
|
||||||
|
(const char*) tempfile, strerror(errno));
|
||||||
|
- Sys::unlink(tempfile); // so it'll be removed on exit
|
||||||
|
|
||||||
|
numcol = fxmax(1,numcol);
|
||||||
|
if (pointSize == -1)
|
||||||
|
@ -1,11 +1,26 @@
|
|||||||
--- faxd/FaxSend.c++.orig Wed Nov 27 00:21:33 1996
|
--- hfaxd/OldProtocol.c++.orig Wed Sep 2 17:30:28 1998
|
||||||
+++ faxd/FaxSend.c++ Sun Feb 8 03:37:57 1998
|
+++ hfaxd/OldProtocol.c++ Wed Sep 2 17:32:36 1998
|
||||||
@@ -26,7 +26,7 @@
|
@@ -604,9 +604,9 @@
|
||||||
#include "Sys.h"
|
|
||||||
|
|
||||||
#include "Dispatcher.h"
|
#define DEFINE_Alter(param) \
|
||||||
-#include "tiffio.h"
|
void OldProtocolServer::alterJob##param(const char* tag) \
|
||||||
+#include "tiffio34.h"
|
- { applyToJob(tag, "alter", OldProtocolServer::reallyAlterJob##param); }\
|
||||||
#include "FaxServer.h"
|
+ { applyToJob(tag, "alter", &OldProtocolServer::reallyAlterJob##param); }\
|
||||||
#include "FaxMachineInfo.h"
|
void OldProtocolServer::alterJobGroup##param(const char* tag) \
|
||||||
#include "FaxRecvInfo.h"
|
- { applyToJobGroup(tag, "alter", OldProtocolServer::reallyAlterJob##param); }
|
||||||
|
+ { applyToJobGroup(tag, "alter", &OldProtocolServer::reallyAlterJob##param); }
|
||||||
|
|
||||||
|
fxBool
|
||||||
|
OldProtocolServer::alterSuspend(Job& job)
|
||||||
|
@@ -752,9 +752,9 @@
|
||||||
|
|
||||||
|
#define DEFINE_Op(op) \
|
||||||
|
void OldProtocolServer::##op##Job(const char* tag) \
|
||||||
|
- { applyToJob(tag, fxQUOTE(op), OldProtocolServer::do##op); }\
|
||||||
|
+ { applyToJob(tag, fxQUOTE(op), &OldProtocolServer::do##op); }\
|
||||||
|
void OldProtocolServer::##op##JobGroup(const char* tag) \
|
||||||
|
- { applyToJobGroup(tag, fxQUOTE(op), OldProtocolServer::do##op); }
|
||||||
|
+ { applyToJobGroup(tag, fxQUOTE(op), &OldProtocolServer::do##op); }
|
||||||
|
void
|
||||||
|
OldProtocolServer::doremove(Job& job, const char*)
|
||||||
|
{
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
--- faxd/G3Decoder.h.orig Wed Nov 27 00:21:19 1996
|
|
||||||
+++ faxd/G3Decoder.h Sun Feb 8 03:37:57 1998
|
|
||||||
@@ -32,7 +32,7 @@
|
|
||||||
extern "C" {
|
|
||||||
#include <setjmp.h>
|
|
||||||
}
|
|
||||||
-#include "tiffio.h"
|
|
||||||
+#include "tiffio34.h"
|
|
||||||
|
|
||||||
class G3Decoder {
|
|
||||||
private:
|
|
@ -1,11 +0,0 @@
|
|||||||
--- faxd/G3Encoder.c++.orig Wed Nov 27 00:21:34 1996
|
|
||||||
+++ faxd/G3Encoder.c++ Sun Feb 8 03:37:57 1998
|
|
||||||
@@ -29,7 +29,7 @@
|
|
||||||
*/
|
|
||||||
#include "G3Encoder.h"
|
|
||||||
#include "StackBuffer.h"
|
|
||||||
-#include "tiffio.h"
|
|
||||||
+#include "tiffio34.h"
|
|
||||||
#include "t4.h"
|
|
||||||
|
|
||||||
G3Encoder::G3Encoder(fxStackBuffer& b) : buf(b) {}
|
|
@ -1,11 +0,0 @@
|
|||||||
--- faxd/Getty.c++.orig Wed Nov 27 00:21:34 1996
|
|
||||||
+++ faxd/Getty.c++ Sun Feb 8 03:37:57 1998
|
|
||||||
@@ -218,7 +218,7 @@
|
|
||||||
// NB: this is executed in the parent
|
|
||||||
fxStr device = fxStr::format("%s/" | line, _PATH_DEV);
|
|
||||||
Sys::chown(device, UUCPLock::getUUCPUid(), UUCPLock::getUUCPGid());
|
|
||||||
- Sys::chmod(device, 0600); // reset protection
|
|
||||||
+ Sys::chmod(device, 0660); // reset protection
|
|
||||||
}
|
|
||||||
|
|
||||||
extern void vlogError(const char* fmt, va_list ap);
|
|
@ -1,11 +0,0 @@
|
|||||||
--- faxd/ModemServer.c++.orig Wed Nov 27 00:21:36 1996
|
|
||||||
+++ faxd/ModemServer.c++ Sun Feb 8 03:37:57 1998
|
|
||||||
@@ -876,7 +876,7 @@
|
|
||||||
"7 bits, odd parity", // ODD
|
|
||||||
};
|
|
||||||
|
|
||||||
-#if defined(CCTS_OFLOW) && defined(CRTS_IFLOW) && !defined(__NetBSD__)
|
|
||||||
+#if defined(CCTS_OFLOW) && defined(CRTS_IFLOW) && !defined(__NetBSD__) && !defined(__OpenBSD__)
|
|
||||||
#undef CRTSCTS /* BSDi */
|
|
||||||
#define CRTSCTS (CCTS_OFLOW|CRTS_IFLOW)
|
|
||||||
#endif
|
|
@ -1,11 +0,0 @@
|
|||||||
--- faxd/PCFFont.c++.orig Wed Nov 27 00:21:36 1996
|
|
||||||
+++ faxd/PCFFont.c++ Sun Feb 8 03:37:58 1998
|
|
||||||
@@ -34,7 +34,7 @@
|
|
||||||
*/
|
|
||||||
#include <unistd.h>
|
|
||||||
#include "PCFFont.h"
|
|
||||||
-#include "tiffio.h"
|
|
||||||
+#include "tiffio34.h"
|
|
||||||
|
|
||||||
#define LSBFirst 0
|
|
||||||
#define MSBFirst 1
|
|
@ -1,25 +0,0 @@
|
|||||||
--- faxd/UUCPLock.c++.orig Wed Nov 27 00:21:38 1996
|
|
||||||
+++ faxd/UUCPLock.c++ Sun Feb 8 03:37:58 1998
|
|
||||||
@@ -37,6 +37,7 @@
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#include <pwd.h>
|
|
||||||
+#include <grp.h>
|
|
||||||
|
|
||||||
/*
|
|
||||||
* 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("dialer");
|
|
||||||
+ if (!grp)
|
|
||||||
+ faxApp::fatal("Can not deduce identity of DIALER");
|
|
||||||
+ UUCPgid = grp->gr_gid;
|
|
||||||
+ endgrent(); // paranoia
|
|
||||||
}
|
|
||||||
}
|
|
||||||
uid_t UUCPLock::getUUCPUid() { setupIDs(); return UUCPuid; }
|
|
@ -1,11 +0,0 @@
|
|||||||
--- faxd/choptest.c++.orig Wed Nov 27 00:21:40 1996
|
|
||||||
+++ faxd/choptest.c++ Sun Feb 8 03:37:58 1998
|
|
||||||
@@ -31,7 +31,7 @@
|
|
||||||
#include <unistd.h>
|
|
||||||
#include "G3Decoder.h"
|
|
||||||
#include "Class2Params.h"
|
|
||||||
-#include "tiffio.h"
|
|
||||||
+#include "tiffio34.h"
|
|
||||||
|
|
||||||
class MemoryDecoder : public G3Decoder {
|
|
||||||
private:
|
|
@ -1,11 +0,0 @@
|
|||||||
--- faxd/cqtest.c++.orig Wed Nov 27 00:21:40 1996
|
|
||||||
+++ faxd/cqtest.c++ Sun Feb 8 03:37:58 1998
|
|
||||||
@@ -35,7 +35,7 @@
|
|
||||||
#include "Class2Params.h"
|
|
||||||
#include "Str.h"
|
|
||||||
#include "FaxTrace.h"
|
|
||||||
-#include "tiffio.h"
|
|
||||||
+#include "tiffio34.h"
|
|
||||||
|
|
||||||
#include "version.h"
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
--- faxd/faxQueueApp.c++.orig Wed Nov 27 00:21:39 1996
|
|
||||||
+++ faxd/faxQueueApp.c++ Sun Feb 8 03:37:58 1998
|
|
||||||
@@ -30,7 +30,7 @@
|
|
||||||
#include <math.h>
|
|
||||||
#include <limits.h>
|
|
||||||
#include <sys/file.h>
|
|
||||||
-#include <tiffio.h>
|
|
||||||
+#include <tiffio34.h>
|
|
||||||
|
|
||||||
#include "Dispatcher.h"
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
--- faxd/tagtest.c++.orig Wed Nov 27 00:21:41 1996
|
|
||||||
+++ faxd/tagtest.c++ Sun Feb 8 03:37:58 1998
|
|
||||||
@@ -35,7 +35,7 @@
|
|
||||||
#include "G3Encoder.h"
|
|
||||||
#include "StackBuffer.h"
|
|
||||||
#include "FaxFont.h"
|
|
||||||
-#include "tiffio.h"
|
|
||||||
+#include "tiffio34.h"
|
|
||||||
#include "Class2Params.h"
|
|
||||||
#if HAS_LOCALE
|
|
||||||
extern "C" {
|
|
@ -1,11 +0,0 @@
|
|||||||
--- faxd/tif_fax3.h.orig Wed Nov 27 00:21:26 1996
|
|
||||||
+++ faxd/tif_fax3.h Sun Feb 8 03:37:58 1998
|
|
||||||
@@ -35,7 +35,7 @@
|
|
||||||
* in Frank Cringle's viewfax program;
|
|
||||||
* Copyright (C) 1990, 1995 Frank D. Cringle.
|
|
||||||
*/
|
|
||||||
-#include "tiff.h"
|
|
||||||
+#include "tiff34.h"
|
|
||||||
|
|
||||||
/*
|
|
||||||
* To override the default routine used to image decoded
|
|
@ -1,11 +0,0 @@
|
|||||||
--- hfaxd/FileSystem.c++.orig Wed Nov 27 00:21:47 1996
|
|
||||||
+++ hfaxd/FileSystem.c++ Sun Feb 8 03:37:59 1998
|
|
||||||
@@ -29,7 +29,7 @@
|
|
||||||
*/
|
|
||||||
#include "HylaFAXServer.h"
|
|
||||||
#include "Sys.h"
|
|
||||||
-#include "tiffio.h"
|
|
||||||
+#include "tiffio34.h"
|
|
||||||
|
|
||||||
#include <limits.h>
|
|
||||||
#include <ctype.h>
|
|
@ -1,11 +0,0 @@
|
|||||||
--- hfaxd/FileTransfer.c++.orig Wed Nov 27 00:21:47 1996
|
|
||||||
+++ hfaxd/FileTransfer.c++ Sun Feb 8 03:37:59 1998
|
|
||||||
@@ -31,7 +31,7 @@
|
|
||||||
#include "Sys.h"
|
|
||||||
#include "config.h"
|
|
||||||
#include "zlib.h"
|
|
||||||
-#include "tiffio.h"
|
|
||||||
+#include "tiffio34.h"
|
|
||||||
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <limits.h>
|
|
@ -1,11 +0,0 @@
|
|||||||
--- hfaxd/HylaFAXServer.c++.orig Wed Nov 27 00:21:48 1996
|
|
||||||
+++ hfaxd/HylaFAXServer.c++ Sun Feb 8 03:37:59 1998
|
|
||||||
@@ -26,7 +26,7 @@
|
|
||||||
#include "port.h"
|
|
||||||
#include "Sys.h"
|
|
||||||
#include "config.h"
|
|
||||||
-#include "tiffio.h"
|
|
||||||
+#include "tiffio34.h"
|
|
||||||
|
|
||||||
#include "HylaFAXServer.h"
|
|
||||||
#include "Dispatcher.h"
|
|
@ -1,11 +0,0 @@
|
|||||||
--- hfaxd/RecvQueue.c++.orig Wed Nov 27 00:21:50 1996
|
|
||||||
+++ hfaxd/RecvQueue.c++ Sun Feb 8 03:38:00 1998
|
|
||||||
@@ -30,7 +30,7 @@
|
|
||||||
#include "HylaFAXServer.h"
|
|
||||||
#include "Sys.h"
|
|
||||||
#include "Socket.h"
|
|
||||||
-#include "tiffio.h"
|
|
||||||
+#include "tiffio34.h"
|
|
||||||
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <sys/file.h>
|
|
@ -1,12 +0,0 @@
|
|||||||
--- config.guess.orig Wed Nov 27 00:20:18 1996
|
|
||||||
+++ config.guess Sun Feb 8 03:37:57 1998
|
|
||||||
@@ -276,6 +276,9 @@
|
|
||||||
*:NetBSD:*:*)
|
|
||||||
echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
|
||||||
exit 0 ;;
|
|
||||||
+ *:OpenBSD:*:*)
|
|
||||||
+ echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
|
||||||
+ exit 0 ;;
|
|
||||||
*:GNU:*:*)
|
|
||||||
echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
|
||||||
exit 0 ;;
|
|
@ -1,62 +0,0 @@
|
|||||||
--- configure.orig Wed Nov 27 00:20:17 1996
|
|
||||||
+++ configure Sun Feb 8 06:15:08 1998
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!/bin/sh
|
|
||||||
+#!/usr/local/bin/bash
|
|
||||||
# $Id: patch-bc,v 1.1.1.1 1998/02/08 06:00:10 niklas Exp $
|
|
||||||
#
|
|
||||||
# HylaFAX Facsimile Software
|
|
||||||
@@ -68,7 +68,7 @@
|
|
||||||
GS=no
|
|
||||||
IMP=no
|
|
||||||
UTMP=auto
|
|
||||||
-LIBTIFF="-L/usr/local/lib -ltiff"
|
|
||||||
+LIBTIFF="-L/usr/local/lib -ltiff34"
|
|
||||||
TIFFINC=/usr/local/include
|
|
||||||
TIFFBIN=/usr/local/bin
|
|
||||||
ZLIB=yes
|
|
||||||
@@ -239,7 +239,7 @@
|
|
||||||
test -d /usr/ucb && PATH=$PATH:/usr/ucb # Sun and others
|
|
||||||
test -d /usr/contrib/bin && PATH=$PATH:/usr/contrib/bin # BSDi
|
|
||||||
test -d /usr/5bin && PATH=/usr/5bin:$PATH:/usr/etc # Sun and others
|
|
||||||
-test -d /usr/local/bin && PATH=/usr/local/bin:$PATH # for GNU stuff
|
|
||||||
+test -d /usr/local/bin && PATH=$PATH:/usr/local/bin # for GNU stuff
|
|
||||||
PATH=$PATH:$OPATH
|
|
||||||
|
|
||||||
POSIXLY_CORRECT=1; export POSIXLY_CORRECT # disable GNU extensions
|
|
||||||
@@ -2781,7 +2781,7 @@
|
|
||||||
# Verify library is compatible.
|
|
||||||
#
|
|
||||||
cat>t.c<<EOF
|
|
||||||
-#include "tiffio.h"
|
|
||||||
+#include "tiffio34.h"
|
|
||||||
main()
|
|
||||||
{
|
|
||||||
if (TIFFLIB_VERSION < 19960307) { /* check include file version */
|
|
||||||
@@ -3362,6 +3362,7 @@
|
|
||||||
*-solaris*) LOCKS="+ascii";;
|
|
||||||
*-freebsd*) LOCKS=ascii;;
|
|
||||||
*-netbsd*) LOCKS=ascii;;
|
|
||||||
+ *-openbsd*) LOCKS=ascii;;
|
|
||||||
*bsd*) LOCKS=binary;;
|
|
||||||
*) LOCKS=ascii;;
|
|
||||||
esac
|
|
||||||
@@ -3535,7 +3536,7 @@
|
|
||||||
if [ -z "$MANSCHEME" ]; then
|
|
||||||
case $TARGET in
|
|
||||||
*-bsdi*|*-netbsd*) MANSCHEME=bsd-nroff-gzip-0.gz;;
|
|
||||||
- *-freebsd*) MANSCHEME=bsd-source-cat;;
|
|
||||||
+ *-freebsd*|*-openbsd*) MANSCHEME=bsd-source-cat;;
|
|
||||||
*-linux*) MANSCHEME=bsd-source-cat;;
|
|
||||||
*-ultrix*) MANSCHEME=bsd-source-cat;;
|
|
||||||
*-sunos*) MANSCHEME=bsd-source-cat-strip;;
|
|
||||||
@@ -3928,7 +3929,8 @@
|
|
||||||
printConfig
|
|
||||||
checkForExecutable $PATH_SENDMAIL
|
|
||||||
checkForExecutable $PATH_GETTY
|
|
||||||
- prompt "Are these ok [yes]?"; read ok
|
|
||||||
+# prompt "Are these ok [yes]?"; read ok
|
|
||||||
+ ok=yes
|
|
||||||
test -z "$ok" && ok=yes
|
|
||||||
case "$ok" in
|
|
||||||
[1-9]|1[0-9]) promptForParameter $ok;;
|
|
@ -1 +1 @@
|
|||||||
A fax software.
|
send/receive faxes and share modems
|
||||||
|
@ -1,19 +1,26 @@
|
|||||||
Hylafax was installed. You'll need manual configurations to actually
|
|
||||||
activate it.
|
|
||||||
|
|
||||||
Setting up: (for impatients)
|
Congratulations, HylaFAX has been installed!
|
||||||
Invoke /usr/local/sbin/faxsetup, and answer what she asks.
|
|
||||||
|
It now needs some manual configuration before it is usable.
|
||||||
|
|
||||||
|
Setting up: (for the impatient)
|
||||||
|
|
||||||
|
Invoke /usr/local/sbin/faxsetup to interactively configure it.
|
||||||
When you are asked to specify the name of tty device, use a
|
When you are asked to specify the name of tty device, use a
|
||||||
tty device existing on your architecture instead of "ttyd1".
|
tty device existing on your architecture instead of "ttyd1".
|
||||||
Otherwise it does not work well.
|
|
||||||
|
|
||||||
Consult /usr/local/etc/rc.d/hylafax.sh.sample for startups.
|
Consult /usr/local/lib/fax/hylafax.sh.sample for an example
|
||||||
|
of what to put in /etc/rc.local.
|
||||||
|
|
||||||
For accepting incoming FAX/data calls, modify /etc/ttys to
|
For accepting incoming FAX/data calls, modify /etc/ttys(5) to
|
||||||
something like below and send SIGHUP to init process:
|
contain something like this:
|
||||||
|
|
||||||
>cua00 "/usr/local/sbin/faxgetty" dialup on secure
|
cua00 "/usr/local/sbin/faxgetty" dialup on
|
||||||
|
|
||||||
|
and send a SIGHUP to init(8).
|
||||||
|
|
||||||
|
Documentation: (for the methodical)
|
||||||
|
|
||||||
Documentation:
|
|
||||||
On Line Manuals: man hylafax.
|
On Line Manuals: man hylafax.
|
||||||
World Wide Web site: http://www.vix.com/flexfax/
|
World Wide Web site: http://www.vix.com/hylafax/
|
||||||
|
|
||||||
|
@ -1,17 +1,55 @@
|
|||||||
@cwd /usr/local
|
@cwd /usr/local
|
||||||
bin/faxalter
|
@exec install -d -o bin -g bin -m 755 %D/lib/fax
|
||||||
bin/faxcover
|
@exec install -d -m 755 %D/man/man1
|
||||||
bin/faxmail
|
@exec install -d -m 755 %D/man/man5
|
||||||
bin/faxrm
|
@exec install -d -m 755 %D/man/man8
|
||||||
bin/faxstat
|
lib/fax/hylafax.sh.sample
|
||||||
bin/sendfax
|
sbin/textfmt
|
||||||
bin/sendpage
|
|
||||||
etc/rc.d/hylafax.sh.sample
|
|
||||||
lib/fax/faxcover.ps
|
|
||||||
lib/fax/faxmail.ps
|
|
||||||
lib/fax/hfaxd.conf
|
|
||||||
lib/fax/pagesizes
|
lib/fax/pagesizes
|
||||||
lib/fax/typerules
|
lib/fax/typerules
|
||||||
|
sbin/faxmsg
|
||||||
|
sbin/faxconfig
|
||||||
|
sbin/faxmodem
|
||||||
|
sbin/faxstate
|
||||||
|
sbin/faxwatch
|
||||||
|
sbin/faxinfo
|
||||||
|
sbin/tiffcheck
|
||||||
|
sbin/faxabort
|
||||||
|
sbin/faxanswer
|
||||||
|
sbin/faxquit
|
||||||
|
sbin/dialtest
|
||||||
|
sbin/typetest
|
||||||
|
sbin/xferstats
|
||||||
|
sbin/recvstats
|
||||||
|
sbin/faxcron
|
||||||
|
bin/faxalter
|
||||||
|
bin/faxcover
|
||||||
|
lib/fax/faxcover.ps
|
||||||
|
sbin/faxq
|
||||||
|
sbin/faxqclean
|
||||||
|
sbin/faxgetty
|
||||||
|
sbin/faxsend
|
||||||
|
sbin/pagesend
|
||||||
|
sbin/tsitest
|
||||||
|
sbin/tagtest
|
||||||
|
sbin/cqtest
|
||||||
|
sbin/choptest
|
||||||
|
bin/faxmail
|
||||||
|
lib/fax/faxmail.ps
|
||||||
|
bin/faxrm
|
||||||
|
bin/faxstat
|
||||||
|
sbin/hfaxd
|
||||||
|
lib/fax/hfaxd.conf
|
||||||
|
bin/sendfax
|
||||||
|
bin/sendpage
|
||||||
|
sbin/faxaddmodem
|
||||||
|
sbin/faxsetup
|
||||||
|
sbin/faxsetup.bsdi
|
||||||
|
sbin/faxsetup.irix
|
||||||
|
sbin/faxsetup.linux
|
||||||
|
sbin/probemodem
|
||||||
|
sbin/lockname
|
||||||
|
sbin/ondelay
|
||||||
man/man1/faxalter.1
|
man/man1/faxalter.1
|
||||||
man/man1/faxcover.1
|
man/man1/faxcover.1
|
||||||
man/man1/faxmail.1
|
man/man1/faxmail.1
|
||||||
@ -22,23 +60,8 @@ man/man1/sendfax.1
|
|||||||
man/man1/sendpage.1
|
man/man1/sendpage.1
|
||||||
man/man1/sgi2fax.1
|
man/man1/sgi2fax.1
|
||||||
man/man1/textfmt.1
|
man/man1/textfmt.1
|
||||||
man/man5/cid.5f
|
|
||||||
man/man5/config.5f
|
|
||||||
man/man5/destctrls.5f
|
|
||||||
man/man5/dialrules.5f
|
|
||||||
man/man5/hosts.5f
|
|
||||||
man/man5/hylafax.5f
|
|
||||||
man/man5/info.5f
|
|
||||||
man/man5/log.5f
|
|
||||||
man/man5/pagermap.5f
|
|
||||||
man/man5/pagesizes.5f
|
man/man5/pagesizes.5f
|
||||||
man/man5/recvq.5f
|
|
||||||
man/man5/sendq.5f
|
|
||||||
man/man5/shutdown.5f
|
|
||||||
man/man5/status.5f
|
|
||||||
man/man5/tsi.5f
|
|
||||||
man/man5/typerules.5f
|
man/man5/typerules.5f
|
||||||
man/man5/xferlog.5f
|
|
||||||
man/man8/choptest.8c
|
man/man8/choptest.8c
|
||||||
man/man8/cqtest.8c
|
man/man8/cqtest.8c
|
||||||
man/man8/dialtest.8c
|
man/man8/dialtest.8c
|
||||||
@ -71,61 +94,62 @@ man/man8/tiffcheck.8c
|
|||||||
man/man8/tsitest.8c
|
man/man8/tsitest.8c
|
||||||
man/man8/wedged.8c
|
man/man8/wedged.8c
|
||||||
man/man8/xferstats.8c
|
man/man8/xferstats.8c
|
||||||
sbin/choptest
|
man/man5/cid.5f
|
||||||
sbin/cqtest
|
man/man5/config.5f
|
||||||
sbin/dialtest
|
man/man5/destctrls.5f
|
||||||
sbin/faxabort
|
man/man5/dialrules.5f
|
||||||
sbin/faxaddmodem
|
man/man5/hosts.5f
|
||||||
sbin/faxanswer
|
man/man5/hylafax.5f
|
||||||
sbin/faxconfig
|
man/man5/info.5f
|
||||||
sbin/faxcron
|
man/man5/log.5f
|
||||||
sbin/faxgetty
|
man/man5/pagermap.5f
|
||||||
sbin/faxinfo
|
man/man5/recvq.5f
|
||||||
sbin/faxmodem
|
man/man5/sendq.5f
|
||||||
sbin/faxmsg
|
man/man5/shutdown.5f
|
||||||
sbin/faxq
|
man/man5/status.5f
|
||||||
sbin/faxqclean
|
man/man5/tsi.5f
|
||||||
sbin/faxquit
|
man/man5/xferlog.5f
|
||||||
sbin/faxsend
|
@dirrm %D/lib/fax
|
||||||
sbin/faxsetup
|
|
||||||
sbin/faxsetup.bsdi
|
|
||||||
sbin/faxsetup.irix
|
|
||||||
sbin/faxsetup.linux
|
|
||||||
sbin/faxstate
|
|
||||||
sbin/faxwatch
|
|
||||||
sbin/hfaxd
|
|
||||||
sbin/lockname
|
|
||||||
sbin/ondelay
|
|
||||||
sbin/pagesend
|
|
||||||
sbin/probemodem
|
|
||||||
sbin/recvstats
|
|
||||||
sbin/tagtest
|
|
||||||
sbin/textfmt
|
|
||||||
sbin/tiffcheck
|
|
||||||
sbin/tsitest
|
|
||||||
sbin/typetest
|
|
||||||
sbin/xferstats
|
|
||||||
@dirrm lib/fax
|
|
||||||
@cwd /var/spool
|
@cwd /var/spool
|
||||||
|
@exec install -d -o uucp -g dialer -m 755 %D/fax
|
||||||
|
@exec install -d -o uucp -g dialer -m 755 %D/fax/bin
|
||||||
|
@exec install -d -o uucp -g dialer -m 755 %D/fax/client
|
||||||
|
@exec install -d -o uucp -g dialer -m 755 %D/fax/config
|
||||||
|
@exec install -d -o uucp -g dialer -m 755 %D/fax/dev
|
||||||
|
@exec install -d -o uucp -g dialer -m 755 %D/fax/etc
|
||||||
|
@exec install -d -o uucp -g dialer -m 755 %D/fax/info
|
||||||
|
@exec install -d -o uucp -g dialer -m 755 %D/fax/log
|
||||||
|
@exec install -d -o uucp -g dialer -m 755 %D/fax/recvq
|
||||||
|
@exec install -d -o uucp -g dialer -m 755 %D/fax/status
|
||||||
|
@exec install -d -o uucp -g dialer -m 700 %D/fax/sendq
|
||||||
|
@exec install -d -o uucp -g dialer -m 700 %D/fax/doneq
|
||||||
|
@exec install -d -o uucp -g dialer -m 700 %D/fax/docq
|
||||||
|
@exec install -d -o uucp -g dialer -m 700 %D/fax/tmp
|
||||||
|
@exec install -d -o uucp -g dialer -m 700 %D/fax/pollq
|
||||||
|
@exec install -d -o uucp -g dialer -m 700 %D/fax/archive
|
||||||
|
@exec mkfifo %D/fax/FIFO; chown uucp:dialer %D/fax/FIFO; chmod 600 %D/fax/FIFO
|
||||||
fax/COPYRIGHT
|
fax/COPYRIGHT
|
||||||
fax/bin/faxrcvd
|
fax/bin/ps2fax.gs
|
||||||
fax/bin/mkcover
|
fax/bin/ps2fax.dps
|
||||||
|
fax/bin/ps2fax.imp
|
||||||
|
fax/bin/pcl2fax
|
||||||
|
fax/bin/tiff2fax
|
||||||
fax/bin/notify
|
fax/bin/notify
|
||||||
fax/bin/notify.awk
|
fax/bin/notify.awk
|
||||||
fax/bin/pcl2fax
|
fax/bin/faxrcvd
|
||||||
fax/bin/pollrcvd
|
fax/bin/pollrcvd
|
||||||
fax/bin/ps2fax.dps
|
fax/bin/mkcover
|
||||||
fax/bin/ps2fax.gs
|
|
||||||
fax/bin/ps2fax.imp
|
|
||||||
fax/bin/tiff2fax
|
|
||||||
fax/bin/wedged
|
fax/bin/wedged
|
||||||
fax/config/att-dataport
|
fax/etc/dpsprinter.ps
|
||||||
fax/config/att-dataport-2
|
fax/etc/cover.templ
|
||||||
fax/config/att-dataport-2.0
|
|
||||||
fax/config/cirrus
|
|
||||||
fax/config/class1
|
fax/config/class1
|
||||||
fax/config/class2
|
fax/config/class2
|
||||||
fax/config/class2.0
|
fax/config/class2.0
|
||||||
|
fax/config/skel
|
||||||
|
fax/config/att-dataport-2
|
||||||
|
fax/config/att-dataport-2.0
|
||||||
|
fax/config/att-dataport
|
||||||
|
fax/config/cirrus
|
||||||
fax/config/dsi-scout+
|
fax/config/dsi-scout+
|
||||||
fax/config/e-tech
|
fax/config/e-tech
|
||||||
fax/config/everex-2496d
|
fax/config/everex-2496d
|
||||||
@ -145,9 +169,8 @@ fax/config/rc288dpi-1
|
|||||||
fax/config/rc32acl
|
fax/config/rc32acl
|
||||||
fax/config/rc32acl-1
|
fax/config/rc32acl-1
|
||||||
fax/config/rockwell
|
fax/config/rockwell
|
||||||
fax/config/skel
|
|
||||||
fax/config/telebit-qblazer
|
|
||||||
fax/config/telebit-t3000
|
fax/config/telebit-t3000
|
||||||
|
fax/config/telebit-qblazer
|
||||||
fax/config/telebit-wb
|
fax/config/telebit-wb
|
||||||
fax/config/tricom2842
|
fax/config/tricom2842
|
||||||
fax/config/uds-fastalk
|
fax/config/uds-fastalk
|
||||||
@ -158,69 +181,27 @@ fax/config/zyxel-1496e
|
|||||||
fax/config/zyxel-1496e-1
|
fax/config/zyxel-1496e-1
|
||||||
fax/config/zyxel-1496e-2.0
|
fax/config/zyxel-1496e-2.0
|
||||||
fax/config/zyxel-2864
|
fax/config/zyxel-2864
|
||||||
fax/etc/cover.templ
|
fax/config/sierra
|
||||||
fax/etc/dialrules
|
|
||||||
fax/etc/dialrules.europe
|
|
||||||
fax/etc/dialrules.sf-ba
|
|
||||||
fax/etc/dpsprinter.ps
|
|
||||||
fax/etc/hosts
|
|
||||||
fax/etc/lutRS18.pcf
|
|
||||||
fax/etc/xferlog
|
fax/etc/xferlog
|
||||||
@exec chown uucp:dialer %D/fax
|
fax/etc/hosts
|
||||||
@comment pkg_* can't deal with fifos if specified as a file
|
fax/etc/dialrules
|
||||||
@exec mkfifo %D/fax/FIFO
|
fax/etc/dialrules.sf-ba
|
||||||
@exec chown uucp:dialer %D/fax/FIFO
|
fax/etc/dialrules.europe
|
||||||
@exec chmod 600 %D/fax/FIFO
|
fax/etc/lutRS18.pcf
|
||||||
|
@dirrm %D/fax/bin
|
||||||
|
@dirrm %D/fax/client
|
||||||
|
@dirrm %D/fax/config
|
||||||
|
@dirrm %D/fax/dev
|
||||||
|
@dirrm %D/fax/etc
|
||||||
|
@dirrm %D/fax/info
|
||||||
|
@dirrm %D/fax/log
|
||||||
|
@dirrm %D/fax/recvq
|
||||||
|
@dirrm %D/fax/status
|
||||||
|
@dirrm %D/fax/sendq
|
||||||
|
@dirrm %D/fax/doneq
|
||||||
|
@dirrm %D/fax/docq
|
||||||
|
@dirrm %D/fax/tmp
|
||||||
|
@dirrm %D/fax/pollq
|
||||||
|
@dirrm %D/fax/archive
|
||||||
@unexec rm %D/fax/FIFO
|
@unexec rm %D/fax/FIFO
|
||||||
@exec mkdir %D/fax/archive
|
@dirrm %D/fax
|
||||||
@exec chown uucp:dialer %D/fax/archive
|
|
||||||
@exec chmod 700 %D/fax/archive
|
|
||||||
@exec mkdir %D/fax/client
|
|
||||||
@exec chown uucp:dialer %D/fax/client
|
|
||||||
@exec chmod 755 %D/fax/client
|
|
||||||
@exec mkdir %D/fax/dev
|
|
||||||
@exec chown uucp:dialer %D/fax/dev
|
|
||||||
@exec chmod 755 %D/fax/dev
|
|
||||||
@exec mkdir %D/fax/docq
|
|
||||||
@exec chown uucp:dialer %D/fax/docq
|
|
||||||
@exec chmod 700 %D/fax/docq
|
|
||||||
@exec mkdir %D/fax/doneq
|
|
||||||
@exec chown uucp:dialer %D/fax/doneq
|
|
||||||
@exec chmod 700 %D/fax/doneq
|
|
||||||
@exec mkdir %D/fax/info
|
|
||||||
@exec chown uucp:dialer %D/fax/info
|
|
||||||
@exec chmod 755 %D/fax/info
|
|
||||||
@exec mkdir %D/fax/log
|
|
||||||
@exec chown uucp:dialer %D/fax/log
|
|
||||||
@exec chmod 755 %D/fax/log
|
|
||||||
@exec mkdir %D/fax/pollq
|
|
||||||
@exec chown uucp:dialer %D/fax/pollq
|
|
||||||
@exec chmod 700 %D/fax/pollq
|
|
||||||
@exec mkdir %D/fax/recvq
|
|
||||||
@exec chown uucp:dialer %D/fax/recvq
|
|
||||||
@exec chmod 755 %D/fax/recvq
|
|
||||||
@exec mkdir %D/fax/sendq
|
|
||||||
@exec chown uucp:dialer %D/fax/sendq
|
|
||||||
@exec chmod 700 %D/fax/sendq
|
|
||||||
@exec mkdir %D/fax/status
|
|
||||||
@exec chown uucp:dialer %D/fax/status
|
|
||||||
@exec chmod 755 %D/fax/status
|
|
||||||
@exec mkdir %D/fax/tmp
|
|
||||||
@exec chown uucp:dialer %D/fax/tmp
|
|
||||||
@exec chmod 700 %D/fax/tmp
|
|
||||||
@dirrm fax/archive
|
|
||||||
@dirrm fax/bin
|
|
||||||
@dirrm fax/client
|
|
||||||
@dirrm fax/config
|
|
||||||
@dirrm fax/dev
|
|
||||||
@dirrm fax/docq
|
|
||||||
@dirrm fax/doneq
|
|
||||||
@dirrm fax/etc
|
|
||||||
@dirrm fax/info
|
|
||||||
@dirrm fax/log
|
|
||||||
@dirrm fax/pollq
|
|
||||||
@dirrm fax/recvq
|
|
||||||
@dirrm fax/sendq
|
|
||||||
@dirrm fax/status
|
|
||||||
@dirrm fax/tmp
|
|
||||||
@dirrm fax
|
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
The port is complete rewrite of hylafax-3.0p1 port by Julian Stacey
|
|
||||||
<jhs@freebsd.org>, May 1995.
|
|
||||||
original notice was as follows:
|
|
||||||
|
|
||||||
Copyright Julian Stacey 1995:
|
|
||||||
Please preserve & comply with Sam Leffler's & SGI's legal stuff
|
|
||||||
I hereby release my work in this area for public use,
|
|
||||||
& disclaim all liability !
|
|
||||||
Leave my name intact please, I'm a freelance, publicity can
|
|
||||||
be useful.
|
|
Loading…
Reference in New Issue
Block a user