parlay

yet another gentoo overlay
git clone https://git.parazyd.org/parlay
Log | Files | Refs | README

commit 73e2504b1f264adf976c6c31319c4bdfc63f1f9c
parent dd86c5ed6842f8666bb2d70e76db675de19e6dfa
Author: parazyd <parazyd@dyne.org>
Date:   Wed, 13 Feb 2019 23:15:30 +0100

net-misc/tlstun: Add 9999

Diffstat:
Anet-misc/tlstun/files/confd/tlstun | 4++++
Anet-misc/tlstun/files/initd/tlstun | 10++++++++++
Anet-misc/tlstun/metadata.xml | 9+++++++++
Anet-misc/tlstun/tlstun-9999.ebuild | 28++++++++++++++++++++++++++++
4 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/net-misc/tlstun/files/confd/tlstun b/net-misc/tlstun/files/confd/tlstun @@ -0,0 +1,4 @@ +# +# Parameters to be passed to tlstun +# +TLSTUN_ARGS="-c /etc/ssl/server.pem -k /etc/ssl/server-key.pem -l 127.0.0.1:7443 -f 127.0.0.1:72" diff --git a/net-misc/tlstun/files/initd/tlstun b/net-misc/tlstun/files/initd/tlstun @@ -0,0 +1,10 @@ +#!/sbin/openrc-run +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +name="${RC_SVCNAME}" +command="/usr/bin/tlstun" +pidfile="/run/${RC_SVCNAME}.pid" +command_args="${TLSTUN_ARGS}" +command_user="nobody" +command_background="yes" diff --git a/net-misc/tlstun/metadata.xml b/net-misc/tlstun/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>parazyd@dyne.org</email> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> diff --git a/net-misc/tlstun/tlstun-9999.ebuild b/net-misc/tlstun/tlstun-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit golang-build golang-vcs + +DESCRIPTION="Simple Go program to add TLS support to other listeners" +HOMEPAGE="https://github.com/parazyd/tlstun" +EGO_SRC="github.com/parazyd/tlstun" +EGO_PN="${EGO_SRC}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_install() { + default + dobin tlstun + dodoc "src/${EGO_SRC}/README.md" + doinitd "${FILESDIR}/initd/${PN}" + doconfd "${FILESDIR}/confd/${PN}" +}