freebsd-ports/sysutils/tlsdate/Makefile
Pawel Pekala b388cf7a7e tlsdate sets the local clock by securely connecting with TLS to remote
servers and extracting the remote time out of the secure handshake. Unlike
ntpdate, tlsdate uses TCP, for instance connecting to a remote HTTPS or TLS
enabled service, and provides some protection against adversaries that try to
feed you malicious time information.

WWW: https://github.com/ioerror/tlsdate

PR:		ports/187033
Submitted by:	Fabian Keil <fk@fabiankeil.de>
2014-03-23 10:41:00 +00:00

36 lines
799 B
Makefile

# $FreeBSD$
PORTNAME= tlsdate
PORTVERSION= 0.0.7
CATEGORIES= sysutils
DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-${GH_COMMIT}
MAINTAINER= fk@fabiankeil.de
COMMENT= Secure parasitic rdate replacement
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= ioerror
# Technically tlsdate 0.0.7 is 004f6f6, but a couple of follow-up
# commits are required to fix the build on FreeBSD.
GH_COMMIT= 44fa3b7
GH_TAGNAME= ${GH_COMMIT}
USE_AUTOTOOLS= autoconf aclocal automake libtool
USES= pkgconfig
OPTIONS_DEFINE= DOCS
post-patch:
# Required for FreeBSD 8.4
@${REINPLACE_CMD} -e 's@AC_MSG_ERROR(\[M@AC_MSG_WARN([M@' ${WRKSRC}/configure.ac
pre-configure:
@(cd ${WRKSRC} && ./autogen.sh)
regression-test: build
@cd ${WRKSRC} && make test
.include <bsd.port.mk>