# -*- 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 openssl 1.0 name stunnel version 5.72 revision 0 set major [lindex [split ${version} .] 0] categories security net platforms darwin maintainers {mps @Schamschula} openmaintainer license GPL-2+ description SSL tunneling program long_description Stunnel is a program that allows you to encrypt arbitrary \ TCP connections inside SSL (Secure Sockets Layer) available \ on both Unix and Windows. Stunnel can allow you to secure \ non-SSL aware daemons and protocols (like POP, IMAP, LDAP, \ etc) by having Stunnel provide the encryption, requiring no \ changes to the daemon's code. homepage http://www.stunnel.org/ master_sites https://www.stunnel.org/downloads/archive/${major}.x/ \ http://www.usenix.org.uk/mirrors/stunnel/archive/${major}.x/ \ http://ftp.nluug.nl/pub/networking/stunnel/archive/${major}.x/ \ http://stunnel.cybermirror.org/archive/${major}.x/ checksums rmd160 5f2e09d6c908aef4c8d5be624be5edaa6e0e6733 \ sha256 3d532941281ae353319735144e4adb9ae489a10b7e309c58a48157f08f42e949 \ size 900872 openssl.branch no_version patchfiles patch-configure \ patch-src-client.c.diff configure.args --disable-libwrap \ --disable-silent-rules variant openssl1 conflicts openssl3 description (Use openssl 1.1.1) { openssl.branch 1.1 configure.args-append \ --with-ssl=[openssl::install_area] } variant openssl3 conflicts openssl1 description (Use openssl 3) { openssl.branch 3 configure.args-append \ --with-ssl=[openssl::install_area] } default_variants +openssl3 # libwrap has been reported to introduce some problems with stunnel 4.18. # See: https://trac.macports.org/ticket/11028 variant libwrap description {Include libwrap support} { depends_lib-append port:tcp_wrappers configure.args-delete --disable-libwrap } if {${os.arch} ne "powerpc"} { default_variants-append \ +libwrap } livecheck.type regex livecheck.url ${homepage}downloads.html livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}