New package: tlsdate-0.0.9

This commit is contained in:
Christian Neukirchen 2014-09-26 15:50:56 +02:00
parent 5660060e52
commit b3c6924347
3 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec tlsdated 2>/dev/null

View file

@ -0,0 +1 @@
/run/runit/supervise.tlsdated

29
srcpkgs/tlsdate/template Normal file
View file

@ -0,0 +1,29 @@
# Template file for 'tlsdate'
pkgname=tlsdate
version=0.0.9
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
configure_args="--sbindir=/usr/bin
--with-polarssl=no ac_cv_func_clock_gettime=yes"
conf_files="/etc/tlsdate/tlsdated.conf"
make_dirs="/var/cache/tlsdated 0755 root root"
hostmakedepends="automake pkg-config libtool"
makedepends="libressl-devel dbus-devel libevent-devel"
short_desc="Secure parasitic rdate replacement using HTTPS"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="https://github.com/ioerror/tlsdate"
distfiles="https://github.com/ioerror/tlsdate/archive/${pkgname}-${version}.tar.gz"
checksum=301a6dc190645b3d8737119bc885da1c6e6512f40cb02810dbb8023f1d9f5458
pre_configure() {
sh ./autogen.sh
}
post_install() {
vlicense LICENSE
rm ${DESTDIR}/usr/share/doc/${pkgname}/{TODO,LICENSE}
vmkdir etc/sv
vcopy ${FILESDIR}/tlsdated etc/sv
}