[107745] trunk/dports/net

ryandesign at macports.org ryandesign at macports.org
Thu Jul 4 15:14:38 PDT 2013


Revision: 107745
          https://trac.macports.org/changeset/107745
Author:   ryandesign at macports.org
Date:     2013-07-04 15:14:37 -0700 (Thu, 04 Jul 2013)
Log Message:
-----------
shellinabox: new port, version 2.14

Added Paths:
-----------
    trunk/dports/net/shellinabox/
    trunk/dports/net/shellinabox/Portfile

Added: trunk/dports/net/shellinabox/Portfile
===================================================================
--- trunk/dports/net/shellinabox/Portfile	                        (rev 0)
+++ trunk/dports/net/shellinabox/Portfile	2013-07-04 22:14:37 UTC (rev 107745)
@@ -0,0 +1,56 @@
+# -*- 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
+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             port: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.
+}


Property changes on: trunk/dports/net/shellinabox/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130704/3fa15236/attachment.html>


More information about the macports-changes mailing list