[arch-commits] Commit in cosign/repos/community-x86_64 (PKGBUILD PKGBUILD)

Christian Rebischke shibumi at gemini.archlinux.org
Sat May 7 18:44:58 UTC 2022


    Date: Saturday, May 7, 2022 @ 18:44:58
  Author: shibumi
Revision: 1196224

archrelease: copy trunk to community-x86_64

Added:
  cosign/repos/community-x86_64/PKGBUILD
    (from rev 1196223, cosign/trunk/PKGBUILD)
Deleted:
  cosign/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-07 18:44:50 UTC (rev 1196223)
+++ PKGBUILD	2022-05-07 18:44:58 UTC (rev 1196224)
@@ -1,63 +0,0 @@
-# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=cosign
-pkgver=1.7.1
-pkgrel=2
-pkgdesc="Container Signing with support for ephemeral keys and Sigstore signing"
-arch=('x86_64')
-url="https://github.com/sigstore/cosign"
-license=('Apache')
-depends=('pcsclite')
-makedepends=('go' 'git')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sigstore/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('98181db507f65ab5b2fb7b25c9a5b4f708daa8c1b3d1af046afe59b897bf1e91d26bd41711f3b1d4ec1936bfb921bee7f20ce00c76f9e49350ca92cc45a57191')
-b2sums=('741562fef4956c390a394d286b452888765ba6515d01973af1c1ab4f84e77a7dc1417d1bbc0a118a6d5e09a0721238fef983b1955d6cc28ce04f676aaf0725a1')
-
-build(){
-  cd "${pkgname}-${pkgver}"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw"
-  mkdir build
-  go build -o build/ ./cmd/...
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  make test
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  install -Dm755 build/cosign "${pkgdir}/usr/bin/${pkgname}"
-
-  # build bash completions
-  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
-  "$pkgdir"/usr/bin/cosign completion bash > "${pkgdir}/usr/share/bash-completion/completions/cosign"
-
-  # build zsh completions
-  mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
-  "$pkgdir"/usr/bin/cosign completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_cosign"
-
-  # build fish completions
-  mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
-  "$pkgdir"/usr/bin/cosign completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/cosign.fish"
-
-  install -Dm755 build/sget "${pkgdir}/usr/bin/sget"
-
-  # build bash completions
-  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
-  "$pkgdir"/usr/bin/sget completion bash > "${pkgdir}/usr/share/bash-completion/completions/sget"
-
-  # build zsh completions
-  mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
-  "$pkgdir"/usr/bin/sget completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_sget"
-
-  # build fish completions
-  mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
-  "$pkgdir"/usr/bin/sget completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/sget.fish"
-}
-

Copied: cosign/repos/community-x86_64/PKGBUILD (from rev 1196223, cosign/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-07 18:44:58 UTC (rev 1196224)
@@ -0,0 +1,63 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=cosign
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="Container Signing with support for ephemeral keys and Sigstore signing"
+arch=('x86_64')
+url="https://github.com/sigstore/cosign"
+license=('Apache')
+depends=('pcsclite')
+makedepends=('go' 'git')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sigstore/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('7d45e80ae5fa15fa7fe14bc5cd13a159356b58afc3baebac5d2c64fa38c74e73a3d17f75bed0730fe842da63de5487c54dfb9f77bbffa1f943281b74d3b30c94')
+b2sums=('2d9625609f86cad05770085617cd80335d62554e608f64abf96a3dcf5f0d4449b850d493ce2faff2593d0f996d2ace3f304d89ef99c7bfa2a2027a419ae6da1d')
+
+build(){
+  cd "${pkgname}-${pkgver}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw"
+  mkdir build
+  go build -o build/ ./cmd/...
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  GODEBUG=x509sha1=1 make test # we have to allow sha1 certificates for tests
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  install -Dm755 build/cosign "${pkgdir}/usr/bin/${pkgname}"
+
+  # build bash completions
+  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
+  "$pkgdir"/usr/bin/cosign completion bash > "${pkgdir}/usr/share/bash-completion/completions/cosign"
+
+  # build zsh completions
+  mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
+  "$pkgdir"/usr/bin/cosign completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_cosign"
+
+  # build fish completions
+  mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
+  "$pkgdir"/usr/bin/cosign completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/cosign.fish"
+
+  install -Dm755 build/sget "${pkgdir}/usr/bin/sget"
+
+  # build bash completions
+  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
+  "$pkgdir"/usr/bin/sget completion bash > "${pkgdir}/usr/share/bash-completion/completions/sget"
+
+  # build zsh completions
+  mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
+  "$pkgdir"/usr/bin/sget completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_sget"
+
+  # build fish completions
+  mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
+  "$pkgdir"/usr/bin/sget completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/sget.fish"
+}
+



More information about the arch-commits mailing list