summaryrefslogtreecommitdiff
path: root/www/ot-recorder/files/patch-config.mk
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2019-07-31 01:16:27 +0000
committerDan Langille <dvl@FreeBSD.org>2019-07-31 01:16:27 +0000
commit22fb9d72c201aaae634ffe5b1675fcb755b17d24 (patch)
treedf76832eeb53f4800443e19a59d37c9cb54e063b /www/ot-recorder/files/patch-config.mk
parentNew port: audio/grip GTK front-end to external cd rippers and audio encoders (diff)
ot-recorder stores and accesses data published, via MQTT or http, by
OwnTracks apps. OwnTracks allows you to keep track of your own location. You can build your private location diary or share it with your family and friends. OwnTracks is open-source and uses open protocols for communication so you can be sure your data stays secure and private.
Diffstat (limited to 'www/ot-recorder/files/patch-config.mk')
-rw-r--r--www/ot-recorder/files/patch-config.mk35
1 files changed, 35 insertions, 0 deletions
diff --git a/www/ot-recorder/files/patch-config.mk b/www/ot-recorder/files/patch-config.mk
new file mode 100644
index 000000000000..bb109ea4ae33
--- /dev/null
+++ b/www/ot-recorder/files/patch-config.mk
@@ -0,0 +1,35 @@
+--- config.mk.orig 2019-07-29 18:58:54 UTC
++++ config.mk
+@@ -20,10 +20,10 @@
+ #
+ # Uncomment the following lines and replaced "no" with "yes":
+ #
+-# CC = clang
+-# CFLAGS += -I/usr/local/include
+-# MORELIBS += -L /usr/local/lib
+-FREEBSD ?= no
++CC = clang
++CFLAGS += -I/usr/local/include
++MORELIBS += -L /usr/local/lib
++FREEBSD ?= YES
+ #
+ # Now build recorder with the "gmake" command:
+ #
+@@ -60,7 +60,7 @@ WITH_GREENWICH ?= no
+ STORAGEDEFAULT = /var/spool/owntracks/recorder/store
+
+ # Where should the recorder find its document root (HTTP)?
+-DOCROOT = /var/spool/owntracks/recorder/htdocs
++DOCROOT = /usr/local/www/ot-recorder
+
+ # Define the precision for reverse-geo lookups. The higher
+ # the number, the more granular reverse-geo will be:
+@@ -83,7 +83,7 @@ GHASHPREC = 7
+ JSON_INDENT ?= no
+
+ # Location of optional default configuration file
+-CONFIGFILE = /etc/default/ot-recorder
++CONFIGFILE = /usr/local/etc/ot-recorder/ot-recorder.conf
+
+ # Optionally specify the path to the Mosquitto libs, include here
+ MOSQUITTO_INC = -I/usr/include