diff -ruN pisg-0.44.orig/cron.daily pisg-0.44/cron.daily --- pisg-0.44.orig/cron.daily Wed Dec 31 17:00:00 1969 +++ pisg-0.44/cron.daily Wed Jan 15 08:49:10 2003 @@ -0,0 +1,16 @@ +#!/bin/sh + +source @FINKPREFIX@/bin/init.sh + +PISG_BIN=@FINKPREFIX@/bin/pisg +PISG_CONF=@FINKPREFIX@/etc/pisg.cfg + +# See if the pisg binary and config file exists +[ -f ${PISG_BIN} ] || exit 1 +[ -f ${PISG_CONF} ] || exit 1 + +# Run pisg quietly +${PISG_BIN} -s -co ${PISG_CONF} + +# Exit with pisg's exit code +exit $? diff -ruN pisg-0.44.orig/modules/Pisg.pm pisg-0.44/modules/Pisg.pm --- pisg-0.44.orig/modules/Pisg.pm Sun Dec 15 12:01:08 2002 +++ pisg-0.44/modules/Pisg.pm Tue Jan 14 23:33:05 2003 @@ -100,15 +100,15 @@ pagehead => 'none', pagefoot => 'none', - configfile => 'pisg.cfg', + configfile => '@FINKPREFIX@/etc/pisg.cfg', imagepath => '', imageglobpath => '', defaultpic => '', logdir => [], nfiles => 0, lang => 'en', - langfile => 'lang.txt', - cssdir => 'layout/', + langfile => '@FINKPREFIX@/share/pisg/lang.txt', + cssdir => '@FINKPREFIX@/share/pisg/layout/', colorscheme => 'default', logprefix => '', logsuffix => '', silent => 0, diff -ruN pisg-0.44.orig/pisg.1 pisg-0.44/pisg.1 --- pisg-0.44.orig/pisg.1 Wed Dec 31 17:00:00 1969 +++ pisg-0.44/pisg.1 Tue Jan 14 23:25:15 2003 @@ -0,0 +1,118 @@ +.\" This -*- nroff -*- file has been generated from +.\" DocBook SGML with docbook-to-man on Debian GNU/Linux. +...\" +...\" transcript compatibility for postscript use. +...\" +...\" synopsis: .P! +...\" +.de P! +\\&. +.fl \" force out current output buffer +\\!%PB +\\!/showpage{}def +...\" the following is from Ken Flowers -- it prevents dictionary overflows +\\!/tempdict 200 dict def tempdict begin +.fl \" prolog +.sy cat \\$1\" bring in postscript file +...\" the following line matches the tempdict above +\\!end % tempdict % +\\!PE +\\!. +.sp \\$2u \" move below the image +.. +.de pF +.ie \\*(f1 .ds f1 \\n(.f +.el .ie \\*(f2 .ds f2 \\n(.f +.el .ie \\*(f3 .ds f3 \\n(.f +.el .ie \\*(f4 .ds f4 \\n(.f +.el .tm ? font overflow +.ft \\$1 +.. +.de fP +.ie !\\*(f4 \{\ +. ft \\*(f4 +. ds f4\" +' br \} +.el .ie !\\*(f3 \{\ +. ft \\*(f3 +. ds f3\" +' br \} +.el .ie !\\*(f2 \{\ +. ft \\*(f2 +. ds f2\" +' br \} +.el .ie !\\*(f1 \{\ +. ft \\*(f1 +. ds f1\" +' br \} +.el .tm ? font underflow +.. +.ds f1\" +.ds f2\" +.ds f3\" +.ds f4\" +'\" t +.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n +.TH "PISG" "1" +.SH "NAME" +pisg \(em Perl IRC Statistics Generator +.SH "DESCRIPTION" +.PP +This manual page documents briefly \fBpisg\fP +.PP +This manual page was written for the \fBDebian\fP distribution +because the original program does not have a manual page. +.PP +\fBpisg\fP is a program which takes IRC logiles and turns +the into nice looking stats, which can be amusing to show to the users +og your channel. It's quite simple to set up using command line or +configuration file (more flexible and configurable +.SH "OPTIONS" +.PP +These programs follow the usual GNU command line syntax, +with long options starting with two dashes (`-'). A summary of +options is included below. +.IP "\fB-ch --channel=\fP" 10 +Set channel name +.IP "\fB-l --logfile=\fP" 10 +Log file to parse +.IP "\fB-o --outfile=\fP" 10 +Name of HTML file to create +.IP "\fB-ma --maintainer=\fP" 10 +Channel/stats maintainer +.IP "\fB-f --format=\fP" 10 +Logfile format +.IP "\fB-n --network=\fP" 10 +IRC network of the +channel +.IP "\fB-d --dir=\fP" 10 +Analyse all files in this +directory. Ignores --logfile +.IP "\fB-p --prefix=\fP" 10 +Analyse only files prefixed +by something in dir. Only works with +--dir +.IP "\fB-cf ---cfg opt=value\fP" 10 +Specify configuration options +.IP "\fB-co +--configfile=\fP" 10 +Configuration file +.IP "\fB-mo --moduledir=\fP" 10 +Directory containing pisg modules +.IP "\fB-s --silent\fP" 10 +Suppress output (except error +messages) +.IP "\fB-v --version\fP" 10 +Show version +.IP "\fB-h --help\fP" 10 +Show help +.SH "AUTHOR" +.PP +This manual page was written by Julien Danjou acid@debian.org for +the \fBDebian\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GNU Free Documentation +License, Version 1.1 or any later version published by the Free +Software Foundation; with no Invariant Sections, no Front-Cover +Texts and no Back-Cover Texts. +...\" created by instant / docbook-to-man, Sun 12 May 2002, 19:49