Ticket #11554: diff
File diff, 1.4 KB (added by vinc17@…, 18 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name openssh 6 version 4. 5p16 version 4.6p1 7 7 categories net 8 8 maintainers yeled@macports.org 9 9 description OpenSSH secure login server … … 19 19 methods. 20 20 homepage http://www.openssh.com/ 21 21 platforms darwin 22 checksums md5 6 468c339886f78e8a149b88f695839dd\23 sha1 2eefcbbeb9e4fa16fa4500dec107d1a09d3d02d7\24 rmd160 3f70b6f4228e84c7b9b8b3bee7fd3875f3e3bad322 checksums md5 6a7fa99f44d9e1b5b04d15256e1405bb \ 23 sha1 b2aefeb1861b4688b1777436035239ec32a47da8 \ 24 rmd160 2959ac56c9175275bf82847ec64b2b169aedcb82 25 25 master_sites openbsd:OpenSSH/portable \ 26 26 ftp://carroll.cac.psu.edu/pub/OpenBSD/OpenSSH/portable/ 27 27 depends_lib port:openssl port:zlib … … 57 57 # renamed to 'pam' in OS X. 58 58 pre-configure { 59 59 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 61 62 } 62 63 } 63 64 … … 85 86 fi" 86 87 startupitem.stop \ 87 88 "if \[ -r ${prefix}/var/run/sshd.pid \]; then 88 kill `cat ${prefix}/var/run/sshd.pid` && rm ${prefix}/var/run/sshd.pid89 kill `cat ${prefix}/var/run/sshd.pid` 89 90 fi"