This package contains the full source code, executable code and documentation for all current Future Lab GPL applications for FreeBSD. This version is designated 1.36-2006.09.17 which is a package version. The change log will completely describe the new or changed material. Each application and the Bbuuzzb database engine also have their own versions. Currently, all Future Lab GPL applications and servers can be compiled for FreeBSD. Note that the term package does not refer to a FreeBSD package, but rather the Future Lab distribution file.
You must have enough disk space for the decompressed contents of this package which is about 5.53MB currently.
You also must be running FreeBSD. The binaries included in this package were compiled under FreeBSD 5.4 using GNU gcc 3.4.2.
In order to run the client/server applications, you must also have the TCP/IP protocol defined and operational.
Since all of the enclosed software is extremely compact and not at all bloated, the memory requirements are minimal. To keep the size of this package down, the C++ classes and applications are included only in source code form.
If you want to re-compile this GPL code, you will need a copy of GNU gcc installed under FreeBSD. Re-compiling the source code under GNU gcc is completely discussed below.
This GPL code is very generic. You may also use the compiler of your choice providing the compiler is full ANSI C/C++ complaint and the full Berkeley socket API and library is present. Make sure you understand the code structure and the module dependencies.
The FreeBSD package is distributed in gzip tared and bzip2 tared format. You have to decompress the package. To decompress the package, you will need to have the gzip or bzip2 programs as well as the tar program installed. All files in this package use the 8.3 naming convention except for the HTML documentation which uses the '.html' extension (for compatibility with Unix).
To install the package:
This package contains all the source code, executable programs and documentation.
Files in the package are distributed with the owner root and group wheel. The file mode bits have been set to allow anyone read/write access.
The directory structure of the package is as follows:
Two extra directories have been added to the package that are used to support the enclosed documentation. The css directory contains a cascading stylesheet (CSS Level 1) which gives the included HTML documentation the same look and feel as the Future Lab website. The images directory holds any graphic images used in the presentation of the HTML documentation.
In order to recompile the source code included in this package, you will need to have GNU gcc installed.
Edit the main include file stdhead.h and make sure the correct platform is selected via the appropriate define. Also make sure the define MULTIUSER is or is not defined based on the specific application. You need not edit any of the header files if you pass the compile defines from shell scripts (which the Future Lab shell scripts do).
Use the build scripts contained in this package to compile all or part of the applications. You will have to change the assumed directory structure in the scripts to the one that you are using.
Most of the single user applications can be run immediately from the command line. All of the applications are text console-based. Many of the applications have one or more configuration files that need to be read. You should execute all of the Future Lab GPL applications from within the same directory where they are stored. You should also store all configuration files within this same directory. Here is a list of all Future Lab GPL applications and their runtime requirements:
This application only has a single user form and does not require configuration files. This application can be placed into any directory and may be run from any directory. Refer to the datagen application doc for more information.
This is the multi user client application that interfaces with the timesync server. This application requires at least one socloc server to be running and needs to be executed in a directory that also contains the socloc startup file. Refer to the datimec application doc for more information.
This application is the single user command line interface to the Bbuuzzb database engine. This application needs to be executed in a directory that also contains the Bbuuzzb database configuration file. Refer to the db application doc for more information.
This application is the multi user command line interface to the Bbuuzzb database server. In order to run this application, the Bbuuzzb database server must be running.
This application needs to be executed in a directory that also contains a socloc startup file and the Bbuuzzb configuration file. Refer to the dbm application doc for more information.
This application is the single user random data generator for the Bbuuzzb database engine. This application needs to be executed in a directory that also contains the Bbuuzzb database configuration file. Refer to the dbgen application doc for more information.
This application is the multi user random data generator for the Bbuuzzb database server. In order to run this application, the Bbuuzzb database server must be running.
This application needs to be executed in a directory that also contains a socloc startup file and the Bbuuzzb configuration file. Refer to the dbgenm application doc for more information.
This application is the Bbuuzzb database server. In order to run this server, the system log server and at least one socloc server must first be running.
This application needs to be executed in a directory that also contains the socloc startup file and the Bbuuzzb configuration file. Refer to the dbsrv application doc for more information.
This application is the multi user database stress program. It sends operational commands to the Bbuuzzb database server. In order to run this application, the Bbuuzzb database server and at least one socloc server must be running.
This application needs to be executed in a directory that also contains the socloc startup file and the Bbuuzzb configuration file. Refer to the dbstresm application doc for more information.
This application is the single user database stress program. It sends operational commands to the Bbuuzzb database engine. This application needs to be executed in a directory that also contains the Bbuuzzb database configuration file. Refer to the dbstress application doc for more information.
This is the multi user client socket application that interfaces with the dumsocks server. This application requires at least one socloc server to be running and needs to be executed in a directory that also contains the socloc startup file. Refer to the dumsockc application doc for more information.
This application is a dumb socket server which accepts a very limited number of commands. The server is intended to be used for testing along with the dumsockc client application. This application requires at least one socloc server to be running and needs to be executed in a directory that also contains the socloc startup file. Refer to the dumsocks application doc for more information.
This application requires an operational TCP stack. This application can be placed into any directory and may be run from any directory. Refer to the iresolve application doc for more information.
This application is the multi user socket client that interfaces to socloc as well as just about any socket server. Use this application as a socket control console for all other socket servers. This application requires at least one socloc server to be running and needs to be executed in a directory that also contains the socloc startup file. Refer to the sockc application doc for more information.
This socket server application serves as an information depot for all other socket servers. Socket client applications can connect to socket servers by obtaining server details from a socloc server. Multiple socloc servers can be running to provide redundancy. Multiple socket servers of the same type (identified by service name) can also be running. The socloc APIs provide automatic fail over protection for client applications interfacing with socloc servers. Automatic fail over protection is easy to accomplish with socket servers.
This program is the system log server. This application needs to be executed in a directory that also contains the socloc startup file. Refer to the sys_log application doc for more information.
This test socket client C++ application has no special requirements (other than an operational TCP/IP stack). The source code should be modified with the host name and port number of the socket server to be contacted.
This test socket server C++ application has no special requirements (other than an operational TCP/IP stack). The source code should be modified with the port number that the socket server will listen to.
This application is the time synchronization server. In order to run this server, the socloc server must first be running. Refer to the timesync application doc for more information.
This application only has a single user form and does not require and configuration files. This application can be placed into any directory and may be run from any directory. Refer to the fxpstres application doc for more information.
This application only has a single user form and does not require any configuration files. This application can be placed into any directory and may be run from any directory. Refer to the dos2unix application doc for more information.
This application is the single user ASCII import program into the Bbuuzzb database engine. This application needs to be executed in a directory that also contains the Bbuuzzb database configuration file. Refer to the iex application doc for more information.
This application is the multi user ASCII import program into the Bbuuzzb database server. In order to run this application, the Bbuuzzb database server must be running.
This application needs to be executed in a directory that also contains a socloc startup file and the Bbuuzzb configuration file. Refer to the iexm application doc for more information.
This application will delete an entire directory tree from a disk. Refer to the rmtree application doc for more information.
This application will move or delete files or entire directory trees based on file age in days. This application requires a task list file before the program can be run. Refer to the daymvdel application doc for more information.
This application will test an Internet connection with single user support for storing the results in a Bbuuzzb table. This application needs to be executed in a directory that also contains a Bbuuzzb configuration file. Refer to the ialive application doc for more information.
This application will test an Internet connection with client/server support for storing the results in a Bbuuzzb table. In order to run this application, the Bbuuzzb database server must be running. This application needs to be executed in a directory that also contains a socloc startup file. Refer to the ialivem application doc for more information.
This application will track your personal schedule of events including budget. This is a single user Bbuuzzb database application. This application needs to be executed in a directory that also contains a Bbuuzzb configuration file. Refer to the sched applicaton doc for more information.
This application will track your personal schedule of events including budget. This is a client/server Bbuuzzb application. This application needs to be executed in a directory that also contains a socloc startup file. Refer to the schedm application doc for more information.
Here is a complete guide to the included package documentation. Note that I have tried to make sure that most links function properly. You will find that all links that refer to the Future Lab GPL software function. Links that refer to other parts of the Future Lab web site will not function properly from this readme file. In that case, please refer to the actual Future Lab web site.