From owner-freebsd-ports Tue Jul 23 14:20:21 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A271D37B401 for ; Tue, 23 Jul 2002 14:20:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29C7543E31 for ; Tue, 23 Jul 2002 14:20:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6NLK8JU056449 for ; Tue, 23 Jul 2002 14:20:08 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6NLK8Z8056448; Tue, 23 Jul 2002 14:20:08 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 886EB37B400 for ; Tue, 23 Jul 2002 14:19:42 -0700 (PDT) Received: from c3po.artlogix.com (sense-mcglk-240.oz.net [216.39.168.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE8E843E4A for ; Tue, 23 Jul 2002 14:19:11 -0700 (PDT) (envelope-from mcglk@artlogix.com) Received: from ralf.artlogix.com.artlogix.com (ralf.artlogix.com [192.168.0.4]) by c3po.artlogix.com (Postfix) with ESMTP id 85CEA1A950; Tue, 23 Jul 2002 14:22:33 -0700 (PDT) Message-Id: <86d6tekur5.fsf@ralf.artlogix.com> Date: 23 Jul 2002 14:19:10 -0700 From: Ken McGlothlen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/40935: New ports: shells/scponly-2.3. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40935 >Category: ports >Synopsis: New port: shells/scponly-2.3 (a tiny shell which only permits scp and sftp.) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 23 14:20:08 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Ken McGlothlen >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD ralf.artlogix.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jun 30 20:12:12 PDT 2002 root@ralf.artlogix.com:/usr/obj/usr/src/sys/RALF i386 >Description: scponly is an alternative 'shell' (of sorts) for sysadmins who want 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. < http://www.sublimation.org/scponly/ > >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # scponly # scponly/Makefile # scponly/pkg-comment # scponly/pkg-descr # scponly/pkg-plist # scponly/distinfo # echo c - scponly mkdir -p scponly > /dev/null 2>&1 echo x - scponly/Makefile sed 's/^X//' >scponly/Makefile << 'END-of-scponly/Makefile' X# New port makefile for scponly (non-chrooted version) X# Created 2002/07/22 by mcglk@artlogix.com for scponly-2.2. X# Modified 2002/07/23 by mcglk@artlogix.com for scponly-2.3. X# X# $FreeBSD$ X# X XPORTNAME= scponly XPORTVERSION= 2.3 XCATEGORIES= shells XMASTER_SITES= http://www.sublimation.org/scponly/ XEXTRACT_SUFX= .tgz X XMAINTAINER= mcglk@artlogix.com X Xpost-install: X strip ${PREFIX}/sbin/scponly X X.include END-of-scponly/Makefile echo x - scponly/pkg-comment sed 's/^X//' >scponly/pkg-comment << 'END-of-scponly/pkg-comment' XA tiny shell which only permits scp and sftp. END-of-scponly/pkg-comment echo x - scponly/pkg-descr sed 's/^X//' >scponly/pkg-descr << 'END-of-scponly/pkg-descr' X[From the README:] "scponly" is an alternative 'shell' (of sorts) for system Xadministrators who would like to provide access to remote users to both read Xand write local files without providing any remote execution priviledges. XFunctionally, it is best described as a wrapper to the "tried and true" ssh Xsuite of applications. X Xscponly validates remote requests by examining the third argument passed to the Xshell upon login. (The first argument is the shell itself, and the second is X-c.) The only commands allowed are "scp" (for ssh1), "sftp-server" (for ssh2") Xand "ls". Arguments to these commands are passed along unmolested. X XWWW: http://www.sublimation.org/scponly/ X X---Ken McGlothlen (mcglk@artlogix.com) END-of-scponly/pkg-descr echo x - scponly/pkg-plist sed 's/^X//' >scponly/pkg-plist << 'END-of-scponly/pkg-plist' Xsbin/scponly Xman/man8/scponly.8 END-of-scponly/pkg-plist echo x - scponly/distinfo sed 's/^X//' >scponly/distinfo << 'END-of-scponly/distinfo' XMD5 (scponly-2.3.tgz) = 2c3f88b269ea5739c5897ab6c5d5ccba END-of-scponly/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message