2015-11-17 07:56:14 +00:00
|
|
|
# Template file for 'strongswan'
|
|
|
|
pkgname=strongswan
|
2016-03-23 04:23:33 +00:00
|
|
|
version=5.4.0
|
2015-11-26 13:29:32 +00:00
|
|
|
revision=1
|
2015-11-17 07:56:14 +00:00
|
|
|
build_style=gnu-configure
|
2016-03-23 04:23:33 +00:00
|
|
|
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"
|
2015-11-17 07:56:14 +00:00
|
|
|
depends="iproute2 sqlite"
|
2016-03-23 04:23:33 +00:00
|
|
|
hostmakedepends="pkg-config flex bison python"
|
|
|
|
makedepends="gmp-devel libsoup-devel libldns-devel unbound-devel libcurl-devel"
|
2015-11-26 07:14:25 +00:00
|
|
|
conf_files="/etc/*.conf /etc/strongswan.d/*.conf /etc/strongswan.d/charon/*.conf"
|
2015-11-17 07:56:14 +00:00
|
|
|
short_desc="IPsec-based VPN solution, supporting IKEv1/IKEv2 and MOBIKE"
|
|
|
|
maintainer="Toyam <Vaelatern@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.strongswan.org/"
|
|
|
|
distfiles="http://download.strongswan.org/${pkgname}-${version}.tar.bz2"
|
2016-03-23 04:23:33 +00:00
|
|
|
checksum=f8288faaea6a9cd8a7d413c0b76b7922be5da3dfcd01fd05cb30d2c55d3bbe89
|
2015-11-17 07:56:14 +00:00
|
|
|
|
|
|
|
post_install() {
|
2015-11-26 13:29:32 +00:00
|
|
|
touch .empty
|
|
|
|
vmkdir /etc/ipsec.d
|
|
|
|
vmkdir /etc/ipsec.d/aacerts
|
|
|
|
vcopy .empty /etc/ipsec.d/aacerts/
|
|
|
|
vmkdir /etc/ipsec.d/acerts
|
|
|
|
vcopy .empty /etc/ipsec.d/acerts/
|
|
|
|
vmkdir /etc/ipsec.d/cacerts
|
|
|
|
vcopy .empty /etc/ipsec.d/cacerts/
|
|
|
|
vmkdir /etc/ipsec.d/certs
|
|
|
|
vcopy .empty /etc/ipsec.d/certs/
|
|
|
|
vmkdir /etc/ipsec.d/crls
|
|
|
|
vcopy .empty /etc/ipsec.d/crls/
|
|
|
|
vmkdir /etc/ipsec.d/ocspcerts
|
|
|
|
vcopy .empty /etc/ipsec.d/ocspcerts/
|
|
|
|
vmkdir /etc/ipsec.d/private 750
|
|
|
|
vcopy .empty /etc/ipsec.d/private/
|
|
|
|
vmkdir /etc/ipsec.d/reqs
|
|
|
|
vcopy .empty /etc/ipsec.d/reqs/
|
2015-11-17 07:56:14 +00:00
|
|
|
vsv strongswan
|
|
|
|
}
|