diff options
author | Mark Felder <feld@FreeBSD.org> | 2015-12-02 16:31:06 +0000 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2015-12-02 16:31:06 +0000 |
commit | 6fd02aa25e98aad2674830cd5a07dc5c059ad2cb (patch) | |
tree | 1ee1f6b4bce0e55ee398cefcc903322cb263c1b7 /security/titus | |
parent | c05b88bf4646ccb12549333b07ba88ee02bd34b2 (diff) | |
download | ports-6fd02aa25e98aad2674830cd5a07dc5c059ad2cb.tar.gz ports-6fd02aa25e98aad2674830cd5a07dc5c059ad2cb.zip |
Notes
Diffstat (limited to 'security/titus')
-rw-r--r-- | security/titus/Makefile | 38 | ||||
-rw-r--r-- | security/titus/distinfo | 2 | ||||
-rw-r--r-- | security/titus/files/titus.in | 34 | ||||
-rw-r--r-- | security/titus/pkg-descr | 5 | ||||
-rw-r--r-- | security/titus/pkg-plist | 3 |
5 files changed, 82 insertions, 0 deletions
diff --git a/security/titus/Makefile b/security/titus/Makefile new file mode 100644 index 000000000000..c1aaa66a9b26 --- /dev/null +++ b/security/titus/Makefile @@ -0,0 +1,38 @@ +# 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> diff --git a/security/titus/distinfo b/security/titus/distinfo new file mode 100644 index 000000000000..4d6e3d5b1f07 --- /dev/null +++ b/security/titus/distinfo @@ -0,0 +1,2 @@ +SHA256 (AGWA-titus-0.3_GH0.tar.gz) = 2b10e4a4e4df2b577465813b748e5d5f05e4e96cd5b48d64e3a148ab80c275bf +SIZE (AGWA-titus-0.3_GH0.tar.gz) = 29521 diff --git a/security/titus/files/titus.in b/security/titus/files/titus.in new file mode 100644 index 000000000000..3122f5550702 --- /dev/null +++ b/security/titus/files/titus.in @@ -0,0 +1,34 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: titus +# REQUIRE: NETWORKING SERVERS +# BEFORE: DAEMON +# KEYWORD: shutdown + +# +# Add some of the following variables to /etc/rc.conf to configure titus: +# titus_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable titus. +# titus_config (str): Default "%%ETCDIR%%/titus.conf" +# + +. /etc/rc.subr + +name="titus" +rcvar=titus_enable + +load_rc_config $name + +: ${titus_enable="NO"} +: ${titus_config="%%PREFIX%%/etc/${name}.conf"} + +pidfile=/var/run/titus.pid +command="%%PREFIX%%/bin/titus" +command_args="--daemon yes --pid-file ${pidfile} --config ${titus_config}" + +required_files="${titus_config}" + +run_rc_command "$1" diff --git a/security/titus/pkg-descr b/security/titus/pkg-descr new file mode 100644 index 000000000000..4b2a184bdf70 --- /dev/null +++ b/security/titus/pkg-descr @@ -0,0 +1,5 @@ +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). + +WWW: https://opsmate.com/titus/ diff --git a/security/titus/pkg-plist b/security/titus/pkg-plist new file mode 100644 index 000000000000..ee7d04c7d02e --- /dev/null +++ b/security/titus/pkg-plist @@ -0,0 +1,3 @@ +bin/titus +@sample etc/titus.conf.sample +man/man8/titus.8.gz |