diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-06 16:44:28 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-06 18:46:02 +0200 |
commit | ad5880649bfc0d3e16b658d5b8517e86e9b1c260 (patch) | |
tree | 0037801a3d2a25d6dfc241d87840f02ae740849f | |
parent | 8b903beb77c68c97ba0aa36e58b6750edc06ca78 (diff) |
main/strongswan: enable aesni on x86_64
fixes #10120
(cherry picked from commit 302749e2d5084f8f091e4614d4393b0d98961c7d)
-rw-r--r-- | main/strongswan/APKBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/main/strongswan/APKBUILD b/main/strongswan/APKBUILD index 749cb0e25fc..2a618c5a6e6 100644 --- a/main/strongswan/APKBUILD +++ b/main/strongswan/APKBUILD @@ -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 } |