mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
67 lines
2.2 KiB
Tcl
67 lines
2.2 KiB
Tcl
# -*- 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
|
||
|
||
PortSystem 1.0
|
||
PortGroup legacysupport 1.1
|
||
PortGroup makefile 1.0
|
||
|
||
# Missing compatibility implementation of memmem.
|
||
# https://github.com/yrutschle/sslh/issues/278
|
||
legacysupport.newest_darwin_requires_legacy 10
|
||
|
||
name sslh
|
||
epoch 1
|
||
version 2.3.1
|
||
revision 0
|
||
categories net security www
|
||
platforms darwin
|
||
maintainers {amake @amake} openmaintainer
|
||
license GPL-2+
|
||
|
||
description ssl/ssh multiplexer
|
||
|
||
long_description sslh lets one accept both HTTPS and SSH connections \
|
||
on the same port. It makes it possible to connect \
|
||
to an SSH server on port 443 (e.g. from inside a \
|
||
corporate firewall) while still serving HTTPS on \
|
||
that port.
|
||
|
||
homepage https://rutschle.net/tech/sslh/README.html
|
||
master_sites https://rutschle.net/tech/sslh/
|
||
|
||
distname ${name}-v${version}
|
||
|
||
checksums rmd160 bdb2e53b6af252f3d6f1cc5ba41d43df0b75b5dc \
|
||
sha256 51a5516ec5cb01823633b4d8cacdeee4efa0c56ef620d1c996d4f52ca51a601b \
|
||
size 535800
|
||
|
||
depends_lib port:libconfig-hr \
|
||
port:pcre2 \
|
||
port:libev
|
||
|
||
depends_build-append \
|
||
port:conf2struct
|
||
|
||
# gap.h:18: error: redefinition of typedef ‘gap_array’
|
||
compiler.blacklist-append \
|
||
{*gcc-[34].*}
|
||
|
||
use_parallel_build no
|
||
|
||
use_configure yes
|
||
|
||
destroot {
|
||
xinstall -W ${worksrcpath} sslh-fork sslh-select sslh-ev ${destroot}${prefix}/sbin/
|
||
ln -s sslh-fork ${destroot}${prefix}/sbin/sslh
|
||
|
||
xinstall -m 0644 ${worksrcpath}/sslh.8.gz ${destroot}${prefix}/share/man/man8/
|
||
|
||
set docdir ${prefix}/share/doc/${name}
|
||
xinstall -d ${destroot}${docdir}
|
||
xinstall -m 0644 -W ${worksrcpath} ChangeLog README.md example.cfg ${destroot}${docdir}
|
||
copy ${worksrcpath}/doc ${destroot}${docdir}
|
||
}
|
||
|
||
livecheck.type regex
|
||
livecheck.url https://rutschle.net/tech/sslh/download.html
|
||
livecheck.regex ${name}-v(\[0-9.\]+\[a-z\]?)${extract.suffix}
|