# $Id: Portfile,v 1.3 2005/07/15 04:04:04 blb Exp $ PortSystem 1.0 name scponly version 4.1 categories security net sysutils maintainers darwinports@opendarwin.org description Limited shell which wraps scp/sftp long_description \ "scponly" is an alternative 'shell' (of sorts) for system administrators \ who would like to provide access to remote users to both read and write \ local files without providing any remote execution priviledges. \ Functionally, it is best described as a wrapper to the mostly trusted \ suite of ssh applications. platforms darwin homepage http://www.sublimation.org/scponly/ master_sites ${homepage} extract.suffix .tgz checksums md5 32e4b87dc46c78573010c1146e9744f0 \ sha1 416ec072c2dc584358152ca4a3c0660b28399d4c depends_lib bin:ssh:openssh configure.args --mandir=${prefix}/share/man variant noWildcards { configure.args-append --disable-wildcards } variant noWinscpCompat { configure.args-append --disable-winscp-compat } variant rsyncCompat { depends_run bin:rsync:rsync configure.args-append --enable-rsync-compat } variant chroot { configure.args-append --enable-chrooted-binary } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} AUTHOR BUILDING-JAILS.TXT CHANGELOG \ CONTRIB COPYING INSTALL README TODO \ ${destroot}${prefix}/share/doc/${name} } post-install { ui_msg "For proper functionality, you need to add ${prefix}/bin/scponly" ui_msg "to /etc/shells. Be sure to also check the documentation" ui_msg "in ${prefix}/share/doc/${name}" }