2015-02-23 20:34:32 +00:00
|
|
|
# Template file for 'clockspeed'
|
2015-09-27 09:46:16 +00:00
|
|
|
pkgname=clockspeed
|
|
|
|
version=0.62
|
2016-05-27 22:45:01 +00:00
|
|
|
revision=3
|
|
|
|
build_style=gnu-makefile
|
2015-02-23 20:34:32 +00:00
|
|
|
hostmakedepends="groff"
|
|
|
|
depends="sv-helper"
|
|
|
|
make_dirs="/etc/clockspeed 0755 root root"
|
|
|
|
short_desc="Dan Bernstein's clockspeed (network) timekeeping utility"
|
|
|
|
maintainer="bougyman <tj@rubyists.com>"
|
|
|
|
license="Public Domain"
|
|
|
|
homepage="http://cr.yp.to/clockspeed.html"
|
|
|
|
distfiles="http://cr.yp.to/clockspeed/clockspeed-0.62.tar.gz "
|
|
|
|
checksum=43539964c4b554794b2da760d138c5975cbc850f1c8ec2ee96f5dba66e0d9eed
|
|
|
|
|
2016-05-27 22:45:01 +00:00
|
|
|
nocross="musl is fine, I did not recognize the errors cross compiling to arm"
|
|
|
|
|
2015-02-23 20:34:32 +00:00
|
|
|
system_accounts="clocksd"
|
|
|
|
clocksd_groups="nogroup"
|
|
|
|
clocksd_homedir="/var/lib/${pkgname}"
|
|
|
|
clocksd_descr="User for clockspeed adjustments"
|
|
|
|
conf_files="/etc/${pkgname}/${pkgname}.conf"
|
|
|
|
patch_args="-p1"
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
sed -i -e 's|/usr/local/clockspeed|/var/lib/clockspeed|' conf-home
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
for binary in clockadd clockspeed clockview sntpclock taiclock taiclockd;
|
|
|
|
do
|
|
|
|
vbin $binary
|
|
|
|
done
|
|
|
|
vbin ${FILESDIR}/clockctl
|
|
|
|
vconf leapsecs.dat
|
|
|
|
vmkdir etc/clockspeed
|
|
|
|
vinstall ${FILESDIR}/clockspeed.conf 644 etc/clockspeed
|
|
|
|
vsv clockspeed
|
|
|
|
vsv clockspeed_adjust
|
|
|
|
vdoc README
|
|
|
|
vdoc INSTALL
|
|
|
|
vdoc ${FILESDIR}/NOTES
|
|
|
|
}
|