From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 15 05:00:46 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C01DE16A4CF for ; Wed, 15 Dec 2004 05:00:46 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83C9243D1D for ; Wed, 15 Dec 2004 05:00:46 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBF50kS1025960 for ; Wed, 15 Dec 2004 05:00:46 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBF50k6g025958; Wed, 15 Dec 2004 05:00:46 GMT (envelope-from gnats) Resent-Date: Wed, 15 Dec 2004 05:00:46 GMT Resent-Message-Id: <200412150500.iBF50k6g025958@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hideyuki KURASHINA Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E90B16A4CE for ; Wed, 15 Dec 2004 04:54:39 +0000 (GMT) Received: from wasley.bl.mmtr.or.jp (wasley.bl.mmtr.or.jp [210.228.173.142]) by mx1.FreeBSD.org (Postfix) with SMTP id 8964643D31 for ; Wed, 15 Dec 2004 04:54:38 +0000 (GMT) (envelope-from rushani@FreeBSD.org) Received: (qmail 10101 invoked from network); 15 Dec 2004 13:54:37 +0900 Received: from unknown (HELO localhost) (210.165.212.57) by wasley.bl.mmtr.or.jp with SMTP; 15 Dec 2004 13:54:37 +0900 Message-Id: <20041215.135218.71107742.rushani@FreeBSD.org> Date: Wed, 15 Dec 2004 13:52:18 +0900 (JST) From: Hideyuki KURASHINA To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/75092: [Maintainer update] shells/scponly: Unbreak sftp only support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 05:00:47 -0000 >Number: 75092 >Category: ports >Synopsis: [Maintainer update] shells/scponly: Unbreak sftp only support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Dec 15 05:00:46 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Hideyuki KURASHINA >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD ***.*******.jp 5.3-STABLE FreeBSD 5.3-STABLE #0: Sun Dec 5 04:38:28 JST 2004 hideyuki@***.*******.jp:/usr/obj/usr/src/sys/*** i386 >Description: Scponly validates dangerous arguments since version 4.0. However, there is a regression compared with version 3.11. That is scponly can not be built only with sftp support. Reference: https://lists.ccs.neu.edu/pipermail/scponly/2004-December/000655.html >How-To-Repeat: # cd /usr/ports/shells/scponly # make -DWITHOUT_SCPONLY_WINSCP -DWITHOUT_SCPONLY_SCP >Fix: Apply following patch, Index: Makefile =================================================================== RCS file: /home/ncvs/ports/shells/scponly/Makefile,v retrieving revision 1.13 diff -u -r1.13 Makefile --- Makefile 4 Dec 2004 23:56:24 -0000 1.13 +++ Makefile 15 Dec 2004 04:44:31 -0000 @@ -63,7 +63,7 @@ PORTNAME= scponly PORTVERSION= 4.0 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= shells MASTER_SITES= http://www.sublimation.org/scponly/ EXTRACT_SUFX= .tgz Index: files/patch-ab =================================================================== RCS file: files/patch-ab diff -N files/patch-ab --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-ab 15 Dec 2004 04:41:40 -0000 @@ -0,0 +1,12 @@ +--- scponly.c.orig Sun Nov 28 10:16:39 2004 ++++ scponly.c Wed Dec 15 13:38:11 2004 +@@ -76,7 +76,9 @@ + */ + cmd_arg_t dangerous_args[] = + { ++#ifdef ENABLE_SCP2 + { PROG_SCP, "-S" }, ++#endif + { PROG_SFTP_SERVER, "-S" }, + #ifdef UNISON_COMPAT + { PROG_UNISON, "-rshcmd" }, >Release-Note: >Audit-Trail: >Unformatted: