111 Commits

Author SHA1 Message Date
Jan-Piet Mens
c4c6b52bee retire old package signing key 2025-08-13 08:22:37 +02:00
Jan-Piet Mens
f188dc9429 new signing key for packages 2025-08-12 17:49:09 +02:00
Christoph Krey
ba38b3dae3 [FIX] adapt packages for trixie 2025-08-11 11:25:26 +02:00
Jan-Piet Mens
3958c9ec69 install unit file into /etc/systemd/system/ot-recorder.service during fpm
closes #514
2024-12-02 08:27:34 +01:00
Jan-Piet Mens
a529d6501d fix permissions on files installed to share/docs/ot-recorder
addresses #513
2024-12-01 10:50:03 +01:00
Jan-Piet Mens
82bfb478d4 raspbian == debian for fpm-make 2024-10-28 09:53:02 +01:00
Jan-Piet Mens
9987f10ee9 don't label files in /etc as configs by default
the one file we do have there is marked as config anyway
	this brings raspbian fpm-make to be like debian fpm-make
2024-10-28 09:47:29 +01:00
Christoph Krey
76b00e4b78 [FIX] OTR_CLEAN_AGE default not correctly handled #500 2024-10-02 11:14:08 +02:00
Jan-Piet Mens
229ad96ba6 remove support for Greenwich devices
closes #484
2024-07-30 17:08:21 +02:00
Jan-Piet Mens
719cc3c8ab fpm postinst now restarts daemon
closes #446
2024-07-23 11:58:01 +02:00
Jan-Piet Mens
9713094da9 comment ipv4/v6 2024-02-05 08:18:22 +01:00
Jan-Piet Mens
c042aa9bf7 document OTR_LUASCRIPT 2024-02-05 08:15:07 +01:00
Jan-Piet Mens
de887bc2ae Add missing config to ot-recorder defaults
closes #440
2024-02-03 22:06:02 +01:00
Jan-Piet Mens
5933b45715 support for tz is now optional 2024-01-30 21:19:17 +01:00
Jan-Piet Mens
99520208fc Enhance API data with timezone at location's position
closes #444
2024-01-30 17:09:29 +01:00
Jan-Piet Mens
9eaa211caf no need to wait so long 2024-01-28 13:52:31 +01:00
Jan-Piet Mens
15dcc347b9 Change permissions (+r) on binaries
closes #428
2023-10-24 16:14:49 +02:00
Jan-Piet Mens
48aac397bb FIX debian packaging (fpm) 2023-10-24 15:43:54 +02:00
James Le Cuirot
0439a9e667 Use Mosquitto's pkg-config file
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.
2022-09-25 15:14:03 +01:00
James Le Cuirot
cac1b95be0 Automatically detect when -luuid is needed (on Linux with tours enabled)
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.
2022-09-25 15:14:00 +01:00
Christoph Krey
75ae342c62 [FIX] package build for raspbian 2022-08-10 08:57:40 +00:00
Jan-Piet Mens
6096911252 NEW: WITH_TOURS is configured in by default 2022-08-07 17:20:06 +02:00
Christoph Krey
209a2fc834 [NEW] packages for Debian Bullseye (11) 2022-05-23 11:22:47 -04:00
Jan-Piet Mens
d4dd1778b9 hardcode armhf 2020-03-09 16:28:32 +01:00
Jan-Piet Mens
0162ef4b07 raspbian x-compile support 2020-03-09 16:03:52 +01:00
Jan-Piet Mens
77bd07ae50 support for Debian 10 (buster)
addresses #320
2019-10-01 12:35:03 +02:00
Jan-Piet Mens
359f1ed8c4 Fix permissions for htdocs on Debian
closes #292
2019-02-17 21:16:28 +01:00
Jan-Piet Mens
02a48a67bd fix permissions in spool directory created in post install script
addresses #291
2019-02-17 21:10:03 +01:00
Jan-Piet Mens
a3beb76586 safety belt 2019-02-17 21:10:03 +01:00
Jan-Piet Mens
a20c1538c0 Surface GEOCODE_TIMEOUT into config.mk
addresses #272
2018-11-29 20:16:10 +01:00
Jan-Piet Mens
34003192ea add lmdb deps 2018-10-22 22:25:00 +02:00
Jan-Piet Mens
4d9d2cf8e9 adjust for libsodium 2018-02-12 15:03:00 +01:00
Jan-Piet Mens
d4b450949f add sleep to systemd service to allow Mosquitto to start
closes #185
2017-10-17 20:50:16 +02:00
Jan-Piet Mens
8aa745efc3 fpm build 9.0 2017-06-20 19:33:36 +02:00
Jan-Piet Mens
7234afda5d fix systemd launch; add topics to defaults
closes #185
2017-05-17 15:02:41 +02:00
Jan-Piet Mens
abf17c5623 default to freebsd no 2017-05-17 13:22:02 +02:00
Jan-Piet Mens
f6af33f6e2 add kill API to packages
closes #153
2016-09-24 14:44:06 +02:00
Jan-Piet Mens
6638a3b20b new configuration variable OTR_BROWSERAPIKEY
addresses #146
2016-09-12 19:15:36 +02:00
Oluf Lorenzen
f71c84c746 make defaults-file source'able
with the spaces in there 'source' wont work
2016-09-11 18:13:19 +02:00
Jan-Piet Mens
c4886f5265 remove standard MQTT topic from systemd unit 2016-08-31 11:12:16 +02:00
Alex Jordan
b128eceb47 Remove usage instructions in the systemd unit
This isn't really a great place for these, and they're not very complete
anyway. Better to put this in the proper docs, where it'll be obvious
and complete.
2016-08-16 18:43:08 -04:00
Alex Jordan
579f453087 Pass the standard MQTT topic in the systemd unit
Add the standard OwnTracks MQTT topic as the first argument to
`ot-recorder` in the service file. This provides a usable experience out
of the box (otherwise the service file will fail with a help message).
2016-08-16 18:37:03 -04:00
Alex Jordan
997573828b Remove deprecated syntax in systemd unit file
No point showing this in new installs.
2016-08-16 18:34:21 -04:00
Alex Jordan
d79692136c Don't send stdout and stderr to custom locations
If the user is on systemd it's reasonable to assume that they are also
using journald. This is the default on most (all?) systemd systems and
any admin who configures their system to send things to syslog instead
of journald can deal with one more thing that needs to be
changed.

Therefore, optimize for the majority and send logs to the default
journald. Additionally, don't send stdout to /dev/null because this
isn't the norm with systemd; stdout can provide valuable debugging
information; and journald provides facilities for filtering out stdout
in log output.
2016-08-16 18:26:59 -04:00
Alex Jordan
5da7a5eb45 Don't automatically restart the systemd service
This isn't the normal way that systemd service files are written, and
lots of admins will probably be surprised to find that this is
happening. Therefore, remove it from the default configuration.

This is especially relevant given that the default ExecStart command
produces a help message, which causes systemd to mark the unit as
failed. This causes an infinite restart loop on default installs.
2016-08-16 18:20:11 -04:00
Jan-Piet Mens
f54cbb0de5 Debian package dependent on libsodium13 2016-07-21 08:11:34 +02:00
Jan-Piet Mens
20bf73daf8 hack to appease docker builds 2016-07-19 15:35:28 +02:00
Jan-Piet Mens
ca57b43a96 try again 2016-07-19 14:47:35 +02:00
Jan-Piet Mens
5ab33fa5dc package version for debian repo 2016-07-19 14:27:50 +02:00
Jan-Piet Mens
ffca52241a specify debian version in package filenames 2016-07-19 13:44:35 +02:00