BSD Ports

lang/bun-linux 1.3.14 FreeBSD

Linux version of Bun JavaScript runtime and package manager

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
aadd75adc4
License
LGPL20
Categories
lang
Package size
26072.8 KiB, 89675.3 KiB installed

Description

Bun is a fast JavaScript runtime, bundler, transpiler, and package manager -- all in one.

This port installs the Linux binary of bun, which runs on FreeBSD through the Linuxulator compatibility layer.

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

Binary package:

pkg install bun-linux

From the ports tree:

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

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

RUN_DEPENDS=	bun-linux>0:lang/bun-linux

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:latest1.3.141.3.14---
FreeBSD:14:quarterly1.3.141.3.14n/a--
FreeBSD:15:latest1.3.141.3.14n/a--
FreeBSD:15:quarterly1.3.141.3.14n/an/an/a
FreeBSD:16:latest1.3.141.3.14n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
linux:rl9 zip
Service scripts
none
Conflicts with
bun

Message after installing

You installed the Linux version of Bun.

The 'bun' command runs the Linux binary through the Linuxulator.
Make sure /compat/linux/proc is mounted before using bun:

  sudo mount -t linprocfs linprocfs /compat/linux/proc

Run 'bun --help' to get started.

Files

distinfo 2
FileSizeSHA256
bun-linux-1.3.14/bun-linux-x64-baseline.zip3.5595658e+07a063908ae08b7852ca10939bbdc6ceed3ddabce8fb9402dce83d65d73b36e6c7
bun-linux-1.3.14/bun-linux-aarch64.zip3.5700603e+07a27ffb63a8310375836e0d6f668ae17fa8d8d18b88c37c821c65331973a19a3b
Master sites 2
  • https://github.com/oven-sh/bun/releases/download/bun-v1.3.14/:amd64
  • https://github.com/oven-sh/bun/releases/download/bun-v1.3.14/:aarch64

Commit history 1

DateCommitCreditsLog message
aadd75adc4 Yuri Victorovich lang/bun-linux: New port: Linux version of Bun JavaScript runtime and package manager