Ticket #47798: privsep_patch.diff
File privsep_patch.diff, 1.1 KB (added by danielluke (Daniel J. Luke), 9 years ago) |
---|
-
Portfile
5 5 6 6 name openssh 7 7 version 6.8p1 8 revision 08 revision 1 9 9 categories net 10 10 platforms darwin 11 11 maintainers nomaintainer … … 72 72 configure.ldflags-append -Wl,-search_paths_first 73 73 configure.args --with-ssl-dir=${prefix} \ 74 74 --sysconfdir=${prefix}/etc/ssh \ 75 --with-privsep-path= ${prefix}/var/empty \75 --with-privsep-path=/var/empty \ 76 76 --with-md5-passwords \ 77 77 --with-pid-dir=${prefix}/var/run \ 78 78 --with-tcp-wrappers \ … … 96 96 } 97 97 98 98 post-destroot { 99 destroot.keepdirs ${destroot}${prefix}/var/run ${destroot}${prefix}/var/empty99 destroot.keepdirs ${destroot}${prefix}/var/run 100 100 101 101 # switch default port to avoid conflict with system sshd 102 102 reinplace "s|#Port 22|Port 2222|g" ${destroot}${prefix}/etc/ssh/sshd_config