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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | - | - | - | - |
| FreeBSD:14:quarterly | - | - | n/a | - | - |
| FreeBSD:15:latest | - | - | n/a | - | - |
| FreeBSD:15:quarterly | - | - | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 1.4.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 6
${LOCALBASE}/llvm21/bin/clang++: devel/llvm21${LOCALBASE}/llvm21/bin/ld.lld: devel/llvm21${LOCALBASE}/rust-nightly-bun/bin/cargo: lang/rust-nightly-bun${LOCALBASE}/bin/cmake: devel/cmake-core${LOCALBASE}/bin/ninja: devel/ninjagit: devel/git
Fetch 1
${LOCALBASE}/rust-nightly-bun/bin/cargo: lang/rust-nightly-bun
The full lists below include those, and their dependencies in turn.
All build dependencies 25
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/cmake-core
- devel/gettext-runtime
- devel/git
- devel/jsoncpp
- devel/libffi
- devel/libunistring
- devel/libuv
- devel/llvm21
- devel/ninja
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/python312
- lang/rust-nightly-bun
- math/mpdecimal
- ports-mgmt/pkg
- print/indexinfo
- security/libssh2
- security/rhash
- textproc/expat2
- www/libnghttp2
Required by 2
Configuration
No options to configure.
- USES
- shebangfix cargo
- Service scripts
- none
Files
distinfo 237
| File | Size | SHA256 |
|---|---|---|
| bun/bun-freebsd-x64.zip | 3.6206407e+07 | ec044ed91c370a16f5e434208dd502093e98ec86a3cb1aff3aad29b13426ecc2 |
| bun/bun-webkit-freebsd-amd64.tar.gz | 7.9730947e+07 | 11c918a96d70c38c6ed5e350afc8be9bf3a2904f6917da079a48bb8a4a63d51c |
| bun/node-v26.3.0-headers.tar.gz | 9.957179e+06 | fca113c5d5add8bfb1aa31129a24acb8d49aa69ab3c22a2cc569aec88960526d |
| bun/bun-freebsd-aarch64.zip | 3.630704e+07 | a554958e5691c5036e576da78efb4114665da354c882cb0ca059bbd4a896b44a |
| bun/bun-webkit-freebsd-arm64.tar.gz | 7.9128236e+07 | dffcf1623b916fa367906f5821d8c280e7be3adc4a6dd37aca48d7ff38adabb5 |
| bun/oven-sh-bun-bun-v1.4.2_GH0.tar.gz | 6.4582774e+07 | e14670b117d69012d828514d657f0a3133d1c25d13d69461184d05b6a8e9a876 |
| bun/oven-sh-boringssl-41bf9b59c2ebf277a7aa427e1ecad5cc80dd4d4f_GH0.tar.gz | 7.4564872e+07 | a5028d5475f1eaf0ad785c18666b330027a923121d601129f4a61e7bfc89a1dd |
| bun/google-brotli-v1.1.0_GH0.tar.gz | 511969 | e720a6ca29428b803f4ad165371771f5398faba397edf6778837a18599ea13ff |
| bun/c-ares-c-ares-c7a3138dcfe3bb0eaaf10c0c24c36dc66dc790ab_GH0.tar.gz | 608129 | c9ea1b3029b23b04376c229bd519489cee180874ec48cd863a5dcba628c0fe03 |
| bun/HdrHistogram-HdrHistogram_c-be60a9987ee48d0abf0d7b6a175bad8d6c1585d1_GH0.tar.gz | 306742 | 811c5e5ae5303a75ade50688880af6aad5d2f951ec5785f68186bd18635cdfc9 |
| bun/google-highway-2607d3b5b0113992fe84d3848859eae13b3b52c1_GH0.tar.gz | 3.692133e+06 | 741d705781e0b3e406beda8f1f994fbae01321237ce8023a1ad90fbaf7940c25 |
| bun/libarchive-libarchive-ded82291ab41d5e355831b96b0e1ff49e24d8939_GH0.tar.gz | 6.134289e+06 | 042f0efe7147063ff9ba10f1a38ed080e949bcbd04bdbf3592b8846dd11b1da2 |
| bun/ebiggers-libdeflate-c8c56a20f8f621e6a966b716b31f1dedab6a41e3_GH0.tar.gz | 197522 | 1e5cc06bdbf3e1245d8b89c9e3588f507e3c8bc53fe8b8229770a9e8661dea81 |
| bun/libjpeg-turbo-libjpeg-turbo-e352b02f794f701407b39af08576035ba3360d60_GH0.tar.gz | 2.529165e+06 | 440f3a94390c78eab88f74b92944d2f6b248e592e984412e389885dfb5796bf0 |
| bun/randy408-libspng-fb768002d4288590083a476af628e51c3f1d47cd_GH0.tar.gz | 159282 | d656813290d70a750b69e768323ff3b3875adf8c2e8c2fdb4e57ca1467abf86a |
| bun/oven-sh-libuv-8023581113b276e7c1aee3f82da57ca0893faab1_GH0.tar.gz | 1.368857e+06 | 93bb95e613d8c324e673607282fac0ae25a07368eabcc12c0e2539eaa95b0ecc |
| bun/webmproject-libwebp-b7e29b9d75bd31422b00c2a446d49d7af06c328d_GH0.tar.gz | 3.834595e+06 | 76fb89b4454ff2161bb0cca2cf832e19b8b4001b0ef42fbcc2b4a437c945b2b6 |
| bun/oven-sh-lol-html-725ce499aa9b71e38b7a2d0a9fbb6d7294a4079e_GH0.tar.gz | 570130 | afd83edbe1a2d4accb72e869cd4218bb8665fda2b7cb2c5106fc4be80001a748 |
| bun/litespeedtech-ls-hpack-8905c024b6d052f083a3d11d0a169b3c2735c8a1_GH0.tar.gz | 952726 | 07d8bf901bb1b15543f38eabd23938519e1210eebadb52f3d651d6ef130ef973 |
| bun/litespeedtech-ls-qpack-1e9c5b8e59f8161c54f168a570c8bfdc59ded0c3_GH0.tar.gz | 710309 | e9d8abe5b7c1e35b9908a9521e2acd7c1d17547babc01d73c7297e02aebbcc2d |
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
The latest 5 of 6 in the history this site was built from.