source: trunk/dports/security/stunnel/Portfile

Last change on this file was 153052, checked in by mps@…, 14 months ago

stunnel: update to version 5.36.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 153052 2016-09-22 23:03:29Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                stunnel
7version             5.36
8set major           [lindex [split ${version} .] 0]
9categories          security net
10platforms           darwin
11maintainers         mps 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  dc7a0f90bd77c61e00ebff9898f2bc43da13660c \
29                    sha256  eb8952fcfdfcdf5056a1f1a78e1ec5014b819c5f5f7599b924dc4490ffe4b5ea
30
31depends_lib         path:lib/libssl.dylib:openssl
32
33patchfiles          patch-configure \
34                    patch-tools-openssl.cnf.diff
35
36configure.args      --disable-libwrap \
37                    --with-ssl=${prefix}
38
39destroot.keepdirs   ${destroot}${prefix}/var/lib/stunnel
40post-destroot {
41    xinstall -d -m 770 -o nobody ${destroot}${prefix}/var/lib/stunnel/
42}
43
44# libwrap has been reported to introduce some problems with stunnel 4.18.
45# See: https://trac.macports.org/ticket/11028
46variant libwrap description {Include libwrap support} {
47    depends_lib-append      port:tcp_wrappers
48    configure.args-delete   --disable-libwrap
49}
50
51default_variants    +libwrap
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"
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.