* add s2n-tls
This commit is contained in:
parent
98776cfce5
commit
1bab301178
18
s2n-tls/.SRCINFO
Normal file
18
s2n-tls/.SRCINFO
Normal file
@ -0,0 +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.5.11
|
||||
pkgrel = 1
|
||||
url = https://github.com/aws/s2n-tls
|
||||
arch = x86_64
|
||||
license = Apache-2.0
|
||||
makedepends = cmake
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
depends = openssl
|
||||
provides = s2n
|
||||
conflicts = s2n
|
||||
replaces = s2n
|
||||
source = s2n-tls-1.5.11.tar.gz::https://github.com/aws/s2n-tls/archive/v1.5.11.tar.gz
|
||||
sha256sums = 5690f030da35f86e3b5d61d1de150b5b52c84eef383799f7a706bdf21227417e
|
||||
|
||||
pkgname = s2n-tls
|
4
s2n-tls/.nvchecker.toml
Normal file
4
s2n-tls/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[s2n-tls]
|
||||
source = "git"
|
||||
git = "https://github.com/aws/s2n-tls.git"
|
||||
prefix = "v"
|
42
s2n-tls/PKGBUILD
Normal file
42
s2n-tls/PKGBUILD
Normal file
@ -0,0 +1,42 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Anatol Pomozov
|
||||
# Maintainer: Carl Smedstad <carsme@archlinux.org>
|
||||
|
||||
pkgname=s2n-tls
|
||||
pkgver=1.5.11
|
||||
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 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://github.com/aws/s2n-tls'
|
||||
license=(Apache-2.0)
|
||||
provides=(s2n) # upstream renamed the project from s2n to s2n-tls
|
||||
conflicts=(s2n)
|
||||
replaces=(s2n)
|
||||
depends=(
|
||||
gcc-libs
|
||||
glibc
|
||||
openssl
|
||||
)
|
||||
makedepends=(cmake)
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('5690f030da35f86e3b5d61d1de150b5b52c84eef383799f7a706bdf21227417e')
|
||||
|
||||
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 $pkgname-$pkgver
|
||||
cmake --build build --target test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user