| 1 |
|
| 2 |
These are the sources of xfbbd (daemon version for LINUX) and their utilities. |
| 3 |
|
| 4 |
1/ Prerequisite packages |
| 5 |
------------------------------------------------------------------------------- |
| 6 |
In order to compile the Linfbb source you will, at a minimum, require the |
| 7 |
headers from libax25 to be installed. |
| 8 |
|
| 9 |
This means you either need to: |
| 10 |
|
| 11 |
- install libax25-dev (or equivalent) package through your package manager |
| 12 |
- download, compile, and install libax25 from source from one of these sources: |
| 13 |
http://www.linux-ax25.org (official suite) |
| 14 |
https://github.com/ve7fet/linuxax25 (unofficial suite). |
| 15 |
|
| 16 |
If you want ncurses support in the console program, you need to: |
| 17 |
|
| 18 |
- install libcurses5-dev (or equivalent) package through your package manager |
| 19 |
|
| 20 |
2/ Compiling xfbbd, xfbbC client and its utilities from source: |
| 21 |
------------------------------------------------------------------------------- |
| 22 |
To compile and install xfbbd you need to run a session as root |
| 23 |
for writing privilege reasons. |
| 24 |
|
| 25 |
- cd into fbb-7.0.?? directory |
| 26 |
|
| 27 |
*** If you are building from SVN repository code, you need to run |
| 28 |
*** "./autogen.sh" first, in order to create the ./configure script. |
| 29 |
|
| 30 |
Enter the command "./configure" to run the configure script. |
| 31 |
|
| 32 |
Optionally, run "./configure --help" to see the various configure |
| 33 |
options you can set. |
| 34 |
|
| 35 |
Enter the command "make" to build the source. |
| 36 |
|
| 37 |
Be sure that an FBB daemon is not already running. Then, |
| 38 |
|
| 39 |
Enter the command "make install". |
| 40 |
|
| 41 |
*** If you are installing for the first time, run "make installconf". |
| 42 |
*** This will install default configuration files. |
| 43 |
*** DO NOT run "make installconf" if you are upgrading a working system, |
| 44 |
*** as your configuration files WILL BE overwritten with defaults. |
| 45 |
|
| 46 |
For the first installation start the BBS software using fbb script |
| 47 |
with command: |
| 48 |
|
| 49 |
fbb |
| 50 |
|
| 51 |
It will check validity of FBB files tree and create missing files including |
| 52 |
configuration files. |
| 53 |
|
| 54 |
For next BBS start use fbb.sh script. It is in /usr/local/share/doc/fbb/ |
| 55 |
Make it executable (chmod 755 fbb.sh) and move it somewhere on your system to call |
| 56 |
it automatically on start, or use it manually "fbb.sh start". |
| 57 |
|
| 58 |
3/ Compiling the xfbbX X11 client from source: |
| 59 |
---------------------------------------------- |
| 60 |
Building the xfbbX client requires the following libraries to be installed: |
| 61 |
libx11-dev (provides -lX11) |
| 62 |
libxt-dev (provides -lXt) |
| 63 |
libxext-dev (provides -lXext) |
| 64 |
libxpm-dev (provides -lXpm) |
| 65 |
lesstif2-dev or libmotif-dev (provides -lXm) |
| 66 |
|
| 67 |
or, the equivalent packages/libraries for your OS. |
| 68 |
|
| 69 |
If the above libraries are available, xfbbX_cl will be built and installed |
| 70 |
automatically (you won't see a warning when running ./configure). |
| 71 |
|
| 72 |
xfbbX is a shell script which creates the resource file and runs xfbbX_cl. |
| 73 |
|
| 74 |
4/ Fixes and evolutions : |
| 75 |
------------------------- |
| 76 |
Please, do not create new versions of code, this will make us impossible |
| 77 |
to maintain and know what is the current version. Instead help us to develop |
| 78 |
the code and fix the bugs. All fixes and evolutions will be welcome. |
| 79 |
|
| 80 |
Please again, do not delete the copyright and author headers in the files. |
| 81 |
|
| 82 |
If you didn't do it already, subscribe to the xfbb mailing list by sending a |
| 83 |
email to [email protected] without title and with "subscribe xfbb" as the |
| 84 |
first line of text. |
| 85 |
|
| 86 |
Then you will be able to send your fix, evolutions proposals and remarks to |
| 87 |
the mailing list. |
| 88 |
|
| 89 |
|
| 90 |
5/ Running xfbbd : |
| 91 |
------------------ |
| 92 |
|
| 93 |
Command line options of the fbb script : |
| 94 |
---------------------------------------- |
| 95 |
|
| 96 |
-f : Software is run in foreground |
| 97 |
-h : help information |
| 98 |
-q : run silent |
| 99 |
-l logfile : log debug info to logfile |
| 100 |
|
| 101 |
|
| 102 |
Other options given to xfbbd : |
| 103 |
------------------------------ |
| 104 |
|
| 105 |
-a : monitor all frames |
| 106 |
-v : verbose |
| 107 |
-i : only check init files |
| 108 |
-n : no client (xfbbC, xfbbX or fbbW) interface |
| 109 |
-s service : client service name (default none) |
| 110 |
-p port_num : client port number (default 3286) |
| 111 |
|
| 112 |
|
| 113 |
xfbbd exit values : |
| 114 |
------------------- |
| 115 |
|
| 116 |
0 : Error (configuration...) |
| 117 |
1 : Sigterm received |
| 118 |
2 : re-run (no housekeeping) |
| 119 |
3 : housekeeping |
| 120 |
4 : Software stop |
| 121 |
5 : Segv or BusError |
| 122 |
6 : System Reboot asked |
| 123 |
|
| 124 |
|
| 125 |
Sysop exit commands : |
| 126 |
--------------------- |
| 127 |
|
| 128 |
/A : Software stop |
| 129 |
------------------ |
| 130 |
Immediate software exit (value 4) |
| 131 |
|
| 132 |
/K : Housekeeping |
| 133 |
--------------------------- |
| 134 |
Delayed software exit (value 4) |
| 135 |
|
| 136 |
/L : Re-run |
| 137 |
--------------------------- |
| 138 |
Delayed software exit (value 2) |
| 139 |
|
| 140 |
/M : Re-run |
| 141 |
--------------------------- |
| 142 |
Immediate software exit (value 2) |
| 143 |
|
| 144 |
/R : Reboot |
| 145 |
--------------------------- |
| 146 |
Immediate software exit (value 6) |
| 147 |
|
| 148 |
|
| 149 |
Scripts : |
| 150 |
--------- |
| 151 |
|
| 152 |
By default, the script directories are in /usr/local/lib/fbb/script. |
| 153 |
|
| 154 |
When an exit value is received from xfbbd, all executable commands |
| 155 |
(scripts or programs) included in the directory are executed |
| 156 |
in alphanumeric order. |
| 157 |
|
| 158 |
|
| 159 |
Script directories (by value) : |
| 160 |
------------------------------- |
| 161 |
|
| 162 |
0 : error_return |
| 163 |
1 : end_session |
| 164 |
2 : rerun |
| 165 |
3 : maintenance |
| 166 |
4 : stop_system |
| 167 |
5 : sig_segv |
| 168 |
6 : reset |
| 169 |
|
| 170 |
6/ fbb folder tree : |
| 171 |
-------------------- |
| 172 |
|
| 173 |
Special files : |
| 174 |
- configuration : /usr/local/etc/ax25/fbb/fbb.conf |
| 175 |
- mail import : /usr/local/var/ax25/fbb/mail/mail.in |
| 176 |
|
| 177 |
binaries : |
| 178 |
---------- |
| 179 |
/usr/local/sbin |
| 180 |
|
| 181 |
documentation : |
| 182 |
--------------- |
| 183 |
/usr/local/share/doc/fbb |
| 184 |
|
| 185 |
configuration tree : |
| 186 |
-------------------- |
| 187 |
/usr/local/etc/ax25/fbb |
| 188 |
\_ lang |
| 189 |
|
| 190 |
utilities tree : |
| 191 |
---------------- |
| 192 |
/usr/local/lib/fbb |
| 193 |
|\_ filter |
| 194 |
| |
| 195 |
|\_ pg |
| 196 |
| |
| 197 |
|\_ script |
| 198 |
| |\_ error_return |
| 199 |
| | |
| 200 |
| |\_ end_session |
| 201 |
| | |
| 202 |
| |\_ rerun |
| 203 |
| | |
| 204 |
| |\_ maintenance |
| 205 |
| | |
| 206 |
| |\_ stop_system |
| 207 |
| | |
| 208 |
| |\_ sig_segv |
| 209 |
| | |
| 210 |
| \_ reset |
| 211 |
| |
| 212 |
|\_ server |
| 213 |
| |
| 214 |
\_ tool |
| 215 |
|
| 216 |
data tree : |
| 217 |
----------- |
| 218 |
/usr/local/var/ax25/fbb |
| 219 |
| |
| 220 |
|\_ log |
| 221 |
| |
| 222 |
|\_ oldmail |
| 223 |
| |
| 224 |
|\_ sat |
| 225 |
| |
| 226 |
|\_ wp |
| 227 |
| |
| 228 |
|\_ fbbdos |
| 229 |
| \_ yapp |
| 230 |
| |
| 231 |
|\_ mail |
| 232 |
| \_ mail[0-9] |
| 233 |
| |
| 234 |
\_ binmail |
| 235 |
\_ mail[0-9] |
| 236 |
|
| 237 |
|
| 238 |
7/ Good luck with "fbb"... |
| 239 |
-------------------------- |
| 240 |
|
| 241 |
Jean-Paul ROUBELAT [email protected] |
| 242 |
6 rue George Sand |
| 243 |
31120 ROQUETTES - France |
| 244 |
|
| 245 |
since years 2000 |
| 246 |
|
| 247 |
Bernard Pidoux |
| 248 |
[email protected] |
| 249 |
|
| 250 |
since 2020 |
| 251 |
|
| 252 |
Dave van der Locht |
| 253 |
[email protected] |