Ticket #47505: Portfile-stunnel.diff

File Portfile-stunnel.diff, 1.4 KB (added by Schamschula (Marius Schamschula), 10 years ago)
  • Portfile

    old new  
    44PortSystem          1.0
    55
    66name                stunnel
    7 version             5.15
     7version             5.16
    88set major           [lindex [split ${version} .] 0]
    99categories          security net
    1010platforms           darwin
     
    2525                    http://mirrors.zerg.biz/stunnel/archive/${major}.x/ \
    2626                    ftp://ftp.stunnel.org/stunnel/
    2727
    28 checksums           rmd160  640bf3f80975befcfb9b3d8d39f0d9100c937bc2 \
    29                     sha256  58ff4645eb5d6bd64e6ddedaa683534302f75625c531e8a6364badcac0541cba
     28checksums           rmd160  d91434ffc279180925b4b07e2656d2a18f3871e6 \
     29                    sha256  b6b7e93fb2626eaabae1c8474e1dfa23962cfde8fa35c8602289fcaa4f53608d
    3030
    3131depends_lib         port:openssl
    3232
     
    5050
    5151default_variants    +libwrap
    5252
    53 platform darwin 9 {
    54     # 10.5 has issues building with gcc 4.2 https://trac.macports.org/ticket/47481
    55     patchfiles-append   patch-src-client.c.diff \
    56     patch-src-log.c.diff
    57 }
    58 
    59 platform darwin 10 {
    60     # 10.6 has issues building with gcc 4.2 https://trac.macports.org/ticket/47481
    61     patchfiles-append   patch-src-client.c.diff \
    62     patch-src-log.c.diff
    63 }
    64                  
    6553# Tell the user about the stupid fake certificate that we provide.
    6654notes "
    6755A fake certificate has been installed as ${prefix}/etc/stunnel/stunnel.pem