source: trunk/dports/net/shellinabox/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

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