fastd: remove ssse3 requirement to support older AMD CPUs.
This commit is contained in:
parent
2d140f396a
commit
aa41bd939d
1 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'fastd'
|
||||
pkgname=fastd
|
||||
version=17
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=cmake
|
||||
hostmakedepends="cmake pkg-config bison"
|
||||
makedepends="libuecc-devel libsodium-devel json-c-devel libcap-devel"
|
||||
|
@ -9,7 +9,7 @@ short_desc="Fast and Secure Tunneling Daemon"
|
|||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
license="BSD"
|
||||
homepage="https://projects.universe-factory.net/projects/fastd"
|
||||
distfiles="http://git.universe-factory.net/fastd/snapshot/fastd-${version}.tar"
|
||||
distfiles="https://git.universe-factory.net/fastd/snapshot/fastd-${version}.tar"
|
||||
checksum=20390fc2110929ebf37feebe1bcce68d7920a5efd42c369bd2d886c6781966dc
|
||||
configure_args="ENABLE_LTO=ON"
|
||||
conf_files="
|
||||
|
@ -18,6 +18,11 @@ conf_files="
|
|||
make_dirs="/etc/fastd/peers 755 root root"
|
||||
CFLAGS="-I$XBPS_CROSS_BASE/usr/include/sodium"
|
||||
|
||||
pre_configure() {
|
||||
# remove ssse3 requirement to support older AMD CPUs.
|
||||
printf "" > src/crypto/mac/ghash/pclmulqdq/CMakeLists.txt
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vmkdir etc/fastd
|
||||
vinstall ${FILESDIR}/fastd.conf 644 etc/fastd
|
||||
|
|
Loading…
Reference in a new issue