# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
github.setup gravitational teleport 2.5.2 v
homepage http://gravitational.com/teleport/
categories net
maintainers { gmail.com:graemelawes @gclawes } openmaintainer
description Teleport SSH server and Certificate Authority
long_description Teleport is a modern SSH server and CA for managing clusters \
that provides secure login with certificate-based access, \
2-factor authentication, session logging and replay, \
integration with Google Apps and other OAuth identity providers, \
and a Web UI. Built on the Golang SSH library, and compatible with OpenSSH
license Apache-2
checksums rmd160 2777027623fa93b2259587dc57f2531e2aad7816 \
sha256 2cc8c70d7fb4abe8955617f9aa466248bfa1d32f6739b16a7a68c5823f651c39
depends_lib port:go port:zip
platforms darwin
use_configure no
worksrcdir src/github.com/${github.author}/${github.project}
build.env-append GOPATH=${workpath}
build.target full
use_parallel_build no
post-extract {
xinstall -d ${workpath}/src/github.com/${github.author}
move ${workpath}/${name}-${github.version} \
${worksrcpath}
}
destroot {
foreach i { tctl tsh teleport } {
xinstall ${worksrcpath}/build/${i} ${destroot}${prefix}/bin
}
}