As the Linux kernel experiment with this flag has shown, it's just a bad
idea unless you regularly do development work on the project. Different
compilers and compiler versions will emit different warnings, which will
cause headaches for users.
ot-record creates it automatically. Other directories are also created
automatically, so we should be consistent here. Note that some package
managers need special handling for empty directories at build time, but
they don't care about directories created at runtime.
It has provided one since version 1.5. It erroneously hardcodes the
libdir as "lib" (it may be lib64), but OwnTracks defaulted to "lib"
anyway. I will fix Mosquitto shortly.
This is done in a cross-compile-friendly manner with cpp rather than
uname. printf is used rather than echo due to inconsistent handling of
the -e option across different shells.
- NEW: WITH_TOURS is built in by default
- NEW: Makefile now sets -DNS_ENABLE_IPV6 for IPv4 and IPv6
- NEW: tour views are written to and read from STORAGEDIR/tours
- NEW: add option --variables to ot-recorder to print list of all actual settings
- UPD: move config.js into docroot/utils/ to avoid having to proxy another uri
- NEW: @@@LABEL@@@ in view HTML is replaced by view's label attribute
- FIX: refactor environment variable handling for all settings. (#380)
- NEW: add very experimental shares functionality
- FIX: support OTR_HTTPHOST and OTR_HTTPPORT configuration in environment
the word 'share' is difficult and ambiguos (why are we involved in
investments?) and we're nipping this in the bud by renaming everything
now in order to avoid the region/waypoint linguistic issues of the
past.
this separates manually created views from those submitted
automatically from the apps, and solves the problem of having to
make viewsdir writeable by the process owner of ot-recorder,
which I find is a cleaner solution.
without this, placing Recorder behind an nginx/apache proxy
would mean having to configure an additional pass for
browser to access config.js; I don't think this is worthwhile.
- NEW: OTR_LMDBSIZE can be set in the environment to define size of LMDB; bytes, min 10 MB (#348)
- UPD: modernize Recorder UI (not the actual Frontend project) (#386)
2022-03-14 version 0.8.8
- FIX: make secs time_t in otr_strftime() (#375)
- FIX: inaccurate logo name in manifest and missing image (#372)
- FIX: Alpine compiler warning on strncpy in geohash.c (#369)
- FIX: ocat outputs GeoJSON Feature with properties{} (#367)