Ticket #28842: Portfile

File Portfile, 1.7 KB (added by paul.suh@…, 13 years ago)

updated Portfile, since the pasted in version didn't work right

Line 
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
4PortSystem                      1.0
5
6name                            stunnel
7version                         4.35
8categories                      security net
9maintainers                     nomaintainer
10description                     SSL tunneling program
11long_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.
17platforms                       darwin
18homepage                        http://www.stunnel.org/
19master_sites            http://mirrors.zerg.biz/stunnel/ \
20                    ftp://ftp.stunnel.org/stunnel/
21
22checksums           sha1    b08b95a61f1d65cf9cc44068e0665a17ea5397c3 \
23                    rmd160  29bdf0402114a460016192350f4164eae5bb5cce \
24                    md5     2c8e153caee9d954fb7d00980968b50d
25
26depends_lib                     port:openssl
27patchfiles                      patch-configure \
28                                        patch-tools-stunnel.cnf
29
30configure.args          --disable-libwrap
31
32default_variants        +libwrap
33
34destroot.keepdirs   ${destroot}${prefix}/var/lib/stunnel
35post-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
45variant libwrap {
46        configure.args-delete   "--disable-libwrap"
47}