Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 13:52:18 +0900 (JST)
From:      Hideyuki KURASHINA <rushani@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75092: [Maintainer update] shells/scponly: Unbreak sftp only support
Message-ID:  <20041215.135218.71107742.rushani@FreeBSD.org>
Resent-Message-ID: <200412150500.iBF50k6g025958@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041215.135218.71107742.rushani>