git: a82ef635fdd4 - main - www/osrm-backend: update to 6.0.0.g20250916
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Sep 2025 09:31:00 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a82ef635fdd49da628bc4256f402ec0a6bea659a
commit a82ef635fdd49da628bc4256f402ec0a6bea659a
Author: Peter Laursen <freebsd@mosedal.net>
AuthorDate: 2025-09-24 13:48:50 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-09-28 09:29:33 +0000
www/osrm-backend: update to 6.0.0.g20250916
- fixes the build with Boost 1.87 and later from upstream
- port has also been updated to the latest commit
Other changes:
- upstream has decided to remove their header files and libraries from
their packages, leaving them as an implementation detail.
- various fixes to speed limits.
- various fixes to unit tests.
- remove a Linux-only tool from the CMakeLists.txt file; it was never
installed and would fail on run-time due to it not being implemented
for FreeBSD.
Changelog: https://github.com/Project-OSRM/osrm-backend/releases/tag/v6.0.0
PR: 285105
Event: EuroBSDcon Devsummit 2025
---
www/osrm-backend/Makefile | 9 ++-------
www/osrm-backend/distinfo | 6 +++---
www/osrm-backend/files/patch-CMakeLists.txt | 17 +++++++++++++++++
www/osrm-backend/pkg-plist | 1 +
4 files changed, 23 insertions(+), 10 deletions(-)
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,7 +1,5 @@
PORTNAME= osrm-backend
-DISTVERSIONPREFIX= v
-DISTVERSION= 5.28.0.d20240803
-PORTREVISION= 4
+DISTVERSION= 6.0.0.g20250916
CATEGORIES= www
MAINTAINER= freebsd@mosedal.net
@@ -14,8 +12,6 @@ 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 \
@@ -29,8 +25,7 @@ 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
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_OBJECTS:UTIL>)
+-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_OBJECTS:UTIL>)
++#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
@@ -114,6 +114,7 @@ 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