6fd02aa25e
titus is a TLS/SSL proxy server (like stunnel or stud) that protects you from vulnerabilities in the TLS implementation such as Heartbleed (or worse). titus requires FreeBSD 10.2 or newer due to PROC_TRACE_CTL which was introduced at r277322
38 lines
694 B
Makefile
38 lines
694 B
Makefile
# Created by: Mark Felder <feld@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= titus
|
|
PORTVERSION= 0.3
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= feld@FreeBSD.org
|
|
COMMENT= TLS/SSL proxy server
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= compiler:c++11-lang
|
|
USE_RC_SUBR= titus
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= AGWA
|
|
|
|
USERS= titus titus-keys
|
|
GROUPS= nogroup
|
|
|
|
MAKE_ENV+= MANDIR=${MANPREFIX}/man
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 1002000
|
|
BROKEN= Requires FreeBSD 10.2 or higher
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's|/var/lib/titus/empty|/var/empty|' ${WRKSRC}/titus.conf.example
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/titus.conf.example ${STAGEDIR}${PREFIX}/etc/titus.conf.sample
|
|
|
|
.include <bsd.port.post.mk>
|