source: trunk/dports/net/shellinabox/Portfile

Last change on this file was 146517, checked in by raimue@…, 21 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- 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
2# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    shellinabox
7version                 2.14
8revision                1
9categories              net shells www
10platforms               darwin
11maintainers             ryandesign openmaintainer
12license                 {GPL-2 OpenSSLException}
13
14description             a web-based terminal emulator for ssh or other command line tools
15
16long_description        Shell In A Box implements a web server that can export arbitrary \
17                        command line tools (e.g. ssh) to a web-based terminal emulator. \
18                        This emulator is accessible to any JavaScript- and CSS-enabled \
19                        web browser and does not require any additional browser plugins.
20
21homepage                http://shellinabox.com/
22master_sites            googlecode
23
24checksums               rmd160  5f46c29d0a3eec2a8296a70dcb32b8d1d611de85 \
25                        sha256  4126eb7070869787c161102cc2781d24d1d50c8aef4e5a3e1b5446e65d691071
26
27depends_lib             path:lib/libssl.dylib:openssl \
28                        port:zlib
29
30# Enable openssl support
31# http://code.google.com/p/shellinabox/issues/detail?id=110
32configure.args-append   --disable-runtime-loading --disable-pam
33
34if {${os.platform} eq "darwin" && ${os.major} > 8} {
35    set user _${name}
36} else {
37    set user ${name}
38}
39set group ${user}
40
41add_users               ${user} group=${group} realname=${name}
42
43set certdir             ${prefix}/etc/${name}/certs
44
45startupitem.create      yes
46startupitem.executable  ${prefix}/bin/${name}d --user=${user} --group=${group} --cert=${certdir}
47
48destroot.keepdirs       ${destroot}${certdir}
49
50post-destroot {
51    xinstall -o ${user} -g ${group} -d ${destroot}${certdir}
52}
53
54notes {
55There is no configuration file; you may wish to use your own launchd plist instead of the\
56one included in this port if you want to run the daemon with different options.
57}
Note: See TracBrowser for help on using the repository browser.