void-packages/srcpkgs/openntpd/template
Juan RP 9e0b800aad openntpd: run ntpd with -s too, to set the time immediately.
This is required in platforms where there's no RTC (rpi, etc),
otherwise it could have wrong time for a while.
2015-02-02 17:39:25 +01:00

24 lines
684 B
Text

# Template file for 'openntpd'
pkgname=openntpd
version=5.7p3
revision=2
build_style=gnu-configure
configure_args="--with-privsep-user=$pkgname"
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=4f417c8a4c21ed7ec3811107829f931404f9bf121855b8571a2ca3355695343a
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
vlicense COPYING
}