diff --git a/Changelog b/Changelog index 03cad90..155fbdd 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,8 @@ + +2022-08-10 version 0.9.1 +- Add support for WITH_TOURS +- Update to Alpine 3:16 (#57) + 2022-05-25 version 0.9.0 - Sync with ot-recorder release diff --git a/Dockerfile b/Dockerfile index 6daa833..bf3dedc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:3.16 AS builder -ARG RECORDER_VERSION=0.9.0 +ARG RECORDER_VERSION=0.9.1 # ARG RECORDER_VERSION=master RUN apk add --no-cache \ @@ -14,7 +14,8 @@ RUN apk add --no-cache \ mosquitto-dev \ lmdb-dev \ libsodium-dev \ - lua5.2-dev + lua5.2-dev \ + util-linux-dev RUN git clone --branch=${RECORDER_VERSION} https://github.com/owntracks/recorder /src/recorder WORKDIR /src/recorder @@ -29,13 +30,14 @@ VOLUME ["/store", "/config"] RUN apk add --no-cache \ curl \ - jq \ - libcurl \ - libconfig \ - mosquitto \ - lmdb \ - libsodium \ - lua5.2 + jq \ + libcurl \ + libconfig \ + mosquitto \ + lmdb \ + libsodium \ + lua5.2 \ + util-linux COPY recorder.conf /config/recorder.conf COPY JSON.lua /config/JSON.lua diff --git a/config.mk b/config.mk index e7946f8..26f4cae 100644 --- a/config.mk +++ b/config.mk @@ -8,6 +8,9 @@ WITH_MQTT ?= yes # Do you want recorder's built-in HTTP REST API? WITH_HTTP ?= yes +# Do you want recorder support for shared views? Requires WITH_HTTP +WITH_TOURS ?= yes + # Do you want to use reverse-geo caching? (Highly recommended) WITH_LMDB ?= yes @@ -66,7 +69,11 @@ CONFIGFILE = /config/recorder.conf # Optionally specify the path to the Mosquitto libs, include here MOSQUITTO_INC = -I/usr/include MOSQUITTO_LIB = -L/usr/lib -MORELIBS = # -lssl + +# Debian requires uuid-dev +# RHEL/CentOS needs libuuid-devel +MORELIBS += -luuid # -lssl + # If WITH_LUA is configured, specify compilation and linkage flags # for Lua either manually or using pkg-config. This may require tweaking,