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

Last change on this file since 127721 was 127721, checked in by larryv@…, 5 years ago

stunnel: Update to 5.07 (#45726)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 127721 2014-11-02 03:45:57Z larryv@macports.org $
3
4PortSystem          1.0
5
6name                stunnel
7version             5.07
8set major           [lindex [split ${version} .] 0]
9categories          security net
10platforms           darwin
11maintainers         gmail.com:mschamschula openmaintainer
12license             GPL-2+
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/
24master_sites        http://mirrors.zerg.biz/stunnel/ \
25                    http://mirrors.zerg.biz/stunnel/archive/${major}.x/ \
26                    ftp://ftp.stunnel.org/stunnel/
27
28checksums           rmd160  dee4871b98082d0baa9d5527dc4770ef20f096f6 \
29                    sha256  505c6c63c4a20fc0cce8c35ef1ab7626c7b01071e3fca4ac6ea417afe8065309
30
31depends_lib         port:openssl
32
33patchfiles          patch-configure \
34                    patch-tools-stunnel.cnf
35
36configure.args      --disable-libwrap
37
38destroot.keepdirs   ${destroot}${prefix}/var/lib/stunnel
39post-destroot {
40    xinstall -d -m 770 -o nobody ${destroot}${prefix}/var/lib/stunnel/
41}
42
43# libwrap has been reported to introduce some problems with stunnel 4.18.
44# See: https://trac.macports.org/ticket/11028
45variant libwrap description {Include libwrap support} {
46    depends_lib-append      port:tcp_wrappers
47    configure.args-delete   --disable-libwrap
48}
49
50default_variants    +libwrap
51
52# Tell the user about the stupid fake certificate that we provide.
53notes "
54A fake certificate has been installed as ${prefix}/etc/stunnel/stunnel.pem
55"
56
57livecheck.type      regex
58livecheck.url       ${homepage}downloads.html
59livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.