update to traccar-5.3, from maintainer Renaud Allard with a few tweaks by me
This commit is contained in:
parent
1a77f8a18d
commit
a11b84ea26
@ -1,9 +1,8 @@
|
||||
COMMENT = modern GPS tracking platform
|
||||
V = 5.2
|
||||
V = 5.3
|
||||
PKGNAME = traccar-${V}
|
||||
DISTNAME = traccar-other-${V}
|
||||
EXTRACT_SUFX = .zip
|
||||
WRKDIST = ${WRKDIR}
|
||||
|
||||
CATEGORIES = geo
|
||||
HOMEPAGE = https://www.traccar.org/
|
||||
@ -18,7 +17,10 @@ MASTER_SITES = https://github.com/traccar/traccar/releases/download/v${V}/
|
||||
MODULES = java
|
||||
MODJAVA_VER = 11+
|
||||
|
||||
RUN_DEPENDS= java/javaPathHelper
|
||||
RUN_DEPENDS = java/javaPathHelper
|
||||
|
||||
EXTRACT_CASES += traccar*.zip) \
|
||||
${UNZIP} -oq ${FULLDISTDIR}/$$archive -d ${WRKDIST};;
|
||||
|
||||
NO_BUILD = Yes
|
||||
NO_TEST = Yes
|
||||
@ -28,8 +30,7 @@ do-configure:
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/traccar/
|
||||
cd ${WRKSRC}; cp -r conf lib schema templates web tracker-server.jar \
|
||||
${PREFIX}/share/traccar/
|
||||
cp -r ${WRKSRC}/* ${PREFIX}/share/traccar/
|
||||
rm ${PREFIX}/share/traccar/conf/{default,traccar}.xml.*
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (traccar-other-5.2.zip) = 2L1Ps7VfzL7VdwvDJ+JCDLCLDn0Pp0djknwhj6V7UFY=
|
||||
SIZE (traccar-other-5.2.zip) = 126674827
|
||||
SHA256 (traccar-other-5.3.zip) = LAUMhSc/DFRM60F6VLSjV8vxGozJcaGSsNVyp2GN9ZU=
|
||||
SIZE (traccar-other-5.3.zip) = 126806514
|
||||
|
@ -7,10 +7,10 @@ Index: conf/default.xml
|
||||
-->
|
||||
|
||||
<entry key='web.port'>8082</entry>
|
||||
- <entry key='web.path'>./web</entry>
|
||||
- <entry key='web.path'>./modern</entry>
|
||||
+ <entry key='web.address'>127.0.0.1</entry>
|
||||
+ <entry key='web.path'>/usr/local/share/traccar/web</entry>
|
||||
<entry key='web.sanitize'>true</entry>
|
||||
+ <entry key='web.path'>${LOCALBASE}/share/traccar/modern</entry>
|
||||
<entry key='web.sanitize'>false</entry>
|
||||
<entry key='web.persistSession'>false</entry>
|
||||
|
||||
@@ -23,7 +24,7 @@
|
||||
@ -22,12 +22,12 @@ Index: conf/default.xml
|
||||
<entry key='logger.rotate'>true</entry>
|
||||
|
||||
<entry key='filter.enable'>true</entry>
|
||||
@@ -33,16 +34,14 @@
|
||||
<entry key='processing.computedAttributes.enable'>true</entry>
|
||||
<entry key='processing.engineHours.enable'>true</entry>
|
||||
@@ -31,16 +32,14 @@
|
||||
|
||||
<entry key='event.ignoreDuplicateAlerts'>true</entry>
|
||||
|
||||
- <entry key='media.path'>./media</entry>
|
||||
+ <entry key='media.path'>/usr/local/share/traccar/media</entry>
|
||||
+ <entry key='media.path'>${LOCALBASE}/share/traccar/media</entry>
|
||||
|
||||
<entry key='notificator.types'>web,mail</entry>
|
||||
|
||||
@ -37,7 +37,7 @@ Index: conf/default.xml
|
||||
|
||||
<entry key='database.ignoreUnknown'>true</entry>
|
||||
- <entry key='database.changelog'>./schema/changelog-master.xml</entry>
|
||||
+ <entry key='database.changelog'>../../usr/local/share/traccar/schema/changelog-master.xml</entry>
|
||||
+ <entry key='database.changelog'>../..${LOCALBASE}/share/traccar/schema/changelog-master.xml</entry>
|
||||
|
||||
<entry key='gps103.port'>5001</entry>
|
||||
<entry key='tk103.port'>5002</entry>
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user