# -*- 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 # $Id$ PortSystem 1.0 name stunnel version 4.32 categories security net maintainers nomaintainer description SSL tunneling program long_description Stunnel is a program that allows you to encrypt arbitrary \ TCP connections inside SSL (Secure Sockets Layer) available \ on both Unix and Windows. Stunnel can allow you to secure \ non-SSL aware daemons and protocols (like POP, IMAP, LDAP, \ etc) by having Stunnel provide the encryption, requiring no \ changes to the daemon's code. platforms darwin homepage http://www.stunnel.org/ master_sites ${homepage}download/stunnel/src/ \ ftp://stunnel.mirt.net/stunnel/ checksums md5 72379c615c5a4986c7981d0941ed2e6b \ sha1 e9be8b9150d1c901a7c37b58494e351815147a79 \ rmd160 fb5db2098d25ccbef553579e870331763dabbf2e depends_lib port:openssl patchfiles patch-configure \ patch-tools-stunnel.cnf configure.args --mandir=${prefix}/share/man \ --disable-libwrap default_variants +libwrap destroot.keepdirs ${destroot}${prefix}/var/lib/stunnel post-destroot { xinstall -d -m 770 "${destroot}${prefix}/var/lib/stunnel/" # Tell the user about the stupid fake certificate that we provide. ui_msg "A fake certificate has been installed as ${prefix}/etc/stunnel/stunnel.pem" } # This (default) variant will include libwrap feature. # libwrap has been reported to introduce some problems with stunnel 4.18. # See: http://svn.macosforge.org/projects/macports/ticket/11028 variant libwrap { configure.args-delete "--disable-libwrap" }