Changeset 79503
- Timestamp:
- 06/15/11 18:50:03 (4 years ago)
- Location:
- trunk/dports/net/ncid
- Files:
-
- 3 edited
-
Portfile (modified) (2 diffs)
-
files/patch-Makefile.diff (modified) (3 diffs)
-
files/patch-manpages.diff (modified) (18 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/net/ncid/Portfile
r71090 r79503 5 5 6 6 name ncid 7 version 0. 747 version 0.82.1 8 8 categories net 9 9 maintainers davidlaporte.org:david ryandesign 10 license GPL-2+ 10 11 homepage http://ncid.sourceforge.net/ 11 12 master_sites sourceforge … … 35 36 to each connected client. 36 37 37 checksums \ 38 md5 18885a48bc8be40fa2423a266c6c9e40 \ 39 sha1 f3df5926b35fdff7d16fd5b452d326009de17a59 \ 40 rmd160 af0858e6d73c6ae78699d77ff4f107d36c61312c 38 checksums sha1 7c788a43c2b67625c6148fe9a52ac5e8daa53750 \ 39 rmd160 a9f42e23af889e669abf70d46b6346ddbe1b0e89 41 40 42 41 depends_lib \ -
trunk/dports/net/ncid/files/patch-Makefile.diff
r52428 r79503 1 --- Makefile 2009-02-17 23:02:28.000000000 -06002 +++ Makefile 20 09-06-16 01:06:34.000000000 -05003 @@ -5 8,9 +58,9 @@1 --- Makefile.orig 2011-05-05 23:16:40.000000000 -0500 2 +++ Makefile 2011-06-15 20:33:46.000000000 -0500 3 @@ -53,9 +53,9 @@ 4 4 5 5 # prefix and prefix2 are used on a make, install, and making a package … … 11 11 +prefix3 = $(prefix) 12 12 13 OS = host14 15 @@ -2 71,7 +271,8 @@13 settag = NONE 14 setlock = NONE 15 @@ -262,7 +262,8 @@ 16 16 MFLAGS="-mmacosx-version-min=10.4" STRIP= 17 17 … … 22 22 23 23 cygwin: 24 $(MAKE) local OS=cygwin\24 $(MAKE) local \ -
trunk/dports/net/ncid/files/patch-manpages.diff
r52428 r79503 1 --- man/ncid.1 2009-03-06 09:13:11.000000000 -06002 +++ man/ncid.1 20 09-06-16 01:06:34.000000000 -05003 @@ - 74,10 +74,10 @@1 --- man/ncid.1.orig 2011-04-28 10:17:41.000000000 -0500 2 +++ man/ncid.1 2011-05-08 05:38:10.000000000 -0500 3 @@ -69,10 +69,10 @@ 4 4 test for it, and if it is not found, or if it is not executable, 5 5 it will terminate with a error message. … … 14 14 Whenever the server connection is broken, \fIncid\fR will normally try 15 15 to reconnect once a minute. It provides a visual record of the countdown 16 @@ -12 9,8 +129,8 @@16 @@ -122,8 +122,8 @@ 17 17 .TP 18 18 .B --pidfile | -p 19 19 Name of PID file to create. 20 -Set to \fI/var/run/ncid.pid\f Bin a rc or init script when used as a service.21 -Set to \fI/var/run/OUTPUTMODULE.pid\f Bin a rc or init script when used as22 +Set to \fI@PREFIX@/var/run/ncid.pid\f Bin a rc or init script when used as a service.23 +Set to \fI@PREFIX@/var/run/OUTPUTMODULE.pid\f Bin a rc or init script when used as20 -Set to \fI/var/run/ncid.pid\fR in a rc or init script when used as a service. 21 -Set to \fI/var/run/OUTPUTMODULE.pid\fR in a rc or init script when used as 22 +Set to \fI@PREFIX@/var/run/ncid.pid\fR in a rc or init script when used as a service. 23 +Set to \fI@PREFIX@/var/run/OUTPUTMODULE.pid\fR in a rc or init script when used as 24 24 a service and when using a output module. 25 25 There is no default. If pidfile is not set, no pid file will be used. 26 26 .TP 27 @@ -13 8,7 +138,7 @@28 Name of the output module (program) to use. Some output modules are29 ncid-kpopup, ncid-page, and ncid-speak.30 .br 31 -Default PATH: /usr/share/ncid32 +Default PATH: @PREFIX@/share/ncid33 . br34 Default PROGRAM: ncid-speak35 .TP36 @@ -1 92,9 +192,9 @@27 @@ -134,7 +134,7 @@ 28 Outgoing call information is also sent if the call-out option is enabled. 29 A message is also sent, if the message option is enabled. 30 .br 31 -Default module PATH: /usr/share/ncid 32 +Default module PATH: @PREFIX@/share/ncid 33 .TP 34 .B --raw | -R 35 display data received from the CID Server 36 @@ -186,9 +186,9 @@ 37 37 Default: 3333 38 38 .PD … … 46 46 .nf 47 47 # run ncid in a terminal window, server on remote host 48 @@ - 204,7 +204,7 @@49 ncid --no-gui -- call-prog --program ncid-speak48 @@ -198,7 +198,7 @@ 49 ncid --no-gui --program ncid-speak 50 50 51 51 # send CID output to GUI and speak it 52 -ncid -- call-prog --program /usr/local/bin/ncid-speak53 +ncid -- call-prog --program @PREFIX@/bin/ncid-speak52 -ncid --program /usr/local/bin/ncid-speak 53 +ncid --program @PREFIX@/bin/ncid-speak 54 54 55 55 # send CID output to a cell phone after third ring 56 ncid --no-gui -- call-prog --program ncid-page --ring 357 --- man/ncidd.8 2009-02-23 10:54:32.000000000 -060058 +++ man/ncidd.8 20 09-06-16 01:06:34.000000000 -050059 @@ - 98,17 +98,17@@56 ncid --no-gui --program ncid-page --ring 3 57 --- man/ncidd.8.orig 2011-04-26 01:16:28.000000000 -0500 58 +++ man/ncidd.8 2011-05-08 05:41:25.000000000 -0500 59 @@ -122,22 +122,22 @@ 60 60 .B -A <file> | --alias <file> 61 61 Alias file. … … 64 64 +Default: @PREFIX@/etc/ncid/ncidd.alias 65 65 .TP 66 .B -B <file> | --blacklist <file> 67 Blacklist file. 68 .br 69 -Default: /etc/ncid/ncidd.blacklist 70 +Default: @PREFIX@/etc/ncid/ncidd.blacklist 71 .TP 66 72 .B -C <file> | --config <file> 67 73 Config file. … … 77 83 .TP 78 84 .B -D | --debug 79 Debug mode .80 @@ -1 16,7 +116,7 @@85 Debug mode, \fIncidd\fR stays attached to the terminal and displays 86 @@ -146,7 +146,7 @@ 81 87 .B -d <file> | --datalog <file> 82 88 Data log data file, usually from a modem. … … 87 93 .B -e <identifier> | --lineid <identifier> 88 94 The telephone line identifier is for a modem. It is normally 1 to 4 89 @@ -1 48,12 +148,12 @@95 @@ -191,12 +191,12 @@ 90 96 .B -L <file> | --logfile <file> 91 97 Server logfile. … … 102 108 .B -M <MaxBytes> | --cidlogmax <MaxBytes> 103 109 Set the maximum CID call log file size in bytes. 104 @@ - 174,7 +174,7 @@110 @@ -217,7 +217,7 @@ 105 111 .TP 106 112 .B -P <pidfile> | --pidfile <pidfile> 107 113 Server PID file. 108 -Set to \fI/var/run/ncidd.pid\f Bin a rc or init script when used as a service.109 +Set to \fI@PREFIX@/var/run/ncidd.pid\f Bin a rc or init script when used as a service.114 -Set to \fI/var/run/ncidd.pid\fR in a rc or init script when used as a service. 115 +Set to \fI@PREFIX@/var/run/ncidd.pid\fR in a rc or init script when used as a service. 110 116 The program will still run if it does not have permission to write a pidfile. 111 117 There is no default. If pidfile is not set, no pid file will be used. 112 118 .TP 113 @@ -2 10,7 +210,7 @@119 @@ -253,7 +253,7 @@ 114 120 .B -t <ttyport> | --ttyport <ttyport> 115 121 Modem device file, or serial port that provides Caller ID information. … … 120 126 .B -V | --version 121 127 Display the version number. 122 --- man/ncidmodules.1 2009-03-11 23:24:11.000000000 -0500 123 +++ man/ncidmodules.1 2009-06-16 01:08:29.000000000 -0500 124 @@ -50,7 +50,7 @@ 125 .B ncid-yac\^ 128 @@ -317,22 +317,22 @@ 129 .fi 130 .SH FILES 131 .TP 132 -.B /etc/ncid/ncidd.blacklist 133 +.B @PREFIX@/etc/ncid/ncidd.blacklist 134 Blacklist file 135 .TP 136 -.B /etc/ncid/ncidd.conf 137 +.B @PREFIX@/etc/ncid/ncidd.conf 138 Configuration file 139 .TP 140 -.B /var/run/ncidd.pid 141 +.B @PREFIX@/var/run/ncidd.pid 142 PID file 143 .TP 144 -.B /var/log/cidcall.log 145 +.B @PREFIX@/var/log/cidcall.log 146 Contains CID and MSG lines 147 .TP 148 -.B /var/log/ciddata.log 149 +.B @PREFIX@/var/log/ciddata.log 150 Contains the output from the modem, device or gateway 151 .TP 152 -.B /var/log/ncidd.log 153 +.B @PREFIX@/var/log/ncidd.log 154 Server log file. Contents controlled by verbose. 155 .SH DIAGNOSTICS 156 .nf 157 --- man/ncidmodules.1.orig 2011-02-27 20:51:12.000000000 -0600 158 +++ man/ncidmodules.1 2011-05-08 05:43:10.000000000 -0500 159 @@ -56,7 +56,7 @@ 160 .B ncid-yac 126 161 .SH DESCRIPTION 127 162 These are ncid output modules and are normally located in the … … 131 166 .PP 132 167 The client, 133 @@ -64,10 +64,10 @@ 134 data to standard output. This makes it useful for troubleshooting. 135 .PP 136 Each output module can be independently configured using 137 -.I /etc/ncid/ncidmodules.conf 138 +.I @PREFIX@/etc/ncid/ncidmodules.conf 139 .PD 168 @@ -138,7 +138,7 @@ 169 ncid --no-gui --message --program ncid-page --ring 4 170 .RE 140 171 .SH FILES 141 172 -/etc/ncid/ncidmodules.conf 142 173 +@PREFIX@/etc/ncid/ncidmodules.conf 174 .br 175 http://en.wikipedia.org/wiki/List_of_carriers_providing_SMS_transit 143 176 .SH SEE ALSO 144 ncid.1, 145 ncidmodules.conf.5, 146 --- man/ncidrotate.1 2009-01-20 23:15:11.000000000 -0600 147 +++ man/ncidrotate.1 2009-06-16 01:07:45.000000000 -0500 177 --- man/ncidrotate.1.orig 2011-02-27 20:51:15.000000000 -0600 178 +++ man/ncidrotate.1 2011-06-15 20:33:46.000000000 -0500 148 179 @@ -8,18 +8,18 @@ 149 180 {prerotate|postrotate} … … 168 199 .SH SEE ALSO 169 200 ncidrotate.conf.5, 170 ncidd.8, sip2ncid.8 171 --- man/ncidsip.8 2009-01-20 23:15:28.000000000 -0600172 +++ man/ncidsip.8 20 09-06-16 01:06:34.000000000 -0500201 ncidd.8, sip2ncid.8, ncid2ncid.1, yac2ncid.1 202 --- man/ncidsip.8.orig 2011-02-27 20:51:31.000000000 -0600 203 +++ man/ncidsip.8 2011-06-15 20:38:48.000000000 -0500 173 204 @@ -29,7 +29,7 @@ 174 205 the libpcap library and snoops only udp traffic on the specified SIP … … 184 215 .B -p <filename> | --pidfile=<filename> 185 216 Specifies the pidfile name to write. 186 -Set to \fI/var/run/ncidsip.pid\f Bin a rc or init script when used as a service.187 +Set to \fI@PREFIX@/var/run/ncidsip.pid\f Bin a rc or init script when used as a service.217 -Set to \fI/var/run/ncidsip.pid\fR in a rc or init script when used as a service. 218 +Set to \fI@PREFIX@/var/run/ncidsip.pid\fR in a rc or init script when used as a service. 188 219 The program will still run if it does not have permission to write a pidfile. 189 220 There is no default, if pidfile is not set, no pid file will be used. … … 198 229 .nf 199 230 CID: ###DATEmmddhhss...LINEidentifier...NMBRnumber...NAMEwords+++ 200 --- man/ncidtools.1 2009-01-20 23:16:35.000000000 -0600201 +++ man/ncidtools.1 20 09-06-16 01:06:34.000000000 -0500202 @@ - 44,12 +44,12 @@203 .B - aaliasfile231 --- man/ncidtools.1.orig 2011-02-27 20:51:37.000000000 -0600 232 +++ man/ncidtools.1 2011-06-15 20:40:59.000000000 -0500 233 @@ -53,12 +53,12 @@ 234 .B -A aliasfile 204 235 Set the alias file to \fIaliasfile\fR 205 236 .br … … 207 238 +Default: @PREFIX@/etc/ncid/ncidd.alias 208 239 .TP 209 .B - c cidlog210 Set the CID call file to \fIcidlog\fR240 .B -C callfile 241 Set the call file to \fIcallfile\fR 211 242 .br 212 243 -Default: /var/log/cidcall.log … … 215 246 .SS "Arguments" 216 247 .PD 0 217 @@ - 57,12 +57,12 @@218 .B c idlog219 The CID call file.248 @@ -66,12 +66,12 @@ 249 .B callfile 250 The NCID call file. 220 251 .br 221 252 -Default: /var/log/cidcall.log 222 253 +Default: @PREFIX@/var/log/cidcall.log 223 254 .TP 224 .B configfile225 The ncidd configurationfile.226 .br 227 -Default: /etc/ncid/ncidd. conf228 +Default: @PREFIX@/etc/ncid/ncidd. conf229 .TP 230 .B newc idlog231 The updated CID logfile.232 --- man/sip2ncid.8 2009-01-20 23:16:48.000000000 -0600233 +++ man/sip2ncid.8 20 09-06-16 01:06:34.000000000 -0500234 @@ -3 2,18 +32,18 @@255 .B aliasfile 256 The ncidd alias file. 257 .br 258 -Default: /etc/ncid/ncidd.alias 259 +Default: @PREFIX@/etc/ncid/ncidd.alias 260 .TP 261 .B newcallfile 262 The updated call file. 263 --- man/sip2ncid.8.orig 2011-02-27 20:51:48.000000000 -0600 264 +++ man/sip2ncid.8 2011-06-15 20:45:04.000000000 -0500 265 @@ -33,18 +33,18 @@ 235 266 found to the NCID server specified. Snoops only udp traffic on the 236 267 specified SIP host and port. 237 268 .PP 238 - If \fI/var/log/sip2ncid.log\fR exists, it is used as a log file.239 + If \fI@PREFIX@/var/log/sip2ncid.log\fR exists, it is used as a log file.240 .PP 241 -If a pid file is given, usually \fI/var/run/sip2ncid.pid\f B, then242 +If a pid file is given, usually \fI@PREFIX@/var/run/sip2ncid.pid\f B, then269 -The log file is \fI/var/log/sip2ncid.log\fR. 270 +The log file is \fI@PREFIX@/var/log/sip2ncid.log\fR. 271 .PP 272 -If a pid file is given, usually \fI/var/run/sip2ncid.pid\fR, then 273 +If a pid file is given, usually \fI@PREFIX@/var/run/sip2ncid.pid\fR, then 243 274 a pid file used to store the process ID. 244 275 .PP … … 255 286 .B -D | --debug 256 287 Debug mode, \fIsip2ncid\fR stays attached to the terminal. 257 @@ -6 2,7 +62,7 @@288 @@ -63,7 +63,7 @@ 258 289 .B -L <filename> | --logfile=<filename> 259 290 Specifies the logfile name to use. The logfile must exist before it is used. … … 264 295 .B -n <[host][:port]> | --ncid=<[host][:port]> 265 296 Specifies the NCID server to connect to. Port may be specified by 266 @@ -7 2,7 +72,7 @@297 @@ -73,7 +73,7 @@ 267 298 .TP 268 299 .B -P <filename> | --pidfile=<filename> 269 300 Specifies the pidfile name to write. 270 -Set to \fI/var/run/ncidd.pid\f Bin a rc or init script when used as a service.271 +Set to \fI@PREFIX@/var/run/ncidd.pid\f Bin a rc or init script when used as a service.301 -Set to \fI/var/run/ncidd.pid\fR in a rc or init script when used as a service. 302 +Set to \fI@PREFIX@/var/run/ncidd.pid\fR in a rc or init script when used as a service. 272 303 The program will still run if it does not have permission to write a pidfile. 273 304 There is no default. If pidfile is not set, no pid file will be used. 274 305 .TP 275 @@ -12 1,7 +121,7@@306 @@ -127,11 +127,11 @@ 276 307 This also sets the debug option, verbose to level 3, and no filter 277 308 is applied. Mostly only useful for development and debug purposes. … … 279 310 -/etc/ncid/sip2ncid.conf 280 311 +@PREFIX@/etc/ncid/sip2ncid.conf 312 .br 313 -/var/run/sip2ncid.pid 314 +@PREFIX@/var/run/sip2ncid.pid 315 .br 316 -/var/log/sip2ncid.log 317 +@PREFIX@/var/log/sip2ncid.log 281 318 .SH MESSAGES FORMAT 282 319 .nf 283 C ID: ###DATE<MMDDHHMM>...LINE<####>...NMBR<###########>...NAME<words>+++284 --- man/yac2ncid.1 2009-01-20 23:17:12.000000000 -0600285 +++ man/yac2ncid.1 20 09-06-16 01:06:34.000000000 -0500320 CALL: ###DATE<MMDDHHMM>...LINE<####>...NMBR<###########>...NAME<words>+++ 321 --- man/yac2ncid.1.orig 2011-02-27 20:51:51.000000000 -0600 322 +++ man/yac2ncid.1 2011-06-15 20:46:12.000000000 -0500 286 323 @@ -15,7 +15,7 @@ 287 324 It is important to understand that to run YAC server with NCID 288 325 clients you must run YAC2NCID gateway as well as NCID server. 289 326 .PP 290 -The configuration file for \fI ncid\fR is \fI/etc/ncid/ncid.conf\fR.291 +The configuration file for \fI ncid\fR is \fI@PREFIX@/etc/ncid/ncid.conf\fR.327 -The configuration file for \fIyac2ncid\fR is \fI/etc/ncid/yac2ncid.conf\fR. 328 +The configuration file for \fIyac2ncid\fR is \fI@PREFIX@/etc/ncid/yac2ncid.conf\fR. 292 329 It may be located in same directory as the script, or in the 293 330 \fIetc\fR directory, or in NCID default configuration directory. 294 331 Read the comments in the config file for more details. 295 @@ -48, 6 +48,6@@332 @@ -48,7 +48,7 @@ 296 333 .SH REQUIRED PROGRAMS 297 334 netcat: /usr/bin/nc … … 300 337 +@PREFIX@/etc/ncid/yac2ncid.conf 301 338 .SH SEE ALSO 302 yac2ncid.conf.5, ncidd.8, ncidd.conf.5, ncidd.alias.5, ncidmodules.1 339 ncidd.8, sip2ncid.8, ncid2ncid.1, yac2ncid.1, 340 ncid.1, ncidmodules.1, ncidrotate.1, ncidtools.1
Note: See TracChangeset
for help on using the changeset viewer.

