Technical data
8. Documentation for Developers
8.1. Common Rules
In order to include a new package in the OPT database on the fli4l homepage some rules must
be obeyed. Packages that do not comply with these rules may be removed from the database
without warning.
1. No file copy actions by the user! fli4l provides a sophisticated system to include the fli4l
packages into the installation archives. All files that should go to the router are located
in opt/.
2. Pack and compress packets properly: packages must be constructed in a way to allow
effortless unpacking into the fli4l directory.
3. Packages must be completely configurable via the config file. Further editing of config-
uration files shall not be required by the user. Keep difficult decisions away from the
users and move them to another part at the end of the configuration file. Note: ONLY
MODIFY IF YOU KNOW WHAT YOU DO.
4. Another hint for config files: by its name it has to be seen clearly which OPT it belongs
to. For example OPT_HTTPD contains the variables OPT_HTTPD, HTTPD_USER_N, a.s.o.
5. Please built binaries as small as possible! If you compile them yourself in FBR please
remember to deactive any unneeded feature.
6. Check for Copyrights! If using template files please keep in mind to change the Copyright
accordingly. This applies also for config-, check- and Opt text files. Replace the Copyright
with your own name. A documentation that was only copied of course has to keep the
Copyright of the orginal author!
7. Please use only free formats as archive types. These are:
• ZIP (.zip)
• GZIP (.tgz or .tar.gz)
Please don’t use other formats like RAR, ACE, Blackhole, LHA . . . Windows-Installer
files (.msi) or self-extracting archives and installers (.exe) should not be used.
8.2. Compiling Programs
The environment needed for compiling programs is available in the separate package “src"’.
There it is also documented how to compile own programs for fli4l.
284










