FreeBSD Bugzilla – Attachment 185584 Details for
Bug 215524
[NEW PORT] www/osrm-backend: Open Source Routing Machine (Backend)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Clarification in rc-script
osrm-backend.diff (text/plain), 9.61 KB, created by
Andreas Andersson
on 2017-08-19 19:00:30 UTC
(
hide
)
Description:
Clarification in rc-script
Filename:
MIME Type:
Creator:
Andreas Andersson
Created:
2017-08-19 19:00:30 UTC
Size:
9.61 KB
patch
obsolete
>Index: GIDs >=================================================================== >--- GIDs (revision 447927) >+++ GIDs (working copy) >@@ -159,7 +159,7 @@ > opendnssec:*:215: > nsd:*:216: > anvil:*:217: >-# free: 218 >+osrm:*:218: > # free: 219 > bs:*:220: > # free: 221 >Index: UIDs >=================================================================== >--- UIDs (revision 447927) >+++ UIDs (working copy) >@@ -164,7 +164,7 @@ > opendnssec:*:215:215::0:0:Opendnssec Pseudo User:/nonexistent:/usr/sbin/nologin > nsd:*:216:216::0:0:NSD DNS Server:/nonexistent:/usr/sbin/nologin > anvil:*:217:217::0:0:anvil certificate dropper:/var/db/anvil:/bin/sh >-# free: 218 >+osrm:*:218:218::0:0:OSRM backend user:/nonexistent:/usr/sbin/nologin > # free: 219 > bs:*:220:220::0:0:Big Sister:/usr/local/bigsister:/bin/sh > # free: 221 >Index: www/osrm-backend/Makefile >=================================================================== >--- www/osrm-backend/Makefile (nonexistent) >+++ www/osrm-backend/Makefile (working copy) >@@ -0,0 +1,48 @@ >+# $FreeBSD$ >+ >+PORTNAME= osrm-backend >+DISTVERSIONPREFIX= v >+DISTVERSION= 5.11.0 >+CATEGORIES= www >+ >+MAINTAINER= a.andersson.thn@gmail.com >+COMMENT= Open Source Routing Machine (Backend) >+ >+LICENSE= BSD2CLAUSE >+LICENSE_FILE= ${WRKSRC}/LICENCE.TXT >+ >+BUILD_DEPENDS= ${LOCALBASE}/lib/libstxxl.a:devel/stxxl >+LIB_DEPENDS= libtbb.so:devel/tbb \ >+ libtbbmalloc.so:devel/tbb \ >+ libluabind.so:devel/luabind \ >+ libboost_program_options.so:devel/boost-libs \ >+ libboost_date_time.so:devel/boost-libs \ >+ libboost_chrono.so:devel/boost-libs \ >+ libboost_filesystem.so:devel/boost-libs \ >+ libboost_iostreams.so:devel/boost-libs \ >+ libboost_thread.so:devel/boost-libs \ >+ libboost_system.so:devel/boost-libs \ >+ libboost_regex.so:devel/boost-libs \ >+ libexpat.so:textproc/expat2 >+ >+USES= cmake:outsource lua:52 compiler:c++14-lang >+ >+USE_LDCONFIG= yes >+OPTIONS_DEFINE= DEBUG >+ >+USE_RC_SUBR= osrm >+USERS= osrm >+GROUPS= osrm >+ >+USE_GITHUB= yes >+GH_ACCOUNT= Project-OSRM >+ >+LUA_VER= 5.2 >+ >+post-extract: >+ ${RM} -r ${WRKSRC}/CMakeCache.txt >+ ${RM} -r ${WRKSRC}/CMakeFiles >+ >+pre-install: >+ ${MKDIR} ${STAGEDIR}/var/db/osrm-backend >+.include <bsd.port.mk> > >Property changes on: www/osrm-backend/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/osrm-backend/distinfo >=================================================================== >--- www/osrm-backend/distinfo (nonexistent) >+++ www/osrm-backend/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1503162814 >+SHA256 (Project-OSRM-osrm-backend-v5.11.0_GH0.tar.gz) = de95e00933c0ac040bac65c24d6b9ced5c580a115f9e50ce3948f78993f4636b >+SIZE (Project-OSRM-osrm-backend-v5.11.0_GH0.tar.gz) = 4889116 > >Property changes on: www/osrm-backend/distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/osrm-backend/files/osrm.in >=================================================================== >--- www/osrm-backend/files/osrm.in (nonexistent) >+++ www/osrm-backend/files/osrm.in (working copy) >@@ -0,0 +1,60 @@ >+#!/bin/sh >+ >+# PROVIDE: osrm >+# REQUIRE: LOGIN cleanvar >+# KEYWORD: shutdown >+# >+# >+# osrm_enable (bool): Set to NO by default. >+# Set it to YES to enable osrm-backend. >+# osrm_flags (flags): Empty by default >+# Adjust it to your needs. >+# osrm_file (path): The path to the osrm-file you intend >+# to use with osrm. >+# osrm_shared_memory (bool): Set to NO by default. >+# When enabled it will ignore osrm_file >+# and assume osrm-datastore has set up >+# the data in shared memory. >+# osrm will fail to start if this is >+# enbled and osrm-datastore hasnt set >+# up the shared memory. >+ >+. /etc/rc.subr >+ >+name="osrm" >+rcvar=${name}_enable >+load_rc_config $name >+ >+: ${osrm_enable:="NO"} >+: ${osrm_user:="osrm"} >+: ${osrm_group:="osrm"} >+: ${osrm_flags:=""} >+: ${osrm_shared_memory:="NO"} >+: ${osrm_file:=""} >+ >+ >+ >+ >+pidfile="/var/run/osrm.pid" >+procname="/usr/local/bin/osrm-routed" >+command=/usr/sbin/daemon >+start_precmd="osrm_precmd" >+ >+osrm_precmd() >+{ >+ if checkyesno osrm_shared_memory; then >+ command_args="-f -c -p ${pidfile} ${procname} --shared-memory=yes ${osrm_flags}" >+ else >+ >+ if [ -f "$osrm_file" ]; then >+ chown ${osrm_user}:${osrm_group} ${osrm_file} >+ command_args="-f -c -p ${pidfile} ${procname} ${osrm_flags} ${osrm_file}" >+ else >+ err 1 "Osrm file not found or osrm_file variable empty." >+ fi >+ fi >+ install -o $osrm_user -m 644 /dev/null ${pidfile} >+} >+ >+ >+run_rc_command "$1" > >Property changes on: www/osrm-backend/files/osrm.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/osrm-backend/pkg-descr >=================================================================== >--- www/osrm-backend/pkg-descr (nonexistent) >+++ www/osrm-backend/pkg-descr (working copy) >@@ -0,0 +1,3 @@ >+This is a port of osrm-backend of the open-streetmap project. >+ >+WWW: http://project-osrm.org/ > >Property changes on: www/osrm-backend/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/osrm-backend/pkg-plist >=================================================================== >--- www/osrm-backend/pkg-plist (nonexistent) >+++ www/osrm-backend/pkg-plist (working copy) >@@ -0,0 +1,91 @@ >+bin/osrm-components >+bin/osrm-contract >+bin/osrm-customize >+bin/osrm-datastore >+bin/osrm-extract >+bin/osrm-partition >+bin/osrm-routed >+include/mapbox/optional.hpp >+include/mapbox/recursive_wrapper.hpp >+include/mapbox/variant.hpp >+include/mapbox/variant_io.hpp >+include/mapbox/variant_visitor.hpp >+include/osrm/approach.hpp >+include/osrm/bearing.hpp >+include/osrm/contractor.hpp >+include/osrm/contractor/contractor.hpp >+include/osrm/contractor/contractor_config.hpp >+include/osrm/contractor_config.hpp >+include/osrm/coordinate.hpp >+include/osrm/engine/api/base_parameters.hpp >+include/osrm/engine/api/match_parameters.hpp >+include/osrm/engine/api/nearest_parameters.hpp >+include/osrm/engine/api/route_parameters.hpp >+include/osrm/engine/api/table_parameters.hpp >+include/osrm/engine/api/tile_parameters.hpp >+include/osrm/engine/api/trip_parameters.hpp >+include/osrm/engine/approach.hpp >+include/osrm/engine/bearing.hpp >+include/osrm/engine/engine_config.hpp >+include/osrm/engine/hint.hpp >+include/osrm/engine/phantom_node.hpp >+include/osrm/engine/status.hpp >+include/osrm/engine_config.hpp >+include/osrm/error_codes.hpp >+include/osrm/exception.hpp >+include/osrm/extractor.hpp >+include/osrm/extractor/extractor.hpp >+include/osrm/extractor/extractor_config.hpp >+include/osrm/extractor/io_config.hpp >+include/osrm/extractor/travel_mode.hpp >+include/osrm/extractor_config.hpp >+include/osrm/json_container.hpp >+include/osrm/match_parameters.hpp >+include/osrm/nearest_parameters.hpp >+include/osrm/osrm.hpp >+include/osrm/osrm_fwd.hpp >+include/osrm/partition/partition_config.hpp >+include/osrm/partition/partitioner.hpp >+include/osrm/route_parameters.hpp >+include/osrm/status.hpp >+include/osrm/storage/io_config.hpp >+include/osrm/storage/storage.hpp >+include/osrm/storage/storage_config.hpp >+include/osrm/storage_config.hpp >+include/osrm/table_parameters.hpp >+include/osrm/tile_parameters.hpp >+include/osrm/trip_parameters.hpp >+include/osrm/util/alias.hpp >+include/osrm/util/coordinate.hpp >+include/osrm/util/exception.hpp >+include/osrm/util/json_container.hpp >+include/osrm/util/typedefs.hpp >+%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm.a >+%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_contract.a >+%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_customize.a >+%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_extract.a >+%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_partition.a >+%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_store.a >+%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_update.a >+%%LUA_LIBDIR%%data/pkgconfig/%%LUA_LIBDIR%%osrm.pc >+share/osrm/profiles/bicycle.lua >+share/osrm/profiles/car.lua >+share/osrm/profiles/debug_example.lua >+share/osrm/profiles/examples/postgis.lua >+share/osrm/profiles/foot.lua >+share/osrm/profiles/%%LUA_LIBDIR%%/access.lua >+share/osrm/profiles/%%LUA_LIBDIR%%/destination.lua >+share/osrm/profiles/%%LUA_LIBDIR%%/guidance.lua >+share/osrm/profiles/%%LUA_LIBDIR%%/maxspeed.lua >+share/osrm/profiles/%%LUA_LIBDIR%%/pprint.lua >+share/osrm/profiles/%%LUA_LIBDIR%%/profile_debugger.lua >+share/osrm/profiles/%%LUA_LIBDIR%%/sequence.lua >+share/osrm/profiles/%%LUA_LIBDIR%%/set.lua >+share/osrm/profiles/%%LUA_LIBDIR%%/tags.lua >+share/osrm/profiles/%%LUA_LIBDIR%%/way_handlers.lua >+share/osrm/profiles/rasterbot.lua >+share/osrm/profiles/rasterbotinterp.lua >+share/osrm/profiles/test.lua >+share/osrm/profiles/testbot.lua >+share/osrm/profiles/turnbot.lua >+@dir /var/db/osrm-backend > >Property changes on: www/osrm-backend/pkg-plist >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 215524
:
178234
|
184501
|
184968
|
184985
|
184987
|
185111
|
185112
|
185113
|
185115
|
185127
|
185143
|
185331
|
185402
|
185405
|
185417
|
185581
|
185582
|
185583
|
185584
|
185608
|
186062
|
190493
|
190501