notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
bun JavaScript runtime, bundler, test runner, and package manager
1.3.14_4 lang on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.3.14_3Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-04-28 00:21:07
Last Update: 2026-07-21 06:47:24
Commit Hash: 9c892d2
People watching this port, also watch:: tmux, powerdns, rc, sudo-rs, monit
License: LGPL20
WWW:
https://bun.com/
https://github.com/oven-sh/bun
Description:
Bun is a fast JavaScript runtime, bundler, transpiler, and package manager -- all in one. Key features: - Up to 4x faster startup time than Node.js - Native TypeScript and JSX support (no separate transpilation step) - Built-in package manager (npm-compatible) with global caching - Built-in test runner, bundler, and transpiler - Web-standard APIs: fetch, WebSocket, ReadableStream, etc. - Node.js compatibility: most Node.js built-in modules work out of the box - Zig, C++, and Rust -- for maximum performance
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. bin/bun
  2. /usr/local/share/licenses/bun-1.3.14_4/catalog.mk
  3. /usr/local/share/licenses/bun-1.3.14_4/LICENSE
  4. /usr/local/share/licenses/bun-1.3.14_4/LGPL20
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • bun>0:lang/bun
To install the port:
cd /usr/ports/lang/bun/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/bun
  • pkg install bun
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: bun
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: amd64
distinfo:
TIMESTAMP = 1779128958 SHA256 (bun/bootstrap-x86_64-linux-musl.zip) = 0c09b44c0b2432d7ad8a759b685ba8ae1f883902851ac52e282ad60a89bebe42 SIZE (bun/bootstrap-x86_64-linux-musl.zip) = 100112252

Expand this list (16 items)

Collapse this list.

SHA256 (bun/bun-webkit-freebsd-amd64.tar.gz) = 2bbab3f44e3b3d7961408c703271285ca3cc4d128d7ff9fc54dc5ab112e89fbf SIZE (bun/bun-webkit-freebsd-amd64.tar.gz) = 37660405 SHA256 (bun/node-v24.3.0-headers.tar.gz) = 045e9bf477cd5db0ec67f8c1a63ba7f784dedfe2c581e3d0ed09b88e9115dd07 SIZE (bun/node-v24.3.0-headers.tar.gz) = 8747815 SHA256 (bun/bun-1.3.13-93-bootstrap) = aea7f1c221f812d726aad220ecc879914bbe49b05e5bd4e76c3155ec0a133f54 SIZE (bun/bun-1.3.13-93-bootstrap) = 105685712 SHA256 (bun/bun-node-modules-1.3.14.tar.gz) = 5fa07dc80359b9144253c67e67e8519840de9652b40a8fda223db4e74d91c0c6 SIZE (bun/bun-node-modules-1.3.14.tar.gz) = 31861513 SHA256 (bun/bun-dep-tarballs-1.3.14.tar.gz) = 8cf5f1aaae1f3494bde36d358fd5d8046e62a4aea48431f99b1317e33dc603ac SIZE (bun/bun-dep-tarballs-1.3.14.tar.gz) = 98808662 SHA256 (bun/bun-cargo-vendor-lolhtml-1.3.14.tar.gz) = 55bd5cbcd4c430c8f8fe8ef3f2bb097da7bfd017a76472d17fb973bb3b49edbb SIZE (bun/bun-cargo-vendor-lolhtml-1.3.14.tar.gz) = 4020543 SHA256 (bun/oven-sh-bun-bun-v1.3.14_GH0.tar.gz) = 112a5915992807f04b183854d360c2bf87ac7c1587fb5da3c560bdbb75b8c92e SIZE (bun/oven-sh-bun-bun-v1.3.14_GH0.tar.gz) = 54898395 SHA256 (bun/simdutf-simdutf-v8.2.0_GH0.tar.gz) = 033a91b1d7d1cb818c1eff49e61faaa1b64a3a530d59ef9efef0195e56bda8b1 SIZE (bun/simdutf-simdutf-v8.2.0_GH0.tar.gz) = 2403142

Collapse this list.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. clang++ : devel/llvm21
  2. cmake : devel/cmake-core
  3. git : devel/git
  4. ninja : devel/ninja
  5. cargo : lang/rust
  6. node : www/node24
  7. npm : www/npm-node24
Test dependencies:
  1. bash : shells/bash
Fetch dependencies:
  1. npm : www/npm-node24
  2. git : devel/git
  3. cargo : lang/rust
  4. clang++ : devel/llvm21
  5. cmake : devel/cmake-core
  6. ninja : devel/ninja
  7. node : www/node24
This port is required by:
for Run
  1. misc/bun-decompile

Configuration Options:
No options to configure
Options name:
lang_bun
USES:
shebangfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/oven-sh/bun/tar.gz/bun-v1.3.14?dummy=/
Collapse this list.

