FreeBSD Ports

lang/bun 1.4.2

JavaScript runtime, bundler, test runner, and package manager

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
fec1cd2f9b
License
MIT, LGPL20
Categories
lang

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

Install

As a binary package — by origin, or by package name:

pkg install lang/bun
pkg install bun

From the ports tree:

cd /usr/ports/lang/bun/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	bun>0:lang/bun

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-----
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latest--n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest-1.4.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 6

Fetch 1

The full lists below include those, and their dependencies in turn.

All build dependencies 25

Configuration

No options to configure.

USES
shebangfix cargo
Service scripts
none

Files

distinfo 237
FileSizeSHA256
bun/bun-freebsd-x64.zip3.6206407e+07ec044ed91c370a16f5e434208dd502093e98ec86a3cb1aff3aad29b13426ecc2
bun/bun-webkit-freebsd-amd64.tar.gz7.9730947e+0711c918a96d70c38c6ed5e350afc8be9bf3a2904f6917da079a48bb8a4a63d51c
bun/node-v26.3.0-headers.tar.gz9.957179e+06fca113c5d5add8bfb1aa31129a24acb8d49aa69ab3c22a2cc569aec88960526d
bun/bun-freebsd-aarch64.zip3.630704e+07a554958e5691c5036e576da78efb4114665da354c882cb0ca059bbd4a896b44a
bun/bun-webkit-freebsd-arm64.tar.gz7.9128236e+07dffcf1623b916fa367906f5821d8c280e7be3adc4a6dd37aca48d7ff38adabb5
bun/oven-sh-bun-bun-v1.4.2_GH0.tar.gz6.4582774e+07e14670b117d69012d828514d657f0a3133d1c25d13d69461184d05b6a8e9a876
bun/oven-sh-boringssl-41bf9b59c2ebf277a7aa427e1ecad5cc80dd4d4f_GH0.tar.gz7.4564872e+07a5028d5475f1eaf0ad785c18666b330027a923121d601129f4a61e7bfc89a1dd
bun/google-brotli-v1.1.0_GH0.tar.gz511969e720a6ca29428b803f4ad165371771f5398faba397edf6778837a18599ea13ff
bun/c-ares-c-ares-c7a3138dcfe3bb0eaaf10c0c24c36dc66dc790ab_GH0.tar.gz608129c9ea1b3029b23b04376c229bd519489cee180874ec48cd863a5dcba628c0fe03
bun/HdrHistogram-HdrHistogram_c-be60a9987ee48d0abf0d7b6a175bad8d6c1585d1_GH0.tar.gz306742811c5e5ae5303a75ade50688880af6aad5d2f951ec5785f68186bd18635cdfc9
bun/google-highway-2607d3b5b0113992fe84d3848859eae13b3b52c1_GH0.tar.gz3.692133e+06741d705781e0b3e406beda8f1f994fbae01321237ce8023a1ad90fbaf7940c25
bun/libarchive-libarchive-ded82291ab41d5e355831b96b0e1ff49e24d8939_GH0.tar.gz6.134289e+06042f0efe7147063ff9ba10f1a38ed080e949bcbd04bdbf3592b8846dd11b1da2
bun/ebiggers-libdeflate-c8c56a20f8f621e6a966b716b31f1dedab6a41e3_GH0.tar.gz1975221e5cc06bdbf3e1245d8b89c9e3588f507e3c8bc53fe8b8229770a9e8661dea81
bun/libjpeg-turbo-libjpeg-turbo-e352b02f794f701407b39af08576035ba3360d60_GH0.tar.gz2.529165e+06440f3a94390c78eab88f74b92944d2f6b248e592e984412e389885dfb5796bf0
bun/randy408-libspng-fb768002d4288590083a476af628e51c3f1d47cd_GH0.tar.gz159282d656813290d70a750b69e768323ff3b3875adf8c2e8c2fdb4e57ca1467abf86a
bun/oven-sh-libuv-8023581113b276e7c1aee3f82da57ca0893faab1_GH0.tar.gz1.368857e+0693bb95e613d8c324e673607282fac0ae25a07368eabcc12c0e2539eaa95b0ecc
bun/webmproject-libwebp-b7e29b9d75bd31422b00c2a446d49d7af06c328d_GH0.tar.gz3.834595e+0676fb89b4454ff2161bb0cca2cf832e19b8b4001b0ef42fbcc2b4a437c945b2b6
bun/oven-sh-lol-html-725ce499aa9b71e38b7a2d0a9fbb6d7294a4079e_GH0.tar.gz570130afd83edbe1a2d4accb72e869cd4218bb8665fda2b7cb2c5106fc4be80001a748
bun/litespeedtech-ls-hpack-8905c024b6d052f083a3d11d0a169b3c2735c8a1_GH0.tar.gz95272607d8bf901bb1b15543f38eabd23938519e1210eebadb52f3d651d6ef130ef973
bun/litespeedtech-ls-qpack-1e9c5b8e59f8161c54f168a570c8bfdc59ded0c3_GH0.tar.gz710309e9d8abe5b7c1e35b9908a9521e2acd7c1d17547babc01d73c7297e02aebbcc2d
Master sites 4
  • GH
  • https://github.com/oven-sh/bun/releases/download/bun-v1.4.2/:bootstrap
  • https://github.com/samm-git/WebKit/releases/download/autobuild-808354a3cce576c0c9ac20ece440fee481e8737d/:webkit
  • https://nodejs.org/dist/v26.3.0/:nodehdr

Commit history 6

DateCommitCreditsLog message
fec1cd2f9b Oleksii Samorukov lang/bun: update to 1.4.2
Update to 1.4.2 and rework the port for the upstream Rust build system. Use lang/rust-nightly-bun instead of the moving lang/rust-nightly, add aarch64 support, keep the patched WebKit fork, and drop the old Zig / sysroot / prebuilt-binary machinery. PR: 299115 Pull Request: https://github.com/freebsd/freebsd-ports/pull/644
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
076733902c Mathieu Arnold lang/bun: fix fetch with new do-fetch.sh
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
84e0697934 Daniel Engberg lang/bun: Mark BROKEN
SHA256 Checksum mismatch for bun/bun-cargo-vendor-lolhtml-1.3.14.tar.gz. expected: 55bd5cbcd4c430c8f8fe8ef3f2bb097da7bfd017a76472d17fb973bb3b49edbb fetched: 0bf1875b4620792fbe44ec74d5a2c5f3c2f2d57a91c6191892a1d7c2c863bab4 size: 4022017 Additionally pkg-fallout also reports build errors spawn failed: ENOEXEC: unknown error, posix_spawn '/wrkdirs/usr/ports/lang/bun/work/oven-zig/bootstrap-x86_64-linux-musl/zig'

The latest 5 of 6 in the history this site was built from.