summaryrefslogtreecommitdiffstats
path: root/kiss
Commit message (Collapse)AuthorAgeFilesLines
* mkiss: Fix harmless -Werror=format-security build error.Ralf Baechle2015-05-181-3/+3
| | | | | | | | | | | | | | | | | | | | gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -MT mkiss.o -MD -MP -MF .deps/mkiss.Tpo -c -o mkiss.o mkiss.c mkiss.c: In function ‘main’: mkiss.c:469:4: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(stderr, usage_string); ^ mkiss.c:475:3: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(stderr, usage_string); ^ mkiss.c:480:3: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(stderr, usage_string); ^ cc1: some warnings being treated as errors The strings are constants in the application code itself so no security issues. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* automake: Replace use of deprecated automake macro INCLUDES.Ralf Baechle2015-05-171-2/+2
| | | | | | | | | | | | | | | | | This fixes the automake warnings: 6pack/Makefile.am:10: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') ax25/Makefile.am:26: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') hdlcutil/Makefile.am:16: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') kiss/Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') netrom/Makefile.am:28: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') rose/Makefile.am:15: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tcpip/Makefile.am:27: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') INCLUDES has been deprecated since automake 1.5. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Insert space between `)' and a following `{'.Ralf Baechle2013-06-171-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Reformat consistently. Strictly whitespace changes only.Ralf Baechle2013-06-174-107/+107
| | | | | | | Indentation by tabs only. Move case labels in switches are on the same level as the switch keyword. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove pointless return statements at the end of void functions.Ralf Baechle2013-06-172-2/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Always have a space between if, for, switch, while and the following `('.Ralf Baechle2013-06-172-5/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove parenthesis around arguments of return statements.Ralf Baechle2013-06-171-2/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use tabs for indentation, not spaces.Ralf Baechle2013-06-174-20/+20
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove useless initializations to 0 or NULL.Ralf Baechle2013-06-174-23/+23
| | | | | | | They only inflate the .data section of the binary. Initializations to FALSE are still left to do. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Nuke trailing whitespace.Ralf Baechle2013-06-177-119/+119
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Nuke trailing blank lines.Ralf Baechle2013-06-171-1/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use dist_ prefix in Makefile.am rather than EXTRA_DIST where possible.Ralf Baechle2013-06-171-3/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Convert .cvsignore files to .gitignoreRalf Baechle2013-06-041-2/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* kissattach and it's sisters are parsing axports on their own.Thomas Osterried2012-10-281-1/+1
| | | | | | | they handled lines starting with '#' correctly, but complain (and refuse to work) if the lines are empty (-- this is in contrast to programs like call which use libax25 and work with empty lines). this small patch fixes this issue.
* Added support for multiport tncs like the KPC-9612 (use of only the secondThomas Osterried2010-04-132-12/+43
| | | | port). Example: This is done by "mkiss /dev/ttyUSB0 none /dev/ptmx
* Added help for arguments n* /dev/ptmxThomas Osterried2010-03-312-1/+2
|
* Fix parallel installation bugs.Ralf Baechle2009-09-231-1/+1
| | | | | | | | install-exec-local hooks may be run in parallel. This may result in the attempted installation of files into directories before they have been created. Fixed by using install-exec-hook instead. Reported and axgetput-only patch by Thomas Beierlein <tb@forth-ev.de>.
* Remove use of backwards compatibility header name.Ralf Baechle2009-06-212-16/+0
| | | | | | Glibc as old as 2.2 provides working headers under the right name and if not libax25 would install headers under the right name so this has become redundant and ugly.
* Ignore a few more generated files.Ralf Baechle2009-06-191-0/+1
|
* Remove all generated files.Ralf Baechle2009-06-191-507/+0
| | | | | | | | | | | | | | Keeping generated files in CVS doesn't only tend to produce large and cluttered files it also may result in build problems due to timestamps in the wrong order. So dump everything, update .cvsignore to ignore these files and resolve all warnings generated by autoreconf. From now on users of a CVS checkout should run the command autoreconf --install --force after having done a CVS checkout. For this to succeed automake, autoconf and libtool will have to be installed.
* Fix build error caused by variable definition after statement.Ralf Baechle2009-06-061-2/+1
|
* Unix98 support.Thomas Osterried2009-01-202-5/+5
| | | | Thanks to dk2crn.
* Unix98 PTY support for mkiss and m6pack.Thomas Osterried2009-01-202-18/+86
|
* Support for Unix98-pty's. Thanks to Christoph <dk2crn>.Thomas Osterried2009-01-152-19/+63
| | | | | Syslog logging. Bugfixes: buffer-length assurances; do never change char *foo = "bar".
* kissnetd now supports unix98 pty's (new option: -p num).Thomas Osterried2009-01-092-45/+171
| | | | | | | | | The num devices are written to stdout and could easily used in startp scripts. Introduced PATH_MAX for the pty name. Kiss header for crc smack and rmnc are now supported. write return code is now honoured. Thanks to dk2crn for contriution.
* #include <string.h> in order to make the compiler happyThomas Osterried2008-10-221-0/+1
|
* fflush stdout and stderr before close. just to be sureThomas Osterried2008-10-101-0/+2
|
* forked child now closes stdin, stdout, stderr.Thomas Osterried2008-10-011-0/+4
| | | | | Now it does not block on PTY=$(./kissattach /dev/ptmx ax4 2>&1|tail -1)
* kissattach now supports Unix98 pseudo terminals (/dev/ptmx).Thomas Osterried2008-09-262-14/+48
| | | | Thanks to Christoph Rueckert <dk2crn>.
* changed mail addressesThomas Osterried2008-04-273-4/+4
|
* consistent names (tty instead of ttyinterface)Thomas Osterried2007-04-161-1/+1
|
* Fix warnings about // style comment. And remove some of the mostRalf Baechle2007-01-231-1/+0
| | | | pointless comments.
* Convert to autoconf 2.59. Delete junk from past centuries.Ralf Baechle2007-01-221-286/+374
|
* commenting out startiface() was not really wise.Thomas Osterried2005-12-101-2/+0
|
* - include ctype.h -> made compiler happyThomas Osterried2005-12-101-2/+3
| | | | - minor fix
* - IP Address not mandatory anymoreThomas Osterried2005-11-282-9/+29
| | | | - New -b option. IFF_BROADCAST disabled by default now.
* - kissparms: new option "-c" and "-X"Thomas Osterried2005-10-302-5/+40
|
* added netinet/in.h for htons prototypeMichael Taylor2004-12-121-0/+1
|
* replace asm/byteorder.h with public header endian.hMichael Taylor2004-12-121-1/+2
|
* Removed MakefilesCraig Small2003-02-221-419/+0
|
* testCraig Small2003-02-222-6/+6
|
* changed syserrlist to strerrnoCraig Small2003-02-221-0/+1
|
* Changed sys_errlist[] to strerror()Michael Taylor2002-12-261-2/+2
|
* used PF_PACKET for SOCK_PACKET sockets, added time.h to axspawn.cMichael Taylor2002-11-031-1/+1
|
* added remaining sys/time.h includes for ppcCraig Small2002-06-191-0/+7
|
* removed some stuff that shouldnt be thereCraig Small2002-03-041-1/+1
|
* Tomi patch for mkiss pid problemCraig Small2001-08-272-51/+80
|
* last checking for 0.0.8ax25-tools-0.0.8Craig Small2001-05-161-18/+55
|
* synced to klaus codeCraig Small2001-05-102-1/+421
|
* Import ax25-tools 0.0.6 from tarballax25-tools-0.0.6Ralf Baechle2001-04-111-0/+6
|