--- files/patch-configure.orig Wed May 26 16:13:37 2004 +++ files/patch-configure Mon May 24 17:45:28 2004 @@ -1,13 +1,92 @@ -$FreeBSD: ports/comms/hylafax/files/patch-configure,v 1.2 2002/08/12 19:03:22 glewis Exp $ - ---- configure.orig Wed May 30 19:29:46 2001 -+++ configure Mon Apr 8 22:28:59 2002 -@@ -2584,7 +2584,7 @@ +--- configure.orig Mon May 24 15:24:35 2004 ++++ configure Mon May 24 17:44:28 2004 +@@ -43,8 +43,8 @@ + DIR_LIB=/usr/local/lib + DIR_LIBEXEC=$DIR_SBIN + DIR_SPOOL=/var/spool/hylafax +-DIR_HTML=/var/httpd/htdocs/hylafax +-DIR_CGI=/var/httpd/cgi-bin ++DIR_HTML=/usr/local/share/doc/hylafax ++DIR_CGI=/usr/local/share/doc/hylafax/cgi-bin + PATH_DPSRIP=$DIR_LIBEXEC/ps2fax.exe + PATH_IMPRIP=/usr/lib/print/psrip + HTMLPATH=/hylafax +@@ -52,9 +52,9 @@ + DEFVRES=98 + PAGESIZE="North American Letter" + FAXUID=uucp +-FAXGID= +-SYSUID=bin +-SYSGID= ++FAXGID=dialer ++SYSUID=root ++SYSGID=wheel + DSO=auto + GETTY=auto + HTML=no +@@ -2604,7 +2604,7 @@ } CheckFuncDecl unlink 'extern int unlink(const char*);' unistd.h CheckFuncDecl read 'extern int read(int, const void*, unsigned int);' unistd.h - CheckFuncDecl ioctl 'extern int ioctl(int, int, ...);' unistd.h sys/ioctl.h -+# CheckFuncDecl ioctl 'extern int ioctl(int, int, ...);' unistd.h sys/ioctl.h ++ CheckFuncDecl ioctl 'extern int ioctl(int, unsigned long, ...);' sys/ioccom.h CheckForFunc fchown && { echo '#define HAS_FCHOWN 1' Note "... configure use of fchown" +@@ -4245,18 +4245,8 @@ + + HylaFAX configuration parameters (part 1 of 2) are: + +-[ 1] Directory for applications: $DIR_BIN +-[ 2] Directory for lib data files: $DIR_LIBDATA +-[ 3] Directory for lib executables: $DIR_LIBEXEC +-[ 4] Directory for system apps: $DIR_SBIN +-[ 5] Directory for manual pages: $DIR_MAN +-[ 6] Directory for HTML documentation: $DIR_HTML +-[ 7] Directory for spooling: $DIR_SPOOL +-[ 8] Directory for uucp lock files: $DIR_LOCKS +-[ 9] Uucp lock file scheme: $LOCKS + [10] PostScript imager package: $PS + [11] PostScript imager program: $PATH_PSRIP +-[12] Manual page installation scheme: $MANSCHEME + [13] Default page size: $PAGESIZE + [14] Default vertical res (lpi): $DEFVRES + +@@ -4272,16 +4262,9 @@ + [15] Location of getty program: $PATH_GETTY + [16] Location of voice getty program: $PATH_VGETTY + [17] Location of sendmail program: $PATH_SENDMAIL +-[18] Location of TIFF tools: $TIFFBIN +-[19] Location of SysV init scripts: $DIR_SYSVINIT +-[20] Location of SysV start scripts: $DIR_SYSVINITSTART +-[21] Location of SysV stop scripts: $DIR_SYSVINITSTOP +-[22] Name of SysV start script: $NAME_SYSVINITSTART +-[23] Name of SysV stop script: $NAME_SYSVINITSTOP +-[24] Init script starts faxq: $FAXQ_SERVER +-[25] Init script starts hfaxd $HFAXD_SERVER +-[26] Start old protocol: $HFAXD_OLD_PROTOCOL +-[27] Start paging protocol: $HFAXD_SNPP_SERVER ++[26] Use old protocol: $HFAXD_OLD_PROTOCOL ++[27] Use paging protocol: $HFAXD_SNPP_SERVER ++ + EOF + } + +@@ -4382,7 +4365,7 @@ + ok=skip + while [ "$ok" != y ] && [ "$ok" != yes ]; do + if [ "$ok" != skip ]; then +- for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ; do ++ for i in 10 11 13 14 ; do + promptForParameter $i; + done + fi +@@ -4411,7 +4394,7 @@ + ok=skip + while [ "$ok" != y ] && [ "$ok" != yes ]; do + if [ "$ok" != skip ]; then +- for i in 15 16 17 18 19 20 21 22 23 24 25 26 27 ; do ++ for i in 15 16 17 26 27 ; do + promptForParameter $i; + done + fi