# Template file for 'openntpd'
pkgname=openntpd
version=5.7p2
revision=1
build_style=gnu-configure
configure_args="--with-privsep-user=$pkgname --with-privsep-path=/var/empty"
makedepends="libressl-devel"
short_desc="FREE, easy to use implementation of the Network Time Protocol"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://openntpd.org/"
distfiles="http://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/${pkgname}-${version}.tar.gz"
checksum=1640ad4a6e6475f6065d5f999b17b5dc6ab40dc17309b782b9ae390fe54bd6a5

conf_files="/etc/ntpd.conf"
provides="ntp-daemon-0_1"
replaces="ntp-daemon>=0"
system_accounts="$pkgname"
openntpd_homedir="/var/empty"

post_install() {
	vsv $pkgname
}
