Package Details: origin-client 4.6.r20201212.02c1100-1

Git Clone URL: (read-only, click to copy)
Package Base: origin-client
Description: Openshift client
Upstream URL:
Licenses: Apache
Submitter: jhenson
Maintainer: thePanz
Last Packager: thePanz
Votes: 3
Popularity: 0.000000
First Submitted: 2019-01-12 18:28 (UTC)
Last Updated: 2020-12-30 10:35 (UTC)

Latest Comments

thePanz commented on 2022-04-21 08:28 (UTC)

This package is now marked for deletion, please use :

thePanz commented on 2020-12-30 10:28 (UTC)

@rmf: working on a stable solution at the moment, as the openshift repository is not using tags for the latest releases.

The current solution is fetching (via the Github APIs) the commit's date to properly build the package version. Another option would be to create a -git package (thus requiring GIT in the build process). If you have hints or suggestions, please share them :)

Please note that v4.7 and v4.8 are "for future releases" (, that's why this package is addressing the 4.6 version

rmf commented on 2020-12-27 15:41 (UTC) (edited on 2020-12-27 19:56 (UTC) by rmf)

@thePanz can you update the PKGBUILD? shahum is incorrect at the moment.

christoph.gysin commented on 2020-12-13 21:02 (UTC)

==> Validating source files with sha256sums... ... FAILED

Svenstaro commented on 2020-12-09 11:22 (UTC)

Feel free to take the package.

VannTen commented on 2020-12-09 11:03 (UTC)

git should be in builddep, otherwise the package fail to build in a clean chroot

thePanz commented on 2020-12-04 17:41 (UTC)

Please notice that this is quite outdated, as the OC client has been moved to a different repo:

I have a working PKGBUILD configuration for the impatient ones:

pkgdesc="Openshift Origin client (OC)"

build() {
  cd "oc-release-${pkgver}"
  unset GOPATH
  export SOURCE_GIT_TAG="${pkgversion}-release"
  make oc

package() {
  cd "oc-release-${pkgver}"
  install -Dm755 oc -t "$pkgdir/usr/bin"
  # install -Dm644 docs/man/man1/* -t "$pkgdir/usr/share/man/man1"

  "$pkgdir/usr/bin/oc" completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/oc"
  "$pkgdir/usr/bin/oc" completion zsh | sed 's/kubectl/oc/g' | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_oc"

malbeth commented on 2020-09-23 12:25 (UTC)

Package install fails because GPG key 0E2CFB1B72F087ACF089B41E3D16906B4F1C5CB3 (Clayton Coleman cannot be downloaded...

I managed to find that key on and install it manually with sudo pacman-key --add Downloads/gpgkey.asc

jhenson commented on 2019-04-13 21:43 (UTC)

@insequent, thanks for the report. I've always built it in a clean chroot so I never noticed that. I just did some tests and just unsetting GOPATH seems to fix it. I've pushed an updated PKGBUILD.

insequent commented on 2019-04-13 16:34 (UTC) (edited on 2019-04-13 16:35 (UTC) by insequent)

I had some issues with "hack/", as it was trying to follow my default $GOPATH to look for src. I was able to work around this by adding the following to PKGBUILD (keep in mind, I'm no expert at this):

prepare() {
  mkdir -p "${srcdir}/"
  ln -rTsf origin "${srcdir}/"

build() {
  export GOPATH=${startdir}
  cd "${srcdir}/origin"
  make WHAT=cmd/oc