BSD Ports

ai/github-copilot-cli 1.0.75 MidnightBSD

CLI for GitHub Copilot

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
e6d5fec3de
License
GITHUB_COPILOT_CLI
Categories
ai, linux

Description

GitHub Copilot CLI is a command-line tool 'copilot' for interacting with GitHub Copilot AI pair programmer.

copilot is a closed source Linux binary working through Linuxlator.

In the other systems

SystemPortVersion
MidnightBSDai/github-copilot-cli1.0.75
FreeBSDmisc/github-copilot-cli1.0.101

Install

Binary package:

mport install github-copilot-cli

From mports:

cd /usr/mports/ai/github-copilot-cli && make install clean

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

RUN_DEPENDS=	github-copilot-cli>0:ai/github-copilot-cli

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
linux:rl9 python:patch
Service scripts
none

Files

distinfo 1
FileSizeSHA256
github-copilot-cli-1.0.75/copilot-linux-x64.tar.gz1.05262977e+08d304ef66c0c1d2de7d736b3653b36557e80b4f40a0bf8c4a71e7215f3aff7441
Master sites 1
  • https://github.com/github/copilot-cli/releases/download/v1.0.75/

Commit history 6

DateCommitCreditsLog message
e6d5fec3de Lucas Holt ai/github-copilot-cli: run the phdr relocation after the patch phase
The program header relocation needs python, but python:build registers a BUILD_DEPENDS, and those are only installed at the start of the configure phase -- well after post-extract runs: make: exec(/usr/local/bin/python3.12) failed (No such file or directory) Use python:patch and do the work in post-patch, which runs after patch-depends. The relocation now reports "moved 14 program headers to offset 64" and the port packages. AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>
9d066e09da Lucas Holt ai/github-copilot-cli: update
c92f28f187 Lucas Holt ai/github-copilot-cli: 1.0.72
68487fbc44 Lucas Holt ai/github-copilot-cli: switch to the prebuilt Linux binary, fix ENOEXEC
Replace the npm-built port with the upstream copilot-linux-x64 release running under Linux emulation, and keep the old npm-based port as ai/github-copilot-cli-legacy. The upstream binary is a single-file Node SEA: postject injects a large LOAD/NOTE segment and relocates the program header table ~45MB into the file. The kernel image activator only accepts program headers within the first page (sys/kern/imgact_elf.c), so exec(2) failed with ENOEXEC and the installed copilot binary could not run at all. files/relocate-phdrs.py rewrites the table over the stale pre-injection copy at offset 64, dropping PT_PHDR so the 14 remaining entries fit in front of .interp. The kernel then derives AT_PHDR from the PT_LOAD that maps file offset 0, so ld.so and the dl_iterate_phdr lookup the SEA uses …
2132d4f439 Copilot ai/github-copilot-cli: upgrade to 1.0.63 to fix CVE-2026-59871 ([email protected]) (#639)

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