Number of commits found: 9

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.3.14_4
21 Jul 2026 06:47:24
commit hash: 9c892d26015fa543bc587dcd7d241c57af7e13f4commit hash: 9c892d26015fa543bc587dcd7d241c57af7e13f4commit hash: 9c892d26015fa543bc587dcd7d241c57af7e13f4commit hash: 9c892d26015fa543bc587dcd7d241c57af7e13f4 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.97.1

PR:		296645
1.3.14_3
30 Jun 2026 20:03:57
commit hash: b6ec06f079e1c883d32c788c0285c6d492eeb1c0commit hash: b6ec06f079e1c883d32c788c0285c6d492eeb1c0commit hash: b6ec06f079e1c883d32c788c0285c6d492eeb1c0commit hash: b6ec06f079e1c883d32c788c0285c6d492eeb1c0 files touched by this commit
Tijl Coosemans (tijl) search for other commits by this committer
*/*: Use C.UTF-8 locale

Ports 02f27a83b44d fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible
with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just
upper case letters.  USE_LOCALE was introduced to let ports use another
locale if they needed it.  The C.UTF-8 locale was created later on to be
mostly compatible with the C locale.

Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE.  The
world has moved to Unicode so all ports either require it or know how to
build correctly in a Unicode environment.

PR:		295945
Exp-run by:	antoine
1.3.14_3
04 Jun 2026 08:52:51
commit hash: e29b5eeec31db62161d9f83c4ea2ddff023e5d00commit hash: e29b5eeec31db62161d9f83c4ea2ddff023e5d00commit hash: e29b5eeec31db62161d9f83c4ea2ddff023e5d00commit hash: e29b5eeec31db62161d9f83c4ea2ddff023e5d00 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.96.0

PR:		295694
1.3.14_2
26 May 2026 04:43:14
commit hash: 96a261f407933457c94392eeac8f0cda128a999ccommit hash: 96a261f407933457c94392eeac8f0cda128a999ccommit hash: 96a261f407933457c94392eeac8f0cda128a999ccommit hash: 96a261f407933457c94392eeac8f0cda128a999c files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
lang/bun: Add LLVM_VER=21 with explanation for why it is needed
1.3.14_2
24 May 2026 20:47:58
commit hash: 432159b93e901c4bde65ebf9f8e6485855676b6fcommit hash: 432159b93e901c4bde65ebf9f8e6485855676b6fcommit hash: 432159b93e901c4bde65ebf9f8e6485855676b6fcommit hash: 432159b93e901c4bde65ebf9f8e6485855676b6f files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
lang/bun: Partially respect CPUTYPE

Bun has a very complex build system using Zig and Rust languages.
It is now respecting CPUTYPE for the most part, but it uses the
bundled FreeBSD binary WebKit with bun-related patches which still
brings in some x86-64-v4 and latest SSE instructions.

This can be resolved by creating a dedicated port for bun-patched
WebKit.
1.3.14_1
19 May 2026 00:04:26
commit hash: 111447bfcc9eff98d457a131bc236529d5a84c77commit hash: 111447bfcc9eff98d457a131bc236529d5a84c77commit hash: 111447bfcc9eff98d457a131bc236529d5a84c77commit hash: 111447bfcc9eff98d457a131bc236529d5a84c77 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
lang/bun: Fix fetch by adding package-lock*.json files to freeze dependencies
1.3.14
17 May 2026 23:23:01
commit hash: acb8da5835e21078121405a07437ec66e4f1cf53commit hash: acb8da5835e21078121405a07437ec66e4f1cf53commit hash: acb8da5835e21078121405a07437ec66e4f1cf53commit hash: acb8da5835e21078121405a07437ec66e4f1cf53 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
lang/bun: Fix fetch

Reported by:	Jimmy Olgeni <olgeni@FreeBSD.org>
1.3.14
14 May 2026 03:13:49
commit hash: b81bc7a0b651f1d9f6b2042a55a6d985261f332fcommit hash: b81bc7a0b651f1d9f6b2042a55a6d985261f332fcommit hash: b81bc7a0b651f1d9f6b2042a55a6d985261f332fcommit hash: b81bc7a0b651f1d9f6b2042a55a6d985261f332f files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
lang/bun: update 1.3.13-93 → 1.3.14
1.3.13.93
28 Apr 2026 00:17:47
commit hash: 8407c9414efb4948e63c15ec66c0cb182c1f30cdcommit hash: 8407c9414efb4948e63c15ec66c0cb182c1f30cdcommit hash: 8407c9414efb4948e63c15ec66c0cb182c1f30cdcommit hash: 8407c9414efb4948e63c15ec66c0cb182c1f30cd files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
lang/bun: New port: JavaScript runtime, bundler, test runner, and package
manager

Number of commits found: 9