Initial import of scponly 3.7 into pkgsrc-wip as shells/scponly.

Scponly is a restricted shell that only allows scp and sftp connections.

Originally from the FreeBSD ports collection, but updated to the 
latest version.
This commit is contained in:
Chris Pinnock 2003-04-21 18:28:38 +00:00
parent c7d90dbd1f
commit 2865bdca53
4 changed files with 38 additions and 0 deletions

11
scponly/DESCR Normal file
View file

@ -0,0 +1,11 @@
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 "tried and true" ssh
suite of applications.
scponly validates remote requests by examining the third argument passed to the
shell upon login. (The first argument is the shell itself, and the second is
-c.) The only commands allowed are "scp" (for ssh1), "sftp-server" (for ssh2")
and "ls". Arguments to these commands are passed along unmolested.

21
scponly/Makefile Normal file
View file

@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/04/21 18:28:38 cjep Exp $
# FreeBSD Id: ports/shells/scponly/Makefile,v 1.1 2002/09/10 22:18:46 obraun Exp
DISTNAME= scponly-3.7
CATEGORIES= shells
MASTER_SITES= http://www.sublimation.org/scponly/
EXTRACT_SUFX= .tgz
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.sublimation.org/scponly/
COMMENT= Tiny shell which only permits scp and sftp
GNU_CONFIGURE= yes
USE_BUILDLINK2= yes
PKG_SHELL= ${PREFIX}/sbin/scponly
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/scponly ${PREFIX}/sbin
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"

2
scponly/PLIST Normal file
View file

@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/21 18:28:38 cjep Exp $
sbin/scponly

4
scponly/distinfo Normal file
View file

@ -0,0 +1,4 @@
$NetBSD: distinfo,v 1.1.1.1 2003/04/21 18:28:38 cjep Exp $
SHA1 (scponly-3.7.tgz) = 8e77fbde30dad650c0171ca23593ce241f04fa81
Size (scponly-3.7.tgz) = 69725 bytes