Ticket #11554: diff

File diff, 1.4 KB (added by vinc17@…, 18 years ago)

3 fixes in a single patch

  • Portfile

     
    33PortSystem 1.0
    44
    55name            openssh
    6 version         4.5p1
     6version         4.6p1
    77categories      net
    88maintainers     yeled@macports.org
    99description     OpenSSH secure login server
     
    1919          methods.
    2020homepage        http://www.openssh.com/
    2121platforms       darwin
    22 checksums       md5 6468c339886f78e8a149b88f695839dd \
    23         sha1 2eefcbbeb9e4fa16fa4500dec107d1a09d3d02d7 \
    24         rmd160 3f70b6f4228e84c7b9b8b3bee7fd3875f3e3bad3
     22checksums       md5 6a7fa99f44d9e1b5b04d15256e1405bb \
     23        sha1 b2aefeb1861b4688b1777436035239ec32a47da8 \
     24        rmd160 2959ac56c9175275bf82847ec64b2b169aedcb82
    2525master_sites    openbsd:OpenSSH/portable \
    2626        ftp://carroll.cac.psu.edu/pub/OpenBSD/OpenSSH/portable/
    2727depends_lib     port:openssl port:zlib
     
    5757  # renamed to 'pam' in OS X.
    5858  pre-configure {
    5959    file mkdir ${workpath}/include
    60     system "ln -s /usr/include/pam ${workpath}/include/security"
     60    file delete ${workpath}/include/security
     61    file link -symbolic ${workpath}/include/security /usr/include/pam
    6162  }
    6263}
    6364
     
    8586        fi"
    8687startupitem.stop \
    8788    "if \[ -r ${prefix}/var/run/sshd.pid \]; then
    88         kill `cat ${prefix}/var/run/sshd.pid` && rm ${prefix}/var/run/sshd.pid
     89        kill `cat ${prefix}/var/run/sshd.pid`
    8990        fi"