void-packages/srcpkgs/fastd/template
2015-01-27 18:13:22 +01:00

29 lines
976 B
Text

# Template file for 'fastd'
pkgname=fastd
version=16
revision=3
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"
maintainer="Enno Boland <eb@s01.de>"
license="BSD"
homepage="https://projects.universe-factory.net/projects/fastd"
distfiles="http://git.universe-factory.net/fastd/snapshot/fastd-${version}.tar"
checksum=156b64c8f1acd5e8e42abec069e0ad4caa8c01d9fcd374cb6b494c75268ee046
configure_args="ENABLE_LTO=ON"
conf_files="
/etc/fastd/secret.conf
/etc/fastd/fastd.conf
/etc/fastd/peers/incomingConnectionPartner
/etc/fastd/peers/connectionPartner"
post_install() {
vmkdir etc/fastd/peers
vinstall ${FILESDIR}/fastd.conf 644 etc/fastd
vinstall ${FILESDIR}/secret.conf 600 etc/fastd
vinstall ${FILESDIR}/connectionPartner 644 etc/fastd/peers
vinstall ${FILESDIR}/incomingConnectionPartner 644 etc/fastd/peers
vsv fastd
vman doc/fastd.1
}