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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
|
Author:
Description: change directory for xferfaxstats file
Index: hylafax-6.0.6/config.h.in
===================================================================
--- hylafax-6.0.6.orig/config.h.in 2012-06-06 02:58:38.000000000 +0200
+++ hylafax-6.0.6/config.h.in 2012-06-17 14:17:36.597578506 +0200
@@ -137,7 +137,7 @@
* file; currently in an ASCII format designed for processing
* by programs like awk and perl.
*/
-#define FAX_XFERLOG FAX_ETCDIR "/xferfaxlog"
+#define FAX_XFERLOG FAX_LOGDIR "/xferfaxlog"
/*
* Client access to services on the server machine is controlled
Index: hylafax-6.0.6/man/faxcron.1m
===================================================================
--- hylafax-6.0.6.orig/man/faxcron.1m 2012-06-06 02:58:38.000000000 +0200
+++ hylafax-6.0.6/man/faxcron.1m 2012-06-17 14:17:36.597578506 +0200
@@ -141,9 +141,9 @@
session log files are not publicly readable.)
.SH FILES
.nf
-.ta \w'${SPOOL}/etc/xferfaxstats 'u
+.ta \w'${SPOOL}/log/xferfaxstats 'u
${SPOOL} spooling area
-${SPOOL}/etc/lastrun timestamp of last run
+${SPOOL}/status/lastrun timestamp of last run
${SBIN}/xferfaxstats for generating transmit statistics
${SBIN}/recvstats for generating receive statistics
${SPOOL}/tmp/faxcronXXXX temporary file for truncating session logs
Index: hylafax-6.0.6/man/recvstats.1m
===================================================================
--- hylafax-6.0.6.orig/man/recvstats.1m 2012-06-06 02:58:38.000000000 +0200
+++ hylafax-6.0.6/man/recvstats.1m 2012-06-17 14:17:36.601578519 +0200
@@ -46,7 +46,7 @@
the communication speed, or
the communication data format.
Statistics are read from the file
-.B ${SPOOL}/etc/xferfaxlog
+.B ${SPOOL}/log/xferfaxlog
unless filenames are specified on the command line.
.PP
The following table is an example of the output from
@@ -155,9 +155,9 @@
.B since.
.SH FILES
.nf
-.ta \w'${SPOOL}/etc/xferfaxlog 'u
+.ta \w'${SPOOL}/log/xferfaxlog 'u
${SPOOL} spooling area
-${SPOOL}/etc/xferfaxlog default file from which to read statistics
+${SPOOL}/log/xferfaxlog default file from which to read statistics
.fi
.SH "SEE ALSO"
.IR faxq (${MANNUM1_8}),
Index: hylafax-6.0.6/man/xferfaxstats.1m
===================================================================
--- hylafax-6.0.6.orig/man/xferfaxstats.1m 2012-06-06 02:58:38.000000000 +0200
+++ hylafax-6.0.6/man/xferfaxstats.1m 2012-06-17 14:17:36.601578519 +0200
@@ -50,7 +50,7 @@
the communication speed, and
the communication data format.
Statistics are read from the file
-.B ${SPOOL}/etc/xferfaxlog
+.B ${SPOOL}/log/xferfaxlog
in the spooling area, unless filenames are
specified on the command line.
.PP
@@ -202,7 +202,7 @@
.nf
.ta \w'${SPOOL} 'u
${SPOOL} spooling area
-etc/xferfaxlog default file from which to read statistics
+log/xferfaxlog default file from which to read statistics
.fi
.SH "SEE ALSO"
.IR faxq (${MANNUM1_8}),
Index: hylafax-6.0.6/util/faxcron.sh.in
===================================================================
--- hylafax-6.0.6.orig/util/faxcron.sh.in 2012-06-06 02:58:38.000000000 +0200
+++ hylafax-6.0.6/util/faxcron.sh.in 2012-06-17 14:17:36.601578519 +0200
@@ -43,8 +43,8 @@
AGETMP=1 # purge orphaned temp files after 1 day
FAXUSER=@FAXUID@ # owner of log files
LOGMODE=0644 # mode for log files
-XFERLOG=etc/xferfaxlog # HylaFAX xferfaxlog file location
-LAST=etc/lastrun # file where time+date of last run recorded
+XFERLOG=log/xferfaxlog # HylaFAX xferfaxlog file location
+LAST=status/lastrun # file where time+date of last run recorded
cd @SPOOL@ # NB: everything below assumes this
. bin/common-functions
Index: hylafax-6.0.6/util/recvstats.sh.in
===================================================================
--- hylafax-6.0.6.orig/util/recvstats.sh.in 2012-06-06 02:58:38.000000000 +0200
+++ hylafax-6.0.6/util/recvstats.sh.in 2012-06-17 14:17:36.601578519 +0200
@@ -73,7 +73,7 @@
shift
done
if [ -z "$FILES" ]; then
- FILES=$SPOOL/etc/xferfaxlog
+ FILES=$SPOOL/log/xferfaxlog
fi
#
Index: hylafax-6.0.6/util/xferfaxstats.sh.in
===================================================================
--- hylafax-6.0.6.orig/util/xferfaxstats.sh.in 2012-06-06 02:58:38.000000000 +0200
+++ hylafax-6.0.6/util/xferfaxstats.sh.in 2012-06-17 14:17:36.601578519 +0200
@@ -71,7 +71,7 @@
shift
done
if [ -z "$FILES" ]; then
- FILES=$SPOOL/etc/xferfaxlog
+ FILES=$SPOOL/log/xferfaxlog
fi
#
|