FreeBSD Bugzilla – Attachment 190493 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]
Update to 1.15.2 update UID and GID
osrm.diff (text/plain), 5.52 KB, created by
Andreas Andersson
on 2018-02-10 21:49:40 UTC
(
hide
)
Description:
Update to 1.15.2 update UID and GID
Filename:
MIME Type:
Creator:
Andreas Andersson
Created:
2018-02-10 21:49:40 UTC
Size:
5.52 KB
patch
obsolete
>Index: www/osrm-backend/Makefile >=================================================================== >--- www/osrm-backend/Makefile (nonexistent) >+++ www/osrm-backend/Makefile (working copy) >@@ -0,0 +1,44 @@ >+# $FreeBSD$ >+ >+PORTNAME= osrm-backend >+DISTVERSIONPREFIX= v >+DISTVERSION= 5.15.2 >+CATEGORIES= www >+ >+MAINTAINER= a.andersson.thn@gmail.com >+COMMENT= Open Source Routing Machine (Backend) >+ >+LICENSE= BSD2CLAUSE >+LICENSE_FILE= ${WRKSRC}/LICENSE.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 >+ >+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 = 1518251752 >+SHA256 (Project-OSRM-osrm-backend-v5.15.2_GH0.tar.gz) = ab966e9b38b4a64d3b43a83ae0b2b9ce4fddc040a230a0f4ed48e2d46ddaf229 >+SIZE (Project-OSRM-osrm-backend-v5.15.2_GH0.tar.gz) = 5018331 > >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 @@ >+ > >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