Skip to content

Commit

Permalink
www/ot-recorder: Update to 0.9.6
Browse files Browse the repository at this point in the history
While here, alter the incoming etc/ot-recorder/ot-recorder.conf.sample
file so the value of OTR_STORAGEDIR matches the patch we apply to
config.mk.in
  • Loading branch information
dlangille committed Oct 25, 2023
1 parent e2536a7 commit ca597a4
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 20 deletions.
2 changes: 1 addition & 1 deletion www/ot-recorder/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ot-recorder
PORTVERSION= 0.9.2
PORTVERSION= 0.9.6
CATEGORIES= www

MAINTAINER= dvl@FreeBSD.org
Expand Down
6 changes: 3 additions & 3 deletions www/ot-recorder/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1670173683
SHA256 (owntracks-recorder-0.9.2_GH0.tar.gz) = d3632895e46c36c1e484c021958e7bfee3b8977942ab28e7d47cf69c974f988e
SIZE (owntracks-recorder-0.9.2_GH0.tar.gz) = 3306898
TIMESTAMP = 1698236446
SHA256 (owntracks-recorder-0.9.6_GH0.tar.gz) = 73bb2f6217a7c2aeabae4894f0b3499ce74f8d3b153c4ec3fa3b87358c3692fe
SIZE (owntracks-recorder-0.9.6_GH0.tar.gz) = 3308976
22 changes: 6 additions & 16 deletions www/ot-recorder/files/patch-config.mk.in
@@ -1,31 +1,21 @@
--- config.mk.in.orig 2022-09-29 12:04:51 UTC
--- config.mk.in.orig 2023-10-24 13:44:06 UTC
+++ config.mk.in
@@ -13,17 +13,19 @@
# $ cd /usr/ports/devel/libconfig; make install
# $ cd /usr/ports/net/mosquitto; make install
# $ cd /usr/ports/devel/gmake; make install
+# $ cd /usr/ports/devel/pkgconf; make install
+# $ cd /usr/ports/misc/e2fsprogs-libuuid; make install
#
# Or as a package:
#
-# $ sudo pkg install lmdb curl libconfig mosquitto gmake
+# $ sudo pkg install pkgconf lmdb curl libconfig mosquitto gmake e2fsprogs-libuuid
@@ -22,10 +22,10 @@
#
# Uncomment the following lines and replace "no" with "yes":
#
-# CC = clang
-# CFLAGS += -I/usr/local/include
-# MORELIBS += -L /usr/local/lib
-# MORELIBS += -L /usr/local/lib -luuid
-FREEBSD ?= no
+CC = clang
+CFLAGS += -I/usr/local/include
+MORELIBS += -L /usr/local/lib -luuid
+FREEBSD ?= YES
+FREEBSD ?= yes
#
# Now build recorder with the "gmake" command:
#
@@ -61,10 +63,10 @@ WITH_GREENWICH ?= no
@@ -63,10 +63,10 @@ WITH_GREENWICH ?= no

# Where should the recorder store its data? This directory must
# exist and be writeable by recorder (and readable by ocat)
Expand All @@ -38,7 +28,7 @@

# Define the precision for reverse-geo lookups. The higher
# the number, the more granular reverse-geo will be:
@@ -87,7 +89,7 @@ GHASHPREC = 7
@@ -89,7 +89,7 @@ GHASHPREC = 7
JSON_INDENT ?= no

# Location of optional default configuration file
Expand Down
11 changes: 11 additions & 0 deletions www/ot-recorder/files/patch-etc_ot-recorder.default
@@ -0,0 +1,11 @@
--- etc/ot-recorder.default.orig 2023-10-25 15:22:53 UTC
+++ etc/ot-recorder.default
@@ -9,7 +9,7 @@
# Storage directory
#

-# OTR_STORAGEDIR="/var/spool/owntracks/recorder/store"
+# OTR_STORAGEDIR="/var/db/owntracks/recorder/store"

# -----------------------------------------------------
# Address or hostname of the MQTT broker

0 comments on commit ca597a4

Please sign in to comment.