diff --git a/www/osrm-backend/Makefile b/www/osrm-backend/Makefile index a79248712031..c2fb1e9ffbd7 100644 --- a/www/osrm-backend/Makefile +++ b/www/osrm-backend/Makefile @@ -1,51 +1,46 @@ PORTNAME= osrm-backend -DISTVERSIONPREFIX= v -DISTVERSION= 5.28.0.d20240803 -PORTREVISION= 4 +DISTVERSION= 6.0.0.g20250916 CATEGORIES= www MAINTAINER= freebsd@mosedal.net COMMENT= Open Source Routing Machine (Backend) WWW= https://project-osrm.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.TXT NOT_FOR_ARCHS= armv7 i386 powerpc NOT_FOR_ARCHS_REASON= Building on a 32 bit system is not supported -BROKEN= fails to build with Boost>=1.87 - BUILD_DEPENDS= ${LOCALBASE}/include/sol:devel/sol2 LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libboost_iostreams.so:devel/boost-libs \ libboost_program_options.so:devel/boost-libs \ libboost_regex.so:devel/boost-libs \ libboost_thread.so:devel/boost-libs \ libexpat.so:textproc/expat2 \ libtbb.so:devel/onetbb USES= cmake compiler:c++20-lang lua:54 pkgconfig USE_GITHUB= yes GH_ACCOUNT= Project-OSRM -GH_TAGNAME= 203314b1 - +GH_TAGNAME= 0ae940c31566df2aec0ecd679c84c11ede9831ef USE_RC_SUBR= osrm CMAKE_ON= BUILD_STATIC_LIBS USERS= osrm GROUPS= osrm pre-configure: ${REINPLACE_CMD} \ -e 's,$${CMAKE_CURRENT_SOURCE_DIR}/third_party/sol2/include,${LOCALBASE}/include/sol,' \ ${WRKSRC}/CMakeLists.txt post-patch: @${REINPLACE_CMD} -e 's|-Werror=all -Werror=extra|-Werror=extra|g' \ ${PATCH_WRKSRC}/CMakeLists.txt pre-install: @${MKDIR} ${STAGEDIR}/var/db/osrm-backend .include diff --git a/www/osrm-backend/distinfo b/www/osrm-backend/distinfo index 49e368257b34..d13648fea482 100644 --- a/www/osrm-backend/distinfo +++ b/www/osrm-backend/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1724904258 -SHA256 (Project-OSRM-osrm-backend-v5.28.0.d20240803-203314b1_GH0.tar.gz) = be19020227a513391e52dd6167bf5754e164befcfa89548c8f579601ec65c0ab -SIZE (Project-OSRM-osrm-backend-v5.28.0.d20240803-203314b1_GH0.tar.gz) = 11279877 +TIMESTAMP = 1758958613 +SHA256 (Project-OSRM-osrm-backend-6.0.0.g20250916-0ae940c31566df2aec0ecd679c84c11ede9831ef_GH0.tar.gz) = d49d3b2167fe28f63066291d0eda58c4ec2a5b3cbb7943d82e4602753252f63e +SIZE (Project-OSRM-osrm-backend-6.0.0.g20250916-0ae940c31566df2aec0ecd679c84c11ede9831ef_GH0.tar.gz) = 10696992 diff --git a/www/osrm-backend/files/patch-CMakeLists.txt b/www/osrm-backend/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..3dd7506179c9 --- /dev/null +++ b/www/osrm-backend/files/patch-CMakeLists.txt @@ -0,0 +1,17 @@ +--- CMakeLists.txt.orig 2025-02-23 16:13:28 UTC ++++ CMakeLists.txt +@@ -512,9 +512,11 @@ install(TARGETS osrm-components DESTINATION bin) + target_link_libraries(osrm-components ${TBB_LIBRARIES} ${BOOST_BASE_LIBRARIES} ${UTIL_LIBRARIES}) + install(TARGETS osrm-components DESTINATION bin) + +-add_executable(osrm-io-benchmark src/tools/io-benchmark.cpp $) +-target_link_libraries(osrm-io-benchmark ${BOOST_BASE_LIBRARIES} ${TBB_LIBRARIES}) +-install(TARGETS osrm-io-benchmark DESTINATION bin) ++# IO-Benchmark tool is nut supported on FreeBSD according to upstream. ++# It is also currently not installed and it causes a build error. ++#add_executable(osrm-io-benchmark src/tools/io-benchmark.cpp $) ++#target_link_libraries(osrm-io-benchmark ${BOOST_BASE_LIBRARIES} ${TBB_LIBRARIES}) ++#install(TARGETS osrm-io-benchmark DESTINATION bin) + + if (ENABLE_ASSERTIONS) + message(STATUS "Enabling assertions") diff --git a/www/osrm-backend/pkg-plist b/www/osrm-backend/pkg-plist index 2a22e8a9f607..a30a9a7cd9fc 100644 --- a/www/osrm-backend/pkg-plist +++ b/www/osrm-backend/pkg-plist @@ -1,131 +1,132 @@ bin/osrm-components bin/osrm-contract bin/osrm-customize bin/osrm-datastore bin/osrm-extract bin/osrm-partition bin/osrm-routed include/flatbuffers/allocator.h include/flatbuffers/array.h include/flatbuffers/base.h include/flatbuffers/buffer.h include/flatbuffers/buffer_ref.h include/flatbuffers/code_generator.h include/flatbuffers/code_generators.h include/flatbuffers/default_allocator.h include/flatbuffers/detached_buffer.h include/flatbuffers/file_manager.h include/flatbuffers/flatbuffer_builder.h include/flatbuffers/flatbuffers.h include/flatbuffers/flatc.h include/flatbuffers/flex_flat_util.h include/flatbuffers/flexbuffers.h include/flatbuffers/grpc.h include/flatbuffers/hash.h include/flatbuffers/idl.h include/flatbuffers/minireflect.h include/flatbuffers/reflection.h include/flatbuffers/reflection_generated.h include/flatbuffers/registry.h include/flatbuffers/stl_emulation.h include/flatbuffers/string.h include/flatbuffers/struct.h include/flatbuffers/table.h include/flatbuffers/util.h include/flatbuffers/vector.h include/flatbuffers/vector_downward.h include/flatbuffers/verifier.h 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/customizer.hpp include/osrm/customizer_config.hpp include/osrm/datasets.hpp include/osrm/engine/api/base_parameters.hpp include/osrm/engine/api/base_result.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/partitioner.hpp include/osrm/partitioner/partitioner.hpp include/osrm/partitioner/partitioner_config.hpp include/osrm/partitioner_config.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/bearing.hpp include/osrm/util/coordinate.hpp include/osrm/util/exception.hpp include/osrm/util/json_container.hpp include/osrm/util/typedefs.hpp lib/libosrm.a lib/libosrm_contract.a lib/libosrm_customize.a lib/libosrm_extract.a lib/libosrm_guidance.a lib/libosrm_partition.a lib/libosrm_store.a lib/libosrm_update.a libdata/pkgconfig/libosrm.pc share/osrm/data/driving_side.geojson share/osrm/data/maxheight.geojson share/osrm/profiles/bicycle.lua share/osrm/profiles/car.lua share/osrm/profiles/debug_example.lua share/osrm/profiles/debug_way.lua share/osrm/profiles/examples/postgis.lua share/osrm/profiles/foot.lua share/osrm/profiles/lib/access.lua share/osrm/profiles/lib/destination.lua share/osrm/profiles/lib/guidance.lua share/osrm/profiles/lib/maxspeed.lua share/osrm/profiles/lib/measure.lua +share/osrm/profiles/lib/obstacles.lua share/osrm/profiles/lib/pprint.lua share/osrm/profiles/lib/profile_debugger.lua share/osrm/profiles/lib/relations.lua share/osrm/profiles/lib/sequence.lua share/osrm/profiles/lib/set.lua share/osrm/profiles/lib/tags.lua share/osrm/profiles/lib/traffic_signal.lua share/osrm/profiles/lib/utils.lua share/osrm/profiles/lib/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