2000-02-07 20:32:38 +00:00
|
|
|
## $Id: Makefile.in,v 1.146 2000/02/07 20:32:38 akool Exp $
|
1997-03-23 19:22:32 +00:00
|
|
|
##
|
|
|
|
## ISDN accounting for isdn4linux.
|
|
|
|
##
|
1999-12-31 13:57:16 +00:00
|
|
|
## Copyright 1995 .. 2000 by Andreas Kool (akool@isdn4linux.de)
|
1997-03-23 19:22:32 +00:00
|
|
|
##
|
|
|
|
## This program is free software; you can redistribute it and/or modify
|
|
|
|
## it under the terms of the GNU General Public License as published by
|
|
|
|
## the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
## any later version.
|
|
|
|
##
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
##
|
|
|
|
## You should have received a copy of the GNU General Public License
|
|
|
|
## along with this program; if not, write to the Free Software
|
|
|
|
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
##
|
|
|
|
## $Log: Makefile.in,v $
|
2000-02-07 20:32:38 +00:00
|
|
|
## Revision 1.146 2000/02/07 20:32:38 akool
|
|
|
|
## isdnlog-4.09
|
|
|
|
## - NEW: 01078:3U and 010050:Drillisch foreign countries
|
|
|
|
## - isdnlog/isdnrep/isdnrep.c ... moved hist, provider ok again
|
|
|
|
## - isdnlog/isdnrep/CHANGES.isdnrep ... NEW (old changes)
|
|
|
|
## - isdnlog/isdnlog/isdnlog.8.in ... addded signals
|
|
|
|
## - isdnlog/README ... upd. core (SIGSEGV), files
|
|
|
|
##
|
2000-02-03 18:24:49 +00:00
|
|
|
## Revision 1.145 2000/02/03 18:24:49 akool
|
|
|
|
## isdnlog-4.08
|
|
|
|
## isdnlog/tools/rate.c ... LCR patch again
|
|
|
|
## isdnlog/tools/isdnrate.c ... LCR patch again
|
|
|
|
## isdnbill enhanced/fixed
|
|
|
|
## DTAG AktivPlus fixed
|
|
|
|
##
|
2000-02-02 22:43:08 +00:00
|
|
|
## Revision 1.144 2000/02/02 22:43:08 akool
|
|
|
|
## isdnlog-4.07
|
|
|
|
## - many new rates per 1.2.2000
|
|
|
|
##
|
2000-01-26 20:19:38 +00:00
|
|
|
## Revision 1.143 2000/01/26 20:19:38 akool
|
|
|
|
## isdnlog-4.06
|
|
|
|
##
|
|
|
|
## - isdnlog/Makefile.in ... make install copied / to /etc/isdn sometimes
|
|
|
|
## - new "rate-de.dat" - the first one
|
|
|
|
## from our new cvs-Server at sourceforge.net!
|
|
|
|
##
|
2000-01-24 23:06:20 +00:00
|
|
|
## Revision 1.142 2000/01/24 23:06:20 akool
|
|
|
|
## isdnlog-4.05
|
|
|
|
## - ABC_LCR tested and fixed. It's really working now, Detlef!
|
|
|
|
## - Patch from Hans Klein <hansi.klein@net-con.net>
|
|
|
|
## German-"Verzonungstabelle" fixed
|
|
|
|
## - new "zone-de-dtag.gdbm" generated
|
|
|
|
##
|
2000-01-23 22:31:13 +00:00
|
|
|
## Revision 1.141 2000/01/23 22:31:13 akool
|
|
|
|
## isdnlog-4.04
|
|
|
|
## - Support for Luxemburg added:
|
|
|
|
## - isdnlog/country-de.dat ... no +352 1 luxemburg city
|
|
|
|
## - isdnlog/rate-lu.dat ... initial LU version NEW
|
|
|
|
## - isdnlog/holiday-lu.dat ... NEW - FIXME
|
|
|
|
## - isdnlog/.Config.in ... LU support
|
|
|
|
## - isdnlog/configure.in ... LU support
|
|
|
|
## - isdnlog/samples/isdn.conf.lu ... LU support NEW
|
|
|
|
##
|
|
|
|
## - German zone-table enhanced
|
|
|
|
## - isdnlog/tools/zone/de/01033/mk ...fixed, with verify now
|
|
|
|
## - isdnlog/tools/zone/redzone ... fixed
|
|
|
|
## - isdnlog/tools/zone/de/01033/mzoneall ... fixed, faster
|
|
|
|
## - isdnlog/tools/zone/mkzonedb.c .... data Version 1.21
|
|
|
|
##
|
|
|
|
## - Patch from Philipp Matthias Hahn <pmhahn@titan.lahn.de>
|
|
|
|
## - PostgreSQL SEGV solved
|
|
|
|
##
|
|
|
|
## - Patch from Armin Schindler <mac@melware.de>
|
|
|
|
## - Eicon-Driver Support for isdnlog
|
|
|
|
##
|
2000-01-16 12:36:58 +00:00
|
|
|
## Revision 1.140 2000/01/16 12:36:58 akool
|
|
|
|
## isdnlog-4.03
|
|
|
|
## - Patch from Gerrit Pape <pape@innominate.de>
|
|
|
|
## fixes html-output if "-t" option of isdnrep is omitted
|
|
|
|
## - Patch from Roland Rosenfeld <roland@spinnaker.de>
|
|
|
|
## fixes "%p" in ILABEL and OLABEL
|
|
|
|
##
|
2000-01-12 23:22:50 +00:00
|
|
|
## Revision 1.139 2000/01/12 23:22:50 akool
|
|
|
|
## - isdnlog/tools/holiday.c ... returns ERVERYDAY for '*'
|
|
|
|
## - FAQ/configure{,.in} ... test '==' => '='
|
|
|
|
## - isdnlog/tools/dest/configure{,.in} ... test '==' => '='
|
|
|
|
## - isdnlog/tools/dest/Makefile.in ... test '==' => '='
|
|
|
|
## - isdnlog/tools/zone/configure{,.in} ... test '==' => '='
|
|
|
|
##
|
|
|
|
## - isdnlog/tools/rate-at.c ... P:1069
|
|
|
|
## - isdnlog/rate-at.dat ... P:1069
|
|
|
|
## - isdnlog/country-de.dat ... _DEMF
|
|
|
|
##
|
|
|
|
## - many new rates
|
|
|
|
## - more EURACOM sequences decoded
|
|
|
|
##
|
2000-01-01 15:05:22 +00:00
|
|
|
## Revision 1.138 2000/01/01 15:05:22 akool
|
|
|
|
## isdnlog-4.01
|
|
|
|
## - first Y2K-Bug fixed
|
|
|
|
##
|
1999-12-31 13:57:16 +00:00
|
|
|
## Revision 1.137 1999/12/31 13:57:17 akool
|
|
|
|
## isdnlog-4.00 (Millenium-Edition)
|
|
|
|
## - Oracle support added by Jan Bolt (Jan.Bolt@t-online.de)
|
|
|
|
## - resolved *any* warnings against rate-de.dat
|
|
|
|
## - Many new rates
|
|
|
|
## - CREDITS file added
|
|
|
|
##
|
1999-12-24 14:17:02 +00:00
|
|
|
## Revision 1.136 1999/12/24 14:17:02 akool
|
|
|
|
## isdnlog-3.81
|
|
|
|
## - isdnlog/tools/NEWS
|
|
|
|
## - isdnlog/tools/telrate/info.html.in ... bugfix
|
|
|
|
## - isdnlog/tools/telrate/telrate.cgi.in ... new Service query
|
|
|
|
## - isdnlog/tools/telrate/Makefile.in ... moved tmp below telrate
|
|
|
|
## - isdnlog/samples/rate.conf.at ... fixed
|
|
|
|
## - isdnlog/tools/rate-at.c ... some changes
|
|
|
|
## - isdnlog/rate-at.dat ... ditto
|
|
|
|
## - isdnlog/tools/Makefile ... added path to pp_rate
|
|
|
|
## - isdnlog/tools/rate.{c,h} ... getServiceNames, Date-Range in T:-Tag
|
|
|
|
## - isdnlog/tools/isdnrate.c ... fixed sorting of services, -X52 rets service names
|
|
|
|
## - isdnlog/tools/rate-files.man ... Date-Range in T:-Tag, moved from doc
|
|
|
|
## - isdnlog/tools/isdnrate.man ... moved from doc
|
|
|
|
## - doc/Makefile.in ... moved man's from doc to tools
|
|
|
|
## - isdnlog/Makefile.in ... man's, install isdn.conf.5
|
|
|
|
## - isdnlog/configure{,.in} ... sed, awk for man's
|
|
|
|
## - isdnlog/tools/zone/Makefile.in ... dataclean
|
|
|
|
## - isdnlog/tools/dest/Makefile.in ... dataclean
|
|
|
|
## - isdnlog/isdnlog/isdnlog.8.in ... upd
|
|
|
|
## - isdnlog/isdnlog/isdn.conf.5.in ... upd
|
|
|
|
##
|
1999-12-19 20:24:44 +00:00
|
|
|
## Revision 1.135 1999/12/19 20:24:44 akool
|
|
|
|
## isdnlog-3.80
|
|
|
|
## - resolved most of the Warnings
|
|
|
|
## - enhanced "isdnbill"
|
|
|
|
##
|
1999-12-17 22:51:52 +00:00
|
|
|
## Revision 1.134 1999/12/17 22:51:52 akool
|
|
|
|
## isdnlog-3.79
|
|
|
|
## - isdnlog/isdnrep/isdnrep.{c,h} ... error -handling, print_msg
|
|
|
|
## - isdnlog/isdnrep/rep_main.c
|
|
|
|
## - isdnlog/isdnrep/isdnrep.1.in
|
|
|
|
## - isdnlog/tools/rate.c ... dupl entry in rate.conf
|
|
|
|
## - isdnlog/tools/NEWS
|
|
|
|
## - isdnlog/tools/isdnrate.c
|
|
|
|
## - isdnlog/tools/dest/configure{,.in}
|
|
|
|
## - isdnlog/tools/zone/configure{,.in}
|
|
|
|
##
|
1999-12-16 23:08:26 +00:00
|
|
|
## Revision 1.133 1999/12/16 23:08:26 akool
|
|
|
|
## isdnlog-3.78
|
|
|
|
## - isdnlog/tools/isdnrate.c ... new sOcket option
|
|
|
|
## - isdnlog/tools/NEWS ... new sOcket option
|
|
|
|
## - doc/isdnrate.man ... ditto
|
|
|
|
## - isdnlog/tools/telrate/config.in ... ditto
|
|
|
|
## - isdnlog/tools/telrate/telrate.cgi.in ... ditto
|
|
|
|
## - isdnlog/tools/telrate/README-telrate ditto
|
|
|
|
##
|
1999-12-14 21:02:36 +00:00
|
|
|
## Revision 1.132 1999/12/14 21:02:36 akool
|
|
|
|
## isdnlog-3.77
|
|
|
|
## corrected german zone file
|
|
|
|
##
|
1999-12-12 17:21:09 +00:00
|
|
|
## Revision 1.131 1999/12/12 17:21:09 akool
|
|
|
|
## isdnlog-3.76
|
|
|
|
## - isdnlog/Makefile.in ... added dep for Makefile.in
|
|
|
|
## - isdnlog/tools/zone/configure{,.in} ... better error msg if bzip2 not found
|
|
|
|
## - isdnlog/tools/dest/configure{,.in} ... better error msg if bzip2 not found
|
|
|
|
## - tools for generating a fully expanded zonefile added
|
|
|
|
##
|
1999-12-12 14:35:51 +00:00
|
|
|
## Revision 1.130 1999/12/12 14:35:51 akool
|
|
|
|
## isdnlog-3.75
|
|
|
|
## - ABC_LCR support (untested)
|
|
|
|
##
|
1999-12-07 20:07:20 +00:00
|
|
|
## Revision 1.129 1999/12/07 20:07:20 akool
|
|
|
|
## isdnlog-3.74
|
|
|
|
## new rates, faster isdnbill
|
|
|
|
##
|
1999-12-02 19:28:02 +00:00
|
|
|
## Revision 1.128 1999/12/02 19:28:02 akool
|
|
|
|
## isdnlog-3.73
|
|
|
|
## - isdnlog/tools/telrate/telrate.cgi.in faster
|
|
|
|
## - doc/isdnrate.man ... -P
|
|
|
|
## - isdnlog/tools/isdnrate.c ... -P
|
|
|
|
## - isdnlog/tools/NEWS ... -P
|
|
|
|
## - isdnlog/tools/rate-at.c ... 194040
|
|
|
|
## - isdnlog/rate-at.dat
|
|
|
|
## - isdnlog/tools/rate.c ... SIGSEGV
|
|
|
|
##
|
1999-12-01 21:47:23 +00:00
|
|
|
## Revision 1.127 1999/12/01 21:47:23 akool
|
|
|
|
## isdnlog-3.72
|
|
|
|
## - new rates for 01051
|
|
|
|
## - next version of isdnbill
|
|
|
|
##
|
|
|
|
## - isdnlog/tools/telnum.c ... cleanup
|
|
|
|
## - isdnlog/tools/isdnrate.c ... -s Service
|
|
|
|
## - isdnlog/tools/rate.{c,h} ... -s
|
|
|
|
## - isdnlog/tools/NEWS ... -s
|
|
|
|
## - doc/isdnrate.man .. updated -o, -s
|
|
|
|
## - doc/rate-files.man ... updated
|
|
|
|
## - isdnlog/tools/dest/README.makedest ... updt.
|
|
|
|
## - isdnlog/isdnlog/isdnlog.8.in .. updt.
|
|
|
|
##
|
|
|
|
## Telrate
|
|
|
|
## - isdnlog/tools/telrate/README-telrate
|
|
|
|
## - isdnlog/tools/telrate/config.in NEW
|
|
|
|
## - isdnlog/tools/telrate/configure NEW
|
|
|
|
## - isdnlog/tools/telrate/Makefile.in NEW
|
|
|
|
## - isdnlog/tools/telrate/index.html.in was index.html
|
|
|
|
## - isdnlog/tools/telrate/info.html.in was info.html
|
|
|
|
## - isdnlog/tools/telrate/telrate.cgi.in was telrate.cgi
|
|
|
|
## - isdnlog/tools/telrate/leo.sample NEW sample config
|
|
|
|
## - isdnlog/tools/telrate/alex.sample NEW sample config
|
|
|
|
##
|
1999-11-28 19:32:41 +00:00
|
|
|
## Revision 1.126 1999/11/28 19:32:41 akool
|
|
|
|
## isdnlog-3.71
|
|
|
|
##
|
1999-11-28 11:15:41 +00:00
|
|
|
## Revision 1.125 1999/11/28 11:15:41 akool
|
|
|
|
## isdnlog-3.70
|
|
|
|
## - patch from Jochen Erwied (j.erwied@gmx.de)
|
|
|
|
##
|
1999-11-27 19:24:17 +00:00
|
|
|
## Revision 1.124 1999/11/27 19:24:17 akool
|
|
|
|
## isdnlog-3.69
|
|
|
|
##
|
1999-11-25 22:58:38 +00:00
|
|
|
## Revision 1.123 1999/11/25 22:58:38 akool
|
|
|
|
## isdnlog-3.68
|
|
|
|
## - new utility "isdnbill" added
|
|
|
|
## - patch from Jochen Erwied (j.erwied@gmx.de)
|
|
|
|
## - new rates
|
|
|
|
## - small fixes
|
|
|
|
##
|
1999-11-16 18:09:36 +00:00
|
|
|
## Revision 1.122 1999/11/16 18:09:36 akool
|
|
|
|
## isdnlog-3.67
|
|
|
|
## isdnlog-3.66 writes wrong provider number into it's logfile isdn.log
|
|
|
|
## there is a patch and a repair program available at
|
|
|
|
## http://www.toetsch.at/linux/i4l/i4l-3_66.htm
|
|
|
|
##
|
1999-11-12 20:50:48 +00:00
|
|
|
## Revision 1.121 1999/11/12 20:50:48 akool
|
|
|
|
## isdnlog-3.66
|
|
|
|
## - Patch from Jochen Erwied <mack@joker.e.ruhr.de>
|
|
|
|
## makes the "-O" and "-C" options usable at the same time
|
|
|
|
##
|
|
|
|
## - Workaround from Karsten Keil <kkeil@suse.de>
|
|
|
|
## segfault in ASN.1 parser
|
|
|
|
##
|
|
|
|
## - isdnlog/tools/rate.c ... ignores "empty" providers
|
|
|
|
## - isdnlog/tools/telnum.h ... fixed TN_MAX_PROVIDER_LEN
|
|
|
|
##
|
1999-11-08 21:09:36 +00:00
|
|
|
## Revision 1.120 1999/11/08 21:09:36 akool
|
|
|
|
## isdnlog-3.65
|
|
|
|
## - added "B:" Tag to "rate-xx.dat"
|
|
|
|
##
|
1999-11-07 13:29:25 +00:00
|
|
|
## Revision 1.119 1999/11/07 13:29:25 akool
|
|
|
|
## isdnlog-3.64
|
|
|
|
## - new "Sonderrufnummern" handling
|
|
|
|
##
|
1999-11-05 20:21:59 +00:00
|
|
|
## Revision 1.118 1999/11/05 20:21:59 akool
|
|
|
|
## isdnlog-3.63
|
|
|
|
## - many new rates
|
|
|
|
## - cosmetics
|
|
|
|
##
|
1999-11-02 21:01:56 +00:00
|
|
|
## Revision 1.117 1999/11/02 21:01:56 akool
|
|
|
|
## isdnlog-3.62
|
|
|
|
## - many new rates
|
|
|
|
## - next try to fix "Sonderrufnummern"
|
|
|
|
##
|
1999-10-30 14:38:46 +00:00
|
|
|
## Revision 1.116 1999/10/30 14:38:46 akool
|
|
|
|
## isdnlog-3.61
|
|
|
|
##
|
1999-10-29 19:45:59 +00:00
|
|
|
## Revision 1.115 1999/10/29 19:45:59 akool
|
|
|
|
## isdnlog-3.60
|
|
|
|
## - sucessfully ported/tested to/with:
|
|
|
|
## - Linux-2.3.24 SMP
|
|
|
|
## - egcs-2.91.66
|
|
|
|
## using -DBIG_PHONE_NUMBERS
|
|
|
|
##
|
|
|
|
## - finally added working support for HFC-card in "echo mode"
|
|
|
|
## try this:
|
|
|
|
## hisaxctrl bri 10 1
|
|
|
|
## hisaxctrl bri 12 1
|
|
|
|
## isdnlog -21 -1
|
|
|
|
## -----------------^^ new option
|
|
|
|
##
|
1999-10-29 12:43:02 +00:00
|
|
|
## Revision 1.114 1999/10/29 12:43:02 akool
|
|
|
|
## fixed "make install"
|
|
|
|
##
|
1999-10-28 18:36:43 +00:00
|
|
|
## Revision 1.113 1999/10/28 18:36:43 akool
|
|
|
|
## isdnlog-3.59
|
|
|
|
## - problems with gcc-2.7.2.3 fixed
|
|
|
|
## - *any* startup-warning solved/removed (only 4u, Karsten!)
|
|
|
|
## - many new rates
|
|
|
|
##
|
1999-10-26 18:17:11 +00:00
|
|
|
## Revision 1.112 1999/10/26 18:17:11 akool
|
|
|
|
## isdnlog-3.58
|
|
|
|
## - big cleanup ( > 1.3 Mb removed!)
|
|
|
|
## - v0.02 of destination support - better, but not perfect
|
|
|
|
## (does't work with gcc-2.7.2.3 yet - use egcs!)
|
|
|
|
##
|
1999-10-25 18:30:03 +00:00
|
|
|
## Revision 1.111 1999/10/25 18:33:13 akool
|
|
|
|
## isdnlog-3.57
|
|
|
|
## WARNING: Experimental version!
|
|
|
|
## Please use isdnlog-3.56 for production systems!
|
|
|
|
##
|
1999-10-22 19:57:58 +00:00
|
|
|
## Revision 1.110 1999/10/22 19:57:58 akool
|
|
|
|
## isdnlog-3.56 (for Karsten)
|
|
|
|
##
|
1999-09-26 10:55:19 +00:00
|
|
|
## Revision 1.109 1999/09/26 10:55:19 akool
|
|
|
|
## isdnlog-3.55
|
|
|
|
## - Patch from Oliver Lauer <Oliver.Lauer@coburg.baynet.de>
|
|
|
|
## added hup3 to option file
|
|
|
|
## - changed country-de.dat to ISO 3166 Countrycode / Airportcode
|
|
|
|
##
|
1999-09-22 09:02:59 +00:00
|
|
|
## Revision 1.108 1999/09/22 09:02:59 akool
|
|
|
|
## isdnlog-3.54
|
|
|
|
##
|
1999-09-19 14:16:26 +00:00
|
|
|
## Revision 1.107 1999/09/19 14:16:26 akool
|
|
|
|
## isdnlog-3.53
|
|
|
|
##
|
1999-09-16 20:27:21 +00:00
|
|
|
## Revision 1.106 1999/09/16 20:27:21 akool
|
|
|
|
## isdnlog-3.52
|
|
|
|
##
|
1999-09-13 09:09:42 +00:00
|
|
|
## Revision 1.105 1999/09/13 09:09:42 akool
|
|
|
|
## isdnlog-3.51
|
|
|
|
## - changed getProvider() to not return NULL on unknown providers
|
|
|
|
## many thanks to Matthias Eder <mateder@netway.at>
|
|
|
|
## - corrected zone-processing when doing a internal -> world call
|
|
|
|
##
|
1999-09-11 22:28:22 +00:00
|
|
|
## Revision 1.104 1999/09/11 22:28:22 akool
|
|
|
|
## isdnlog-3.50
|
|
|
|
## added 3. parameter to "-h" Option: Controls CHARGEHUP for providers like
|
|
|
|
## DTAG (T-Online) or AOL.
|
|
|
|
## Many thanks to Martin Lesser <m-lesser@lesser-com.de>
|
|
|
|
##
|
1999-09-09 11:21:04 +00:00
|
|
|
## Revision 1.103 1999/09/09 11:21:04 akool
|
|
|
|
## isdnlog-3.49
|
|
|
|
##
|
1999-08-29 10:28:11 +00:00
|
|
|
## Revision 1.102 1999/08/29 10:28:11 akool
|
|
|
|
## isdnlog-3.48
|
|
|
|
## cosmetics
|
|
|
|
##
|
1999-08-27 20:56:28 +00:00
|
|
|
## Revision 1.101 1999/08/27 20:56:28 akool
|
|
|
|
## Patch from Kai
|
|
|
|
##
|
1999-08-25 17:05:57 +00:00
|
|
|
## Revision 1.100 1999/08/25 17:05:57 akool
|
|
|
|
## isdnlog-3.46
|
|
|
|
##
|
1999-08-21 21:11:31 +00:00
|
|
|
## Revision 1.99 1999/08/21 21:11:31 akool
|
|
|
|
## rate-de.dat :: V:1.10-Germany [21-Aug-1999 22:26:53]
|
|
|
|
##
|
1999-08-20 19:27:15 +00:00
|
|
|
## Revision 1.98 1999/08/20 19:27:18 akool
|
|
|
|
## isdnlog-3.45
|
|
|
|
## - removed about 1 Mb of (now unused) data files
|
|
|
|
## - replaced areacodes and "vorwahl.dat" support by zone databases
|
|
|
|
## - fixed "Sonderrufnummern"
|
|
|
|
## - rate-de.dat :: V:1.10-Germany [20-Aug-1999 21:23:27]
|
|
|
|
##
|
1999-08-04 23:11:15 +00:00
|
|
|
## Revision 1.97 1999/08/04 23:11:15 akool
|
|
|
|
## isdnlog-3.44
|
|
|
|
##
|
1999-07-25 15:57:01 +00:00
|
|
|
## Revision 1.96 1999/07/25 15:57:01 akool
|
|
|
|
## isdnlog-3.43
|
|
|
|
## added "telnum" module
|
|
|
|
##
|
1999-07-24 08:43:38 +00:00
|
|
|
## Revision 1.95 1999/07/24 08:43:38 akool
|
|
|
|
## isdnlog-3.42
|
|
|
|
## rate-de.dat 1.02-Germany [18-Jul-1999 10:44:21]
|
|
|
|
## better Support for Ackermann Euracom
|
|
|
|
## WEB-Interface for isdnrate
|
|
|
|
## many small fixes
|
|
|
|
##
|
1999-07-10 21:37:36 +00:00
|
|
|
## Revision 1.94 1999/07/10 21:37:36 akool
|
|
|
|
## isdnlog-3.41
|
|
|
|
## rate-de.dat V:1.02-Germany [10-Jul-1999 23:32:27]
|
|
|
|
## country-de.dat V:1.02-Germany [10-Jul-1999 23:32:36]
|
|
|
|
## added all "zone-*" files in binary mode
|
|
|
|
##
|
1999-07-03 10:23:55 +00:00
|
|
|
## Revision 1.93 1999/07/03 10:23:55 akool
|
|
|
|
## fixed Makefile
|
|
|
|
##
|
1999-06-30 17:17:10 +00:00
|
|
|
## Revision 1.92 1999/06/30 17:17:10 akool
|
|
|
|
## isdnlog Version 3.39
|
|
|
|
##
|
1999-06-28 19:14:59 +00:00
|
|
|
## Revision 1.91 1999/06/28 19:14:59 akool
|
|
|
|
## isdnlog Version 3.38
|
|
|
|
## - new utility "isdnrate" started
|
|
|
|
##
|
1999-06-26 12:25:04 +00:00
|
|
|
## Revision 1.90 1999/06/26 12:25:04 akool
|
|
|
|
## isdnlog Version 3.37
|
|
|
|
## fixed some warnings
|
|
|
|
##
|
1999-06-26 10:11:06 +00:00
|
|
|
## Revision 1.89 1999/06/26 10:11:06 akool
|
|
|
|
## isdnlog Version 3.36
|
|
|
|
## - EGCS 1.1.2 bug correction from Nima <nima_ghasseminejad@public.uni-hamburg.de>
|
|
|
|
## - zone-1.11
|
|
|
|
##
|
1999-06-21 19:32:08 +00:00
|
|
|
## Revision 1.88 1999/06/21 19:32:08 akool
|
|
|
|
## isdnlog Version 3.35
|
|
|
|
## zone data for .nl (many thanks to Paul!)
|
|
|
|
##
|
|
|
|
## WARNING: This version of isdnlog dont even compile! *EXPERIMENTAL*!!
|
|
|
|
##
|
1999-06-16 19:11:54 +00:00
|
|
|
## Revision 1.87 1999/06/16 19:11:54 akool
|
|
|
|
## isdnlog Version 3.34
|
|
|
|
## fixed some memory faults
|
|
|
|
##
|
1999-06-15 20:02:54 +00:00
|
|
|
## Revision 1.86 1999/06/15 20:02:54 akool
|
|
|
|
## isdnlog Version 3.33
|
|
|
|
## - big step in using the new zone files
|
|
|
|
## - *This*is*not*a*production*ready*isdnlog*!!
|
|
|
|
## - Maybe the last release before the I4L meeting in Nuernberg
|
|
|
|
##
|
1999-06-13 14:06:53 +00:00
|
|
|
## Revision 1.85 1999/06/13 14:06:53 akool
|
|
|
|
## isdnlog Version 3.32
|
|
|
|
##
|
|
|
|
## - new option "-U1" (or "ignoreCOLP=1") to ignore CLIP/COLP Frames
|
|
|
|
## - TEI management decoded
|
|
|
|
##
|
1999-06-09 19:57:22 +00:00
|
|
|
## Revision 1.84 1999/06/09 19:57:22 akool
|
|
|
|
## isdnlog Version 3.31
|
|
|
|
## - Release 0.91 of zone-Database (aka "Verzonungstabelle")
|
|
|
|
## - "rate-de.dat" V:1.02-Germany [09-Jun-1999 21:45:26]
|
|
|
|
##
|
1999-06-03 18:49:36 +00:00
|
|
|
## Revision 1.83 1999/06/03 18:49:36 akool
|
|
|
|
## isdnlog Version 3.30
|
|
|
|
## - rate-de.dat V:1.02-Germany [03-Jun-1999 19:49:22]
|
|
|
|
## - small fixes
|
|
|
|
##
|
1999-05-22 10:17:50 +00:00
|
|
|
## Revision 1.82 1999/05/22 10:17:50 akool
|
|
|
|
## isdnlog Version 3.29
|
|
|
|
##
|
|
|
|
## - processing of "sonderrufnummern" much more faster
|
|
|
|
## - detection for sonderrufnummern of other provider's implemented
|
|
|
|
## (like 01929:FreeNet)
|
|
|
|
## - Patch from Oliver Lauer <Oliver.Lauer@coburg.baynet.de>
|
|
|
|
## - Patch from Markus Schoepflin <schoepflin@ginit.de>
|
|
|
|
## - easter computing corrected
|
|
|
|
## - rate-de.dat 1.02-Germany [22-May-1999 11:37:33] (from rate-CVS)
|
|
|
|
## - countries-de.dat 1.02-Germany [22-May-1999 11:37:47] (from rate-CVS)
|
|
|
|
## - new option "-B" added (see README)
|
|
|
|
## (using "isdnlog -B16 ..." isdnlog now works in the Netherlands!)
|
|
|
|
##
|
1999-05-13 11:38:43 +00:00
|
|
|
## Revision 1.81 1999/05/13 11:38:43 akool
|
|
|
|
## isdnlog Version 3.28
|
|
|
|
##
|
|
|
|
## - "-u" Option corrected
|
|
|
|
## - "ausland.dat" removed
|
|
|
|
## - "countries-de.dat" fully integrated
|
|
|
|
## you should add the entry
|
|
|
|
## "COUNTRYFILE = /usr/lib/isdn/countries-de.dat"
|
|
|
|
## into section "[ISDNLOG]" of your config file!
|
|
|
|
## - rate-de.dat V:1.02-Germany [13-May-1999 12:26:24]
|
|
|
|
## - countries-de.dat V:1.02-Germany [13-May-1999 12:26:26]
|
|
|
|
##
|
1999-05-11 20:27:01 +00:00
|
|
|
## Revision 1.80 1999/05/11 20:27:01 akool
|
|
|
|
## isdnlog Version 3.27
|
|
|
|
##
|
|
|
|
## - country matching fixed (and faster)
|
|
|
|
##
|
1999-05-10 20:37:11 +00:00
|
|
|
## Revision 1.79 1999/05/10 20:37:11 akool
|
|
|
|
## isdnlog Version 3.26
|
|
|
|
##
|
|
|
|
## - fixed the "0800" -> free of charge problem
|
|
|
|
## - *many* additions to "ausland.dat"
|
|
|
|
## - first relase of "rate-de.dat" from the CVS-Server of the I4L-Tarif-Crew
|
|
|
|
##
|
1999-05-09 18:23:42 +00:00
|
|
|
## Revision 1.78 1999/05/09 18:23:42 akool
|
|
|
|
## isdnlog Version 3.25
|
|
|
|
##
|
|
|
|
## - README: isdnconf: new features explained
|
|
|
|
## - rate-de.dat: many new rates from the I4L-Tarifdatenbank-Crew
|
|
|
|
## - added the ability to directly enter a country-name into "rate-xx.dat"
|
|
|
|
##
|
1999-05-04 19:32:01 +00:00
|
|
|
## Revision 1.77 1999/05/04 19:32:02 akool
|
|
|
|
## isdnlog Version 3.24
|
|
|
|
##
|
|
|
|
## - fully removed "sondernummern.c"
|
|
|
|
## - removed "gcc -Wall" warnings in ASN.1 Parser
|
|
|
|
## - many new entries for "rate-de.dat"
|
|
|
|
## - better "isdnconf" utility
|
|
|
|
##
|
1999-04-30 19:07:28 +00:00
|
|
|
## Revision 1.76 1999/04/30 19:07:28 akool
|
|
|
|
## isdnlog Version 3.23
|
|
|
|
##
|
|
|
|
## - changed LCR probing duration from 181 seconds to 153 seconds
|
|
|
|
## - "rate-de.dat" filled with May, 1. rates
|
|
|
|
##
|
1999-04-29 19:02:56 +00:00
|
|
|
## Revision 1.75 1999/04/29 19:02:56 akool
|
|
|
|
## isdnlog Version 3.22
|
|
|
|
##
|
|
|
|
## - T-Online corrected
|
|
|
|
## - more online rates for rate-at.dat (Thanks to Leopold Toetsch <lt@toetsch.at>)
|
|
|
|
##
|
1999-04-26 22:11:33 +00:00
|
|
|
## Revision 1.74 1999/04/26 22:11:33 akool
|
|
|
|
## isdnlog Version 3.21
|
|
|
|
##
|
|
|
|
## - CVS headers added to the asn* files
|
|
|
|
## - repaired the "4.CI" message directly on CONNECT
|
|
|
|
## - HANGUP message extended (CI's and EH's shown)
|
|
|
|
## - reactivated the OVERLOAD message
|
|
|
|
## - rate-at.dat extended
|
|
|
|
## - fixes from Michael Reinelt
|
|
|
|
##
|
1999-04-25 17:34:27 +00:00
|
|
|
## Revision 1.73 1999/04/25 17:34:27 akool
|
|
|
|
## isdnlog Version 3.20
|
|
|
|
##
|
|
|
|
## - added ASN.1 Parser from Kai Germaschewski <kai@thphy.uni-duesseldorf.de>
|
|
|
|
## isdnlog now fully support all fac- and cf-messages!
|
|
|
|
##
|
|
|
|
## - some additions to the "rate-de.dat"
|
|
|
|
##
|
1999-04-19 21:25:06 +00:00
|
|
|
## Revision 1.72 1999/04/19 21:25:06 akool
|
|
|
|
## change permissions of "countries-at.dat"
|
|
|
|
##
|
1999-04-19 19:23:14 +00:00
|
|
|
## Revision 1.71 1999/04/19 19:23:14 akool
|
|
|
|
## isdnlog Version 3.18
|
|
|
|
##
|
|
|
|
## - countries-at.dat added
|
|
|
|
## - spelling corrections in "countries-de.dat" and "countries-us.dat"
|
|
|
|
## - LCR-function of isdnconf now accepts a duration (isdnconf -c .,duration)
|
|
|
|
## - "rate-at.dat" and "rate-de.dat" extended/fixed
|
|
|
|
## - holiday.c and rate.c fixed (many thanks to reinelt@eunet.at)
|
|
|
|
##
|
1999-04-17 14:10:36 +00:00
|
|
|
## Revision 1.70 1999/04/17 14:10:36 akool
|
|
|
|
## isdnlog Version 3.17
|
|
|
|
##
|
|
|
|
## - LCR functions of "isdnconf" fixed
|
|
|
|
## - HINT's fixed
|
|
|
|
## - rate-de.dat: replaced "1-5" with "W" and "6-7" with "E"
|
|
|
|
##
|
1999-04-16 14:39:07 +00:00
|
|
|
## Revision 1.69 1999/04/16 14:39:07 akool
|
|
|
|
## isdnlog Version 3.16
|
|
|
|
##
|
|
|
|
## - more syntax checks for "rate-xx.dat"
|
|
|
|
## - isdnrep fixed
|
|
|
|
##
|
1999-04-15 19:14:09 +00:00
|
|
|
## Revision 1.68 1999/04/15 19:14:09 akool
|
|
|
|
## isdnlog Version 3.15
|
|
|
|
##
|
|
|
|
## - reenable the least-cost-router functions of "isdnconf"
|
|
|
|
## try "isdnconf -c <areacode>" or even "isdnconf -c ."
|
|
|
|
## - README: "rate-xx.dat" documented
|
|
|
|
## - small fixes in processor.c and rate.c
|
|
|
|
## - "rate-de.dat" optimized
|
|
|
|
## - splitted countries.dat into countries-de.dat and countries-us.dat
|
|
|
|
##
|
1999-04-14 13:16:01 +00:00
|
|
|
## Revision 1.67 1999/04/14 13:16:01 akool
|
|
|
|
## isdnlog Version 3.14
|
|
|
|
##
|
|
|
|
## - "make install" now install's "rate-xx.dat", "rate.conf" and "ausland.dat"
|
|
|
|
## - "holiday-xx.dat" Version 1.1
|
|
|
|
## - many rate fixes (Thanks again to Michael Reinelt <reinelt@eunet.at>)
|
|
|
|
##
|
1999-04-10 16:34:57 +00:00
|
|
|
## Revision 1.66 1999/04/10 16:34:57 akool
|
|
|
|
## isdnlog Version 3.13
|
|
|
|
##
|
|
|
|
## WARNING: This is pre-ALPHA-dont-ever-use-Code!
|
|
|
|
## "tarif.dat" (aka "rate-xx.dat"): the next generation!
|
|
|
|
##
|
|
|
|
## You have to do the following to test this version:
|
|
|
|
## cp /usr/src/isdn4k-utils/isdnlog/holiday-de.dat /etc/isdn
|
|
|
|
## cp /usr/src/isdn4k-utils/isdnlog/rate-de.dat /usr/lib/isdn
|
|
|
|
## cp /usr/src/isdn4k-utils/isdnlog/samples/rate.conf.de /etc/isdn/rate.conf
|
|
|
|
##
|
|
|
|
## After that, add the following entries to your "/etc/isdn/isdn.conf" or
|
|
|
|
## "/etc/isdn/callerid.conf" file:
|
|
|
|
##
|
|
|
|
## [ISDNLOG]
|
|
|
|
## SPECIALNUMBERS = /usr/lib/isdn/sonderrufnummern.dat
|
|
|
|
## HOLIDAYS = /usr/lib/isdn/holiday-de.dat
|
|
|
|
## RATEFILE = /usr/lib/isdn/rate-de.dat
|
|
|
|
## RATECONF = /etc/isdn/rate.conf
|
|
|
|
##
|
|
|
|
## Please replace any "de" with your country code ("at", "ch", "nl")
|
|
|
|
##
|
|
|
|
## Good luck (Andreas Kool and Michael Reinelt)
|
|
|
|
##
|
1999-04-03 12:46:39 +00:00
|
|
|
## Revision 1.65 1999/04/03 12:46:39 akool
|
|
|
|
## - isdnlog Version 3.12
|
|
|
|
## - "%B" tag in ILABEL/OLABEL corrected
|
|
|
|
## - isdnlog now register's incoming calls when there are no free B-channels
|
|
|
|
## (idea from sergio@webmedia.es)
|
|
|
|
## - better "samples/rate.conf.de" (suppress provider without true call-by-call)
|
|
|
|
## - "tarif.dat" V:1.17 [03-Apr-99]
|
|
|
|
## - Added EWE-Tel rates from Reiner Klaproth <rk1@msjohan.dd.sn.schule.de>
|
|
|
|
## - isdnconf can now be used to generate a Least-cost-router table
|
|
|
|
## (try "isdnconf -c .")
|
|
|
|
## - isdnlog now simulate a RELEASE COMPLETE if nothing happpens after a SETUP
|
|
|
|
## - CHARGEMAX Patches from Oliver Lauer <Oliver.Lauer@coburg.baynet.de>
|
|
|
|
##
|
1999-03-25 19:39:41 +00:00
|
|
|
## Revision 1.64 1999/03/25 19:39:41 akool
|
|
|
|
## - isdnlog Version 3.11
|
|
|
|
## - make isdnlog compile with egcs 1.1.7 (Bug report from Christophe Zwecker <doc@zwecker.com>)
|
|
|
|
##
|
1999-03-24 19:37:29 +00:00
|
|
|
## Revision 1.63 1999/03/24 19:37:29 akool
|
|
|
|
## - isdnlog Version 3.10
|
|
|
|
## - moved "sondernnummern.c" from isdnlog/ to tools/
|
|
|
|
## - "holiday.c" and "rate.c" integrated
|
|
|
|
## - NetCologne rates from Oliver Flimm <flimm@ph-cip.uni-koeln.de>
|
|
|
|
## - corrected UUnet and T-Online rates
|
|
|
|
##
|
1999-03-20 16:54:37 +00:00
|
|
|
## Revision 1.62 1999/03/20 16:54:37 akool
|
|
|
|
## isdnlog 3.09 : support for all Internet-by-call numbers
|
|
|
|
##
|
1999-03-20 14:32:29 +00:00
|
|
|
## Revision 1.61 1999/03/20 14:32:29 akool
|
|
|
|
## - isdnlog Version 3.08
|
|
|
|
## - more tesion)) Tarife from Michael Graw <Michael.Graw@bartlmae.de>
|
1999-03-24 19:37:29 +00:00
|
|
|
## - use "bunzip -f" from Frank Elsner <Elsner@zrz.TU-Berlin.DE>
|
1999-03-20 14:32:29 +00:00
|
|
|
## - show another "cheapest" hint if provider is overloaded ("OVERLOAD")
|
|
|
|
## - "make install" now makes the required entry
|
|
|
|
## [GLOBAL]
|
|
|
|
## AREADIFF = /usr/lib/isdn/vorwahl.dat
|
|
|
|
## - README: Syntax description of the new "rate-at.dat"
|
|
|
|
## - better integration of "sondernummern.c" from mario.joussen@post.rwth-aachen.de
|
|
|
|
## - server.c: buffer overrun fix from Michael.Weber@Post.RWTH-Aachen.DE (Michael Weber)
|
|
|
|
##
|
1999-03-16 17:37:08 +00:00
|
|
|
## Revision 1.60 1999/03/16 17:37:08 akool
|
|
|
|
## - isdnlog Version 3.07
|
|
|
|
## - Michael Reinelt's patch as of 16Mar99 06:58:58
|
|
|
|
## - fix a fix from yesterday with sondernummern
|
|
|
|
## - ignore "" COLP/CLIP messages
|
|
|
|
## - dont show a LCR-Hint, if same price
|
|
|
|
##
|
1999-03-15 21:27:30 +00:00
|
|
|
## Revision 1.59 1999/03/15 21:27:30 akool
|
|
|
|
## - isdnlog Version 3.06
|
|
|
|
## - README: explain some terms about LCR, corrected "-c" Option of "isdnconf"
|
|
|
|
## - isdnconf: added a small LCR-feature - simply try "isdnconf -c 069"
|
|
|
|
## - isdnlog: dont change CHARGEINT, if rate is't known!
|
|
|
|
## - sonderrufnummern 1.02 [15-Mar-99] :: added WorldCom
|
|
|
|
## - tarif.dat 1.09 [15-Mar-99] :: added WorldCom
|
|
|
|
## - isdnlog now correctly handles the new "Ortstarif-Zugang" of UUnet
|
|
|
|
##
|
1999-03-14 14:26:08 +00:00
|
|
|
## Revision 1.58 1999/03/14 14:26:10 akool
|
|
|
|
## - isdnlog Version 3.05
|
|
|
|
## - new Option "-u1" (or "ignoreRR=1")
|
|
|
|
## - added version information to "sonderrufnummern.dat"
|
|
|
|
## - added debug messages if sonderrufnummern.dat or tarif.dat could not be opened
|
|
|
|
## - sonderrufnummern.dat V 1.01 - new 01805 rates
|
|
|
|
##
|
1999-03-14 12:15:56 +00:00
|
|
|
## Revision 1.57 1999/03/14 12:15:56 akool
|
|
|
|
## - isdnlog Version 3.04
|
|
|
|
## - general cleanup
|
|
|
|
## - new layout for "rate-xx.dat" and "holiday-xx.dat" files from
|
|
|
|
## Michael Reinelt <reinelt@eunet.at>
|
|
|
|
## unused by now - it's a work-in-progress !
|
|
|
|
## - bugfix for Wolfgang Siefert <siefert@wiwi.uni-frankfurt.de>
|
|
|
|
## The Agfeo AS 40 (Software release 2.1b) uses AOC_AMOUNT, not AOC_UNITS
|
|
|
|
## - bugfix for Ralf G. R. Bergs <rabe@RWTH-Aachen.DE> - 0800/xxx numbers
|
|
|
|
## are free of charge ;-)
|
|
|
|
## - tarif.dat V 1.08 - new mobil-rates DTAG
|
|
|
|
##
|
1999-03-11 09:21:58 +00:00
|
|
|
## Revision 1.56 1999/03/11 09:21:58 paul
|
|
|
|
## fixed problems with yesterday's commit
|
|
|
|
##
|
1999-03-10 08:35:48 +00:00
|
|
|
## Revision 1.55 1999/03/10 08:35:48 paul
|
|
|
|
## use DATADIR from "make config" phase instead of hardcoded /usr/lib/isdn
|
|
|
|
##
|
1999-03-07 18:18:21 +00:00
|
|
|
## Revision 1.54 1999/03/07 18:18:21 akool
|
|
|
|
## - new 01805 tarif of DTAG
|
|
|
|
## - new March 1999 tarife
|
|
|
|
## - added new provider "01051 Telecom"
|
|
|
|
## - fixed a buffer overrun from Michael Weber <Michael.Weber@Post.RWTH-Aachen.DE>
|
|
|
|
## - fixed a bug using "sondernnummern.c"
|
|
|
|
## - fixed chargeint change over the time
|
|
|
|
## - "make install" now install's "sonderrufnummern.dat", "tarif.dat",
|
|
|
|
## "vorwahl.dat" and "tarif.conf"! Many thanks to
|
|
|
|
## Mario Joussen <mario.joussen@post.rwth-aachen.de>
|
|
|
|
## - Euracom Frames would now be ignored
|
|
|
|
## - fixed warnings in "sondernnummern.c"
|
|
|
|
## - "10plus" messages no longer send to syslog
|
|
|
|
##
|
1999-02-28 19:32:17 +00:00
|
|
|
## Revision 1.53 1999/02/28 19:32:17 akool
|
|
|
|
## Fixed a typo in isdnconf.c from Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
|
|
|
## CHARGEMAX fix from Oliver Lauer <Oliver.Lauer@coburg.baynet.de>
|
|
|
|
## isdnrep fix from reinhard.karcher@dpk.berlin.fido.de (Reinhard Karcher)
|
|
|
|
## "takt_at.c" fixes from Ulrich Leodolter <u.leodolter@xpoint.at>
|
|
|
|
## sondernummern.c from Mario Joussen <mario.joussen@post.rwth-aachen.de>
|
|
|
|
## Reenable usage of the ZONE entry from Schlottmann-Goedde@t-online.de
|
|
|
|
## Fixed a typo in callerid.conf.5
|
|
|
|
##
|
1999-01-10 15:22:43 +00:00
|
|
|
## Revision 1.52 1999/01/10 15:22:43 akool
|
|
|
|
## - "message = 0" bug fixed (many thanks to
|
|
|
|
## Sebastian Kanthak <sebastian.kanthak@muehlheim.de>)
|
|
|
|
## - CITYWEEKEND via config-file possible
|
|
|
|
## - fixes from Michael Reinelt <reinelt@eunet.at>
|
|
|
|
## - fix a typo in the README from Sascha Ziemann <szi@aibon.ping.de>
|
|
|
|
## - Charge for .at optimized by Michael Reinelt <reinelt@eunet.at>
|
|
|
|
## - first alpha-Version of the new chargeinfo-Database
|
|
|
|
## ATTENTION: This version requires the following manual steps:
|
|
|
|
## cp /usr/src/isdn4k-utils/isdnlog/tarif.dat /usr/lib/isdn
|
|
|
|
## cp /usr/src/isdn4k-utils/isdnlog/samples/tarif.conf /etc/isdn
|
|
|
|
##
|
1998-12-29 14:51:37 +00:00
|
|
|
## Revision 1.51 1998/12/29 14:51:37 paul
|
|
|
|
## added isdnconf manpage
|
|
|
|
##
|
1998-12-01 16:57:08 +00:00
|
|
|
## Revision 1.50 1998/12/01 16:57:09 paul
|
|
|
|
## support for .in manpages
|
|
|
|
##
|
1998-11-24 20:50:59 +00:00
|
|
|
## Revision 1.49 1998/11/24 20:50:59 akool
|
|
|
|
## - changed my email-adress
|
|
|
|
## - new Option "-R" to supply the preselected provider (-R24 -> Telepassport)
|
|
|
|
## - made Provider-Prefix 6 digits long
|
|
|
|
## - full support for internal S0-bus implemented (-A, -i Options)
|
|
|
|
## - isdnlog now ignores unknown frames
|
|
|
|
## - added 36 allocated, but up to now unused "Auskunft" Numbers
|
|
|
|
## - added _all_ 122 Providers
|
|
|
|
## - Patch from Jochen Erwied <mack@Joker.E.Ruhr.DE> for Quante-TK-Anlagen
|
|
|
|
## (first dialed digit comes with SETUP-Frame)
|
|
|
|
##
|
1998-11-07 17:12:45 +00:00
|
|
|
## Revision 1.48 1998/11/07 17:12:45 akool
|
|
|
|
## Final cleanup. This _is_ isdnlog-3.00
|
|
|
|
##
|
1998-11-05 19:09:42 +00:00
|
|
|
## Revision 1.47 1998/11/05 19:09:42 akool
|
|
|
|
## - Support for all the new L2 frames from HiSax 3.0d (RR, UA, SABME and
|
|
|
|
## tei management)
|
|
|
|
## - CityWeekend reimplemented
|
|
|
|
## Many thanks to Rainer Gallersdoerfer <gallersd@informatik.rwth-aachen.de>
|
|
|
|
## for the tip
|
|
|
|
## - more providers
|
|
|
|
## - general clean-up
|
|
|
|
##
|
1998-11-01 08:49:21 +00:00
|
|
|
## Revision 1.46 1998/11/01 08:49:22 akool
|
|
|
|
## - fixed "configure.in" problem with NATION_*
|
|
|
|
## - DESTDIR fixes (many thanks to Michael Reinelt <reinelt@eunet.at>)
|
|
|
|
## - isdnrep: Outgoing calls ordered by Zone/Provider/MSN corrected
|
|
|
|
## - new Switch "-i" -> running on internal S0-Bus
|
|
|
|
## - more providers
|
|
|
|
## - "sonderrufnummern.dat" extended (Frag Fred, Telegate ...)
|
|
|
|
## - added AVM-B1 to the documentation
|
|
|
|
## - removed the word "Teles" from the whole documentation ;-)
|
|
|
|
##
|
1998-10-16 12:37:38 +00:00
|
|
|
## Revision 1.45 1998/10/16 12:38:04 keil
|
|
|
|
## fixes to compile and install under 2.0.36
|
|
|
|
##
|
1998-10-13 22:17:09 +00:00
|
|
|
## Revision 1.44 1998/10/13 22:17:09 luethje
|
|
|
|
## isdnlog: evaluate the variable PATH for program starts.
|
|
|
|
##
|
1998-10-03 18:05:48 +00:00
|
|
|
## Revision 1.43 1998/10/03 18:05:48 akool
|
|
|
|
## - processor.c, takt_at.c : Patch from Michael Reinelt <reinelt@eunet.at>
|
|
|
|
## try to guess the zone of the calling/called party
|
|
|
|
##
|
|
|
|
## - isdnrep.c : cosmetics (i hope, you like it, Stefan!)
|
|
|
|
##
|
1998-09-27 11:47:21 +00:00
|
|
|
## Revision 1.42 1998/09/27 11:47:21 akool
|
|
|
|
## fix segfault of isdnlog after each RELASE
|
|
|
|
##
|
1998-09-26 18:27:23 +00:00
|
|
|
## Revision 1.41 1998/09/26 18:28:32 akool
|
|
|
|
## - quick and dirty Call-History in "-m" Mode (press "h" for more info) added
|
|
|
|
## - eat's one more socket, Stefan: sockets[3] now is STDIN, FIRST_DESCR=4 !!
|
|
|
|
## - Support for tesion)) Baden-Wuerttemberg Tarif
|
|
|
|
## - more Providers
|
|
|
|
## - Patches from Wilfried Teiken <wteiken@terminus.cl-ki.uni-osnabrueck.de>
|
|
|
|
## - better zone-info support in "tools/isdnconf.c"
|
|
|
|
## - buffer-overrun in "isdntools.c" fixed
|
|
|
|
## - big Austrian Patch from Michael Reinelt <reinelt@eunet.at>
|
|
|
|
## - added $(DESTDIR) in any "Makefile.in"
|
|
|
|
## - new Configure-Switches "ISDN_AT" and "ISDN_DE"
|
|
|
|
## - splitted "takt.c" and "tools.c" into
|
|
|
|
## "takt_at.c" / "takt_de.c" ...
|
|
|
|
## "tools_at.c" / "takt_de.c" ...
|
|
|
|
## - new feature
|
|
|
|
## CALLFILE = /var/log/caller.log
|
|
|
|
## CALLFMT = %b %e %T %N7 %N3 %N4 %N5 %N6
|
|
|
|
## in "isdn.conf"
|
|
|
|
## - ATTENTION:
|
|
|
|
## 1. "isdnrep" dies with an seg-fault, if not HTML-Mode (Stefan?)
|
|
|
|
## 2. "isdnlog/Makefile.in" now has hardcoded "ISDN_DE" in "DEFS"
|
|
|
|
## should be fixed soon
|
|
|
|
##
|
1998-06-14 15:33:42 +00:00
|
|
|
## Revision 1.40 1998/06/14 15:33:42 akool
|
|
|
|
## AVM B1 support (Layer 3)
|
|
|
|
## Telekom's new currency DEM 0,121 supported
|
|
|
|
## Disable holiday rates #ifdef ISDN_NL
|
|
|
|
## memory leak in "isdnrep" repaired
|
|
|
|
##
|
- Accounting for the following new providers implemented:
o.tel.o, Tele2, EWE TEL, Debitel, Mobilcom, Isis, NetCologne,
TelePassport, Citykom Muenster, TelDaFax, Telekom, Hutchison Telekom,
tesion)), HanseNet, KomTel, ACC, Talkline, Esprit, Interoute, Arcor,
WESTCom, WorldCom, Viag Interkom
Code shamelessly stolen from G.Glendown's (garry@insider.regio.net)
program http://www.insider.org/tarif/gebuehr.c
- Telekom's 10plus implemented
- Berechnung der Gebuehrenzone implementiert
(CityCall, RegioCall, GermanCall, GlobalCall)
The entry "ZONE" is not needed anymore in the config-files
you need the file
http://swt.wi-inf.uni-essen.de/~omatthes/tgeb/vorwahl2.exe
and the new entry
[GLOBAL]
AREADIFF = /usr/lib/isdn/vorwahl.dat
for that feature.
Many thanks to Olaf Matthes (olaf.matthes@uni-essen.de) for the
Data-File and Harald Milz for his first Perl-Implementation!
- Accounting for all "Sonderrufnummern" (0010 .. 11834) implemented
You must install the file
"isdn4k-utils/isdnlog/sonderrufnummern.dat.bz2"
as "/usr/lib/isdn/sonderrufnummern.dat"
for that feature.
ATTENTION: This is *NO* production-code! Please test it carefully!
1998-06-07 21:07:50 +00:00
|
|
|
## Revision 1.39 1998/06/07 21:07:50 akool
|
|
|
|
## - Accounting for the following new providers implemented:
|
|
|
|
## o.tel.o, Tele2, EWE TEL, Debitel, Mobilcom, Isis, NetCologne,
|
|
|
|
## TelePassport, Citykom Muenster, TelDaFax, Telekom, Hutchison Telekom,
|
|
|
|
## tesion)), HanseNet, KomTel, ACC, Talkline, Esprit, Interoute, Arcor,
|
|
|
|
## WESTCom, WorldCom, Viag Interkom
|
|
|
|
##
|
|
|
|
## Code shamelessly stolen from G.Glendown's (garry@insider.regio.net)
|
|
|
|
## program http://www.insider.org/tarif/gebuehr.c
|
|
|
|
##
|
|
|
|
## - Telekom's 10plus implemented
|
|
|
|
##
|
|
|
|
## - Berechnung der Gebuehrenzone implementiert
|
|
|
|
## (CityCall, RegioCall, GermanCall, GlobalCall)
|
|
|
|
## The entry "ZONE" is not needed anymore in the config-files
|
|
|
|
##
|
|
|
|
## you need the file
|
|
|
|
## http://swt.wi-inf.uni-essen.de/~omatthes/tgeb/vorwahl2.exe
|
|
|
|
## and the new entry
|
|
|
|
## [GLOBAL]
|
|
|
|
## AREADIFF = /usr/lib/isdn/vorwahl.dat
|
|
|
|
## for that feature.
|
|
|
|
##
|
|
|
|
## Many thanks to Olaf Matthes (olaf.matthes@uni-essen.de) for the
|
|
|
|
## Data-File and Harald Milz for his first Perl-Implementation!
|
|
|
|
##
|
|
|
|
## - Accounting for all "Sonderrufnummern" (0010 .. 11834) implemented
|
|
|
|
##
|
|
|
|
## You must install the file
|
|
|
|
## "isdn4k-utils/isdnlog/sonderrufnummern.dat.bz2"
|
|
|
|
## as "/usr/lib/isdn/sonderrufnummern.dat"
|
|
|
|
## for that feature.
|
|
|
|
##
|
|
|
|
## ATTENTION: This is *NO* production-code! Please test it carefully!
|
|
|
|
##
|
1998-05-10 22:11:47 +00:00
|
|
|
## Revision 1.38 1998/05/10 22:11:47 luethje
|
|
|
|
## Added support for VORWAHLEN2.EXE
|
|
|
|
##
|
1998-03-29 23:17:46 +00:00
|
|
|
## Revision 1.37 1998/03/29 23:17:47 luethje
|
|
|
|
## mySQL-Patch of Sascha Matzke
|
|
|
|
##
|
1998-03-29 19:54:04 +00:00
|
|
|
## Revision 1.36 1998/03/29 19:54:04 luethje
|
|
|
|
## idnrep: added html feature (incoming/outgoing calls)
|
|
|
|
##
|
1998-03-15 22:34:57 +00:00
|
|
|
## Revision 1.35 1998/03/15 22:35:44 tsbogend
|
|
|
|
## not every CPU is from Intel (greetings from Digital :-))
|
|
|
|
##
|
1998-03-08 11:42:23 +00:00
|
|
|
## Revision 1.34 1998/03/08 11:42:27 luethje
|
|
|
|
## I4L-Meeting Wuerzburg final Edition, golden code - Service Pack number One
|
|
|
|
##
|
1997-10-26 23:14:38 +00:00
|
|
|
## Revision 1.33 1997/10/26 23:14:38 fritz
|
|
|
|
## Get rid of including ../.config in Makefile
|
|
|
|
## Now all configuration is done in configure.
|
|
|
|
## Moved depend depency from install to build
|
|
|
|
## where it belongs.
|
|
|
|
##
|
1997-09-26 09:13:01 +00:00
|
|
|
## Revision 1.32 1997/09/26 09:13:01 fritz
|
|
|
|
## Set SUBDIRS always to overwrite environment.
|
|
|
|
##
|
1997-09-07 00:43:06 +00:00
|
|
|
## Revision 1.31 1997/09/07 00:43:06 luethje
|
|
|
|
## create new error messages for isdnrep
|
|
|
|
##
|
1997-06-21 13:48:55 +00:00
|
|
|
## Revision 1.30 1997/06/21 13:48:55 fritz
|
|
|
|
## Create ./bin if necessary
|
|
|
|
##
|
1997-06-15 23:49:28 +00:00
|
|
|
## Revision 1.29 1997/06/15 23:49:28 luethje
|
|
|
|
## Some new variables for the isdnlog
|
|
|
|
## isdnlog starts programs noe with the file system rights
|
|
|
|
## bugfixes
|
|
|
|
##
|
1997-05-25 19:40:43 +00:00
|
|
|
## Revision 1.28 1997/05/25 19:40:43 luethje
|
|
|
|
## isdnlog: close all files and open again after kill -HUP
|
|
|
|
## isdnrep: support vbox version 2.0
|
|
|
|
## isdnconf: changes by Roderich Schupp <roderich@syntec.m.EUnet.de>
|
|
|
|
## conffile: ignore spaces at the end of a line
|
|
|
|
##
|
1997-05-20 19:00:51 +00:00
|
|
|
## Revision 1.27 1997/05/20 19:00:51 luethje
|
|
|
|
## some primitve changes
|
|
|
|
##
|
1997-05-19 22:57:51 +00:00
|
|
|
## Revision 1.26 1997/05/19 22:58:02 luethje
|
|
|
|
## - bugfix: it is possible to install isdnlog now
|
|
|
|
## - improved performance for read files for vbox files and mgetty files.
|
|
|
|
## - it is possible to decide via config if you want to use avon or
|
|
|
|
## areacode.
|
|
|
|
##
|
1997-05-17 01:08:11 +00:00
|
|
|
## Revision 1.25 1997/05/17 01:08:11 luethje
|
|
|
|
## some bugfixes
|
|
|
|
##
|
1997-05-15 22:32:41 +00:00
|
|
|
## Revision 1.24 1997/05/15 22:32:41 luethje
|
|
|
|
## new version
|
|
|
|
##
|
1997-05-11 22:59:14 +00:00
|
|
|
## Revision 1.23 1997/05/11 22:59:14 luethje
|
|
|
|
## new version
|
|
|
|
##
|
1997-05-10 01:20:52 +00:00
|
|
|
## Revision 1.22 1997/05/10 01:20:52 luethje
|
|
|
|
## some primitive changes
|
|
|
|
##
|
1997-05-09 23:30:37 +00:00
|
|
|
## Revision 1.21 1997/05/09 23:30:37 luethje
|
|
|
|
## isdnlog: new switch -O
|
|
|
|
## isdnrep: new format %S
|
|
|
|
## bugfix in handle_runfiles()
|
|
|
|
##
|
1997-05-06 22:13:21 +00:00
|
|
|
## Revision 1.20 1997/05/06 22:13:21 luethje
|
|
|
|
## bugfixes in HTML-Code of the isdnrep
|
|
|
|
##
|
1997-05-05 21:22:14 +00:00
|
|
|
## Revision 1.19 1997/05/05 21:22:14 luethje
|
|
|
|
## new version
|
|
|
|
##
|
1997-05-04 20:19:34 +00:00
|
|
|
## Revision 1.18 1997/05/04 20:19:34 luethje
|
|
|
|
## README completed
|
|
|
|
## isdnrep finished
|
|
|
|
## interval-bug fixed
|
|
|
|
##
|
1997-04-20 23:44:46 +00:00
|
|
|
## Revision 1.17 1997/04/20 23:44:46 luethje
|
|
|
|
## some primitve changes
|
|
|
|
##
|
1997-04-20 22:55:14 +00:00
|
|
|
## Revision 1.16 1997/04/20 22:55:14 luethje
|
|
|
|
## isdnrep has new features (Documentation will follow ;-)):
|
|
|
|
## -variable format string
|
|
|
|
## -can create html output (option -w1 or ln -s isdnrep isdnrep.cgi)
|
1997-04-20 23:44:46 +00:00
|
|
|
## idea and design by Dirk Staneker (dirk.staneker@student.uni-tuebingen.de
|
1997-04-20 22:55:14 +00:00
|
|
|
## bugfix of processor.c from akool
|
|
|
|
##
|
1997-04-17 23:29:35 +00:00
|
|
|
## Revision 1.15 1997/04/17 23:29:39 luethje
|
|
|
|
## new structure of isdnrep completed.
|
|
|
|
##
|
1997-04-16 22:22:43 +00:00
|
|
|
## Revision 1.14 1997/04/16 22:22:43 luethje
|
|
|
|
## some bugfixes, README completed
|
|
|
|
##
|
1997-04-15 22:36:58 +00:00
|
|
|
## Revision 1.13 1997/04/15 22:36:58 luethje
|
|
|
|
## allows the character `"' in the program argument like the shell.
|
|
|
|
## some bugfixes.
|
|
|
|
##
|
1997-04-15 00:19:53 +00:00
|
|
|
## Revision 1.12 1997/04/15 00:19:53 luethje
|
|
|
|
## replace variables: some bugfixes, README comleted
|
|
|
|
##
|
1997-04-10 23:31:59 +00:00
|
|
|
## Revision 1.11 1997/04/10 23:32:04 luethje
|
|
|
|
## Added the feature, that environment variables are allowed in the config files.
|
|
|
|
##
|
1997-04-08 21:56:42 +00:00
|
|
|
## Revision 1.10 1997/04/08 21:56:42 luethje
|
|
|
|
## Create the file isdn.conf
|
|
|
|
## some bug fixes for pid and lock file
|
|
|
|
## make the prefix of the code in `isdn.conf' variable
|
|
|
|
##
|
1997-04-08 00:02:05 +00:00
|
|
|
## Revision 1.9 1997/04/08 00:02:05 luethje
|
|
|
|
## Bugfix: isdnlog is running again ;-)
|
|
|
|
## isdnlog creates now a file like /var/lock/LCK..isdnctrl0
|
|
|
|
## README completed
|
|
|
|
## Added some values (countrycode, areacode, lock dir and lock file) to
|
|
|
|
## the global menu
|
|
|
|
##
|
1997-04-06 21:07:25 +00:00
|
|
|
## Revision 1.8 1997/04/06 21:07:25 luethje
|
|
|
|
## renamed file isdnrep.c to rep_main.c and function.c to isdnrep.c
|
|
|
|
##
|
1997-04-03 22:32:36 +00:00
|
|
|
## Revision 1.7 1997/04/03 22:32:36 luethje
|
|
|
|
## copy the old config files into the new dirctory and create the new config files.
|
|
|
|
##
|
1997-04-03 08:56:40 +00:00
|
|
|
## Revision 1.6 1997/04/03 08:56:58 fritz
|
|
|
|
## Bugfix: Changes for bash-2.00.0:
|
|
|
|
## workaround for empty list in for-loops.
|
|
|
|
## workaround for missing allow_null_glob_expansion
|
|
|
|
## Bugfix: CONFIG_HASX11 was not reset on non-X11 systems.
|
|
|
|
##
|
1997-03-24 22:51:59 +00:00
|
|
|
## Revision 1.5 1997/03/24 22:52:00 luethje
|
|
|
|
## isdnrep completed.
|
|
|
|
##
|
1997-03-24 04:03:12 +00:00
|
|
|
## Revision 1.4 1997/03/24 04:03:12 fritz
|
|
|
|
## Added uninstall target, changed rootperm target.
|
|
|
|
##
|
1997-03-24 01:42:31 +00:00
|
|
|
## Revision 1.3 1997/03/24 01:42:31 fritz
|
|
|
|
## Added capbility to override CFLAGS from commandline.
|
|
|
|
##
|
1997-03-23 23:11:48 +00:00
|
|
|
## Revision 1.2 1997/03/23 23:11:48 luethje
|
|
|
|
## improved performance
|
|
|
|
##
|
1997-03-23 19:22:32 +00:00
|
|
|
## Revision 1.1 1997/03/23 19:22:33 fritz
|
|
|
|
## Make isdnlog configurable.
|
|
|
|
##
|
|
|
|
## Revision 2.6.37 1997/02/11 17:53:19 akool
|
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
|
|
|
|
SHELL := /bin/sh
|
1997-04-08 21:56:42 +00:00
|
|
|
GENCONF := install/genconf
|
1997-03-23 19:22:32 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# autoconf generic stuff
|
|
|
|
#
|
|
|
|
PREFIX := @prefix@
|
|
|
|
EXEC_PREFIX := @exec_prefix@
|
|
|
|
BINDIR := @bindir@
|
|
|
|
SBINDIR := @sbindir@
|
|
|
|
LIBEXECDIR := @libexecdir@
|
|
|
|
DATADIR := @datadir@
|
|
|
|
SYSCONFDIR := @sysconfdir@
|
1998-10-16 12:37:38 +00:00
|
|
|
SHAREDSTATEDIR := @sharedstatedir@
|
|
|
|
LOCALSTATEDIR := @localstatedir@
|
1997-03-23 19:22:32 +00:00
|
|
|
LIBDIR := @libdir@
|
|
|
|
INFODIR := @infodir@
|
|
|
|
INCLUDEDIR := @includedir@
|
1998-10-16 12:37:38 +00:00
|
|
|
OLDINCLUDEDIR := @oldincludedir@
|
1997-03-23 19:22:32 +00:00
|
|
|
MANDIR := @mandir@
|
|
|
|
MAN1DIR := $(MANDIR)/man1
|
1998-12-01 16:57:08 +00:00
|
|
|
MAN5DIR := $(MANDIR)/man5
|
1997-03-23 19:22:32 +00:00
|
|
|
MAN8DIR := $(MANDIR)/man8
|
|
|
|
MAN1EXT := .1
|
1998-12-01 16:57:08 +00:00
|
|
|
MAN5EXT := .5
|
1997-03-23 19:22:32 +00:00
|
|
|
MAN8EXT := .8
|
|
|
|
SRCDIR := @srcdir@
|
1997-04-08 21:56:42 +00:00
|
|
|
|
1997-03-23 19:22:32 +00:00
|
|
|
#
|
|
|
|
# end of autoconf generic stuff
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# autoconf isdnlog specific stuff
|
|
|
|
#
|
1998-10-16 12:37:38 +00:00
|
|
|
INSTALL := @INSTALL@
|
|
|
|
INSTALL_DIR := $(INSTALL) -m 0755 -o 0 -g 0 -d
|
1997-03-23 19:22:32 +00:00
|
|
|
INSTALL_SBIN := $(INSTALL) -m 0700 -o 0 -g 0
|
1998-10-16 12:37:38 +00:00
|
|
|
INSTALL_BIN := $(INSTALL) -m 0755 -o 0 -g 0
|
1997-03-23 19:22:32 +00:00
|
|
|
INSTALL_DATA := $(INSTALL) -m 0644 -o 0 -g 0
|
|
|
|
|
1999-03-07 18:18:21 +00:00
|
|
|
BZIP2 := @BZIP2@
|
1999-03-20 14:32:29 +00:00
|
|
|
BUNZIP2 := $(BZIP2) -f -d
|
1999-12-24 14:17:02 +00:00
|
|
|
AWK = @AWK@
|
|
|
|
SED = @SED@
|
1999-03-07 18:18:21 +00:00
|
|
|
|
1997-04-08 21:56:42 +00:00
|
|
|
LIBISDNDIR := @LIBISDNDIR@
|
|
|
|
I4LCONFDIR := @I4LCONFDIR@
|
1998-10-16 12:37:38 +00:00
|
|
|
CONFFILE := @CONFFILE@
|
|
|
|
CALLERIDFILE := @CALLERIDFILE@
|
1997-04-08 21:56:42 +00:00
|
|
|
OLDCONFDIR := @OLDCONFDIR@
|
1998-10-16 12:37:38 +00:00
|
|
|
OLDCONFFILE := @OLDCONFFILE@
|
|
|
|
RUNDIR := @RUNDIR@
|
|
|
|
DBMLIB := @DBMLIB@
|
|
|
|
POSTGRES := @POSTGRES@
|
|
|
|
POSTGRESDIR := @POSTGRESDIR@
|
|
|
|
MYSQLDB := @MYSQLDB@
|
|
|
|
MYSQLDIR := @MYSQLDIR@
|
1999-12-31 13:57:16 +00:00
|
|
|
ORACLE := @ORACLE@
|
1998-10-16 12:37:38 +00:00
|
|
|
SERV_PORT := @SERV_PORT@
|
|
|
|
USERFILE := @USERFILE@
|
|
|
|
DEFS :=
|
1999-11-02 21:01:56 +00:00
|
|
|
SUBDIRS := tools/zone tools/dest
|
1997-04-08 21:56:42 +00:00
|
|
|
|
1998-09-26 18:27:23 +00:00
|
|
|
NATION := @NATION@
|
|
|
|
|
1998-10-16 12:37:38 +00:00
|
|
|
export LOGFILE := @LOGFILE@
|
|
|
|
export COUNTRYCODE := @COUNTRYCODE@
|
|
|
|
export COUNTRYPREFIX := @COUNTRYPREFIX@
|
|
|
|
export AREAPREFIX := @AREAPREFIX@
|
1997-04-08 21:56:42 +00:00
|
|
|
|
|
|
|
export ILABEL := %b %e %T %ICall to tei %t from %N2 on %n2
|
|
|
|
export OLABEL := %b %e %T %Itei %t calling %N2 with %n2
|
|
|
|
export CHARGEMAX := 1000.00
|
|
|
|
|
1997-03-23 19:22:32 +00:00
|
|
|
ifndef ROOTDIR
|
|
|
|
export ROOTDIR=$(shell pwd)
|
|
|
|
MAKELIB =1
|
|
|
|
else
|
1997-05-19 22:57:51 +00:00
|
|
|
#PREFIXDIR=$(ROOTDIR)
|
1997-03-23 19:22:32 +00:00
|
|
|
endif
|
|
|
|
|
1997-05-19 22:57:51 +00:00
|
|
|
PREFIXDIR=.
|
|
|
|
|
1997-03-23 19:22:32 +00:00
|
|
|
ifeq ($(MAKELIB),1)
|
1997-09-26 09:13:01 +00:00
|
|
|
SUBDIRS += $(LIBISDNDIR)
|
1997-03-23 19:22:32 +00:00
|
|
|
endif
|
|
|
|
|
1999-08-21 21:11:31 +00:00
|
|
|
# export CFLAGS = -Wall -pipe -O6 -fomit-frame-pointer -fforce-mem -fforce-addr -funroll-loops -fstrength-reduce
|
1997-03-24 01:42:31 +00:00
|
|
|
|
1999-10-25 18:30:03 +00:00
|
|
|
export CFLAGS = -Wall -pipe
|
1997-03-23 19:22:32 +00:00
|
|
|
ifndef _CC
|
1997-03-24 01:42:31 +00:00
|
|
|
export _CC = gcc
|
1997-03-23 19:22:32 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
CC = $(_CC)
|
|
|
|
|
1998-09-26 18:27:23 +00:00
|
|
|
INCLUDE = -I./isdnlog -I./connect -I./tools -I$(PREFIXDIR) -I$(LIBISDNDIR) -I@CONFIG_KERNELDIR@/include
|
1997-03-23 19:22:32 +00:00
|
|
|
|
1999-02-28 19:32:17 +00:00
|
|
|
LIB = $(DBMLIB) -lm
|
1997-03-23 19:22:32 +00:00
|
|
|
|
|
|
|
SERVICEFILE = /etc/services
|
|
|
|
|
|
|
|
|
|
|
|
######################################################################
|
|
|
|
# DON'T EDIT BELOW THIS LINE
|
|
|
|
######################################################################
|
|
|
|
|
2000-02-07 20:32:38 +00:00
|
|
|
VERSION = 4.09
|
1997-03-23 19:22:32 +00:00
|
|
|
|
1999-04-10 16:34:57 +00:00
|
|
|
MANPAGES = isdnlog/callerid.conf.5 isdnlog/isdn.conf.5 \
|
|
|
|
isdnlog/isdnformat.5 isdnlog/isdnlog.5 isdnlog/isdnlog.8 \
|
1999-12-24 14:17:02 +00:00
|
|
|
isdnlog/isdnlog.users.5 isdnrep/isdnrep.1 isdnconf/isdnconf.1 \
|
|
|
|
tools/isdnrate.1 tools/rate-files.5
|
1998-12-01 16:57:08 +00:00
|
|
|
|
1997-03-23 19:22:32 +00:00
|
|
|
ifeq ($(POSTGRES),1)
|
1997-03-24 01:42:31 +00:00
|
|
|
DEFS += -DPOSTGRES
|
1997-03-23 19:22:32 +00:00
|
|
|
INCLUDE += -I$(POSTGRESDIR)/include
|
|
|
|
LIB += -L$(POSTGRESDIR)/lib -lpq
|
|
|
|
endif
|
|
|
|
|
1998-03-29 23:17:46 +00:00
|
|
|
ifeq ($(MYSQLDB),1)
|
|
|
|
DEFS += -DMYSQLDB
|
|
|
|
INCLUDE += -I$(MYSQLDIR)/include
|
|
|
|
LIB += -L$(MYSQLDIR)/lib -lmysqlclient -lm
|
|
|
|
endif
|
|
|
|
|
1999-12-31 13:57:16 +00:00
|
|
|
ifeq ($(ORACLE),1)
|
|
|
|
DEFS += -DORACLE
|
|
|
|
INCLUDE += -I$(ORACLE_HOME)/precomp/public
|
|
|
|
ORALIBS = -L$(ORACLE_HOME)/lib \
|
|
|
|
-lclntsh $(ORACLE_HOME)/lib/scorept.o $(ORACLE_HOME)/lib/sscoreed.o \
|
|
|
|
$(ORACLE_HOME)/rdbms/lib/kpudfo.o \
|
|
|
|
-lclient -lsql $(ORACLE_HOME)/lib/nautab.o $(ORACLE_HOME)/lib/naeet.o \
|
|
|
|
$(ORACLE_HOME)/lib/naect.o $(ORACLE_HOME)/lib/naedhs.o \
|
|
|
|
`cat $(ORACLE_HOME)/lib/naldflgs` \
|
|
|
|
-lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork \
|
|
|
|
-lclient -lvsn -lcommon -lgeneric -lmm -lnlsrtl3 -lcore4 \
|
|
|
|
-lnlsrtl3 -lcore4 -lnlsrtl3 -lnetv2 -lnttcp -lnetwork -lncr \
|
|
|
|
-lnetv2 -lnttcp -lnetwork -lclient -lvsn -lcommon -lgeneric \
|
|
|
|
$(ORACLE_HOME)/lib/libplsf.a $(ORACLE_HOME)/lib/libplsb.a \
|
|
|
|
$(ORACLE_HOME)/lib/libextp.a \
|
|
|
|
-lepc -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lclient \
|
|
|
|
-lvsn -lcommon -lgeneric -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 \
|
|
|
|
`cat $(ORACLE_HOME)/lib/sysliblist` -ldl -lm
|
|
|
|
endif
|
|
|
|
|
1997-03-23 19:22:32 +00:00
|
|
|
ifdef DBMALLOC
|
1997-03-24 01:42:31 +00:00
|
|
|
DEFS += -DDBMALLOC=1
|
1997-03-23 19:22:32 +00:00
|
|
|
LIB += -ldbmalloc
|
|
|
|
endif
|
|
|
|
|
1997-03-24 01:42:31 +00:00
|
|
|
DEFS += \
|
1997-03-23 19:22:32 +00:00
|
|
|
-DVERSION=\"$(VERSION)\" \
|
|
|
|
-DI4LVERSION=\"$(I4LVERSION)\" \
|
1998-11-01 08:49:21 +00:00
|
|
|
-D@NATION_MACRO@=1 \
|
1999-10-29 19:45:59 +00:00
|
|
|
-DBIG_PHONE_NUMBERS=1 \
|
1997-03-23 19:22:32 +00:00
|
|
|
$(INCLUDE)
|
|
|
|
|
1999-12-31 13:57:16 +00:00
|
|
|
PC = proc
|
|
|
|
PCFLAGS = mode=oracle ireclen=160 lines=yes
|
|
|
|
|
1997-03-24 01:42:31 +00:00
|
|
|
%.o: %.c
|
1999-10-25 18:30:03 +00:00
|
|
|
@echo Compiling $<
|
1999-11-02 21:01:56 +00:00
|
|
|
@$(CC) $(CFLAGS) $(DEFS) $(INCLUDE) -c -o $@ $<
|
1997-03-24 01:42:31 +00:00
|
|
|
|
1999-12-24 14:17:02 +00:00
|
|
|
%.1: %.man
|
|
|
|
MANDATE=`grep CHECKIN $< | $(AWK) '{print $$4}'`; \
|
|
|
|
$(SED) -e s%@MANDATE@%$$MANDATE%g $< > $@
|
|
|
|
|
|
|
|
%.5: %.man
|
|
|
|
MANDATE=`grep CHECKIN $< | $(AWK) '{print $$4}'`; \
|
|
|
|
$(SED) -e s%@MANDATE@%$$MANDATE%g $< > $@
|
|
|
|
|
|
|
|
|
|
|
|
|
1997-03-23 19:22:32 +00:00
|
|
|
ISDNLOG_OBJS = isdnlog/isdnlog.o isdnlog/processor.o isdnlog/functions.o \
|
|
|
|
isdnlog/server.o isdnlog/start_prog.o isdnlog/messages.o \
|
|
|
|
connect/connect.o connect/socket.o tools/tools.o \
|
|
|
|
connect/conv_address.o isdnlog/user_access.o \
|
1999-11-07 13:29:25 +00:00
|
|
|
tools/isdnconf.o tools/telnum.o tools/dest.o \
|
1999-10-25 18:30:03 +00:00
|
|
|
tools/rate.o tools/zone.o tools/holiday.o \
|
1999-04-25 17:34:27 +00:00
|
|
|
isdnlog/asn1.o isdnlog/asn1_generic.o isdnlog/asn1_aoc.o \
|
|
|
|
isdnlog/asn1_address.o isdnlog/asn1_diversion.o \
|
|
|
|
isdnlog/asn1_basic_service.o isdnlog/asn1_comp.o \
|
- Accounting for the following new providers implemented:
o.tel.o, Tele2, EWE TEL, Debitel, Mobilcom, Isis, NetCologne,
TelePassport, Citykom Muenster, TelDaFax, Telekom, Hutchison Telekom,
tesion)), HanseNet, KomTel, ACC, Talkline, Esprit, Interoute, Arcor,
WESTCom, WorldCom, Viag Interkom
Code shamelessly stolen from G.Glendown's (garry@insider.regio.net)
program http://www.insider.org/tarif/gebuehr.c
- Telekom's 10plus implemented
- Berechnung der Gebuehrenzone implementiert
(CityCall, RegioCall, GermanCall, GlobalCall)
The entry "ZONE" is not needed anymore in the config-files
you need the file
http://swt.wi-inf.uni-essen.de/~omatthes/tgeb/vorwahl2.exe
and the new entry
[GLOBAL]
AREADIFF = /usr/lib/isdn/vorwahl.dat
for that feature.
Many thanks to Olaf Matthes (olaf.matthes@uni-essen.de) for the
Data-File and Harald Milz for his first Perl-Implementation!
- Accounting for all "Sonderrufnummern" (0010 .. 11834) implemented
You must install the file
"isdn4k-utils/isdnlog/sonderrufnummern.dat.bz2"
as "/usr/lib/isdn/sonderrufnummern.dat"
for that feature.
ATTENTION: This is *NO* production-code! Please test it carefully!
1998-06-07 21:07:50 +00:00
|
|
|
$(LIBISDNDIR)/libisdn.a
|
1997-03-23 19:22:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(POSTGRES),1)
|
|
|
|
ISDNLOG_OBJS += isdnlog/postgres.o
|
|
|
|
endif
|
|
|
|
|
1998-03-29 23:17:46 +00:00
|
|
|
ifeq ($(MYSQLDB),1)
|
|
|
|
ISDNLOG_OBJS += isdnlog/mysqldb.o
|
|
|
|
endif
|
|
|
|
|
1999-12-31 13:57:16 +00:00
|
|
|
ifeq ($(ORACLE),1)
|
|
|
|
ISDNLOG_OBJS += isdnlog/oracle.o
|
|
|
|
endif
|
|
|
|
|
1997-03-23 19:22:32 +00:00
|
|
|
ifdef TESTCENTER
|
|
|
|
ISDNLOG_OBJS += isdnlog/test_center.o
|
|
|
|
endif
|
|
|
|
|
1999-01-10 15:22:43 +00:00
|
|
|
ISDNREP_OBJS = isdnrep/rep_main.o tools/tools.o tools/isdnconf.o \
|
|
|
|
isdnlog/messages.o isdnrep/isdnrep.o \
|
1999-11-07 13:29:25 +00:00
|
|
|
tools/rate.o tools/zone.o tools/holiday.o tools/dest.o \
|
1999-08-20 19:27:15 +00:00
|
|
|
tools/telnum.o \
|
1997-03-24 22:51:59 +00:00
|
|
|
$(LIBISDNDIR)/libisdn.a
|
1997-03-23 19:22:32 +00:00
|
|
|
|
1999-11-25 22:58:38 +00:00
|
|
|
ISDNBILL_OBJS = isdnrep/isdnbill.o tools/tools.o tools/isdnconf.o \
|
|
|
|
isdnlog/messages.o \
|
|
|
|
tools/rate.o tools/zone.o tools/holiday.o tools/dest.o \
|
|
|
|
tools/telnum.o \
|
|
|
|
$(LIBISDNDIR)/libisdn.a
|
|
|
|
|
1997-03-23 19:22:32 +00:00
|
|
|
ISDNCONF_OBJS= isdnconf/isdnconf.o tools/tools.o tools/isdnconf.o \
|
1999-10-25 18:30:03 +00:00
|
|
|
tools/rate.o tools/zone.o tools/holiday.o \
|
1999-11-07 13:29:25 +00:00
|
|
|
tools/telnum.o tools/dest.o \
|
1997-03-23 19:22:32 +00:00
|
|
|
$(LIBISDNDIR)/libisdn.a
|
|
|
|
|
1999-06-28 19:14:59 +00:00
|
|
|
ISDNRATE_OBJS= tools/isdnrate.o tools/isdnconf.o tools/tools.o \
|
1999-11-07 13:29:25 +00:00
|
|
|
tools/rate.o tools/zone.o tools/dest.o \
|
1999-10-25 18:30:03 +00:00
|
|
|
tools/holiday.o \
|
1999-07-25 15:57:01 +00:00
|
|
|
tools/telnum.o \
|
1999-06-28 19:14:59 +00:00
|
|
|
$(LIBISDNDIR)/libisdn.a
|
1999-12-12 17:21:09 +00:00
|
|
|
|
1999-06-28 19:14:59 +00:00
|
|
|
|
1999-12-31 13:57:16 +00:00
|
|
|
ORA_LOAD_OBJS= isdnlog/ora_load.o isdnlog/oracle.o
|
1997-03-23 19:22:32 +00:00
|
|
|
ISDNLOG = bin/isdnlog
|
|
|
|
ISDNCONF = bin/isdnconf
|
|
|
|
ISDNREP = bin/isdnrep
|
1999-11-25 22:58:38 +00:00
|
|
|
ISDNBILL = bin/isdnbill
|
1999-06-28 19:14:59 +00:00
|
|
|
ISDNRATE = bin/isdnrate
|
1999-12-31 13:57:16 +00:00
|
|
|
ORA_LOAD = bin/ora_load
|
1997-03-23 19:22:32 +00:00
|
|
|
|
|
|
|
MODS = *.o */*.o
|
|
|
|
|
1999-11-25 22:58:38 +00:00
|
|
|
PROGS = $(ISDNLOG) $(ISDNREP) $(ISDNBILL) $(ISDNCONF) $(ISDNRATE)
|
1997-03-23 19:22:32 +00:00
|
|
|
|
1999-12-31 13:57:16 +00:00
|
|
|
ifeq ($(ORACLE),1)
|
|
|
|
PROGS += $(ORA_LOAD)
|
|
|
|
endif
|
|
|
|
|
1999-10-25 18:30:03 +00:00
|
|
|
all: depend libs mybin progs $(MANPAGES)
|
|
|
|
|
1999-12-12 17:21:09 +00:00
|
|
|
Makefile: Makefile.in config.status
|
|
|
|
./config.status
|
|
|
|
|
|
|
|
config.status: configure
|
|
|
|
./config.status --recheck
|
|
|
|
|
1999-10-25 18:30:03 +00:00
|
|
|
options:
|
|
|
|
@echo Making $< with
|
|
|
|
@echo $(CC) $(CFLAGS) $(DEFS) $(INCLUDE)
|
|
|
|
|
|
|
|
progs: options $(PROGS)
|
1997-06-21 13:48:55 +00:00
|
|
|
|
|
|
|
mybin:
|
|
|
|
-mkdir -p bin
|
1997-03-23 19:22:32 +00:00
|
|
|
|
|
|
|
libs:
|
1997-04-03 08:56:40 +00:00
|
|
|
set -e; for i in `echo $(SUBDIRS)`; do $(MAKE) -C $$i; done
|
1997-03-23 19:22:32 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -f $(MODS)
|
1997-04-03 08:56:40 +00:00
|
|
|
set -e; for i in `echo $(SUBDIRS)`; do $(MAKE) -C $$i clean; done
|
1997-03-23 19:22:32 +00:00
|
|
|
|
|
|
|
distclean: clean
|
1998-12-01 16:57:08 +00:00
|
|
|
-rm -f $(MANPAGES)
|
1997-03-23 19:22:32 +00:00
|
|
|
-rm -f $(PROGS) .depend config.h config.status config.cache \
|
1998-10-16 12:37:38 +00:00
|
|
|
config.log Makefile confdefs.h policy.h *~
|
1997-04-03 08:56:40 +00:00
|
|
|
set -e; for i in `echo $(SUBDIRS)`; do $(MAKE) -C $$i distclean; done
|
1997-03-23 19:22:32 +00:00
|
|
|
|
|
|
|
ifeq (.depend,$(wildcard .depend))
|
|
|
|
include .depend
|
|
|
|
HEADERS := $(HEADERS) .depend
|
|
|
|
endif
|
|
|
|
|
|
|
|
rootperm:
|
1997-03-24 04:03:12 +00:00
|
|
|
@echo 'main(int argc,char**argv){unlink(argv[0]);return(getuid()==0);}'>g
|
|
|
|
@if gcc -x c -o G g && rm -f g && ./G ; then \
|
|
|
|
echo ""; echo 'Do "make (un)install" as root!' ;echo ""; false; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
uninstall: rootperm
|
1998-11-07 17:12:45 +00:00
|
|
|
if ps x | fgrep $(ISDNLOG) >/dev/null; then kill `cat $(RUNDIR)/isdnlog.isdnctrl0.pid` 2>/dev/null; fi
|
1998-12-01 16:57:08 +00:00
|
|
|
rm -f $(DESTDIR)$(SBINDIR)/$(ISDNLOG) \
|
|
|
|
$(DESTDIR)$(BINDIR)/$(ISDNREP) \
|
|
|
|
$(DESTDIR)$(BINDIR)/$(ISDNCONF)
|
|
|
|
rm -f $(DESTDIR)$(MAN8DIR)/isdnlog$(MAN8EXT) \
|
|
|
|
$(DESTDIR)$(MAN1DIR)/isdnrep$(MAN1EXT) \
|
1998-12-29 14:51:37 +00:00
|
|
|
$(DESTDIR)$(MAN1DIR)/isdnconf$(MAN1EXT) \
|
1998-12-01 16:57:08 +00:00
|
|
|
$(DESTDIR)$(MAN5DIR)/callerid.conf$(MAN5EXT) \
|
|
|
|
$(DESTDIR)$(MAN5DIR)/isdnlog$(MAN5EXT) \
|
1999-03-07 18:18:21 +00:00
|
|
|
$(DESTDIR)$(MAN5DIR)/isdnlog.users$(MAN5EXT) \
|
1999-12-24 14:17:02 +00:00
|
|
|
$(DESTDIR)$(MAN1DIR)/isdnrate$(MAN1EXT) \
|
|
|
|
$(DESTDIR)$(MAN5DIR)/rate-files$(MAN5EXT) \
|
|
|
|
$(DESTDIR)$(MAN5DIR)/isdn.conf$(MAN5EXT) \
|
|
|
|
$(DESTDIR)$(MAN5DIR)/isdnformat$(MAN5EXT) \
|
1999-07-03 10:23:55 +00:00
|
|
|
$(DESTDIR)$(DATADIR)/country-$(NATION).dat \
|
1999-04-14 13:16:01 +00:00
|
|
|
$(DESTDIR)$(DATADIR)/rate-$(NATION).dat \
|
1999-10-25 18:30:03 +00:00
|
|
|
$(DESTDIR)$(DATADIR)/dest.gdbm
|
|
|
|
|
1997-03-23 19:22:32 +00:00
|
|
|
|
|
|
|
installdirs: rootperm
|
1998-09-26 18:27:23 +00:00
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(I4LCONFDIR)
|
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(BINDIR)
|
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
|
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(MAN1DIR)
|
1998-12-01 16:57:08 +00:00
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(MAN5DIR)
|
1998-09-26 18:27:23 +00:00
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(MAN8DIR)
|
1999-03-07 18:18:21 +00:00
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(DATADIR)
|
1997-03-23 19:22:32 +00:00
|
|
|
|
1997-10-26 23:14:38 +00:00
|
|
|
install: all rootperm installdirs
|
1999-10-29 12:43:02 +00:00
|
|
|
# install-progs
|
|
|
|
# install-data
|
|
|
|
#
|
1999-12-12 17:21:09 +00:00
|
|
|
# install-progs:
|
1997-05-19 22:57:51 +00:00
|
|
|
@echo "Killing running isdnlog!"
|
1998-11-07 17:12:45 +00:00
|
|
|
-@if ps x | fgrep $(ISDNLOG) >/dev/null; then kill `cat $(RUNDIR)/isdnlog.isdnctrl0.pid 2>/dev/null`; fi
|
2000-01-26 20:19:38 +00:00
|
|
|
@if [ -n $(DESTDIR)$(OLDCONFDIR) -a $(DESTDIR)$(OLDCONFDIR) != '/' ] ; then \
|
|
|
|
-@test ! -d $(DESTDIR)$(OLDCONFDIR) || cp -auv $(DESTDIR)$(OLDCONFDIR)/$(USERFILE) $(DESTDIR)$(I4LCONFDIR) ; \
|
|
|
|
-@test ! -d $(DESTDIR)$(OLDCONFDIR) || (cp -auv $(DESTDIR)$(OLDCONFDIR)/$(OLDCONFFILE) $(DESTDIR)$(I4LCONFDIR) \
|
|
|
|
&& $(ISDNREP) 1>/dev/null 2>&1) \
|
|
|
|
&& mv $(DESTDIR)$(I4LCONFDIR)/$(OLDCONFFILE) $(DESTDIR)$(I4LCONFDIR)/$(OLDCONFFILE).old ; \
|
|
|
|
fi
|
1998-10-16 12:37:38 +00:00
|
|
|
@if [ -n "$(DESTDIR)" ]; then \
|
|
|
|
$(GENCONF) $(DESTDIR)$(I4LCONFDIR)/$(CONFFILE).new $(DESTDIR)$(I4LCONFDIR)/$(CALLERIDFILE).new ; \
|
|
|
|
else \
|
|
|
|
$(GENCONF) $(DESTDIR)$(I4LCONFDIR)/$(CONFFILE) $(DESTDIR)$(I4LCONFDIR)/$(CALLERIDFILE) ; \
|
1998-09-26 18:27:23 +00:00
|
|
|
fi
|
1999-08-20 19:27:15 +00:00
|
|
|
@echo "Generating config files. Wait a moment..."
|
|
|
|
-@$(ISDNCONF) -c 040 1>/dev/null 2>&1 || echo "** failed! **"
|
1998-09-26 18:27:23 +00:00
|
|
|
$(INSTALL_BIN) $(ISDNLOG) $(DESTDIR)$(SBINDIR)
|
|
|
|
$(INSTALL_BIN) $(ISDNREP) $(DESTDIR)$(BINDIR)
|
|
|
|
$(INSTALL_BIN) $(ISDNCONF) $(DESTDIR)$(BINDIR)
|
1999-07-03 10:23:55 +00:00
|
|
|
$(INSTALL_BIN) $(ISDNRATE) $(DESTDIR)$(BINDIR)
|
1999-10-29 12:43:02 +00:00
|
|
|
#
|
1999-12-12 17:21:09 +00:00
|
|
|
# install-data:
|
1998-12-01 16:57:08 +00:00
|
|
|
$(INSTALL_DATA) isdnlog/isdnlog.8 $(DESTDIR)$(MAN8DIR)/isdnlog$(MAN8EXT)
|
|
|
|
$(INSTALL_DATA) isdnrep/isdnrep.1 $(DESTDIR)$(MAN1DIR)/isdnrep$(MAN1EXT)
|
1998-12-29 14:51:37 +00:00
|
|
|
$(INSTALL_DATA) isdnconf/isdnconf.1 $(DESTDIR)$(MAN1DIR)/isdnconf$(MAN1EXT)
|
1998-12-01 16:57:08 +00:00
|
|
|
$(INSTALL_DATA) isdnlog/callerid.conf.5 $(DESTDIR)$(MAN5DIR)/callerid.conf$(MAN5EXT)
|
|
|
|
$(INSTALL_DATA) isdnlog/isdnlog.5 $(DESTDIR)$(MAN5DIR)/isdnlog$(MAN5EXT)
|
|
|
|
$(INSTALL_DATA) isdnlog/isdnlog.users.5 $(DESTDIR)$(MAN5DIR)/isdnlog.users$(MAN5EXT)
|
1999-12-24 14:17:02 +00:00
|
|
|
$(INSTALL_DATA) isdnlog/isdn.conf.5 $(DESTDIR)$(MAN5DIR)/isdn.conf$(MAN5EXT)
|
|
|
|
$(INSTALL_DATA) isdnlog/isdnformat.5 $(DESTDIR)$(MAN5DIR)/isdnformat$(MAN5EXT)
|
|
|
|
$(INSTALL_DATA) tools/isdnrate.1 $(DESTDIR)$(MAN1DIR)/isdnrate$(MAN1EXT)
|
|
|
|
$(INSTALL_DATA) tools/rate-files.5 $(DESTDIR)$(MAN5DIR)/rate-files$(MAN5EXT)
|
1999-10-25 18:30:03 +00:00
|
|
|
$(INSTALL_DATA) country-de.dat $(DESTDIR)$(DATADIR)
|
1999-04-14 13:16:01 +00:00
|
|
|
$(INSTALL_DATA) rate-$(NATION).dat $(DESTDIR)$(DATADIR)
|
|
|
|
$(INSTALL_DATA) holiday-$(NATION).dat $(DESTDIR)$(DATADIR)
|
1999-10-25 18:30:03 +00:00
|
|
|
@for f in `ls zone-$(NATION)-*.{gdbm,db} tools/dest/dest.{gdbm,db}` ; do \
|
|
|
|
$(INSTALL_DATA) $$f $(DESTDIR)$(DATADIR); \
|
|
|
|
echo Installing $(DESTDIR)$(DATADIR)/$$f; \
|
1999-12-12 17:21:09 +00:00
|
|
|
done
|
1999-04-14 13:16:01 +00:00
|
|
|
@if [ ! -f "$(DESTDIR)$(I4LCONFDIR)/rate.conf" ]; then \
|
|
|
|
$(INSTALL_DATA) samples/rate.conf.$(NATION) $(DESTDIR)$(I4LCONFDIR)/rate.conf ; \
|
1999-03-07 18:18:21 +00:00
|
|
|
else \
|
1999-04-14 13:16:01 +00:00
|
|
|
$(INSTALL_DATA) samples/rate.conf.$(NATION) $(DESTDIR)$(I4LCONFDIR)/rate.conf.new ; \
|
1999-03-07 18:18:21 +00:00
|
|
|
fi
|
1997-03-23 19:22:32 +00:00
|
|
|
@echo ""
|
|
|
|
@echo "Don't forget to create $(I4LCONFDIR)/$(USERFILE)"
|
|
|
|
@echo ""
|
|
|
|
@(grep isdnlog $(SERVICEFILE) >/dev/null) || \
|
|
|
|
(echo "";echo "";echo "Add a line to the file $(SERVICEFILE)" ;echo "";echo ""; \
|
|
|
|
echo "isdnlog $(SERV_PORT)/tcp isdnlog" >> $(SERVICEFILE))
|
|
|
|
|
|
|
|
install-strip:
|
|
|
|
$(MAKE) INSTALL_BIN='$(INSTALL_BIN) -s' \
|
|
|
|
INSTALL_SBIN='$(INSTALL_SBIN) -s' install
|
|
|
|
|
|
|
|
distrib: distclean
|
|
|
|
cd .. && tar cf /tmp/isdnlog-$(I4LVERSION).tar \
|
|
|
|
isdnlog-$(I4LVERSION)/Makefile \
|
|
|
|
isdnlog-$(I4LVERSION)/Isdn \
|
|
|
|
isdnlog-$(I4LVERSION)/README \
|
|
|
|
isdnlog-$(I4LVERSION)/NEWS \
|
|
|
|
isdnlog-$(I4LVERSION)/COPYING \
|
|
|
|
isdnlog-$(I4LVERSION)/BUGS \
|
|
|
|
isdnlog-$(I4LVERSION)/TODO \
|
|
|
|
isdnlog-$(I4LVERSION)/FAQ \
|
|
|
|
isdnlog-$(I4LVERSION)/samples \
|
|
|
|
isdnlog-$(I4LVERSION)/tools \
|
|
|
|
isdnlog-$(I4LVERSION)/isdnconf \
|
|
|
|
isdnlog-$(I4LVERSION)/isdnlog \
|
|
|
|
isdnlog-$(I4LVERSION)/isdnrep \
|
|
|
|
isdnlog-$(I4LVERSION)/connect \
|
|
|
|
isdnlog-$(I4LVERSION)/lib \
|
1997-05-10 01:20:52 +00:00
|
|
|
isdnlog-$(I4LVERSION)/contrib \
|
1997-03-23 19:22:32 +00:00
|
|
|
isdnlog-$(I4LVERSION)/bin
|
|
|
|
gzip -f9 /tmp/isdnlog-$(I4LVERSION).tar
|
|
|
|
# uuencode /tmp/isdnlog-$(I4LVERSION).tar.gz isdnlog-$(I4LVERSION).tar.gz > /tmp/isdnlog-$(I4LVERSION).uue
|
|
|
|
|
|
|
|
$(ISDNLOG): $(ISDNLOG_OBJS)
|
1999-12-31 13:57:16 +00:00
|
|
|
$(CC) -o $(ISDNLOG) $(LFLAGS) $(ISDNLOG_OBJS) $(ORALIBS) $(LIB)
|
1997-03-23 19:22:32 +00:00
|
|
|
|
|
|
|
$(ISDNREP): $(ISDNREP_OBJS)
|
|
|
|
$(CC) -o $(ISDNREP) $(LFLAGS) $(ISDNREP_OBJS) $(LIB)
|
|
|
|
|
1999-11-25 22:58:38 +00:00
|
|
|
$(ISDNBILL): $(ISDNBILL_OBJS)
|
|
|
|
$(CC) -o $(ISDNBILL) $(LFLAGS) $(ISDNBILL_OBJS) $(LIB)
|
|
|
|
|
1997-03-23 19:22:32 +00:00
|
|
|
$(ISDNCONF): $(ISDNCONF_OBJS)
|
|
|
|
$(CC) -o $(ISDNCONF) $(LFLAGS) $(ISDNCONF_OBJS) $(LIB)
|
|
|
|
|
1999-06-28 19:14:59 +00:00
|
|
|
$(ISDNRATE): $(ISDNRATE_OBJS)
|
1999-06-30 17:17:10 +00:00
|
|
|
$(CC) -o $(ISDNRATE) $(LFLAGS) $(ISDNRATE_OBJS) $(LIB)
|
1999-06-28 19:14:59 +00:00
|
|
|
|
1999-12-31 13:57:16 +00:00
|
|
|
$(ORA_LOAD): $(ORA_LOAD_OBJS)
|
|
|
|
$(CC) -o $(ORA_LOAD) $(LFLAGS) $(ORA_LOAD_OBJS) $(ORALIBS)
|
|
|
|
|
|
|
|
isdnlog/oracle.o: isdnlog/oracle.pc
|
|
|
|
$(PC) $(PCFLAGS) include=isdnlog code=ansi_c lname=isdnlog/_kgw.lis \
|
|
|
|
iname=$< oname=isdnlog/_kgw.c
|
|
|
|
$(CC) $(CFLAGS) $(DEFS) $(INCLUDE) -o $@ -c isdnlog/_kgw.c
|
|
|
|
$(RM) isdnlog/_kgw.c
|
|
|
|
$(RM) isdnlog/_kgw.lis
|
|
|
|
|
1997-03-23 19:22:32 +00:00
|
|
|
tools/tools.h: $(LIBISDNDIR)/libisdn.h $(PREFIXDIR)/policy.h
|
|
|
|
touch tools/tools.h
|
|
|
|
|
|
|
|
depend: .depend
|
|
|
|
|
|
|
|
.depend:
|
1997-03-24 01:42:31 +00:00
|
|
|
$(CPP) -M $(CFLAGS) $(DEFS) $(INCLUDE) */*.c >.depend
|
1999-12-31 13:57:16 +00:00
|
|
|
ifeq ($(ORACLE),1)
|
|
|
|
$(CPP) -M $(CFLAGS) $(DEFS) $(INCLUDE) - < isdnlog/oracle.pc | \
|
|
|
|
sed s/-:/oracle.o:/ >>.depend
|
|
|
|
endif
|
1997-03-24 01:42:31 +00:00
|
|
|
# $(CPP) -M $(CFLAGS) $(DEFS) $(INCLUDE) */*.c */*/*.c >.depend
|