Commit 302749e2 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/strongswan: enable aesni on x86_64

ref #10120
parent 867491d8
......@@ -3,7 +3,7 @@
pkgname=strongswan
pkgver=5.7.2
_pkgver=${pkgver//_rc/rc}
pkgrel=0
pkgrel=1
pkgdesc="IPsec-based VPN solution focused on security and ease of use, supporting IKEv1/IKEv2 and MOBIKE"
url="https://www.strongswan.org/"
arch="all"
......@@ -69,6 +69,10 @@ build() {
# - apk depends on openssl, so we use that
# - openssl provides ciphers, randomness, etc
# -> disable all redundant in-tree copies
local _aesni=
case "$CARCH" in
x86_64) _aesni="--enable-aesni";;
esac
./configure --prefix=/usr \
--sysconfdir=/etc \
......@@ -112,7 +116,8 @@ build() {
--enable-cmd \
--enable-swanctl \
--enable-shared \
--disable-static
--disable-static \
$_aesni
make
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment