Page MenuHomeFreeBSD

sysutils/runj: new port
ClosedPublic

Authored by dch on Mar 16 2021, 8:26 PM.

Details

Summary

runj is an experimental, proof-of-concept OCI-compatible runtime for
FreeBSD jails.

Important: runj is a proof-of-concept and the implementation has not
been evaluated for its security. Do not use runj on a production
system. Do not run workloads inside runj that rely on a secure
configuration. This is a personal project, not backed by the
author's employer.

WWW: https://github.com/samuelkarp/runj

Test Plan
  • needs poudriere + usage tests still
    • waiting on upstream to confirm if they want a port atm

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dch requested review of this revision.Mar 16 2021, 8:26 PM
tobik added inline comments.
sysutils/runj/Makefile
18 ↗(On Diff #85853)

.include "Makefile.deps"

20–22 ↗(On Diff #85853)

The binaries have the same name as the packages and the default install is to ${PREFIX}/bin. The :bin/* bits are redundant.

GO_TARGET=	./cmd/runj \
		./cmd/runj-entrypoint \
		./cmd/containerd-shim-runj-v1
28–32 ↗(On Diff #85853)

Why is this needed? It seems redundant too. USES=go installs the binaries with INSTALL_PROGRAM and go build is passed -ldflags=-s. They should already be stripped by that anyway.

sysutils/runj/pkg-descr
1 ↗(On Diff #85853)

s/unj/runj/

This revision was not accepted when it landed; it landed in state Needs Review.Mar 17 2021, 1:50 PM
Closed by commit rP568659: sysutils/runj: new port (authored by dch). · Explain Why
This revision was automatically updated to reflect the committed changes.
dch marked 3 inline comments as done.

missed tobik feedback

dch marked an inline comment as done.
This revision is now accepted and ready to land.Mar 17 2021, 2:01 PM
This revision was automatically updated to reflect the committed changes.