På fredag 7. august 2026 kl. 09:48, skrev Rafael Sadowski
<[email protected]>:

> Update openshift client to the latest version. I've tried contacting the
> MAINTAINER a few times without getting a response. I'll remove him with
> this update (unless he gets in touch).
>
> $ oc version
> Client Version: 4.22.0
> Kustomize Version: v5.7.1
> Kubernetes Version: v1.33.13-eks-8f14419
>
> OK?
>

Tested/built on current/amd64 with privsep.

$ cd /usr/ports/ && patch -l -p1 -E < /tmp/oc-4.22.0.diff

$ cd /usr/ports/sysutils/oc/ && make build package test ; make 
port-lib-depends-check check-shlib-syms clean

===>  Regression tests for oc-4.22.0
cd 
/usr/ports/pobj/oc-4.22.0/github.com/openshift/[email protected]
 && /usr/bin/env -i GO386=softfloat 
GOCACHE="/usr/ports/pobj/oc-4.22.0/go-cache" GOTOOLCHAIN=local 
TMPDIR="/usr/ports/pobj/oc-4.22.0/build-amd64" 
GOPROXY=file:///usr/ports/pobj/oc-4.22.0/go_modules GO111MODULE=on 
GOPATH="/usr/ports/pobj/oc-4.22.0/go:/usr/local/go-pkg" PORTSDIR="/usr/ports" 
LIBTOOL="/usr/bin/libtool"  
PATH='/usr/ports/pobj/oc-4.22.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin'
 PREFIX='/usr/local'  LOCALBASE='/usr/local' X11BASE='/usr/X11R6'  CFLAGS='-O2 
-pipe'  TRUEPREFIX='/usr/local' DESTDIR=''  HOME='/oc-4.22.0_writes_to_HOME' 
PICFLAG="-fpic"  BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644  DIRMODE=755 
 INSTALL_COPY=-c INSTALL_STRIP=  MANGRP=bin MANOWN=root MANMODE=644 
BSD_INSTALL_PROGRAM="/usr/ports/pobj/oc-4.22.0/bin/install -c  -m 755"  
BSD_INSTALL_SCRIPT="/usr/ports/pobj/oc-4.22.0/bin/install -c -m 755"  
BSD_INSTALL_DATA="/usr/ports/pobj/oc-4.22.0/bin/install -c -m 644"  
BSD_INSTALL_MAN="/usr/ports/pobj/oc-4.22.0/bin/install -c -m 644"  
BSD_INSTALL_PROGRAM_DIR="/usr/ports/pobj/oc-4.22.0/bin/install -d -m 755"  
BSD_INSTALL_SCRIPT_DIR="/usr/ports/pobj/oc-4.22.0/bin/install -d -m 755"  
BSD_INSTALL_DATA_DIR="/usr/ports/pobj/oc-4.22.0/bin/install -d -m 755"  
BSD_INSTALL_MAN_DIR="/usr/ports/pobj/oc-4.22.0/bin/install -d -m 755"  go test 
-modcacherw -trimpath -v -buildvcs=false -p=1  -ldflags="-X 
github.com/openshift/oc/pkg/version.commitFromGit=062bc5449c49  -X 
github.com/openshift/oc/pkg/version.versionFromGit=4.22.0  -X 
github.com/openshift/oc/pkg/version.majorFromGit=4  -X 
github.com/openshift/oc/pkg/version.minorFromGit=22  -X 
github.com/openshift/oc/pkg/version.gitTreeState=clean -s -w" 
github.com/openshift/oc
# github.com/openshift/oc
no required module provides package github.com/openshift/oc; to add it:
        go get github.com/openshift/oc
FAIL    github.com/openshift/oc [setup failed]
FAIL
*** Error 1 in . (/usr/ports/lang/go/go.port.mk:190 'do-test')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3108 
'/usr/ports/pobj/oc-4.22.0/build-amd64/.test_done': @cd /usr/ports/sysutils/...)
*** Error 2 in /usr/ports/sysutils/oc 
(/usr/ports/infrastructure/mk/bsd.port.mk:2722 'test': @lock=oc-4.22.0;  export 
_LOCKS_HELD=" oc-4.22....)

oc-4.22.0(sysutils/oc):
Missing lib: gpgme.25 (/usr/local/bin/oc) (NOT REACHABLE)
*** Error 1 in target 'port-lib-depends-check' (ignored)
--

# TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ pkg_add -Dsnap -aa oc
oc-4.22.0: ok
--

$ oc version
Client Version: 4.22.0
Kustomize Version: v5.7.1
--

Not familiar enough with this application for extended testing.

Hope this help. Have a good weekend.
--
yaydn

FYI: The mail [email protected] gets error that the
address does not exist in protonmail. Probably safe to say they're gone.
Email gets deleted manually or has a year timeout to deletion if left
inactive.


Reply via email to