aboutsummaryrefslogtreecommitdiffstats
path: root/comms/hylafax/files/patch-configure
blob: 59dc20e4d0e79c5939f5f48878675e00dd015795 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
--- 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, 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