--- man/ncid.1.orig 2011-07-31 19:44:30.000000000 -0500 +++ man/ncid.1 2011-09-28 23:29:09.000000000 -0500 @@ -88,10 +88,10 @@ test for it, and if it is not found, or if it is not executable, it will terminate with a error message. .PP -The configuration file for \fIncid\fR is /etc/ncid/ncid.conf. +The configuration file for \fIncid\fR is @PREFIX@/etc/ncid/ncid.conf. .PP The distributed output modules are listed in the ncidmodules man page, -can be customized as needed in the /etc/ncid/ncidmodules.conf file: +can be customized as needed in the @PREFIX@/etc/ncid/ncidmodules.conf file: .PP Whenever the server connection is broken, \fIncid\fR will normally try to reconnect once a minute. It provides a visual record of the countdown @@ -143,8 +143,8 @@ .TP .B --pidfile | -p Name of PID file to create. -Set to \fI/var/run/ncid.pid\fR in a rc or init script when used as a service. -Set to \fI/var/run/OUTPUTMODULE.pid\fR in a rc or init script when used as +Set to \fI@PREFIX@/var/run/ncid.pid\fR in a rc or init script when used as a service. +Set to \fI@PREFIX@/var/run/OUTPUTMODULE.pid\fR in a rc or init script when used as a service and when using a output module. There is no default. If pidfile is not set, no pid file will be used. .TP @@ -155,7 +155,7 @@ Outgoing call information is also sent if the call-out option is enabled. A message is also sent, if the message option is enabled. .br -Default module PATH: /usr/share/ncid +Default module PATH: @PREFIX@/share/ncid .TP .B --raw | -R display data received from the CID Server @@ -207,9 +207,9 @@ Default: 3333 .PD .SH FILES -/etc/ncid/* +@PREFIX@/etc/ncid/* .br -/usr/share/ncid/* +@PREFIX@/share/ncid/* .SH EXAMPLES .nf # run ncid in a terminal window, server on remote host @@ -219,7 +219,7 @@ ncid --no-gui --program ncid-speak # send CID output to GUI and speak it -ncid --program /usr/local/bin/ncid-speak +ncid --program @PREFIX@/bin/ncid-speak # send CID output to a cell phone after third ring ncid --no-gui --program ncid-page --ring 3 --- man/ncidd.8.orig 2011-04-26 01:16:28.000000000 -0500 +++ man/ncidd.8 2011-05-08 05:41:25.000000000 -0500 @@ -122,22 +122,22 @@ .B -A | --alias Alias file. .br -Default: /etc/ncid/ncidd.alias +Default: @PREFIX@/etc/ncid/ncidd.alias .TP .B -B | --blacklist Blacklist file. .br -Default: /etc/ncid/ncidd.blacklist +Default: @PREFIX@/etc/ncid/ncidd.blacklist .TP .B -C | --config Config file. .br -Default: /etc/ncid/ncidd.conf +Default: @PREFIX@/etc/ncid/ncidd.conf .TP .B -c | --cidlog Call log data file. .br -Default: /var/log/cidcall.log +Default: @PREFIX@/var/log/cidcall.log .TP .B -D | --debug Debug mode, \fIncidd\fR stays attached to the terminal and displays @@ -146,7 +146,7 @@ .B -d | --datalog Data log data file, usually from a modem. .br -Default: /var/log/datalog.log +Default: @PREFIX@/var/log/datalog.log .TP .B -e | --lineid The telephone line identifier is for a modem. It is normally 1 to 4 @@ -191,12 +191,12 @@ .B -L | --logfile Server logfile. .br -Default: /var/log/ncidd.log +Default: @PREFIX@/var/log/ncidd.log .TP .B -l | --lockfile Modem lockfile. .br -Default: /var/lock/LCK..modem +Default: @PREFIX@/var/lock/LCK..modem .TP .B -M | --cidlogmax Set the maximum CID call log file size in bytes. @@ -217,7 +217,7 @@ .TP .B -P | --pidfile Server PID file. -Set to \fI/var/run/ncidd.pid\fR in a rc or init script when used as a service. +Set to \fI@PREFIX@/var/run/ncidd.pid\fR in a rc or init script when used as a service. The program will still run if it does not have permission to write a pidfile. There is no default. If pidfile is not set, no pid file will be used. .TP @@ -253,7 +253,7 @@ .B -t | --ttyport Modem device file, or serial port that provides Caller ID information. .br -Default: /dev/modem +Default: /dev/cu.modem .TP .B -V | --version Display the version number. @@ -317,22 +317,22 @@ .fi .SH FILES .TP -.B /etc/ncid/ncidd.blacklist +.B @PREFIX@/etc/ncid/ncidd.blacklist Blacklist file .TP -.B /etc/ncid/ncidd.conf +.B @PREFIX@/etc/ncid/ncidd.conf Configuration file .TP -.B /var/run/ncidd.pid +.B @PREFIX@/var/run/ncidd.pid PID file .TP -.B /var/log/cidcall.log +.B @PREFIX@/var/log/cidcall.log Contains CID and MSG lines .TP -.B /var/log/ciddata.log +.B @PREFIX@/var/log/ciddata.log Contains the output from the modem, device or gateway .TP -.B /var/log/ncidd.log +.B @PREFIX@/var/log/ncidd.log Server log file. Contents controlled by verbose. .SH DIAGNOSTICS .nf --- man/ncidmodules.1.orig 2011-02-27 20:51:12.000000000 -0600 +++ man/ncidmodules.1 2011-05-08 05:43:10.000000000 -0500 @@ -56,7 +56,7 @@ .B ncid-yac .SH DESCRIPTION These are ncid output modules and are normally located in the -.BR /usr/share/ncid +.BR @PREFIX@/share/ncid directory. .PP The client, @@ -138,7 +138,7 @@ ncid --no-gui --message --program ncid-page --ring 4 .RE .SH FILES -/etc/ncid/ncidmodules.conf +@PREFIX@/etc/ncid/ncidmodules.conf .br http://en.wikipedia.org/wiki/List_of_carriers_providing_SMS_transit .SH SEE ALSO --- man/ncidrotate.1.orig 2011-02-27 20:51:15.000000000 -0600 +++ man/ncidrotate.1 2011-06-15 20:33:46.000000000 -0500 @@ -8,18 +8,18 @@ {prerotate|postrotate} .SH DESCRIPTION The NCID log rotation module is normally found in -.BR /usr/share/ncid +.BR @PREFIX@/share/ncid directory. .PP .B Ncidrotate is called by -.I /etc/logrotate.d/ncid +.I @PREFIX@/etc/logrotate.d/ncid and will keep a number of lines in cidcall.log after rotation. The default is 0 lines kept. The configuration file for logrotate is -.I /etc/ncid/ncidrotate.conf +.I @PREFIX@/etc/ncid/ncidrotate.conf .SH FILES -/etc/ncid/ncidrotate.conf +@PREFIX@/etc/ncid/ncidrotate.conf .SH SEE ALSO ncidrotate.conf.5, ncidd.8, sip2ncid.8, ncid2ncid.1, yac2ncid.1 --- man/ncidsip.8.orig 2011-02-27 20:51:31.000000000 -0600 +++ man/ncidsip.8 2011-06-15 20:38:48.000000000 -0500 @@ -29,7 +29,7 @@ the libpcap library and snoops only udp traffic on the specified SIP host and port. .PP -The configuration file for \fIncidsip\fR is /etc/ncid/ncidsip.conf. +The configuration file for \fIncidsip\fR is @PREFIX@/etc/ncid/ncidsip.conf. .SH "OPTIONS" .TP .B -s <[host][:port]> | --sip=<[host][:port]> @@ -52,7 +52,7 @@ .TP .B -p | --pidfile= Specifies the pidfile name to write. -Set to \fI/var/run/ncidsip.pid\fR in a rc or init script when used as a service. +Set to \fI@PREFIX@/var/run/ncidsip.pid\fR in a rc or init script when used as a service. The program will still run if it does not have permission to write a pidfile. There is no default, if pidfile is not set, no pid file will be used. .TP @@ -84,7 +84,7 @@ ID line generated when a call comes in, and a CANCEL line if cancel was generated. .SH FILES -/etc/ncid/ncidsip.conf +@PREFIX@/etc/ncid/ncidsip.conf .SH CID MESSAGE FORMAT .nf CID: ###DATEmmddhhss...LINEidentifier...NMBRnumber...NAMEwords+++ --- man/ncidtools.1.orig 2011-02-27 20:51:37.000000000 -0600 +++ man/ncidtools.1 2011-06-15 20:40:59.000000000 -0500 @@ -53,12 +53,12 @@ .B -A aliasfile Set the alias file to \fIaliasfile\fR .br -Default: /etc/ncid/ncidd.alias +Default: @PREFIX@/etc/ncid/ncidd.alias .TP .B -C callfile Set the call file to \fIcallfile\fR .br -Default: /var/log/cidcall.log +Default: @PREFIX@/var/log/cidcall.log .PD .SS "Arguments" .PD 0 @@ -66,12 +66,12 @@ .B callfile The NCID call file. .br -Default: /var/log/cidcall.log +Default: @PREFIX@/var/log/cidcall.log .TP .B aliasfile The ncidd alias file. .br -Default: /etc/ncid/ncidd.alias +Default: @PREFIX@/etc/ncid/ncidd.alias .TP .B newcallfile The updated call file. --- man/sip2ncid.8.orig 2011-02-27 20:51:48.000000000 -0600 +++ man/sip2ncid.8 2011-06-15 20:45:04.000000000 -0500 @@ -33,18 +33,18 @@ found to the NCID server specified. Snoops only udp traffic on the specified SIP host and port. .PP -The log file is \fI/var/log/sip2ncid.log\fR. +The log file is \fI@PREFIX@/var/log/sip2ncid.log\fR. .PP -If a pid file is given, usually \fI/var/run/sip2ncid.pid\fR, then +If a pid file is given, usually \fI@PREFIX@/var/run/sip2ncid.pid\fR, then a pid file used to store the process ID. .PP -The configuration file for \fIsip2ncid\fR is /etc/ncid/sip2ncid.conf. +The configuration file for \fIsip2ncid\fR is @PREFIX@/etc/ncid/sip2ncid.conf. .SH "OPTIONS" .TP .B -C | --config Configuration file. .br -Default: /etc/ncid/sip2ncid.conf +Default: @PREFIX@/etc/ncid/sip2ncid.conf .TP .B -D | --debug Debug mode, \fIsip2ncid\fR stays attached to the terminal. @@ -63,7 +63,7 @@ .B -L | --logfile= Specifies the logfile name to use. The logfile must exist before it is used. .br -Default log filename: /var/log/sip2ncid.log +Default log filename: @PREFIX@/var/log/sip2ncid.log .TP .B -n <[host][:port]> | --ncid=<[host][:port]> Specifies the NCID server to connect to. Port may be specified by @@ -73,7 +73,7 @@ .TP .B -P | --pidfile= Specifies the pidfile name to write. -Set to \fI/var/run/ncidd.pid\fR in a rc or init script when used as a service. +Set to \fI@PREFIX@/var/run/ncidd.pid\fR in a rc or init script when used as a service. The program will still run if it does not have permission to write a pidfile. There is no default. If pidfile is not set, no pid file will be used. .TP @@ -127,11 +127,11 @@ This also sets the debug option, verbose to level 3, and no filter is applied. Mostly only useful for development and debug purposes. .SH FILES -/etc/ncid/sip2ncid.conf +@PREFIX@/etc/ncid/sip2ncid.conf .br -/var/run/sip2ncid.pid +@PREFIX@/var/run/sip2ncid.pid .br -/var/log/sip2ncid.log +@PREFIX@/var/log/sip2ncid.log .SH MESSAGES FORMAT .nf CALL: ###DATE...LINE<####>...NMBR<###########>...NAME+++ --- man/yac2ncid.1.orig 2011-02-27 20:51:51.000000000 -0600 +++ man/yac2ncid.1 2011-06-15 20:46:12.000000000 -0500 @@ -15,7 +15,7 @@ It is important to understand that to run YAC server with NCID clients you must run YAC2NCID gateway as well as NCID server. .PP -The configuration file for \fIyac2ncid\fR is \fI/etc/ncid/yac2ncid.conf\fR. +The configuration file for \fIyac2ncid\fR is \fI@PREFIX@/etc/ncid/yac2ncid.conf\fR. It may be located in same directory as the script, or in the \fIetc\fR directory, or in NCID default configuration directory. Read the comments in the config file for more details. @@ -48,7 +48,7 @@ .SH REQUIRED PROGRAMS netcat: /usr/bin/nc .SH FILES -/etc/ncid/yac2ncid.conf +@PREFIX@/etc/ncid/yac2ncid.conf .SH SEE ALSO ncidd.8, sip2ncid.8, ncid2ncid.1, yac2ncid.1, ncid.1, ncidmodules.1, ncidrotate.1, ncidtools.1