Changes between Initial Version and Version 3 of Ticket #28842


Ignore:
Timestamp:
Mar 20, 2011, 5:09:04 AM (13 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28842

    • Property Port stunnel added
  • Ticket #28842 – Description

    initial v3  
    11The download links for stunnel are no longer valid. New links are:
    22
    3 ftp://ftp.stunnel.org/stunnel/
    4 http://mirrors.zerg.biz/stunnel/
     3 * ftp://ftp.stunnel.org/stunnel/
     4 * http://mirrors.zerg.biz/stunnel/
    55
    66Also, the version is updated to 4.35. The portfile pasted below works for me. It includes the new URLs and the appropriate checksums.
    77
    8 
    9 # -*- 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
    10 # $Id$
    11 
    12 PortSystem                      1.0
    13 
    14 name                            stunnel
    15 version                         4.35
    16 categories                      security net
    17 maintainers                     nomaintainer
    18 description                     SSL tunneling program
    19 long_description        Stunnel is a program that allows you to encrypt arbitrary \
    20                                         TCP connections inside SSL (Secure Sockets Layer) available \
    21                                         on both Unix and Windows. Stunnel can allow you to secure \
    22                                         non-SSL aware daemons and protocols (like POP, IMAP, LDAP, \
    23                                         etc) by having Stunnel provide the encryption, requiring no \
    24                                         changes to the daemon's code.
    25 platforms                       darwin
    26 homepage                        http://www.stunnel.org/
    27 master_sites            http://mirrors.zerg.biz/stunnel/ \
    28                     ftp://ftp.stunnel.org/stunnel/
    29 
    30 checksums           sha1    b08b95a61f1d65cf9cc44068e0665a17ea5397c3 \
    31                     rmd160  29bdf0402114a460016192350f4164eae5bb5cce \
    32                     md5     2c8e153caee9d954fb7d00980968b50d
    33 
    34 depends_lib                     port:openssl
    35 patchfiles                      patch-configure \
    36                                         patch-tools-stunnel.cnf
    37 
    38 configure.args          --disable-libwrap
    39 
    40 default_variants        +libwrap
    41 
    42 destroot.keepdirs   ${destroot}${prefix}/var/lib/stunnel
    43 post-destroot {
    44         xinstall -d -m 770 -o nobody ${destroot}${prefix}/var/lib/stunnel/
    45 
    46         # Tell the user about the stupid fake certificate that we provide.
    47         ui_msg "A fake certificate has been installed as ${prefix}/etc/stunnel/stunnel.pem"
    48 }
    49 
    50 # This (default) variant will include libwrap feature.
    51 # libwrap has been reported to introduce some problems with stunnel 4.18.
    52 # See: http://svn.macosforge.org/projects/macports/ticket/11028
    53 variant libwrap {
    54         configure.args-delete   "--disable-libwrap"
    55 }
     8(pasted portfile removed by admin)