community/pebble: upgrade to 2.5.1

* https://github.com/letsencrypt/pebble/releases/tag/v2.5.1
This commit is contained in:
Duncan Bellamy 2024-03-24 13:41:07 +00:00 committed by omni
parent a0c82bdbf8
commit f2c03e782f
2 changed files with 3 additions and 36 deletions

View File

@ -1,8 +1,8 @@
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=pebble
pkgver=2.4.0
pkgrel=16
pkgver=2.5.1
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
@ -11,7 +11,6 @@ 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
uint.patch
"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
@ -37,6 +36,5 @@ package() {
}
sha512sums="
bfd1c5756a124525b988499ecfd1f6cf3c11d2bbe6523cee3ba1c6dafd58b72fc99995768bb40cfe1e840886ef0f2b70550da4a87e8891da2d0f870b92fa7a78 pebble-2.4.0.tar.gz
33d4cc39608c05d22a45e6ec9d027646025cd99ee34ad6d32e9447203bdfae17ed020242fa5a8796d64a3ba9956a1f1dfc3dbab8e5abe4c95c9812e3b2281db0 uint.patch
626dccd22be56c0424f5040798bac09586095ce5b2d31c7f5b90a4f6e4dd5e8454046fcbf87303029e4f9f440cb5a0079bc3b36b0f0aa7dfcd15a9103e603a84 pebble-2.5.1.tar.gz
"

View File

@ -1,31 +0,0 @@
--- 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
}
}