2015-01-27 17:27:41 +01:00
|
|
|
# Template file for 'fastd'
|
|
|
|
pkgname=fastd
|
2015-05-28 18:31:06 +02:00
|
|
|
version=17
|
|
|
|
revision=1
|
2015-01-27 17:27:41 +01:00
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="cmake pkg-config bison"
|
|
|
|
makedepends="libuecc-devel libsodium-devel json-c-devel libcap-devel"
|
|
|
|
short_desc="Fast and Secure Tunneling Daemon"
|
2015-05-28 18:31:06 +02:00
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
2015-01-27 17:27:41 +01:00
|
|
|
license="BSD"
|
|
|
|
homepage="https://projects.universe-factory.net/projects/fastd"
|
|
|
|
distfiles="http://git.universe-factory.net/fastd/snapshot/fastd-${version}.tar"
|
2015-05-28 18:31:06 +02:00
|
|
|
checksum=20390fc2110929ebf37feebe1bcce68d7920a5efd42c369bd2d886c6781966dc
|
2015-01-27 17:27:41 +01:00
|
|
|
configure_args="ENABLE_LTO=ON"
|
2015-01-27 18:02:49 +01:00
|
|
|
conf_files="
|
|
|
|
/etc/fastd/secret.conf
|
2015-02-21 20:18:43 +01:00
|
|
|
/etc/fastd/fastd.conf"
|
2015-02-21 23:57:06 +01:00
|
|
|
make_dirs="/etc/fastd/peers 755 root root"
|
2015-05-06 11:51:48 +02:00
|
|
|
CFLAGS="-I$XBPS_CROSS_BASE/usr/include/sodium"
|
2015-01-27 18:02:49 +01:00
|
|
|
|
|
|
|
post_install() {
|
2015-02-21 23:57:06 +01:00
|
|
|
vmkdir etc/fastd
|
2015-01-27 18:02:49 +01:00
|
|
|
vinstall ${FILESDIR}/fastd.conf 644 etc/fastd
|
|
|
|
vinstall ${FILESDIR}/secret.conf 600 etc/fastd
|
|
|
|
vsv fastd
|
2015-01-27 18:13:22 +01:00
|
|
|
vman doc/fastd.1
|
2015-01-27 18:02:49 +01:00
|
|
|
}
|