34 lines
1.4 KiB
Bash
34 lines
1.4 KiB
Bash
# Template file for 'strongswan'
|
|
pkgname=strongswan
|
|
version=5.8.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
# tpm support waits on libtss2
|
|
configure_args="--disable-static --enable-blowfish --enable-curl
|
|
--enable-eap-radius --enable-eap-mschapv2 --enable-eap-md5 --enable-led
|
|
--enable-ha --enable-dhcp --enable-mediation --enable-soup --disable-des
|
|
--enable-chapoly --enable-nm"
|
|
hostmakedepends="pkg-config flex bison python"
|
|
makedepends="gmp-devel libsoup-devel libldns-devel unbound-devel libcurl-devel NetworkManager-devel"
|
|
depends="iproute2 sqlite"
|
|
conf_files="/etc/*.conf /etc/strongswan.d/*.conf /etc/strongswan.d/charon/*.conf /etc/ipsec.secrets"
|
|
short_desc="IPsec-based VPN solution, supporting IKEv1/IKEv2 and MOBIKE"
|
|
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.strongswan.org/"
|
|
changelog="https://wiki.strongswan.org/projects/strongswan/wiki/Changelog"
|
|
distfiles="https://download.strongswan.org/${pkgname}-${version}.tar.bz2"
|
|
checksum=15b1e10c7dd6253ab5d791fe9b9cb84624e24c118aecd9b90251b4e60daa0933
|
|
make_dirs="/etc/ipsec.d/ 0755 root root
|
|
/etc/ipsec.d/aacerts 0755 root root
|
|
/etc/ipsec.d/acerts 0755 root root
|
|
/etc/ipsec.d/cacerts 0755 root root
|
|
/etc/ipsec.d/oscpcerts 0755 root root
|
|
/etc/ipsec.d/certs 0755 root root
|
|
/etc/ipsec.d/crls 0755 root root
|
|
/etc/ipsec.d/reqs 0755 root root
|
|
/etc/ipsec.d/private 0750 root root"
|
|
|
|
post_install() {
|
|
vsv strongswan
|
|
}
|