Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / s2n-tls
Commits: 054b0c51 by Carl Smedstad at 2024-08-27T16:16:39+02:00 upgpkg: 1.5.1-1: Upstream release https://github.com/aws/s2n-tls/releases/tag/v1.5.1 - - - - - 3 changed files: - .SRCINFO - PKGBUILD - − missing_symbol_workaround.patch Changes: ===================================== .SRCINFO ===================================== @@ -1,17 +1,18 @@ pkgbase = s2n-tls pkgdesc = A C99 implementation of the TLS/SSL protocols that is designed to be simple, small, fast, and with security as a priority - pkgver = 1.3.47 - pkgrel = 2 + pkgver = 1.5.1 + pkgrel = 1 url = https://github.com/aws/s2n-tls arch = x86_64 - license = Apache + license = Apache-2.0 makedepends = cmake - depends = openssl depends = gcc-libs + depends = glibc + depends = openssl provides = s2n conflicts = s2n replaces = s2n - source = s2n-tls-1.3.47.zip::https://github.com/aws/s2n-tls/archive/v1.3.47.zip - sha256sums = 36ca0621cbd1b457e303ea5b574934a23a489848cffbd987d93902ab6826fab5 + source = s2n-tls-1.5.1.tar.gz::https://github.com/aws/s2n-tls/archive/v1.5.1.tar.gz + sha256sums = d79710d6ef089097a3b84fc1e5cec2f08d1ec46e93b1d400df59fcfc859e15a3 pkgname = s2n-tls ===================================== PKGBUILD ===================================== @@ -1,36 +1,41 @@ # Maintainer: Anatol Pomozov +# Maintainer: Carl Smedstad <[email protected]> pkgname=s2n-tls -pkgver=1.3.47 -pkgrel=2 +pkgver=1.5.1 +pkgrel=1 pkgdesc='A C99 implementation of the TLS/SSL protocols that is designed to be simple, small, fast, and with security as a priority' arch=(x86_64) url='https://github.com/aws/s2n-tls' -license=(Apache) +license=(Apache-2.0) provides=(s2n) # upstream renamed the project from s2n to s2n-tls conflicts=(s2n) replaces=(s2n) -depends=(openssl gcc-libs) +depends=( + gcc-libs + glibc + openssl +) makedepends=(cmake) -source=(s2n-tls-$pkgver.zip::https://github.com/aws/s2n-tls/archive/v$pkgver.zip) -sha256sums=('36ca0621cbd1b457e303ea5b574934a23a489848cffbd987d93902ab6826fab5') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('d79710d6ef089097a3b84fc1e5cec2f08d1ec46e93b1d400df59fcfc859e15a3') build() { - cd s2n-tls-$pkgver - - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF \ - -S . -B build + cd $pkgname-$pkgver + cmake -S . -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -Wno-dev \ + -DBUILD_SHARED_LIBS=ON cmake --build build } check() { - cd s2n-tls-$pkgver + cd $pkgname-$pkgver cmake --build build --target test } package() { - cd s2n-tls-$pkgver - - cmake --build build --target install -- DESTDIR="$pkgdir/" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cd $pkgname-$pkgver + DESTDIR="$pkgdir" cmake --install build } ===================================== missing_symbol_workaround.patch deleted ===================================== @@ -1,13 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a93d51f5..8d2806ad 100755 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -177,7 +177,7 @@ set(CMAKE_C_FLAGS_DEBUGOPT "") - - target_compile_options(${PROJECT_NAME} PRIVATE -pedantic -std=gnu99 -Wall -Werror -Wimplicit -Wunused -Wcomment -Wchar-subscripts - -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings -Wno-deprecated-declarations -Wno-unknown-pragmas -Wformat-security -- -Wno-missing-braces -fvisibility=hidden -DS2N_EXPORTS) -+ -Wno-missing-braces -DS2N_EXPORTS) - - if(S2N_NO_PQ) - target_compile_options(${PROJECT_NAME} PUBLIC -DS2N_NO_PQ) View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/s2n-tls/-/commit/054b0c51481a78ab619c537460d598a9fc21def1 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/s2n-tls/-/commit/054b0c51481a78ab619c537460d598a9fc21def1 You're receiving this email because of your account on gitlab.archlinux.org.
