source: trunk/dports/net/sslh/Portfile

Last change on this file was 147200, checked in by khindenburg@…, 16 months ago

sslh: update to 1.18; fix livecheck; maintainer #51003

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 147200 2016-03-31 01:01:50Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                sslh
7epoch               1
8version             1.18
9categories          net security www
10platforms           darwin
11maintainers         madlon-kay.com:aaron+macports openmaintainer
12license             GPL-2+
13
14description         ssl/ssh multiplexer
15
16long_description    sslh lets one accept both HTTPS and SSH connections \
17                    on the same port. It makes it possible to connect \
18                    to an SSH server on port 443 (e.g. from inside a \
19                    corporate firewall) while still serving HTTPS on \
20                    that port.
21
22homepage            http://rutschle.net/tech/sslh.shtml
23master_sites        http://rutschle.net/tech/sslh/
24
25distname            ${name}-v${version}
26
27checksums           rmd160  f85a96817d127106f06afabc70a3d5036e503d08 \
28                    sha256  1601a5b377dcafc6b47d2fbb8d4d25cceb83053a4adcc5874d501a2d5a7745ad
29
30depends_lib         port:libconfig-hr
31
32use_configure       no
33use_parallel_build  no
34
35variant universal {}
36
37build.args          CC="${configure.cc} [get_canonical_archflags cc]" \
38                    LIBS="${configure.ldflags} -lconfig"
39
40destroot {
41    xinstall -W ${worksrcpath} sslh-fork sslh-select ${destroot}${prefix}/sbin/
42    ln -s sslh-fork ${destroot}${prefix}/sbin/sslh
43   
44    xinstall -m 0644 ${worksrcpath}/sslh.8.gz ${destroot}${prefix}/share/man/man8/
45   
46    set docdir ${prefix}/share/doc/${name}
47    xinstall -d ${destroot}${docdir}
48    xinstall -m 0644 -W ${worksrcpath} ChangeLog README.md README.MacOSX example.cfg ${destroot}${docdir}
49}
50
51livecheck.type      regex
52livecheck.url       ${homepage}
53livecheck.regex     ${name}-v(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.