1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name stunnel |
---|
7 | version 4.35 |
---|
8 | categories security net |
---|
9 | maintainers nomaintainer |
---|
10 | description SSL tunneling program |
---|
11 | long_description Stunnel is a program that allows you to encrypt arbitrary \ |
---|
12 | TCP connections inside SSL (Secure Sockets Layer) available \ |
---|
13 | on both Unix and Windows. Stunnel can allow you to secure \ |
---|
14 | non-SSL aware daemons and protocols (like POP, IMAP, LDAP, \ |
---|
15 | etc) by having Stunnel provide the encryption, requiring no \ |
---|
16 | changes to the daemon's code. |
---|
17 | platforms darwin |
---|
18 | homepage http://www.stunnel.org/ |
---|
19 | master_sites http://mirrors.zerg.biz/stunnel/ \ |
---|
20 | ftp://ftp.stunnel.org/stunnel/ |
---|
21 | |
---|
22 | checksums sha1 b08b95a61f1d65cf9cc44068e0665a17ea5397c3 \ |
---|
23 | rmd160 29bdf0402114a460016192350f4164eae5bb5cce \ |
---|
24 | md5 2c8e153caee9d954fb7d00980968b50d |
---|
25 | |
---|
26 | depends_lib port:openssl |
---|
27 | patchfiles patch-configure \ |
---|
28 | patch-tools-stunnel.cnf |
---|
29 | |
---|
30 | configure.args --disable-libwrap |
---|
31 | |
---|
32 | default_variants +libwrap |
---|
33 | |
---|
34 | destroot.keepdirs ${destroot}${prefix}/var/lib/stunnel |
---|
35 | post-destroot { |
---|
36 | xinstall -d -m 770 -o nobody ${destroot}${prefix}/var/lib/stunnel/ |
---|
37 | |
---|
38 | # Tell the user about the stupid fake certificate that we provide. |
---|
39 | ui_msg "A fake certificate has been installed as ${prefix}/etc/stunnel/stunnel.pem" |
---|
40 | } |
---|
41 | |
---|
42 | # This (default) variant will include libwrap feature. |
---|
43 | # libwrap has been reported to introduce some problems with stunnel 4.18. |
---|
44 | # See: http://svn.macosforge.org/projects/macports/ticket/11028 |
---|
45 | variant libwrap { |
---|
46 | configure.args-delete "--disable-libwrap" |
---|
47 | } |
---|