Thu Jul 11 2002 Preston Brown <pbrown@redhat.com>
- rebuild for mainline distro inclusion
Mon Apr 23 2001 Tim Powers <timp@redhat.com>
- fix where xferstats is expecting a config file, was in /usr/local/etc,
fixed to point to /etc (bug #36559)
Thu Dec 14 2000 Tim Powers <timp@redhat.com>
- Initial build.
- there aren't any docs outside of the Changelog for this, well, the
INSTALL file is there but that doesn't apply to the package at all
75 lines
2.4 KiB
Diff
75 lines
2.4 KiB
Diff
--- xferstats-2.16/Makefile.in.orig Tue Oct 31 00:48:07 2000
|
|
+++ xferstats-2.16/Makefile.in Thu Dec 14 11:09:55 2000
|
|
@@ -23,15 +23,16 @@
|
|
# Add any options here
|
|
DEFAULT_CONFIGURE_OPTIONS =
|
|
|
|
-prefix = @prefix@
|
|
-exec_prefix = @exec_prefix@
|
|
+DESTDIR =
|
|
+prefix = $(DESTDIR)@prefix@
|
|
+exec_prefix = $(DESTDIR)@exec_prefix@
|
|
CFLAGS = $(DEFS) @CFLAGS@ @GLIB_CFLAGS@
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
CC = @CC@
|
|
PROGS = xferstats
|
|
-BINDIR = @bindir@
|
|
-MANDIR = @mandir@
|
|
+BINDIR = $(DESTDIR)@bindir@
|
|
+MANDIR = $(DESTDIR)@mandir@
|
|
INSTALL = @INSTALL@
|
|
SRC = config.c display.c parselog.c xferstats.c
|
|
OBJ = $(SRC:.c=.o)
|
|
@@ -53,13 +54,13 @@
|
|
install: $(PROGS)
|
|
${INSTALL} -d ${BINDIR}
|
|
${INSTALL} -d ${MANDIR}/man8
|
|
- ${INSTALL} -d ${prefix}/etc
|
|
+ ${INSTALL} -d $(DESTDIR)/etc
|
|
@set -x ;for i in $(PROGS) ; do \
|
|
${INSTALL} -c -m 755 $$i ${BINDIR} ; done
|
|
@echo Installing man page...
|
|
${INSTALL} -c -m 644 xferstats.8 ${MANDIR}/man8/xferstats.8
|
|
@echo Installing configuration file...
|
|
- ${INSTALL} -c -m 644 xferstats.cfg ${prefix}/etc/xferstats.cfg
|
|
+ ${INSTALL} -c -m 644 xferstats.cfg $(DESTDIR)/etc/xferstats.cfg
|
|
|
|
clean:
|
|
rm -f $(PROGS) $(OBJ)
|
|
--- xferstats-2.16/xferstats.8.orig Tue Oct 31 14:04:43 2000
|
|
+++ xferstats-2.16/xferstats.8 Thu Dec 14 11:09:55 2000
|
|
@@ -44,7 +44,7 @@
|
|
.BI \-c " configuration file"
|
|
Specify an alternate path and filename for the configuration file. The packaged
|
|
default is
|
|
-.I /usr/local/etc/xferstats.cfg
|
|
+.I /etc/xferstats.cfg
|
|
but your administrator may have changed this. A new default can be set by
|
|
changing the appropriate variable in xferstats.h and recompiling.
|
|
.TP
|
|
@@ -243,7 +243,7 @@
|
|
.SH CONFIGURATION FILE
|
|
.P
|
|
The default configuration file path is
|
|
-.I /usr/local/etc/xferstats.cfg
|
|
+.I /etc/xferstats.cfg
|
|
although your administrator may have changed this.
|
|
.P
|
|
Any text after a '#' is ignored, as long as the '#' begins a line or is
|
|
@@ -547,13 +547,12 @@
|
|
.B xferlog
|
|
(generated by wu-ftpd or ncftpd)
|
|
.P
|
|
-.B /usr/local/etc/xferstats.cfg
|
|
+.B /etc/xferstats.cfg
|
|
contains all of the default settings and many settings which cannot be set from
|
|
the command line.
|
|
.P
|
|
If you installed the RPM version of xferstats, you'll find the JPGs for the
|
|
-graphs in /usr/doc/xferstats-x.xx/graphs Insert the version you're running in
|
|
-place of the x.xx.
|
|
+graphs in /usr/share/xferstats/graphs.
|
|
|
|
.SH BUGS
|
|
The JPG graph pieces included are not ideal; sometimes artifacts show up. I
|