source: trunk/dports/security/stunnel/Portfile @ 143631

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

stunnel: update to 5.28 maintainer #49976

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
RevLine 
[84550]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
[20463]2# $Id: Portfile 143631 2015-12-16 03:41:53Z khindenburg@macports.org $
[6500]3
[77091]4PortSystem          1.0
[59492]5
[77091]6name                stunnel
[143631]7version             5.28
[77090]8set major           [lindex [split ${version} .] 0]
[77091]9categories          security net
10platforms           darwin
[125456]11maintainers         gmail.com:mschamschula openmaintainer
[77093]12license             GPL-2+
[77091]13
14description         SSL tunneling program
15
16long_description    Stunnel is a program that allows you to encrypt arbitrary \
17                    TCP connections inside SSL (Secure Sockets Layer) available \
18                    on both Unix and Windows. Stunnel can allow you to secure \
19                    non-SSL aware daemons and protocols (like POP, IMAP, LDAP, \
20                    etc) by having Stunnel provide the encryption, requiring no \
21                    changes to the daemon's code.
22
23homepage            http://www.stunnel.org/
[77090]24master_sites        http://mirrors.zerg.biz/stunnel/ \
[87696]25                    http://mirrors.zerg.biz/stunnel/archive/${major}.x/ \
[77090]26                    ftp://ftp.stunnel.org/stunnel/
[73221]27
[143631]28checksums           rmd160  4edceb3a2587822fdb13aff9892c89d4c9e5b975 \
29                    sha256  9a25b87b1ef0c08fa3d796edce07b4408e6a8acece23de2eb7ee9285b78852b5
[73221]30
[139229]31depends_lib         path:lib/libssl.dylib:openssl
[73221]32
[77091]33patchfiles          patch-configure \
[139971]34                    patch-tools-openssl.cnf.diff
[73221]35
[129316]36configure.args      --disable-libwrap \
37                    --with-ssl=${prefix}
[6500]38
[65291]39destroot.keepdirs   ${destroot}${prefix}/var/lib/stunnel
[6500]40post-destroot {
[77091]41    xinstall -d -m 770 -o nobody ${destroot}${prefix}/var/lib/stunnel/
[6500]42}
[20731]43
44# libwrap has been reported to introduce some problems with stunnel 4.18.
[77094]45# See: https://trac.macports.org/ticket/11028
[77096]46variant libwrap description {Include libwrap support} {
[98306]47    depends_lib-append      port:tcp_wrappers
[77095]48    configure.args-delete   --disable-libwrap
[20731]49}
[77091]50
51default_variants    +libwrap
[96433]52
53# Tell the user about the stupid fake certificate that we provide.
54notes "
55A fake certificate has been installed as ${prefix}/etc/stunnel/stunnel.pem
56"
[125553]57
58livecheck.type      regex
59livecheck.url       ${homepage}downloads.html
60livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.