void-packages/srcpkgs/openntpd/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

29 lines
798 B
Bash

# Template file for 'openntpd'
pkgname=openntpd
version=5.7p4
revision=2
build_pie=yes
build_style=gnu-configure
configure_args="--with-privsep-user=$pkgname --with-cacert=/etc/ssl/certs.pem"
hostmakedepends="automake libtool"
makedepends="libressl-devel"
depends="ca-certificates"
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=a993d95976e375acc0ab1a677fd268f55024477835633c8ae404895046bccb23
conf_files="/etc/ntpd.conf"
provides="ntp-daemon-0_1"
replaces="ntp-daemon>=0"
system_accounts="$pkgname"
pre_configure() {
autoreconf -fi
}
post_install() {
vsv $pkgname
vlicense COPYING
}