# -*- 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.0
PortGroup       openssl         1.0

legacysupport.newest_darwin_requires_legacy 10

name            socat
version         1.8.1.3
revision        0

homepage        http://www.dest-unreach.org/socat

description     netcat on steroids

long_description        \
 socat is a relay for bidirectional data transfer between two independent data \
 channels. Each of these data channels may be a file, pipe, device (serial line \
 etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an \
 SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the \
 GNU line editor (readline), a program, or a combination of two of these.

categories      sysutils net
installs_libs   no
license         GPL-2
maintainers     nomaintainer

master_sites    ${homepage}/download/

checksums       rmd160  0496d614da3f7294255492c533d9370510a2733f \
                sha256  25bc6476292b2e614220989c77b0b6fca87bb2525d9747b31a6639b1fb602418 \
                size    605749

use_bzip2       yes

depends_lib     port:readline \
                port:tcp_wrappers

livecheck.type  regex
livecheck.url   ${master_sites}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"

