svn commit: r507834 - in head: . www/ot-recorder www/ot-recorder/files
Dan Langille
dvl at FreeBSD.org
Thu Aug 1 22:16:43 UTC 2019
Author: dvl
Date: Thu Aug 1 22:16:42 2019
New Revision: 507834
URL: https://svnweb.freebsd.org/changeset/ports/507834
Log:
HEADS UP: the data directory is moving from /var/spool to /var/db
to confirm to man hier. An entry has been added to UPDATING.
Other changes:
* configuration file is now chmod 640
* data diretory is now chmod 750
* create the missing /var/run/ot-recorder for the PID
Modified:
head/UPDATING
head/www/ot-recorder/Makefile
head/www/ot-recorder/files/patch-config.mk
head/www/ot-recorder/pkg-plist
Modified: head/UPDATING
==============================================================================
--- head/UPDATING Thu Aug 1 22:08:52 2019 (r507833)
+++ head/UPDATING Thu Aug 1 22:16:42 2019 (r507834)
@@ -6,6 +6,20 @@ You should get into the habit of checking this file fo
you update your ports collection, before attempting any port upgrades.
+20190801:
+ AFFECTS: users of www/ot-recorder
+ AUTHOR: dvl at FreeBSD.org
+
+ The data directory has moved from /var/spool/owntracks to
+ /var/db/owntracks
+
+ Be sure to stop otrecorder, move the directory, and start otrecorder.
+
+ service ot-recorder stop
+ cd /var/spool
+ mv owntracks /var/db
+ service ot-recorder start
+
20190728:
AFFECTS: users of net-im/py-matrix-synapse
AUTHOR: kai at FreeBSD.org
Modified: head/www/ot-recorder/Makefile
==============================================================================
--- head/www/ot-recorder/Makefile Thu Aug 1 22:08:52 2019 (r507833)
+++ head/www/ot-recorder/Makefile Thu Aug 1 22:16:42 2019 (r507834)
@@ -3,7 +3,7 @@
PORTNAME= ot-recorder
PORTVERSION= 0.8.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MAINTAINER= dvl at FreeBSD.org
@@ -44,8 +44,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/etc/ot-recorder.default ${STAGEDIR}${ETCDIR}/ot-recorder.conf.sample
${MKDIR} ${STAGEDIR}/var/log/ot-recorder
- ${MKDIR} ${STAGEDIR}/var/spool/owntracks
- ${MKDIR} ${STAGEDIR}/var/spool/owntracks/recorder
+ ${MKDIR} ${STAGEDIR}/var/db/owntracks
+ ${MKDIR} ${STAGEDIR}/var/db/owntracks/recorder
+ ${MKDIR} ${STAGEDIR}/var/run/ot-recorder
${INSTALL_SCRIPT} ${WRKDIR}/ot-recorder ${STAGEDIR}$/${PREFIX}/etc/rc.d/
Modified: head/www/ot-recorder/files/patch-config.mk
==============================================================================
--- head/www/ot-recorder/files/patch-config.mk Thu Aug 1 22:08:52 2019 (r507833)
+++ head/www/ot-recorder/files/patch-config.mk Thu Aug 1 22:16:42 2019 (r507834)
@@ -15,8 +15,12 @@
#
# Now build recorder with the "gmake" command:
#
-@@ -60,7 +60,7 @@ WITH_GREENWICH ?= no
- STORAGEDEFAULT = /var/spool/owntracks/recorder/store
+@@ -57,10 +57,10 @@ WITH_GREENWICH ?= no
+
+ # Where should the recorder store its data? This directory must
+ # exist and be writeable by recorder (and readable by ocat)
+-STORAGEDEFAULT = /var/spool/owntracks/recorder/store
++STORAGEDEFAULT = /var/db/owntracks/recorder/store
# Where should the recorder find its document root (HTTP)?
-DOCROOT = /var/spool/owntracks/recorder/htdocs
Modified: head/www/ot-recorder/pkg-plist
==============================================================================
--- head/www/ot-recorder/pkg-plist Thu Aug 1 22:08:52 2019 (r507833)
+++ head/www/ot-recorder/pkg-plist Thu Aug 1 22:16:42 2019 (r507834)
@@ -1,4 +1,4 @@
- at sample(,,640) %%ETCDIR%%/ot-recorder.conf.sample
+ at sample(,ot-recorder,640) %%ETCDIR%%/ot-recorder.conf.sample
bin/ocat
etc/rc.d/ot-recorder
sbin/ot-recorder
@@ -300,5 +300,6 @@ sbin/ot-recorder
@dir %%WWWDIR%%/table
@dir %%WWWDIR%%/views
@dir(ot-recorder,ot-recorder,) /var/log/ot-recorder
- at dir(ot-recorder,ot-recorder,) /var/spool/owntracks/recorder
- at dir /var/spool/owntracks
+ at dir(ot-recorder,ot-recorder,) /var/run/ot-recorder
+ at dir(ot-recorder,ot-recorder,750) /var/db/owntracks/recorder
+ at dir /var/db/owntracks
More information about the svn-ports-all
mailing list