# -*- 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 # $Id$ PortSystem 1.0 name shellinabox version 2.14 revision 1 categories net shells www platforms darwin maintainers ryandesign openmaintainer license {GPL-2 OpenSSLException} description a web-based terminal emulator for ssh or other command line tools long_description Shell In A Box implements a web server that can export arbitrary \ command line tools (e.g. ssh) to a web-based terminal emulator. \ This emulator is accessible to any JavaScript- and CSS-enabled \ web browser and does not require any additional browser plugins. homepage http://shellinabox.com/ master_sites googlecode checksums rmd160 5f46c29d0a3eec2a8296a70dcb32b8d1d611de85 \ sha256 4126eb7070869787c161102cc2781d24d1d50c8aef4e5a3e1b5446e65d691071 depends_lib path:lib/libssl.dylib:openssl \ port:zlib # Enable openssl support # http://code.google.com/p/shellinabox/issues/detail?id=110 configure.args-append --disable-runtime-loading --disable-pam if {${os.platform} eq "darwin" && ${os.major} > 8} { set user _${name} } else { set user ${name} } set group ${user} add_users ${user} group=${group} realname=${name} set certdir ${prefix}/etc/${name}/certs startupitem.create yes startupitem.executable ${prefix}/bin/${name}d --user=${user} --group=${group} --cert=${certdir} destroot.keepdirs ${destroot}${certdir} post-destroot { xinstall -o ${user} -g ${group} -d ${destroot}${certdir} } notes { There is no configuration file; you may wish to use your own launchd plist instead of the\ one included in this port if you want to run the daemon with different options. }