Commit a46be239 authored by Duncan Bellamy's avatar Duncan Bellamy Committed by alice
Browse files
parent 3afa5edb
Pipeline #125983 passed with stages
in 1 minute
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=pebble
pkgver=2.3.1
pkgrel=5
pkgver=2.4.0
pkgrel=0
pkgdesc="small RFC 8555 ACME test server not for a production certificate authority"
url="https://github.com/letsencrypt/pebble"
# riscv64 blocked by syscall dependency
......@@ -10,7 +10,9 @@ arch="all !riscv64"
license="MPL-2.0"
options="!check net" # no testsuite, needs to download dependencies
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/letsencrypt/pebble/archive/refs/tags/v$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/letsencrypt/pebble/archive/refs/tags/v$pkgver.tar.gz
uint.patch
"
build() {
export GOPATH="$builddir"/build
......@@ -30,5 +32,6 @@ package() {
}
sha512sums="
0b7552f195ad8fe2d85dc5688a4bbd858fa83605ae924167fdabb6e298feac92f267031919b17eae900e017b9f17ba4c91f225bb7c7c4640aa59d15449fced14 pebble-2.3.1.tar.gz
bfd1c5756a124525b988499ecfd1f6cf3c11d2bbe6523cee3ba1c6dafd58b72fc99995768bb40cfe1e840886ef0f2b70550da4a87e8891da2d0f870b92fa7a78 pebble-2.4.0.tar.gz
33d4cc39608c05d22a45e6ec9d027646025cd99ee34ad6d32e9447203bdfae17ed020242fa5a8796d64a3ba9956a1f1dfc3dbab8e5abe4c95c9812e3b2281db0 uint.patch
"
--- a/ca/ca.go
+++ b/ca/ca.go
@@ -35,7 +35,7 @@
chains []*chain
- certValidityPeriod uint
+ certValidityPeriod uint64
}
type chain struct {
@@ -347,7 +347,7 @@
return newCert, nil
}
-func New(log *log.Logger, db *db.MemoryStore, ocspResponderURL string, alternateRoots int, chainLength int, certificateValidityPeriod uint) *CAImpl {
+func New(log *log.Logger, db *db.MemoryStore, ocspResponderURL string, alternateRoots int, chainLength int, certificateValidityPeriod uint64) *CAImpl {
ca := &CAImpl{
log: log,
db: db,
--- a/cmd/pebble/main.go
+++ b/cmd/pebble/main.go
@@ -29,7 +29,7 @@
// Configure policies to deny certain domains
DomainBlocklist []string
- CertificateValidityPeriod uint
+ CertificateValidityPeriod uint64
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment