2014-09-26 13:50:56 +00:00
|
|
|
# Template file for 'tlsdate'
|
|
|
|
pkgname=tlsdate
|
2014-09-26 16:51:28 +00:00
|
|
|
version=0.0.10
|
2014-09-26 13:50:56 +00:00
|
|
|
revision=1
|
|
|
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--sbindir=/usr/bin
|
|
|
|
--with-polarssl=no ac_cv_func_clock_gettime=yes"
|
2014-09-26 14:04:31 +00:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
|
|
|
configure_args+=" --disable-seccomp-filter"
|
|
|
|
fi
|
2014-09-26 13:50:56 +00:00
|
|
|
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"
|
2014-09-26 16:51:28 +00:00
|
|
|
checksum=f2e5b16cb2e85348ee0958467a1f575d1f5f9027bc0c759c78854586cdfbdd1d
|
2014-09-26 13:50:56 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
sh ./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
rm ${DESTDIR}/usr/share/doc/${pkgname}/{TODO,LICENSE}
|
2014-10-13 09:10:16 +00:00
|
|
|
vsv tlsdated
|
2014-09-26 13:50:56 +00:00
|
|
|
}
|