Port details
trunk Build, bundle & ship your Rust WASM application to the web
0.22.2 www Σ =0 0.21.14_12Version of this port present on the latest quarterly branch. Maintainer: yuri@FreeBSD.org Port Added: 2023-08-22 07:45:12
Last Update: 2026-11-23 07:56:21
Commit Hash: 95cae6d
Also Listed In: devel
License: APACHE20 MIT
WWW: https://trunkrs.dev/ https://github.com/trunk-rs/trunk Description: # Trunk is a WASM web application bundler for Rust. Trunk uses a simple,
optional-config pattern for building & bundling WASM, JS snippets & other
assets (images, css, scss) via a source HTML file.
Trunk ships with a built-in server for rapid development workflows, as well
as support for HTTP & WebSocket proxies.
Trunk watches your application for changes and triggers builds for you,
including automatic browser reloading. ¦ ¦ ¦ ¦
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist # USE_RC_SUBR (Service Scripts)
no SUBR information found for this port
Dependency lines :
To install the port : # cd /usr/ports/www/trunk/ && make install clean To add the package , run one of these commands: pkg install www/trunk pkg install trunk NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.To download the package and its dependencies for another FreeBSD version or architecture, without installing it: pkg -o ABI=FreeBSD:15:$(pkg config abi | cut -d: -f3) fetch -d -o . trunk Change 15 to the FreeBSD major version you want; the rest keeps your current architecture. The files are saved under ./All/ . Copy them to the other machine and install them there with pkg add . Ignore any warning that suggests pkg bootstrap -f . The quarterly or latest branch comes from your own repository configuration, not from this page.PKGNAME: trunk Flavors: # there is no flavor information for this port. distinfo: # TIMESTAMP = 1795226991
SHA256 (rust/crates/adler2-2.0.1.crate) = 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
SIZE (rust/crates/adler2-2.0.1.crate) = 13366
Packages (timestamps in pop-ups are UTC): #
Dependencies # NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered. Build dependencies: #
rust>=1.99.0 : lang/rust cmake : devel/cmake-core pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies: #
libzstd.so : archivers/zstd
There are no ports dependent upon this port #
Configuration Options : #
No options to configure Options name : #
www_trunk USES: #
cargo
pkg-message: # FreshPorts was unable to extract/find any pkg message Master Sites: #
Commit History - (may be incomplete: for full details, see links to repositories near top of page)
Commit Credits Log message
0.22.2 23 Nov 2026 07:56:21
Yuri Victorovich (yuri)
www/trunk: update 0.22.1 → 0.22.2
0.22.1 29 Oct 2026 09:14:19
Yuri Victorovich (yuri)
www/trunk: update 0.22.0 → 0.22.1
0.22.0 21 Oct 2026 08:42:49
Yuri Victorovich (yuri)
www/trunk: update 0.21.14 → 0.22.0
0.21.14_14 14 Oct 2026 07:38:19
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.99.0
PR: 299016
0.21.14_13 07 Oct 2026 17:28:37
Alan Somers (asomers)
*/*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the
compat-11 symbols until version 0.2.176. Patch a great many Rust ports
to use a newer version of libc, to eliminate the dependency on COMPAT11.
Explicitly patching Cargo.lock isn't usually necessarily, since within
the build jail cargo is forced to use whichever crates Makefile.crates
installs there.
Notes on specific ports:
* textproc/bookokrat: Rework bookokrat's existing patch to be more
robust. Also, report the issue upstream:
https://github.com/bugzmanov/bookokrat/issues/182
(Only the first 15 lines of the commit message are shown above )
0.21.14_12 08 Sep 2026 10:38:00
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.98.1
PR: 298139
0.21.14_11 21 Jul 2026 06:47:24
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.97.1
PR: 296645
0.21.14_10 04 Jun 2026 08:52:51
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.96.0
PR: 295694
0.21.14_9 27 Apr 2026 12:26:47
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.95.0
PR: 294615
0.21.14_8 23 Mar 2026 07:33:11
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.94.0
PR: 293615
0.21.14_7 28 Jan 2026 08:48:51
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.93.0
PR: 292360
0.21.14_6 16 Dec 2025 12:12:31
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.92.0
PR: 291582
0.21.14_5 11 Nov 2025 11:08:12
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.91.1
PR: 290816
0.21.14_4 03 Oct 2025 08:16:50
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.90.0
PR: 289709
0.21.14_3 01 Sep 2025 08:25:04
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.89.0
PR: 288923
0.21.14_2 03 Jul 2025 08:46:01
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.88.0
PR: 287766
0.21.14_1 05 Jun 2025 07:52:53
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.87.0
PR: 286829
0.21.14 09 May 2025 20:47:13
Yuri Victorovich (yuri)
www/trunk: update 0.21.12 → 0.21.14
Reported by: portscout
0.21.12_1 08 Apr 2025 08:41:13
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.86.0
PR: 285840
0.21.12 28 Mar 2025 07:19:17
Yuri Victorovich (yuri)
www/trunk: update 0.21.9 → 0.21.12
Reported by: portscout
0.21.9 15 Mar 2025 08:23:03
Yuri Victorovich (yuri)
www/trunk: update 0.21.8 → 0.21.9
Reported by: portscout
0.21.8 06 Mar 2025 09:03:12
Yuri Victorovich (yuri)
www/trunk: update 0.21.7 → 0.21.8
Reported by: portscout
0.21.7_1 24 Feb 2025 07:55:52
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.85.0
PR: 284884
0.21.7 22 Jan 2025 09:53:58
Yuri Victorovich (yuri)
www/trunk: update 0.21.6 → 0.21.7
Reported by: portscout
0.21.6 21 Jan 2025 09:21:19
Yuri Victorovich (yuri)
www/trunk: update 0.21.5 → 0.21.6
Reported by: portscout
0.21.5_1 20 Jan 2025 11:06:50
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.84.0
PR: 283962
0.21.5 12 Jan 2025 21:41:50
Piotr Kubaj (pkubaj)
www/trunk: fix build on powerpc
= note: ld: error:
/wrkdirs/usr/ports/www/trunk/work/target/release/deps/libcrates_io_api-9946b7cb53ff3011.rlib(crates_io_api-9946b7cb53ff3011.crates_io_api.a4b984a955783cb7-cgu.0.rcgu.o):
Invalid attribute group entry (Producer: 'LLVM19.1.1-rust-1.83.0-stable' Reader:
'LLVM 18.1.6')
cc: error: linker command failed with exit code 1 (use -v to see
invocation)
0.21.5 17 Dec 2024 09:45:38
Yuri Victorovich (yuri)
www/trunk: update 0.21.4 → 0.21.5
Reported by: portscout
0.21.4_1 01 Dec 2024 09:24:18
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.83.0
PR: 283000
0.21.4 09 Nov 2024 06:06:10
Yuri Victorovich (yuri)
www/trunk: update 0.21.3 → 0.21.4
Reported by: portscout
0.21.3_1 08 Nov 2024 08:24:20
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.82.0
PR: 282516
0.21.3 07 Nov 2024 09:27:55
Yuri Victorovich (yuri)
www/trunk: update 0.21.2 → 0.21.3
Reported by: portscout
0.21.2 31 Oct 2024 08:28:15
Yuri Victorovich (yuri)
www/trunk: update 0.21.1 → 0.21.2
Reported by: portscout
0.21.1 26 Oct 2024 03:15:23
Yuri Victorovich (yuri)
www/trunk: Update WWW
0.21.1 17 Oct 2024 02:56:40
Yuri Victorovich (yuri)
www/trunk: update 0.21.0 → 0.21.1
Reported by: portscout
0.21.0 15 Oct 2024 05:36:33
Yuri Victorovich (yuri)
www/trunk: update 0.20.3 → 0.21.0
Reported by: portscout
0.20.3_2 10 Sep 2024 11:00:34
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.81.0
PR: 281300
0.20.3_1 10 Sep 2024 10:58:07
Mikael Urankar (mikael) Author: Siva Mahadevan
*/*: remove STRIP_CMD calls in rust based ports
This is not needed after bc4fedc1fec0d359365c04d43be9e32bf101a50e
PR: 246993
Differential Revision: https://reviews.freebsd.org/D46503
0.20.3_1 26 Aug 2024 08:08:01
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.80.1
PR: 280490
0.20.3 08 Aug 2024 17:18:43
Yuri Victorovich (yuri)
www/trunk: update 0.20.2 → 0.20.3
Reported by: portscout
0.20.2_1 04 Aug 2024 12:00:11
Piotr Kubaj (pkubaj)
www/trunk: fix build on powerpc
rustc-LLVM ERROR: out of memory
0.20.2_1 18 Jun 2024 10:59:14
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.79.0
PR: 279707
0.20.2 06 Jun 2024 08:49:00
Yuri Victorovich (yuri)
www/trunk: update 0.20.1 → 0.20.2
Reported by: portscout
0.20.1_1 13 May 2024 11:03:24
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.78.0
PR: 278834
0.20.1 11 May 2024 15:42:28
Yuri Victorovich (yuri)
www/trunk: update 0.20.0 → 0.20.1
Reported by: portscout
0.20.0 04 May 2024 08:27:26
Yuri Victorovich (yuri)
www/trunk: update 0.19.3 → 0.20.0
Reported by: portscout
0.19.3 01 May 2024 04:30:07
Yuri Victorovich (yuri)
www/trunk: Fix build on i386
Reported by: fallout
0.19.3 28 Apr 2024 21:17:51
Yuri Victorovich (yuri)
www/trunk: Fix build on i386
Reported by: fallout
0.19.3 27 Apr 2024 05:55:20
Yuri Victorovich (yuri)
www/trunk: update 0.19.2 → 0.19.3
Reported by: portscout
0.19.2 12 Apr 2024 04:34:17
Yuri Victorovich (yuri)
www/trunk: update 0.19.1 → 0.19.2
Reported by: portscout
0.19.1_1 23 Mar 2024 09:41:46
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.77.0
PR: 277786
0.19.1 15 Mar 2024 15:46:28
Yuri Victorovich (yuri)
www/trunk: update 0.19.0 → 0.19.1
Reported by: portscout
0.19.0 09 Mar 2024 07:34:24
Yuri Victorovich (yuri)
www/trunk: update 0.18.8 → 0.19.0
Reported by: portscout
0.18.8_1 19 Feb 2024 11:59:23
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.76.0
PR: 276920
0.18.8 11 Feb 2024 19:02:57
Yuri Victorovich (yuri)
www/trunk: update 0.18.7 → 0.18.8
Reported by: portscout
0.18.7 30 Jan 2024 08:56:29
Yuri Victorovich (yuri)
www/trunk: update 0.18.6 → 0.18.7
Reported by: portscout
0.18.6 18 Jan 2024 18:08:15
Yuri Victorovich (yuri)
www/trunk: update 0.18.4 → 0.18.6
Reported by: portscout
0.18.4_1 09 Jan 2024 12:15:54
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.75.0
PR: 276033
0.18.4 09 Jan 2024 10:05:11
Yuri Victorovich (yuri)
www/trunk: update 0.18.3 → 0.18.4
Reported by: portscout
0.18.3 21 Dec 2023 08:24:04
Yuri Victorovich (yuri)
www/trunk: update 0.18.2 → 0.18.3
Reported by: portscout
0.18.2 20 Dec 2023 07:02:24
Yuri Victorovich (yuri)
www/trunk: update 0.18.1 → 0.18.2
Reported by: portscout
0.18.1 19 Dec 2023 06:36:11
Yuri Victorovich (yuri)
www/trunk: update 0.18.0 → 0.18.1
Reported by: portscout
0.18.0 13 Dec 2023 08:53:54
Yuri Victorovich (yuri)
www/trunk: update 0.17.5 → 0.18.0
Reported by: portscout
0.17.5_3 08 Dec 2023 15:04:09
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.74.1
PR: 275243
0.17.5_2 24 Oct 2023 10:22:32
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.73.0
PR: 274499
0.17.5_1 08 Sep 2023 09:06:24
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.72.0
PR: 273331
0.17.5 22 Aug 2023 07:44:22
Yuri Victorovich (yuri)
www/trunk: New port: Build, bundle & ship your Rust WASM application to the web