Ticket #27049: openssh-Portfile-variant-ssh-copy-id.patch

File openssh-Portfile-variant-ssh-copy-id.patch, 586 bytes (added by grddev@…, 14 years ago)
  • Portfile

    old new  
    5757  reinplace "s|#Port 22|Port 2222|g" ${destroot}${prefix}/etc/ssh/sshd_config
    5858}
    5959
     60variant ssh_copy_id description "Install ssh-copy-id utility" {
     61  post-destroot {
     62    xinstall -m 755 ${worksrcpath}/contrib/ssh-copy-id ${destroot}${prefix}/bin
     63    xinstall -m 644 ${worksrcpath}/contrib/ssh-copy-id.1 ${destroot}${prefix}/share/man/man1
     64  }
     65}
     66
    6067variant no_x11 {
    6168  configure.args-delete --with-xauth=${prefix}/bin/xauth
    6269  depends_run-delete    port:xauth