source: trunk/dports/security/scponly/Portfile @ 19301

Last change on this file since 19301 was 19301, checked in by markd, 14 years ago

Bug: 9904
Submitted by: cnh@…
Reviewed by: markd@
Approved by:
Obtained from:
Update to 4.6

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1# $Id: Portfile,v 1.4 2006/08/28 05:44:30 markd Exp $
2
3PortSystem                      1.0
4name                            scponly
5version                         4.6
6categories                      security net sysutils
7maintainers                     darwinports@opendarwin.org
8description                     Limited shell which wraps scp/sftp
9long_description \
10        "scponly" is an alternative 'shell' (of sorts) for system administrators \
11        who would like to provide access to remote users to both read and write \
12        local files without providing any remote execution priviledges.  \
13        Functionally, it is best described as a wrapper to the mostly trusted \
14        suite of ssh applications.
15
16platforms                       darwin
17
18homepage                        http://www.sublimation.org/scponly/
19master_sites            ${homepage}
20extract.suffix          .tgz
21
22checksums                       md5 0425cb868cadd026851238452f1db907 \
23                                        sha1 d967ba69262c7675b9a0255884cf86c601d0d619
24
25depends_lib                     bin:ssh:openssh
26
27configure.args          --mandir=${prefix}/share/man
28
29variant noWildcards {
30        configure.args-append   --disable-wildcards
31}
32
33variant noWinscpCompat {
34        configure.args-append   --disable-winscp-compat
35}
36
37variant rsyncCompat {
38        depends_run                             bin:rsync:rsync
39        configure.args-append   --enable-rsync-compat
40}
41
42variant chroot {
43        configure.args-append   --enable-chrooted-binary
44}
45
46post-destroot {
47        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
48        xinstall -m 644 -W ${worksrcpath} AUTHOR BUILDING-JAILS.TXT CHANGELOG \
49                CONTRIB COPYING INSTALL README TODO \
50                ${destroot}${prefix}/share/doc/${name}
51}
52
53post-install {
54        ui_msg "For proper functionality, you need to add ${prefix}/bin/scponly"
55        ui_msg "to /etc/shells.  Be sure to also check the documentation"
56        ui_msg "in ${prefix}/share/doc/${name}"
57}
58
Note: See TracBrowser for help on using the repository browser.