17 Commits

Author SHA1 Message Date
Christian Mauderer
fef6dd1def freebsd: Don't use new wrappers for old ports.
Some of the commands have been adapted manually. So the wrapper
currently don't necessarily work as expected. For example ifconfig calls
malloc outside of the program call.
2016-08-03 14:13:18 +02:00
Sebastian Huber
7eeb079d84 Update to FreeBSD 9.3 2015-02-13 10:34:19 +01:00
Sebastian Huber
a29a71b7ca netstat: Initialize more global variables 2014-09-18 13:02:36 +02:00
Sebastian Huber
b4d6afd9f6 commands: Use REQUIRE_ORDER option processing 2013-11-13 14:10:35 +01:00
Sebastian Huber
66659ff1ad Update to FreeBSD 9.2 2013-11-11 10:08:08 +01:00
Sebastian Huber
0a57e1db23 Reduce divergence from FreeBSD sources 2013-11-11 10:08:06 +01:00
Sebastian Huber
d48955b9e3 Add and use <machine/rtems-bsd-user-space.h> 2013-11-11 10:08:05 +01:00
Sebastian Huber
af5333e0a0 Update to FreeBSD 8.4 2013-11-04 15:28:21 +01:00
Sebastian Huber
6da9b2397b NETSTAT(1): Initialize global variables
Use BSD program lock.
2013-10-31 13:18:54 +01:00
Sebastian Huber
5898fa13a3 NETSTAT(1): Fix isalpha() and isdigit() usage 2013-10-31 13:18:54 +01:00
Sebastian Huber
4db7af6afb NETSTAT(1): Add const qualifier 2013-10-31 13:18:54 +01:00
Sebastian Huber
a400e1d849 NETSTAT(1): Wrap exit(), etc. 2013-10-31 13:18:54 +01:00
Sebastian Huber
a9be4b0481 Move shell items to separate file 2013-10-31 13:18:48 +01:00
Sebastian Huber
d01564c473 Move program control to thread structure 2013-10-31 13:18:48 +01:00
Sebastian Huber
c333babc98 Simplify getopt() to getopt_r() translation 2013-10-31 13:18:48 +01:00
Sebastian Huber
e599318e91 Update files to match FreeBSD layout
Add compatibility with Newlib header files.  Some FreeBSD header files
are mapped by the translation script:

     o rtems/bsd/sys/_types.h
     o rtems/bsd/sys/errno.h
     o rtems/bsd/sys/lock.h
     o rtems/bsd/sys/param.h
     o rtems/bsd/sys/resource.h
     o rtems/bsd/sys/time.h
     o rtems/bsd/sys/timespec.h
     o rtems/bsd/sys/types.h
     o rtems/bsd/sys/unistd.h

It is now possible to include <sys/socket.h> directly for example.

Generate one Makefile which builds everything including tests.
2013-10-10 09:08:23 +02:00
Sebastian Huber
bceabc95c1 Move files to match FreeBSD layout 2013-10-10 09:06:58 +02:00