View | Details | Raw Unified | Return to bug 215524 | Differences between
and this patch

Collapse All | Expand All

(-)GIDs (-1 / +1 lines)
Lines 159-165 Link Here
159
opendnssec:*:215:
159
opendnssec:*:215:
160
nsd:*:216:
160
nsd:*:216:
161
anvil:*:217:
161
anvil:*:217:
162
# free: 218
162
osrm:*:218
163
# free: 219
163
# free: 219
164
bs:*:220:
164
bs:*:220:
165
# free: 221
165
# free: 221
(-)UIDs (-1 / +1 lines)
Lines 164-170 Link Here
164
opendnssec:*:215:215::0:0:Opendnssec Pseudo User:/nonexistent:/usr/sbin/nologin
164
opendnssec:*:215:215::0:0:Opendnssec Pseudo User:/nonexistent:/usr/sbin/nologin
165
nsd:*:216:216::0:0:NSD DNS Server:/nonexistent:/usr/sbin/nologin
165
nsd:*:216:216::0:0:NSD DNS Server:/nonexistent:/usr/sbin/nologin
166
anvil:*:217:217::0:0:anvil certificate dropper:/var/db/anvil:/bin/sh
166
anvil:*:217:217::0:0:anvil certificate dropper:/var/db/anvil:/bin/sh
167
# free: 218
167
osrm:*:218:218::0:0:OSRM backend user:/var/db/osrm-backend:/bin/sh
168
# free: 219
168
# free: 219
169
bs:*:220:220::0:0:Big Sister:/usr/local/bigsister:/bin/sh
169
bs:*:220:220::0:0:Big Sister:/usr/local/bigsister:/bin/sh
170
# free: 221
170
# free: 221
(-)www/osrm-backend/Makefile (+56 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=          osrm-backend
4
PORTVERSION=       5.9.0
5
DISTVERSIONPREFIX= v
6
CATEGORIES=        www
7
8
MAINTAINER=        aandersson@tappsi.co
9
COMMENT=           For geo routing and reverse geo lookups
10
11
LICENSE=           BSD2CLAUSE
12
13
BUILD_DEPENDS=     ${LOCALBASE}/lib/libstxxl.a:devel/stxxl
14
LIB_DEPENDS=       libtbb.so:devel/tbb
15
LIB_DEPENDS+=      libtbbmalloc.so:devel/tbb
16
LIB_DEPENDS+=      libluabind.so:devel/luabind
17
LIB_DEPENDS+=      libboost_program_options.so:devel/boost-libs
18
LIB_DEPENDS+=      libboost_date_time.so:devel/boost-libs
19
LIB_DEPENDS+=      libboost_chrono.so:devel/boost-libs
20
LIB_DEPENDS+=      libboost_filesystem.so:devel/boost-libs
21
LIB_DEPENDS+=      libboost_iostreams.so:devel/boost-libs
22
LIB_DEPENDS+=      libboost_thread.so:devel/boost-libs
23
LIB_DEPENDS+=      libboost_system.so:devel/boost-libs
24
LIB_DEPENDS+=      libboost_regex.so:devel/boost-libs
25
LIB_DEPENDS+=      libexpat.so:textproc/expat2
26
27
USE_GITHUB=        yes
28
GH_ACCOUNT=        Project-OSRM
29
GH_PROJECT=        osrm-backend
30
31
CMAKE_BUILD_TYPE=  Release
32
33
USES=              cmake:outsource lua:52
34
USE_LDCONFIG=      yes
35
36
USE_RC_SUBR=       osrm
37
USERS=             osrm
38
GROUPS=            osrm
39
40
LUA_VER=5.2
41
42
OSRMSHAREDIR=      ${PREFIX}/share/osrm-backend
43
OSRMPROFILEDIR=    ${ORMSHAREDIR}/profiles
44
45
post-extract:
46
	@${MKDIR}  ${WRKSRC}/build
47
	${RM} -r   ${WRKSRC}/CMakeCache.txt
48
	${RM} -r   ${WRKSRC}/CMakeFiles
49
50
pre-install:
51
52
	${MKDIR}   ${STAGEDIR}/var/db/osrm-backend
53
	${MKDIR}   ${STAGEDIR}${OSRMSHAREDIR}
54
	${MKDIR}   ${STAGEDIR}${PREFIX}/share/osrm/profiles-backend
55
	${CP} -r   ${WRKSRC}/profiles ${STAGEDIR}${PREFIX}/share/osrm-backend
56
.include <bsd.port.mk>
(-)www/osrm-backend/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1501700133
2
SHA256 (Project-OSRM-osrm-backend-v5.9.0_GH0.tar.gz) = bd1ac8a7c8a45b617e32e01cd326c432468c791291a072219627742ecc9ea130
3
SIZE (Project-OSRM-osrm-backend-v5.9.0_GH0.tar.gz) = 4824627
(-)www/osrm-backend/files/osrm.in (+34 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# PROVIDE: osrm
4
# REQUIRE: LOGIN cleanvar
5
# KEYWORD: shutdown
6
7
. /etc/rc.subr
8
9
name="osrm"
10
rcvar=${name}_enable
11
load_rc_config $name
12
13
: ${osrm_user:="osrm"}
14
: ${osrm_group:="osrm"}
15
: ${osrm_flags:=""}
16
: ${osrm_file:=""}
17
: ${osrm_options:="${osrm_flags} ${osrm_file}"}
18
19
20
21
pidfile="/var/run/osrm.pid"
22
procname="/usr/local/bin/osrm-routed"
23
command=/usr/sbin/daemon
24
command_args="-f -c -p ${pidfile} ${procname} ${osrm_options}"
25
start_precmd="osrm_precmd"
26
27
osrm_precmd()
28
{
29
   chown ${osrm_user}:${osrm_group} ${osrm_file}
30
   install -o $osrm_user /dev/null ${pidfile}
31
}
32
33
34
run_rc_command "$1"
(-)www/osrm-backend/pkg-descr (+3 lines)
Line 0 Link Here
1
This is a port of osrm-backend of the open-streetmap project.
2
3
WWW: http://project-osrm.org/
(-)www/osrm-backend/pkg-plist (+110 lines)
Line 0 Link Here
1
bin/osrm-components
2
bin/osrm-contract
3
bin/osrm-customize
4
bin/osrm-datastore
5
bin/osrm-extract
6
bin/osrm-partition
7
bin/osrm-routed
8
include/mapbox/optional.hpp
9
include/mapbox/recursive_wrapper.hpp
10
include/mapbox/variant.hpp
11
include/mapbox/variant_io.hpp
12
include/mapbox/variant_visitor.hpp
13
include/osrm/approach.hpp
14
include/osrm/bearing.hpp
15
include/osrm/contractor.hpp
16
include/osrm/contractor/contractor.hpp
17
include/osrm/contractor/contractor_config.hpp
18
include/osrm/contractor_config.hpp
19
include/osrm/coordinate.hpp
20
include/osrm/engine/api/base_parameters.hpp
21
include/osrm/engine/api/match_parameters.hpp
22
include/osrm/engine/api/nearest_parameters.hpp
23
include/osrm/engine/api/route_parameters.hpp
24
include/osrm/engine/api/table_parameters.hpp
25
include/osrm/engine/api/tile_parameters.hpp
26
include/osrm/engine/api/trip_parameters.hpp
27
include/osrm/engine/approach.hpp
28
include/osrm/engine/bearing.hpp
29
include/osrm/engine/engine_config.hpp
30
include/osrm/engine/hint.hpp
31
include/osrm/engine/phantom_node.hpp
32
include/osrm/engine/status.hpp
33
include/osrm/engine_config.hpp
34
include/osrm/error_codes.hpp
35
include/osrm/exception.hpp
36
include/osrm/extractor.hpp
37
include/osrm/extractor/extractor.hpp
38
include/osrm/extractor/extractor_config.hpp
39
include/osrm/extractor/travel_mode.hpp
40
include/osrm/extractor_config.hpp
41
include/osrm/json_container.hpp
42
include/osrm/match_parameters.hpp
43
include/osrm/nearest_parameters.hpp
44
include/osrm/osrm.hpp
45
include/osrm/osrm_fwd.hpp
46
include/osrm/partition/partition_config.hpp
47
include/osrm/partition/partitioner.hpp
48
include/osrm/route_parameters.hpp
49
include/osrm/status.hpp
50
include/osrm/storage/storage.hpp
51
include/osrm/storage/storage_config.hpp
52
include/osrm/storage_config.hpp
53
include/osrm/table_parameters.hpp
54
include/osrm/tile_parameters.hpp
55
include/osrm/trip_parameters.hpp
56
include/osrm/util/alias.hpp
57
include/osrm/util/coordinate.hpp
58
include/osrm/util/exception.hpp
59
include/osrm/util/json_container.hpp
60
include/osrm/util/typedefs.hpp
61
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm.a
62
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_contract.a
63
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_customize.a
64
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_extract.a
65
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_partition.a
66
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_store.a
67
%%LUA_LIBDIR%%/%%LUA_LIBDIR%%osrm_update.a
68
%%LUA_LIBDIR%%data/pkgconfig/%%LUA_LIBDIR%%osrm.pc
69
%%DATADIR%%/profiles/bicycle.lua
70
%%DATADIR%%/profiles/car.lua
71
%%DATADIR%%/profiles/debug_example.lua
72
%%DATADIR%%/profiles/examples/postgis.lua
73
%%DATADIR%%/profiles/foot.lua
74
%%DATADIR%%/profiles/%%LUA_LIBDIR%%/access.lua
75
%%DATADIR%%/profiles/%%LUA_LIBDIR%%/destination.lua
76
%%DATADIR%%/profiles/%%LUA_LIBDIR%%/guidance.lua
77
%%DATADIR%%/profiles/%%LUA_LIBDIR%%/handlers.lua
78
%%DATADIR%%/profiles/%%LUA_LIBDIR%%/maxspeed.lua
79
%%DATADIR%%/profiles/%%LUA_LIBDIR%%/pprint.lua
80
%%DATADIR%%/profiles/%%LUA_LIBDIR%%/profile_debugger.lua
81
%%DATADIR%%/profiles/%%LUA_LIBDIR%%/sequence.lua
82
%%DATADIR%%/profiles/%%LUA_LIBDIR%%/set.lua
83
%%DATADIR%%/profiles/%%LUA_LIBDIR%%/tags.lua
84
%%DATADIR%%/profiles/rasterbot.lua
85
%%DATADIR%%/profiles/rasterbotinterp.lua
86
%%DATADIR%%/profiles/test.lua
87
%%DATADIR%%/profiles/testbot.lua
88
%%DATADIR%%/profiles/turnbot.lua
89
share/osrm/profiles/bicycle.lua
90
share/osrm/profiles/car.lua
91
share/osrm/profiles/debug_example.lua
92
share/osrm/profiles/examples/postgis.lua
93
share/osrm/profiles/foot.lua
94
share/osrm/profiles/%%LUA_LIBDIR%%/access.lua
95
share/osrm/profiles/%%LUA_LIBDIR%%/destination.lua
96
share/osrm/profiles/%%LUA_LIBDIR%%/guidance.lua
97
share/osrm/profiles/%%LUA_LIBDIR%%/handlers.lua
98
share/osrm/profiles/%%LUA_LIBDIR%%/maxspeed.lua
99
share/osrm/profiles/%%LUA_LIBDIR%%/pprint.lua
100
share/osrm/profiles/%%LUA_LIBDIR%%/profile_debugger.lua
101
share/osrm/profiles/%%LUA_LIBDIR%%/sequence.lua
102
share/osrm/profiles/%%LUA_LIBDIR%%/set.lua
103
share/osrm/profiles/%%LUA_LIBDIR%%/tags.lua
104
share/osrm/profiles/rasterbot.lua
105
share/osrm/profiles/rasterbotinterp.lua
106
share/osrm/profiles/test.lua
107
share/osrm/profiles/testbot.lua
108
share/osrm/profiles/turnbot.lua
109
@dir share/osrm/profiles-backend
110
@dir /var/db/osrm-backend

Return to bug 215524