mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Updated. Removed Patch as upstream sorted the error out.
This commit is contained in:
parent
90e14085c3
commit
dc8126d16b
3 changed files with 5 additions and 27 deletions
6
.SRCINFO
6
.SRCINFO
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = aws-lc
|
||||
pkgdesc = general-purpose cryptographic library maintained by the AWS Cryptography team for AWS
|
||||
pkgver = 1.60.0
|
||||
pkgver = 1.66.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/aws/aws-lc
|
||||
arch = x86_64
|
||||
|
|
@ -20,9 +20,9 @@ pkgbase = aws-lc
|
|||
optdepends = clang: Alternative for gcc (gcc preferred by upstream)
|
||||
options = !strip
|
||||
options = !lto
|
||||
source = aws-lc-1.60.0.tar.gz::https://github.com/aws/aws-lc/archive/refs/tags/v1.60.0.tar.gz
|
||||
source = aws-lc-1.66.1.tar.gz::https://github.com/aws/aws-lc/archive/refs/tags/v1.66.1.tar.gz
|
||||
source = Patch01-disable-fortify-sources-jitterentropy.patch
|
||||
b2sums = fd49992965523eff1b7c14c70c77e4ac80e55d5c53aa9f5da0171b3e450c8607f7358f162ff2ddd3b2969b68c625f651096e9a19bd8337c9c134f1c8a4484258
|
||||
b2sums = 05f515f363efed85d0031bbd83d9c0d150d72c94d352a4e53a753872e92521218f2aa80098959f6cfd093035c8fba86bc675e035f5193aa924bc78bd71802ad9
|
||||
b2sums = 84c1e992d09720f77ee34ec951a6a0fe12d060431c22b8d2f567c888147c54472ce6b394d3f63c5e89eaa7d44c2625ed9de74bbb112ff4f8d7694fdb9b80020b
|
||||
|
||||
pkgname = aws-lc
|
||||
|
|
|
|||
14
PKGBUILD
14
PKGBUILD
|
|
@ -7,7 +7,7 @@
|
|||
# with the binary from the package 'openssl'. Check with 'which openssl'.
|
||||
|
||||
pkgname=aws-lc
|
||||
pkgver=1.60.0
|
||||
pkgver=1.66.1
|
||||
pkgrel=1
|
||||
pkgdesc='general-purpose cryptographic library maintained by the AWS Cryptography team for AWS'
|
||||
url='https://github.com/aws/aws-lc'
|
||||
|
|
@ -34,20 +34,10 @@ source=(
|
|||
"${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
|
||||
"Patch01-disable-fortify-sources-jitterentropy.patch"
|
||||
)
|
||||
b2sums=('fd49992965523eff1b7c14c70c77e4ac80e55d5c53aa9f5da0171b3e450c8607f7358f162ff2ddd3b2969b68c625f651096e9a19bd8337c9c134f1c8a4484258'
|
||||
b2sums=('05f515f363efed85d0031bbd83d9c0d150d72c94d352a4e53a753872e92521218f2aa80098959f6cfd093035c8fba86bc675e035f5193aa924bc78bd71802ad9'
|
||||
'84c1e992d09720f77ee34ec951a6a0fe12d060431c22b8d2f567c888147c54472ce6b394d3f63c5e89eaa7d44c2625ed9de74bbb112ff4f8d7694fdb9b80020b')
|
||||
options=(!strip !lto)
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
# 'jitterentropy' has to be built wiht '-O0' (no optimisation). As a
|
||||
# result, the build warns that it cannot apply 'FORTIFY_SOURCES'. With
|
||||
# the patch we make sure that warning is just a warning, not a
|
||||
# build-breaking error.
|
||||
patch -p1 -i ../Patch01-disable-fortify-sources-jitterentropy.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
diff '--color=auto' -Naru aws-lc-1.60.0/third_party/jitterentropy/CMakeLists.txt aws-lc-1.60.0-new/third_party/jitterentropy/CMakeLists.txt
|
||||
--- aws-lc-1.60.0/third_party/jitterentropy/CMakeLists.txt 2025-09-02 22:37:38.000000000 +0200
|
||||
+++ aws-lc-1.60.0-new/third_party/jitterentropy/CMakeLists.txt 2025-09-06 20:29:49.663890960 +0200
|
||||
@@ -24,7 +24,7 @@
|
||||
endif()
|
||||
else()
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE true)
|
||||
- set(JITTER_COMPILE_FLAGS "-DAWSLC -fwrapv --param ssp-buffer-size=4 -fvisibility=hidden -Wcast-align -Wmissing-field-initializers -Wshadow -Wswitch-enum -Wextra -Wall -pedantic -O0 -fwrapv")
|
||||
+ set(JITTER_COMPILE_FLAGS "-DAWSLC -fwrapv --param ssp-buffer-size=4 -fvisibility=hidden -Wcast-align -Wmissing-field-initializers -Wshadow -Wswitch-enum -Wextra -Wall -pedantic -O0 -fwrapv -Wno-error=cpp")
|
||||
if ((NOT GCC) OR (GCC AND CMAKE_C_COMPILER_VERSION VERSION_GREATER "4.3"))
|
||||
# -Wconversion was changed from GCC version 4.3. Prior it was meant as
|
||||
# an aid in translating code from old C to modern C. It was not meant
|
||||
Loading…
Add table
Reference in a new issue