[arch-commits] Commit in s2n-tls/repos (3 files)
Anatol Pomozov
anatolik at gemini.archlinux.org
Mon Dec 6 18:56:37 UTC 2021
Date: Monday, December 6, 2021 @ 18:56:36
Author: anatolik
Revision: 1065341
archrelease: copy trunk to community-testing-x86_64
Added:
s2n-tls/repos/community-testing-x86_64/
s2n-tls/repos/community-testing-x86_64/PKGBUILD
(from rev 1065340, s2n-tls/trunk/PKGBUILD)
s2n-tls/repos/community-testing-x86_64/missing_symbol_workaround.patch
(from rev 1065340, s2n-tls/trunk/missing_symbol_workaround.patch)
---------------------------------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
missing_symbol_workaround.patch | 13 +++++++++++++
2 files changed, 49 insertions(+)
Copied: s2n-tls/repos/community-testing-x86_64/PKGBUILD (from rev 1065340, s2n-tls/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-12-06 18:56:36 UTC (rev 1065341)
@@ -0,0 +1,36 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=s2n-tls
+pkgver=1.3.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)
+provides=(s2n) # upstream renamed the project from s2n to s2n-tls
+conflicts=(s2n)
+replaces=(s2n)
+depends=(openssl)
+makedepends=(cmake)
+source=(s2n-tls-$pkgver.zip::https://github.com/aws/s2n-tls/archive/v$pkgver.zip)
+sha256sums=('d7416d83cd861c6509764e5427b74ae5a8ba1094a3e38e24acc97fe74d101c55')
+
+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
+ cmake --build build
+}
+
+check() {
+ cd s2n-tls-$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"
+}
Copied: s2n-tls/repos/community-testing-x86_64/missing_symbol_workaround.patch (from rev 1065340, s2n-tls/trunk/missing_symbol_workaround.patch)
===================================================================
--- community-testing-x86_64/missing_symbol_workaround.patch (rev 0)
+++ community-testing-x86_64/missing_symbol_workaround.patch 2021-12-06 18:56:36 UTC (rev 1065341)
@@ -0,0 +1,13 @@
+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)
More information about the arch-commits
mailing list