On 7/31/24 3:50 PM, Stuart Henderson wrote:
Thanks.

I've added an @ask-update to PLIST so the update from older versions
won't happen automatically, giving users a quick heads-up, but I think
we need something (probably in pkg-readme) showing what people need
to do. As they're local changes in the port there's no relevant upstream
doc that we can defer to.

And all the changes I made for security are against the idea of the main dev, so that would be hard to get upstream anyway.


(I hate java stuff for this, if it was C I'd suggest just patching the
source, but that's going to be a lot more of a pain here ;)


Would that be OK/sufficient?

Index: pkg/README
===================================================================
RCS file: /cvs/ports/geo/traccar/pkg/README,v
diff -u -p -r1.5 README
--- pkg/README	30 Jul 2024 21:13:04 -0000	1.5
+++ pkg/README	1 Aug 2024 09:29:47 -0000
@@ -60,3 +60,21 @@ For example, to allow only teltonika and
 To avoid sending positions to a network-based reverse geocoder service:
 
   <entry key='geocoder.enable'>false</entry>
+
+Statistics
+==========
+
+To avoid sending "anonymous" reports to traccar.org, you can set this variable
+  <entry key='server.statistics'>""</entry>
+
+Configuration migration to >=6.2
+================================
+
+In traccar 6.2 and up, there is no more default.xml file.
+You will need to consolidate your configuration in traccar.xml config file
+manually.
+To get the old behaviour, you will need to at least add in your traccar.xml
+file, the following keys if not done or changed already.
+  <entry key='web.address'>127.0.0.1</entry>
+  <entry key='logger.file'>/var/log/traccar/tracker-server.log</entry>
+  <entry key='server.statistics'>""</entry>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to