summaryrefslogtreecommitdiff
path: root/shells/scponly
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2002-09-10 22:18:46 +0000
committerOliver Braun <obraun@FreeBSD.org>2002-09-10 22:18:46 +0000
commit4eef8272b2e817a8d660aa982b5380cd2a8120f2 (patch)
tree3663ee997193593593b9cd5971d80dc4f109c6ca /shells/scponly
parent* Fix dependency (diff)
Add scponly 2.4, a tiny shell which only permits scp and sftp.
PR: ports/40935 Submitted by: Ken McGlothlen <mcglk@artlogix.com>
Notes
Notes: svn path=/head/; revision=66096
Diffstat (limited to 'shells/scponly')
-rw-r--r--shells/scponly/Makefile21
-rw-r--r--shells/scponly/distinfo1
-rw-r--r--shells/scponly/pkg-comment1
-rw-r--r--shells/scponly/pkg-descr14
-rw-r--r--shells/scponly/pkg-plist1
5 files changed, 38 insertions, 0 deletions
diff --git a/shells/scponly/Makefile b/shells/scponly/Makefile
new file mode 100644
index 000000000000..abcc288d36ae
--- /dev/null
+++ b/shells/scponly/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: scponly
+# Date created: 2002/07/23
+# Whom: mcglk@artlogix.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= scponly
+PORTVERSION= 2.4
+CATEGORIES= shells
+MASTER_SITES= http://www.sublimation.org/scponly/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= mcglk@artlogix.com
+
+MAN8= scponly.8
+
+post-install:
+ strip ${PREFIX}/sbin/scponly
+
+.include <bsd.port.mk>
diff --git a/shells/scponly/distinfo b/shells/scponly/distinfo
new file mode 100644
index 000000000000..2bb45c9de4b7
--- /dev/null
+++ b/shells/scponly/distinfo
@@ -0,0 +1 @@
+MD5 (scponly-2.4.tgz) = efd077b651d2186be5184ff94f33a9d9
diff --git a/shells/scponly/pkg-comment b/shells/scponly/pkg-comment
new file mode 100644
index 000000000000..7d4651a5cc3e
--- /dev/null
+++ b/shells/scponly/pkg-comment
@@ -0,0 +1 @@
+A tiny shell which only permits scp and sftp
diff --git a/shells/scponly/pkg-descr b/shells/scponly/pkg-descr
new file mode 100644
index 000000000000..7eee800677b0
--- /dev/null
+++ b/shells/scponly/pkg-descr
@@ -0,0 +1,14 @@
+[From the README:] "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.
+
+WWW: http://www.sublimation.org/scponly/
+
+---Ken McGlothlen (mcglk@artlogix.com)
diff --git a/shells/scponly/pkg-plist b/shells/scponly/pkg-plist
new file mode 100644
index 000000000000..06ee17eaa8ce
--- /dev/null
+++ b/shells/scponly/pkg-plist
@@ -0,0 +1 @@
+sbin/scponly