Added files in isdnlog
This commit is contained in:
parent
1cff4a365c
commit
37953202ca
|
@ -0,0 +1,152 @@
|
|||
Was noch nicht tut:
|
||||
|
||||
-Telefonnummern werden mit "ALL" nicht angezeigt (geaendert!)
|
||||
|
||||
-print_msg waehrend des einlesens von read_user_access (geaendert!)
|
||||
|
||||
-Einheitliche Ausgabe von read_user_access-File ueberall (geaendert!)
|
||||
|
||||
-change_channel (Schlaegt fehl, da Old_Channel nicht existiert) (teilsweise fixed!)
|
||||
|
||||
-Optionen von MSN (mehrere Nummern) werden nicht angezeigt, im Debugger schon
|
||||
Problem: strtok() ist Buggy
|
||||
Eventuell mit String_To_Array() auswechseln -> umbauen! (fixed!)
|
||||
|
||||
-User_Get_Message tut nicht! (erledigt!)
|
||||
|
||||
-isdnlog darf nur im extremfall beendet werden, wenn ein Fehler in der Datei
|
||||
user-access-file auftritt, darf nur ein Warning kommen! (fixed!)
|
||||
|
||||
-xisdn bekommt irgendwelche Meldungen waehrend des Verbindungsaufbaus ;-) (fixed!)
|
||||
|
||||
-isdnlog stuerzt mit vielen Clients einfach ab ;-) (fixed!)
|
||||
|
||||
-die Laufende Zeit bei aktuellen Gesprachen ist gleich der Connect-Uhrzeit.
|
||||
Manchmal ist auch die Verbindungs-Uhrzeit die Gespraechsdauer (also genau
|
||||
verdreht). (Workaround;-))
|
||||
|
||||
-sscanf() beim Lesen der Datei isdnlog.users tut nicht bei gcc-2.7.x (fixed!)
|
||||
|
||||
-0130 wird mit 12Pf berechnet. (fixed: AK:26-Apr-96)
|
||||
|
||||
-Hoerer abnehmen und auflegen ebenfalls (fixed: AK:26-Apr-96)
|
||||
|
||||
-Wenn beide Leitungen in Gebrauch sind kann (muss nicht!) die zweite
|
||||
Verbindung die erste ueberschreiben.
|
||||
|
||||
-Option -t setzt nicht auf Universal-Time
|
||||
(doch: genau darauf! AK:22-Apr-96)
|
||||
|
||||
-Wenn man in dem Fenster "New Caller" auf <Hilfe> klickt, verschwindet das
|
||||
Fenster wieder.
|
||||
|
||||
-Fenster "New Caller" muss nach 1-2 Min. wieder geschlossen werden, da sonst
|
||||
der Bildschirm "vollgemuellt" wird.
|
||||
|
||||
-Wenn waehrend eines Gespraeches der xisdn gestartet wird, wird das aktuelle
|
||||
Gespraech nicht dargestellt. (fixed!)
|
||||
|
||||
-Teilweise ist im xisdn zwischen zwei laufenden Gespraechen ein oder mehrere
|
||||
Leerzeilen (fixed!)
|
||||
|
||||
-Geqoutete Zeichen '\' muessen noch realisiert werden in isdnlog.{users,conf}.
|
||||
(fixed: sl:27-Apr-96)
|
||||
|
||||
-Hinweis in Doku, das Xisdn nicht in XENVIRONMENT gesetzt werden muss fehlt
|
||||
wieder. (fixed!)
|
||||
|
||||
-Bei "Client rejected" kommen beim xisdn zwei Fenster hoch.
|
||||
|
||||
-Mit "make xall" kommen noch warnings. (fixed!)
|
||||
|
||||
-Interval tut noch nicht.
|
||||
|
||||
-Bei unbekannten Telefonnummer ist call[chan].confentry[0|1] == 0, sollte -1 sein.
|
||||
(fixed: AK:22-Apr-96)
|
||||
|
||||
-Falsche Zeilennummer (letzte Zeile) beim Fehler Flag einlesen,
|
||||
fehlendes ";" am Ende. (fixed: sl:23-Apr-96)
|
||||
|
||||
-Beim Programmstart von "xisdn" kommt
|
||||
"Warning: Cannot convert string "ISDN" to type ..."
|
||||
|
||||
-Alle Message-Fenster vom "xisdn" fehlen
|
||||
|
||||
TODO-Liste:
|
||||
|
||||
-Umprogrammieren des "isdnctrl huptimeout" _nicht_ beim Verbindungsaufbau,
|
||||
sondern - falls kommt - bei jedem Gebuehrenimpuls machen!
|
||||
|
||||
-Durchsatzrate evtl. so wie im xisdnload berechnen (d.h. pro Meldung neu -
|
||||
nicht bezogen auf die gesamte Verbindung)?
|
||||
|
||||
-Automatisches Einlesen der Datei "isdnlog.conf" bei Aenderungen.
|
||||
|
||||
-xisdn Fenster "Alte Gespraeche" sollte aehnlich wie isdnrep aufgebaut werden.
|
||||
|
||||
-xisdn Fenster "Alte Gespraeche": Wenn man die einzelnen Zeilen anklickt,
|
||||
sollte entweder das Fenster "New Caller" oder "Notizbuch" erscheinen.
|
||||
|
||||
-Wenn bei Option -S in isdnlog.conf das Wort "CMD" erscheint, dann wird
|
||||
das ersetzt durch die "Variable" "CMD="
|
||||
|
||||
-Makeln und parken muss uebermittelt werden mit MSG_CALL_INFO.
|
||||
|
||||
-isdnlog muss mehrere /dev/isdnctrlX ueberwachen; anstatt von /dev/isdnctrlX
|
||||
nur noch /dev/isdninfo angeben.
|
||||
|
||||
-Adressdatenbank
|
||||
|
||||
-Fenster fuer alle nicht absolvierten Gespraeche.
|
||||
|
||||
-evtl. ein Fenster fuer alle gestartenten Programme von isdnlog (wie bekommt
|
||||
man Daten ueber laufende Prozesse, ausser im Verz. /proc nachzuschauen).
|
||||
|
||||
-Englische Doku ;-)))
|
||||
(Macht Babsi: AK:22-Apr-96)
|
||||
|
||||
-isdnlog.pid beim natuerlichen (resp. unnatuerlichen ;-) Programmende
|
||||
wieder loeschen.
|
||||
|
||||
-xisdn sollte sich (fuer den naechsten Programmstart) merken, auf
|
||||
welche Groesse ich den resized habe, und mit derselben Groesse wieder
|
||||
hochkommen.
|
||||
|
||||
-Ueber dem Haupt-Fenster von xisdn eine Ueberschrift:
|
||||
|
||||
Anfang Dauer Kosten Caller Called
|
||||
|
||||
-Unter dem Hauptfenster des "xisdn" eine Summenzeile:
|
||||
|
||||
- Summe Geld
|
||||
- Summe Dauer
|
||||
- Anzahl REIN,
|
||||
- Anzahl RAUS - Verbindungen
|
||||
Von dem, was man im Haupt-Fenster sieht.
|
||||
|
||||
-Das Feld rechts vom zweiten Alias des xisdn "aufraeumen"
|
||||
1. Wenn's ein BUSY oder ERROR gab, die entsprechende Cause als Klartext
|
||||
(entsprechend "CauseValue[]" aus "tools/tools.c")
|
||||
anzeigen
|
||||
|
||||
2. Wenn's eine Durchsatz-Rate gab, Summe Bytes REIN, Summe Bytes RAUS
|
||||
anzeigen
|
||||
|
||||
3. Sonst gar nix anzeigen
|
||||
|
||||
-In dem "aktuelle Verbindung" Fenster die aktuelle Durchsatz-Rate
|
||||
soweit nach links ruecken, damit man die auch bei der Original-
|
||||
Fenstergroesse sehen kann.
|
||||
|
||||
-Anstelle von "0,00 DM" im "xisdn" besser nur Blank's anzeigen - erhoeht
|
||||
die Lesbarkeit!
|
||||
|
||||
-Koennte man den "xisdnload" nicht irgendwie als 3. Fenster in den
|
||||
"xisdn" integrieren?
|
||||
|
||||
-Die MAX_PRINTS_IN_QUEUE noch einstellbar machen! (fixed:sl)
|
||||
|
||||
-D-Kanal-Protokoll der ICN-Karte implementieren
|
||||
|
||||
-Fehler bei den Conditions vom Einlesen der Configdateien muessen
|
||||
dokumentiert werden
|
|
@ -0,0 +1,339 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
675 Mass Ave, Cambridge, MA 02139, USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
Appendix: How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) 19yy <name of author>
|
||||
|
||||
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 of the License, 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.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) 19yy name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
|
@ -0,0 +1,73 @@
|
|||
isdnlog-2.60:
|
||||
|
||||
Q: nach jedem Reboot der Maschine (Strg-Alt-Entf) sind alle Daten
|
||||
bzgl. CHARGEMAX, CONNECTMAX, BYTEMAX usw. verschwunden, die Datei
|
||||
"/etc/isdn/charge.dat" hat die Laenge 0
|
||||
|
||||
A: Stimmt. Vor einem Reboot muss isdnlog mit ^C oder kill beendet
|
||||
werden, damit er noch sauber die "charge.dat" wegschreiben kann.
|
||||
|
||||
S: Die Sicherungskopie verwenden, also
|
||||
$ mv /etc/isdn/charge.dat.old /etc/isdn/charge.dat
|
||||
|
||||
-----------------------------------------------------------------------
|
||||
|
||||
Q: isdnrep bringt keinen Report, die Datei "/var/log/isdn.log"
|
||||
existiert nicht einmal.
|
||||
|
||||
A: Die Datei "/var/log/isdn.log" muss vor dem Start von isdnlog
|
||||
existieren, d.h. zumindest leer angelegt sein.
|
||||
|
||||
S: $ cp /dev/null /var/log/isdn.log
|
||||
|
||||
-----------------------------------------------------------------------
|
||||
|
||||
Q: Beim Schritt "make depend" erhalte ich unzaehlige Meldungen bzgl.
|
||||
fehlender "*.h" Files - wie z.b. X11/Intrinsic.h
|
||||
|
||||
A: Solange der X11-Client "xisdn" nicht verwendet werden soll, ist
|
||||
das nicht weiter tragisch.
|
||||
|
||||
S: Einfach den folgenden Schritt "make" durchfuehren
|
||||
|
||||
isdnlog-2.50:
|
||||
|
||||
- Die leidige "CPU-Fresser" Problematik:
|
||||
isdnlog-2.4x hatte 2 Moeglichkeiten, die gesamte CPU-Zeit in Beschlag
|
||||
zu nehmen (wohl _das_ Sommerloch-Thema '96 in der isdn4linux-Mailing-Liste!),
|
||||
oder sogar komplett die Arbeit zu verweigern:
|
||||
|
||||
- direkt beim Start von isdnlog oder isdnrep
|
||||
hier haben sich die beiden Programme beim Einlesen der "isdnlog.conf"
|
||||
vertueddelt.
|
||||
|
||||
Abhilfen:
|
||||
- nie Blank's in der Alias-Spalte verwenden!
|
||||
(z.b.: "Meine MSN")
|
||||
|
||||
- nie "#" in der Alias-Spalte verwenden!
|
||||
(z.b.: "MSN#3")
|
||||
|
||||
- nie "\" in der Alias-Spalte verwenden!
|
||||
(z.b.: "MSN\#3") (Danke, Holger Wirtz <chick@midips.snafu.de>)
|
||||
|
||||
- nie "*" als Eintrag in der Flags-Spalte angeben!
|
||||
(Danke, Werner Wiethege <ww@slarti.frankfurt.netsurf.de>)
|
||||
|
||||
- auch die "START=" Zeile benoetigt als Angabe _wann_ gestartet
|
||||
werden soll, also z.b.
|
||||
START=IOH=auplay hangup.au
|
||||
und _nicht_
|
||||
START=auplay hangup.au
|
||||
(Danke, Dirk Staneker <zxmjy04@student.uni-tuebingen.de>)
|
||||
|
||||
- Alle Eintraege zum Start von Programmen _muessen_ mit einem
|
||||
Semikolon (";") terminiert werden
|
||||
(Danke, Markus Maeder /mmaeder@cyberlink.ch)
|
||||
|
||||
- beim Einsatz der "-S" Option zum Starten von externen Programmen.
|
||||
Hierbei hat sich isdnlog leider im Code fuer den X11-Client "xisdn"
|
||||
verlaufen, und fing zum einen an, in sich selbst zu loopen, zum
|
||||
anderen hinterlies er gerne Zoombies - die wurde durch isdnlog-2.50
|
||||
korrigiert.
|
||||
|
|
@ -0,0 +1,152 @@
|
|||
#
|
||||
# X11/Motif interface for ISDN accounting for isdn4linux.
|
||||
#
|
||||
# Copyright 1996 by Oleg von Styp Rekowski (os@Kool.f.EUnet.de)
|
||||
#
|
||||
# This revision 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.
|
||||
#
|
||||
# Revision: 0.01 Date: 10.02.96 Author: os
|
||||
#
|
||||
|
||||
### General setup: change for your taste
|
||||
*XmMessageBox.messageAlignment: XmALIGNMENT_CENTER
|
||||
*Background: gray
|
||||
*Foreground: black
|
||||
*FontList: lucidasans-bold-14=B,\
|
||||
*-helvetica-bold-*-*-*-25-*-*=T,\
|
||||
*-helvetica-bold-r-*-*-*-140-*,\
|
||||
*-helvetica-medium-o-*-*-*-140-*=I,\
|
||||
*-courier-bold-r-*-*-*-140-*=CW,\
|
||||
*-helvetica-bold-r-*-*-*-240-*=BIG,\
|
||||
*-helvetica-bold-r-*-*-*-240-*=HUGE
|
||||
|
||||
*XmtInputField.matchAll: False
|
||||
*XmtInputField.background: gray93
|
||||
*XmtInputField*Translations: #override \n\
|
||||
<Key>osfUp: process-up() \n\
|
||||
<Key>osfActivate: process-down() \n\
|
||||
<Key>Return: process-down() \n\
|
||||
<Key>osfDown: process-down()
|
||||
|
||||
### ListWidget setup
|
||||
### *XmList.background: white
|
||||
### You should not use a proportional font for List
|
||||
*XmList.fontList: lucidasanstypewriter-bold-14
|
||||
|
||||
### Do not change the resource names (i.e. MainWindow, etc.)
|
||||
|
||||
### Initial values for the MainWindow widget
|
||||
*MainWindow.width: 640
|
||||
*MainWindow.height: 480
|
||||
|
||||
### Initial values for the List widgets
|
||||
*CurrentList.visibleItemCount: 4
|
||||
*ClosedList.visibleItemCount: 20
|
||||
*RowColumn_0.labelType: XmPIXMAP
|
||||
*RowColumn_0.labelPixmap: ISDN
|
||||
|
||||
*MenuBar.buttonCount: 2
|
||||
*MenuBar.buttonMnemonics: F,H
|
||||
*MenuBar.buttons: Funktionen,Hilfe
|
||||
|
||||
*MenuBar_pd_0.buttonCount: 4
|
||||
*MenuBar_pd_0.buttonType: XmPUSHBUTTON,XmPUSHBUTTON,XmSEPARATOR,XmPUSHBUTTON
|
||||
*MenuBar_pd_0.buttons: Löschen,Protokoll,,Ende
|
||||
*MenuBar_pd_0.buttonMnemonics: L,P,,E
|
||||
*MenuBar_pd_0.buttonAccelerators: <Key>Delete,<Key>P,'\0'
|
||||
*MenuBar_pd_0.buttonAcceleratorText: <-,P,,Alt+F10
|
||||
|
||||
*MenuBar_pd_1.buttonCount: 2
|
||||
*MenuBar_pd_1.buttons: Version,Beschreibung
|
||||
*MenuBar_pd_1.buttonMnemonics: V,B
|
||||
*MenuBar_pd_1.buttonAccelerators: <Key>V,<Key>F1
|
||||
*MenuBar_pd_1.buttonAcceleratorText: V,F1
|
||||
|
||||
Isdn.xmtChildren: XmMainWindow MainWindow;
|
||||
|
||||
*NewCaller.dialogTitle: Eintragen eines neuen Teilnehmers
|
||||
*NewCaller.xmtChildren: XmtInputField phone, faxnr, fname, lname, \
|
||||
email, street, city, country;
|
||||
*NewCaller.layout: Line Bottom 0 4 Fixed LREvenSpaced \
|
||||
Row { Color "maroon" Bitmap "ISDN" \
|
||||
Color "red" FlushBottom "@f[HUGE]Neuer Teilnehmer"} \
|
||||
Row {\
|
||||
Col { 2.5 in FlushRight Caption "@fIRufnummer"phone \
|
||||
2.5 in FlushRight Caption "@fIFaxnummer"faxnr \
|
||||
2.5 in FlushRight Caption "@fIVorname" fname \
|
||||
2.5 in FlushRight Caption "@fINachname" lname } \
|
||||
Col { 2.5 in FlushRight Caption "@fIE-Mail" email \
|
||||
2.5 in FlushRight Caption "@fIStraße" street \
|
||||
2.5 in FlushRight Caption "@fIPLZ Ort" city \
|
||||
2.5 in FlushRight Caption "@fILand" country}\
|
||||
} <>\
|
||||
Fixed Etched Top Equal Even \
|
||||
Row {\
|
||||
XmPushButton ok\
|
||||
XmPushButton cancel\
|
||||
XmPushButton help\
|
||||
}
|
||||
*phone.pattern: dddddddddddddddddd
|
||||
*faxnr.pattern: dddddddddddddddddd
|
||||
*fname.pattern: Accccccccccccccccccc
|
||||
*lname.pattern: Acccccccccccccccccccccccc
|
||||
*email.pattern: cccccccccccccccccccccccccccccccccccccccc
|
||||
*street.pattern: Acccccccccccccccccccccccc
|
||||
*city.pattern: ddddd Accccccccccccccccccc
|
||||
*country.pattern: Accccccccccccccccccc
|
||||
|
||||
*NewCaller.ok.labelString: Eintragen
|
||||
*NewCaller.cancel.labelString: Ignorieren
|
||||
*NewCaller.help.labelString: Hilfe
|
||||
|
||||
*IsdnProt.dialogTitle: Meldungen vom isdnlog
|
||||
*IsdnProt.marginHeight: 2
|
||||
*IsdnProt.marginWidth: 2
|
||||
*IsdnProt.width: 640
|
||||
*IsdnProt.listVisibleItemCount: 20
|
||||
*IsdnProt.okLabelString: Speichern
|
||||
*IsdnProt.applyLabelString: Löschen
|
||||
*IsdnProt.cancelLabelString: Verlassen
|
||||
*IsdnProt.helpLabelString: Hilfe
|
||||
*IsdnProtLabel.topOffset: 7
|
||||
*IsdnProtText.value: 1000
|
||||
*IsdnProtText.background: White
|
||||
*IsdnProtLabel.labelString: Anzahl Zeilen
|
||||
_Bitmaps_.ISDN:\
|
||||
#define ISDN_width 64\n\
|
||||
#define ISDN_height 32\n\
|
||||
static unsigned char ISDN_bits[] = {\n\
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n\
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n\
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n\
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n\
|
||||
0xe0, 0x00, 0x3f, 0xe0, 0x7f, 0x00, 0x07, 0x70, 0xe0, 0xc0, 0x7f, 0xe0,\n\
|
||||
0xff, 0x01, 0x07, 0x70, 0xe0, 0xe0, 0xf1, 0xe0, 0xe0, 0x03, 0x0f, 0x70,\n\
|
||||
0xe0, 0x70, 0xe0, 0xe0, 0x80, 0x03, 0x0f, 0x70, 0x70, 0x38, 0xe0, 0x70,\n\
|
||||
0x00, 0x87, 0x1f, 0x38, 0x70, 0x38, 0x00, 0x70, 0x00, 0x87, 0x1b, 0x38,\n\
|
||||
0x70, 0x78, 0x00, 0x70, 0x00, 0x87, 0x3b, 0x38, 0x70, 0xf0, 0x01, 0x00,\n\
|
||||
0x00, 0x00, 0x00, 0x00, 0x38, 0xe0, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00,\n\
|
||||
0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0xff,\n\
|
||||
0xff, 0xff, 0xff, 0x7f, 0x38, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00,\n\
|
||||
0x1c, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x07, 0x70, 0x1c,\n\
|
||||
0xc0, 0xe3, 0xe0, 0x0e, 0x1c, 0x07, 0x78, 0x1c, 0xe0, 0xe1, 0xc0, 0x0e,\n\
|
||||
0x1c, 0x0f, 0x3c, 0x1c, 0xf0, 0xe0, 0xc0, 0x0f, 0x0e, 0x3e, 0x1f, 0x0e,\n\
|
||||
0x7c, 0x70, 0x80, 0x07, 0x0e, 0xfc, 0x0f, 0xfe, 0x3f, 0x70, 0x80, 0x07,\n\
|
||||
0x0e, 0xf0, 0x03, 0xfe, 0x0f, 0x70, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00,\n\
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n\
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n\
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n\
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n\
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
|
|
@ -0,0 +1,325 @@
|
|||
## $Id: Makefile,v 1.1 1997/03/03 04:37:33 fritz Exp $
|
||||
##
|
||||
## ISDN accounting for isdn4linux.
|
||||
##
|
||||
## Copyright 1995, 1997 by Andreas Kool (akool@Kool.f.EUnet.de)
|
||||
##
|
||||
## 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,v $
|
||||
## Revision 1.1 1997/03/03 04:37:33 fritz
|
||||
## Added files in isdnlog
|
||||
##
|
||||
## Revision 2.6.37 1997/02/11 17:53:19 akool
|
||||
|
||||
ifndef ROOTDIR
|
||||
export ROOTDIR=$(shell pwd)
|
||||
PREFIXDIR=.
|
||||
MAKELIB =1
|
||||
else
|
||||
PREFIXDIR=$(ROOTDIR)
|
||||
endif
|
||||
|
||||
LIBISDNDIR = $(PREFIXDIR)/lib
|
||||
ifdef MAKELIB
|
||||
SUBDIRS = $(LIBISDNDIR)
|
||||
endif
|
||||
|
||||
ifndef _CC
|
||||
export _CC = gcc -Wall -pipe -O6 -m486 -fomit-frame-pointer -fforce-mem -fforce-addr -funroll-loops -fstrength-reduce
|
||||
endif
|
||||
|
||||
CC = $(_CC)
|
||||
|
||||
INCLUDE = -I./connect -I./tools -I$(PREFIXDIR) -I$(LIBISDNDIR)
|
||||
|
||||
ifndef LIBAREA
|
||||
ifdef NEED_GDBM
|
||||
LIB = -lgdbm
|
||||
else
|
||||
LIB = -ldbm
|
||||
endif
|
||||
endif
|
||||
|
||||
XDEF = -ansi -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE -DNO_MESSAGE_CATALOG -DFUNCPROTO=15 -DNARROWPROTO
|
||||
XLIB = -L/usr/X11/lib -llibXm.a -llibXpm.a -lXt -lXext -lX11 -lc
|
||||
ifdef NEED_ICE
|
||||
XLIB += -lICE -lSM
|
||||
endif
|
||||
XINCLUDE = -I/usr/X11/include -I./client -I./client/Xm
|
||||
|
||||
VPATH = .
|
||||
|
||||
POSTGRESDIR = /usr/local/postgres95
|
||||
|
||||
OLDCONFFILE = isdnlog.conf
|
||||
|
||||
USERFILE = isdnlog.users
|
||||
CHARGEFILE = charge.dat
|
||||
|
||||
RELOADCMD = reload
|
||||
STOPCMD = stop
|
||||
REBOOTCMD = /sbin/reboot
|
||||
|
||||
LOGFILE = /var/log/isdn.log
|
||||
|
||||
SERV_PORT = 20011
|
||||
SERVICEFILE = /etc/services
|
||||
|
||||
|
||||
######################################################################
|
||||
# DON'T EDIT BELOW THIS LINE
|
||||
######################################################################
|
||||
|
||||
#I4LVERSION = 2.60
|
||||
|
||||
ifdef POSTGRES
|
||||
CFLAGS += -DPOSTGRES
|
||||
INCLUDE += -I$(POSTGRESDIR)/include
|
||||
LIB += -L$(POSTGRESDIR)/lib -lpq
|
||||
endif
|
||||
|
||||
ifdef ISDN_NL
|
||||
CFLAGS += -DISDN_NL
|
||||
endif
|
||||
|
||||
ifdef ISDN_CH
|
||||
CFLAGS += -DISDN_CH
|
||||
endif
|
||||
|
||||
ifdef DBMALLOC
|
||||
CFLAGS += -DDBMALLOC=1
|
||||
LIB += -ldbmalloc
|
||||
endif
|
||||
|
||||
CFLAGS += -DOLDCONFFILE=\"$(OLDCONFFILE)\" \
|
||||
-DUSERFILE=\"$(USERFILE)\" \
|
||||
-DLOGFILE=\"$(LOGFILE)\" \
|
||||
-DRELOADCMD=\"$(RELOADCMD)\" \
|
||||
-DSTOPCMD=\"$(STOPCMD)\" \
|
||||
-DI4LVERSION=\"$(I4LVERSION)\" \
|
||||
-DCHARGEFILE=\"$(CHARGEFILE)\" \
|
||||
-DSERV_PORT=$(SERV_PORT) \
|
||||
-DREBOOTCMD=\"$(REBOOTCMD)\" \
|
||||
$(INCLUDE) $(XINCLUDE)
|
||||
|
||||
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 \
|
||||
isdnrep/cheap.o tools/isdnconf.o $(LIBISDNDIR)/libisdn.a
|
||||
|
||||
|
||||
ifdef POSTGRES
|
||||
ISDNLOG_OBJS += isdnlog/postgres.o
|
||||
endif
|
||||
|
||||
ifdef TESTCENTER
|
||||
ISDNLOG_OBJS += isdnlog/test_center.o
|
||||
endif
|
||||
|
||||
ISDNREP_OBJS = isdnrep/isdnrep.o isdnrep/cheap.o tools/tools.o \
|
||||
tools/isdnconf.o isdnlog/messages.o $(LIBISDNDIR)/libisdn.a
|
||||
|
||||
ISDNCONF_OBJS= isdnconf/isdnconf.o tools/tools.o tools/isdnconf.o \
|
||||
$(LIBISDNDIR)/libisdn.a
|
||||
|
||||
XISDN_OBJS = client/Xm/main_create.o client/Xm/isdn_call.o \
|
||||
client/Xm/isdn_list.o client/Xm/isdn_prot.o \
|
||||
connect/connect.o client/client.o tools/tools.o \
|
||||
connect/socket.o client/Xm/xisdn.o client/isdn_list_update.o \
|
||||
client/Xm/xconnect.o connect/conv_address.o \
|
||||
client/Xm/isdn_display.o tools/isdnconf.o \
|
||||
$(LIBISDNDIR)/lib.a
|
||||
|
||||
# client/Xmt/XmStringCvt.o \
|
||||
# client/Xmt/Localize.o client/Xmt/Lookup.o
|
||||
|
||||
ISDNLOG = bin/isdnlog
|
||||
ISDNCONF = bin/isdnconf
|
||||
ISDNREP = bin/isdnrep
|
||||
XISDN = bin/xisdn
|
||||
|
||||
MODS = *.o */*.o */*/*.o
|
||||
|
||||
PROGS = $(ISDNLOG) $(ISDNREP) $(ISDNCONF)
|
||||
|
||||
all: libs $(PROGS)
|
||||
|
||||
xall: $(XISDN) all
|
||||
|
||||
libs:
|
||||
set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i; done
|
||||
|
||||
clean:
|
||||
-rm -f $(MODS)
|
||||
set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean; done
|
||||
|
||||
distclean: clean
|
||||
-rm -f $(PROGS)
|
||||
-rm -f .depend
|
||||
set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i distclean; done
|
||||
|
||||
xdistclean: clean
|
||||
-rm -f $(PROGS) $(XISDN)
|
||||
|
||||
ifeq (.depend,$(wildcard .depend))
|
||||
include .depend
|
||||
HEADERS := $(HEADERS) .depend
|
||||
endif
|
||||
|
||||
install: depend all
|
||||
@if [ `id -u` != "0" ]; then echo ""; echo 'Do "make install" as root!' ;echo ""; false; fi
|
||||
-test -d $(I4LCONFDIR) || ( mkdir -p -m 755 $(I4LCONFDIR) )
|
||||
-test -d $(BINDIR) || ( mkdir -p -m 755 $(BINDIR) )
|
||||
-test -d $(SBINDIR) || ( mkdir -p -m 755 $(SBINDIR) )
|
||||
-test -d $(MAN1DIR) || ( mkdir -p -m 755 $(MAN1DIR) )
|
||||
-test -d $(MAN8DIR) || ( mkdir -p -m 755 $(MAN8DIR) )
|
||||
if ps -x | fgrep $(ISDNLOG) >/dev/null; then kill `cat /var/run/isdnlog.pid`; fi
|
||||
$(INSTALL) -m 700 $(ISDNLOG) $(SBINDIR)
|
||||
$(INSTALL) -m 755 $(ISDNREP) $(BINDIR)
|
||||
$(INSTALL) -m 755 $(ISDNCONF) $(BINDIR)
|
||||
$(INSTALL) -m 755 isdnlog/isdnlog.8 $(MAN8DIR)
|
||||
$(INSTALL) -m 755 isdnrep/isdnrep.1 $(MAN1DIR)
|
||||
ifdef MAKELIB
|
||||
set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i distclean; done
|
||||
endif
|
||||
@echo ""
|
||||
@echo "Don't forget to create $(I4LCONFDIR)/$(USERFILE)"
|
||||
@echo ""
|
||||
|
||||
xinstall: xall install
|
||||
-test -d $(X11BIN) || ( mkdir -p -m 755 $(X11BIN) )
|
||||
$(INSTALL) -m 755 $(XISDN) $(X11BIN)
|
||||
-test -d $(APPDEF) || ( mkdir -p -m 755 $(APPDEF) )
|
||||
$(INSTALL) -m 644 Isdn $(APPDEF)
|
||||
@(grep isdnlog $(SERVICEFILE) >/dev/null) || \
|
||||
(echo "";echo "";echo "Add a line to the file $(SERVICEFILE)" ;echo "";echo ""; \
|
||||
echo "isdnlog $(SERV_PORT)/tcp isdnlog" >> $(SERVICEFILE))
|
||||
# @echo ""
|
||||
# @echo ""
|
||||
# @echo "Don't forget to export XENVIRONMENT=$(APPDEF)/Isdn"
|
||||
# @echo ""
|
||||
# @echo ""
|
||||
|
||||
distrib: xdistclean
|
||||
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)/client \
|
||||
isdnlog-$(I4LVERSION)/tools \
|
||||
isdnlog-$(I4LVERSION)/isdnconf \
|
||||
isdnlog-$(I4LVERSION)/isdnlog \
|
||||
isdnlog-$(I4LVERSION)/isdnrep \
|
||||
isdnlog-$(I4LVERSION)/connect \
|
||||
isdnlog-$(I4LVERSION)/lib \
|
||||
isdnlog-$(I4LVERSION)/contrib \
|
||||
isdnlog-$(I4LVERSION)/bin
|
||||
gzip -f9 /tmp/isdnlog-$(I4LVERSION).tar
|
||||
# uuencode /tmp/isdnlog-$(I4LVERSION).tar.gz isdnlog-$(I4LVERSION).tar.gz > /tmp/isdnlog-$(I4LVERSION).uue
|
||||
|
||||
xdistrib:
|
||||
cd .. && tar cf /tmp/isdnlog-X11-$(I4LVERSION).tar \
|
||||
isdnlog-$(I4LVERSION)/Isdn \
|
||||
isdnlog-$(I4LVERSION)/X11 \
|
||||
isdnlog-$(I4LVERSION)/sounds \
|
||||
isdnlog-$(I4LVERSION)/doc
|
||||
gzip -f9 /tmp/isdnlog-X11-$(I4LVERSION).tar
|
||||
uuencode /tmp/isdnlog-X11-$(I4LVERSION).tar.gz isdnlog-X11-$(I4LVERSION).tar.gz > /tmp/isdnlog-X11-$(I4LVERSION).uue
|
||||
|
||||
$(ISDNLOG): $(ISDNLOG_OBJS)
|
||||
$(CC) -o $(ISDNLOG) $(LFLAGS) $(ISDNLOG_OBJS) $(LIB)
|
||||
|
||||
$(ISDNREP): $(ISDNREP_OBJS)
|
||||
$(CC) -o $(ISDNREP) $(LFLAGS) $(ISDNREP_OBJS) $(LIB)
|
||||
|
||||
$(ISDNCONF): $(ISDNCONF_OBJS)
|
||||
$(CC) -o $(ISDNCONF) $(LFLAGS) $(ISDNCONF_OBJS) $(LIB)
|
||||
|
||||
$(XISDN): $(XISDN_OBJS)
|
||||
$(CC) -o $(XISDN) $(LFLAGS) $(XISDN_OBJS) $(XLIB) $(LIB)
|
||||
|
||||
|
||||
|
||||
tools/tools.h: $(LIBISDNDIR)/libisdn.h $(PREFIXDIR)/policy.h
|
||||
touch tools/tools.h
|
||||
|
||||
isdnlog/isdnlog.o: isdnlog/isdnlog.c isdnlog/isdnlog.h tools/tools.h \
|
||||
connect/socket.h
|
||||
|
||||
isdnlog/processor.o: isdnlog/processor.c isdnlog/isdnlog.h tools/tools.h \
|
||||
connect/socket.h
|
||||
|
||||
isdnlog/functions.o: isdnlog/functions.c isdnlog/isdnlog.h tools/tools.h \
|
||||
connect/socket.h
|
||||
|
||||
isdnlog/server.o: isdnlog/server.c isdnlog/isdnlog.h tools/tools.h \
|
||||
connect/socket.h
|
||||
|
||||
isdnlog/start_prog.o: isdnlog/start_prog.c isdnlog/isdnlog.h tools/tools.h
|
||||
|
||||
isdnlog/user_access.o: isdnlog/user_access.c isdnlog/isdnlog.h tools/tools.h
|
||||
|
||||
tools/tools.o: tools/tools.c tools/tools.h
|
||||
|
||||
tools/isdnconf.o: tools/isdnconf.c tools/tools.h
|
||||
|
||||
isdnrep/isdnrep.o: isdnrep/isdnrep.c isdnrep/isdnrep.h tools/tools.h
|
||||
|
||||
isdnconf/isdnconf.o: isdnconf/isdnconf.c isdnconf/isdnconf.h tools/tools.h
|
||||
|
||||
isdnrep/cheap.o: isdnrep/cheap.c isdnrep/isdnrep.h tools/tools.h
|
||||
|
||||
connect/conv_address.o: connect/conv_address.c connect/socket.h tools/tools.h
|
||||
connect/socket.o: connect/socket.c connect/socket.h tools/tools.h
|
||||
connect/connect.o: connect/connect.c connect/socket.h tools/tools.h
|
||||
|
||||
client/client.o: client/client.c connect/socket.h tools/tools.h
|
||||
client/isdn_display.o: client/isdn_display.c connect/socket.h tools/tools.h
|
||||
client/isdn_list_update.o: client/isdn_list_update.c tools/tools.h
|
||||
client/Xm/xconnect.o: client/Xm/xconnect.c connect/socket.h tools/tools.h
|
||||
client/Xm/xisdn.o: client/Xm/xisdn.c connect/socket.h tools/tools.h
|
||||
client/Xm/main_create.o: client/Xm/main_create.c tools/tools.h
|
||||
client/Xm/isdn_call.o: client/Xm/isdn_call.c tools/tools.h
|
||||
client/Xm/isdn_list.o: client/Xm/isdn_list.c tools/tools.h
|
||||
client/Xm/isdn_prot.o: client/Xm/isdn_prot.c tools/tools.h
|
||||
client/Xm/isdn_display.o: client/Xm/isdn_display.c tools/tools.h
|
||||
# client/Xmt/XmStringCvt.o: client/Xmt/XmStringCvt.c
|
||||
# client/Xmt/Lookup.o: client/Xmt/Lookup.c
|
||||
# client/Xmt/Localize.o: client/Xmt/Localize.c
|
||||
#client/Xmt/All.o: client/Xmt/All.c
|
||||
#client/Xmt/Create.o: client/Xmt/Create.c
|
||||
#client/Xmt/Initialize.o: client/Xmt/Initialize.c
|
||||
# $(CC) $(XDEF) -c client/Xmt/XmStringCvt.c
|
||||
#client/Xmt/xconnect.o: client/Xmt/xconnect.c connect/socket.h $(LIBISDNDIR)/libisdn.h tools/tools.h
|
||||
#client/Xmt/xisdn.o: client/Xmt/xisdn.c connect/socket.h $(LIBISDN)/libisdn.h tools/tools.h
|
||||
#client/Xmt/main_create.o: client/Xmt/main_create.c tools/tools.h
|
||||
#client/Xmt/isdn_call.o: client/Xmt/isdn_call.c tools/tools.h
|
||||
#client/Xmt/isdn_list.o: client/Xmt/isdn_list.c tools/tools.h
|
||||
#client/Xmt/isdn_prot.o: client/Xmt/isdn_prot.c tools/tools.h
|
||||
#client/Xmt/isdn_display.o: client/Xmt/isdn_display.c tools/tools.h
|
||||
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
$(CPP) -M $(CFLAGS) */*.c >.depend
|
||||
# $(CPP) -M $(CFLAGS) */*.c */*/*.c >.depend
|
|
@ -0,0 +1,189 @@
|
|||
- 2.6.40 17-Feb-97 sl
|
||||
* Bugfixes
|
||||
* Erstellen einer Lib fuer vboxgetty
|
||||
* Anpassen an die isdn4k-utils-Struktur
|
||||
|
||||
- 2.6.39 16-Feb-97 sl
|
||||
* Aenderungen in vnum()/area2area()/get_areacode()
|
||||
* Anpassung an die isdn4k-utils-Struktur
|
||||
* Bugfixes
|
||||
|
||||
- 2.6.38 15-Feb-97 sl
|
||||
* Anpassung an die isdn4k-utils-Struktur
|
||||
* Anlegen der Datei policy.h
|
||||
* Erweiterung der conffile.c
|
||||
* Definition der Vorwahlen-Prefixes
|
||||
|
||||
- 2.6.35 8-Feb-97 sl
|
||||
* isdnconf um einige Features erweitert.
|
||||
* AREALIB in Section [GLOBAL] eingefuehrt.
|
||||
* Funktionen vereinheitlicht.
|
||||
* PID-Datei-Funktion sauber implementierert und dokumentiert.
|
||||
|
||||
- 2.6.33 4-Feb-97 sl
|
||||
* Die Schalter Amtsholung, Q931, dual und CityWeekend in die Syntax fuer
|
||||
die Parameterdateien aufgenommen (z.B. DUAL=2).
|
||||
* Einheitliche Funktionen fuer die PID-Dateien in der Lib.
|
||||
* Die Syntax der Config-Dateien um das Feature include(datei.xyz) erweitert.
|
||||
* Die Datei ~/.isdn eingefuehrt.
|
||||
|
||||
- 2.6.32 30-Jan-97 sl
|
||||
* isdnrep laueft wieder ;-)
|
||||
* conffile-lib erweitert und fleissig debuggt
|
||||
|
||||
- 2.6.31 27-Jan-97 sl
|
||||
* myarea in myconfig und myprefix in myarea umbenannt
|
||||
* Syntax von der Fkt. {num_}match() dem gaengigen Standart angepasst.
|
||||
* Aenderungen am Aufbau der isdn.conf vorgenommen
|
||||
* conffile-lib erweitert
|
||||
|
||||
- 2.6.24 10-Jan-97 akool
|
||||
* "-q" erweitert (Layer 2, I, S, U-Format)
|
||||
* Library "prefix" wurde von Uz auf "areacode" umbenannt - uebernommen
|
||||
* City Weekend Tarif implemented, new Cmd-Line-Switch "-F" enables that
|
||||
|
||||
- 2.6.22 07-Jan-97 akool
|
||||
* neue Option "-q" implementiert
|
||||
* Option "-R" entfernt, Option "-r" Auto-Erkennung auf "-R" Funktionalitaet
|
||||
* neue Version "prefix" von Uz integriert
|
||||
* Makefile optimiert, unnoetige Module (entsprechend Konfiguration)
|
||||
werden nicht mehr mitgelinkt
|
||||
|
||||
- 2.6.20 5-Jan-96 sl
|
||||
* RELOAD, STOPCMD und REBOOTCMD in die isdn.conf aufgenommen
|
||||
* Erweiterung der Datei README um einen Teil der neuen Syntax
|
||||
* Ausgabe bei ungueltigen User/Group bei Programmstart
|
||||
|
||||
- 2.6.18 4-Jan-96 sl
|
||||
* Bugfix bei den Umgebungsvariablen
|
||||
* Erweiterung der Datei README um den isdnconf
|
||||
|
||||
- 2.6.15 2-Jan-96 sl
|
||||
* Bugfix in USER und GROUP
|
||||
* neue Syntax um CONNECTMAX und BYTEMAX erweitert.
|
||||
|
||||
- 2.6.14 1-Jan-96 sl
|
||||
* Erstellung des Programmes isdnconf
|
||||
* Erweiterung der Datei isdn.conf um CHARGEMAX und MYAREA
|
||||
* Erweiterung des Programm-Startes um User- und Group-Rechten
|
||||
|
||||
- 2.6.1 19-Oct-96 sl
|
||||
* Neue Syntax vervollstaendigt (Datei isdn.conf)
|
||||
* Automatische Generierung der isdn.conf aus isdnlog.conf
|
||||
* README erweitert
|
||||
* Bug-fixing in diversen Funktionen
|
||||
|
||||
- 2.60 05-Oct-96 akool
|
||||
* mit S.Luethje in Beuern merge 2.4.2 / 2.52 -> 2.60 durchgefuehrt
|
||||
|
||||
- 2.50 01-Sep-96 akool
|
||||
* Freigabe
|
||||
|
||||
- 2.40 am 20-Jun-96 freigegeben
|
||||
|
||||
- 2.3.30 29-May-96 sl
|
||||
* Bug-Fix in strpbrk
|
||||
* Weiterentwicklung von neuer Syntax von Config-Files
|
||||
* printf's in tools.c durch print_msg ersetzt
|
||||
* Option -f eingebaut
|
||||
* SI in isdnlog.conf vorbereitet
|
||||
|
||||
- 2.3.29 09-May-96 sl
|
||||
* isdnlog.c gesplittet
|
||||
* #define -DSL auf Option -b gelegt
|
||||
* Ausgabe von Programmen jetzt auf -x/l/m 4096
|
||||
* Interval vor dem select() geaendert.
|
||||
* Pfad von isdn.log von /var/adm auf /var/log umgesetzt.
|
||||
* Pfad "/dev/tty" in Option -C weggelassen (akool).
|
||||
* "Erstes Programm von -S wird nicht mehr beendet"-Bug fixed.
|
||||
* "selecet()-Bug" fixed.
|
||||
* Dienstekennung implementiert (akool)
|
||||
* Teilsweise Umstellung der Config-Files auf die neue Syntax
|
||||
|
||||
- 2.3.24 03-May-96 sl
|
||||
* Doku erweitert
|
||||
* Blanks in den Flags erlaubt
|
||||
|
||||
- 2.3.21 27-Apr-96 sl
|
||||
* Bug in Flag L und Intervall fixed
|
||||
* Gequotete Zeichen ergaenzt
|
||||
|
||||
- 2.3.19 25-Apr-96 sl
|
||||
* Soundfiles beigelegt
|
||||
* kleinere Bug-fixes
|
||||
* Option -C geaendert
|
||||
|
||||
- 2.3.16 23-Apr-96 sl
|
||||
* Intervall ergaenzt
|
||||
* Option -S umgebaut und um Loop erweitert
|
||||
* Doku erweitert
|
||||
|
||||
- 2.3.14 23-Apr-96 sl
|
||||
* Bug-Fixes in Option -S
|
||||
* Bug-Fixes im xisdn (os,sl)
|
||||
|
||||
- 2.3.12 20-Apr-96 sl
|
||||
* Ueberarbeitung und Erweiterung von Option -S
|
||||
* Aenderung der Syntax der Datei "isdnlog.conf"
|
||||
* Entfernen von Xmt aus dem "xisdn" (os)
|
||||
* Dokumentation im SGML-Format ('Ghandi')
|
||||
* Bug im C/S fixed
|
||||
* Bug im discardconfig/readconfig fixed
|
||||
|
||||
- 2.3.11 13-Apr-96 sl
|
||||
* Bug in angzeigten Zeit (xisdn) fixed
|
||||
* Wiederaktivierung von Adressbuch-Anfaengen
|
||||
* kleinere Bugfixes
|
||||
|
||||
- 2.3.10 12-Apr-96 sl
|
||||
* Bug im sscanf von user-access fixed
|
||||
* Ausgabe von unbekannten Meldungen im xisdn ergaenzt (os)
|
||||
|
||||
- 2.3.9 11-Apr-96 sl
|
||||
* Bugs im isdnlog-C/S fixed
|
||||
* Bug im xisdn change_channel fixed
|
||||
|
||||
- 2.3.8 10-Apr-96 sl
|
||||
* Doku ergaenzt
|
||||
* Channel-States im Server geaendert
|
||||
* change_channel im xisdn realisiert
|
||||
|
||||
- 2.3.6 08-Apr-96 akool
|
||||
* xisdnload an neues isdn4linux angepasst (Fritz Elfert)
|
||||
|
||||
- 2.3.5 05-Apr-96 sl
|
||||
* User_Get_Message fixed
|
||||
* Probleme in User-Access behoben
|
||||
* Defines ergaenzt
|
||||
* kleinere Umstrukturierungen
|
||||
* Doku ergaenzt
|
||||
|
||||
- 2.3.4 05-Apr-96 akool
|
||||
|
||||
- 2.3.3 04-Apr-96 sl
|
||||
* Einfuehrung der Umgebungsvariable "ISDNLOG"
|
||||
* Vervollstaendigung von User-Access
|
||||
|
||||
- 2.3.1 02-Apr-96 sl
|
||||
* C/S-Protokoll-Version eingebaut
|
||||
* User-Access-Datei fuer Client ergaenzt
|
||||
* "malloc()"-Bug in del_socket() behoben
|
||||
* Doku fuer User-Access-File ergaenzt
|
||||
|
||||
- 2.30 am 31-Mar-96 freigegeben akool
|
||||
|
||||
- 2.2.5 28-Mar-96 akool
|
||||
* Exit() fixed (sl)
|
||||
* 1TR6 fixed
|
||||
* Pipe fixed
|
||||
|
||||
- 2.2.4 24-Mar-96 akool
|
||||
* Speicherleck im Server beseitigt (sl)
|
||||
* neues Versionsnummernschema begonnen, 2.23 -> 2.2.4
|
||||
* Pipe-Funktionalitaet reaktiviert (lasagne@garfield.ping.de)
|
||||
* Alle Console-Ausgaben wieder mit "\r"
|
||||
* Gebuehrenauswertung fuer 1TR6 implementiert (Wim Bonis (bonis@kiss.de))
|
||||
* Unterscheidung von 1TR6/EDSS1 Frames implementiert
|
||||
* 1TR6 Causes implementiert
|
||||
|
||||
- 2.23 am 17-Mar-96 freigegeben akool
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,12 @@
|
|||
eine headerdatei fuer alle -DDefines
|
||||
Dokumentation von USER/GROUP-Eintraegen
|
||||
Dokumentation von neuer Syntax
|
||||
Dokumentation von conffile.c
|
||||
Vervollstaendigen der README
|
||||
isdnrep modulariseren und print_msg einbauen
|
||||
Fehler in start_proc lt. Mail beheben
|
||||
Vorschlaege von ak realisieren
|
||||
|
||||
- Bedingt durch den neuen logger()-Modus muss die "/var/log/isdn.log"
|
||||
(sowie die "/var/log/isdn.log.rep") nun existieren,
|
||||
da isdnlog diese nicht mehr automatisch anlegt :-(
|
Loading…
Reference in New Issue