From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 27 17:20:25 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 6FCEA16A41F for ; Tue, 27 Dec 2005 17:20:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B14743D70 for ; Tue, 27 Dec 2005 17:20:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBRHK4M7048881 for ; Tue, 27 Dec 2005 17:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBRHK4Io048880; Tue, 27 Dec 2005 17:20:04 GMT (envelope-from gnats) Resent-Date: Tue, 27 Dec 2005 17:20:04 GMT Resent-Message-Id: <200512271720.jBRHK4Io048880@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 4C05616A41F for ; Tue, 27 Dec 2005 17:16:45 +0000 (GMT) (envelope-from rushani@FreeBSD.org) Received: from wasley.bl.mmtr.or.jp (wasley.bl.mmtr.or.jp [210.228.173.142]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E8CF43D53 for ; Tue, 27 Dec 2005 17:16:44 +0000 (GMT) (envelope-from rushani@FreeBSD.org) Received: (qmail 10421 invoked from network); 28 Dec 2005 02:16:42 +0900 Received: from unknown (HELO mpu.rushani.jp) (210.139.52.123) by wasley.bl.mmtr.or.jp with SMTP; 28 Dec 2005 02:16:42 +0900 Received: from localhost (localhost [IPv6:::1]) by mpu.rushani.jp (8.13.3/8.13.3) with ESMTP id jBRHGfrP078600; Wed, 28 Dec 2005 02:16:42 +0900 (JST) (envelope-from rushani@FreeBSD.org) Message-Id: <20051228.021523.22086789.rushani@FreeBSD.org> Date: Wed, 28 Dec 2005 02:15:23 +0900 (JST) From: Hideyuki KURASHINA To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/90983: [Maintainer update] shells/scponly: Fix WinSCP compativility in SCP mode and etc X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2005 17:20:25 -0000 >Number: 90983 >Category: ports >Synopsis: [Maintainer update] shells/scponly: Fix WinSCP compativility and etc >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: Tue Dec 27 17:20:04 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Hideyuki KURASHINA >Release: FreeBSD 5.4-RELEASE-p8 i386 >Organization: >Environment: System: FreeBSD ***.*******.jp 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #1: Thu Dec 1 00:38:07 JST 2005 hideyuki@***.*******.jp:/usr/obj/usr/src/sys/***_XCAST6 i386 >Description: 1. Fix WinSCP compativility in SCP mode. PORTREVISION bumped. 2. Add sourceforge mirrors to ${MASTER_SITES}. 3. From scponly 4.2, scp & WinSCP compatibilities are not enabled by default. Notice this at pre-everything target as well as UPDATING. >How-To-Repeat: 1. Try to connect sshd with WinSCP using SCP mode. 2. Check http://www.sublimation.org/scponly/ 3. Check https://lists.ccs.neu.edu/pipermail/scponly/2005-December/001039.html >Fix: Apply following patch, Index: UPDATING =================================================================== RCS file: /home/ncvs/ports/UPDATING,v retrieving revision 1.260 diff -u -r1.260 UPDATING --- UPDATING 25 Dec 2005 17:24:50 -0000 1.260 +++ UPDATING 27 Dec 2005 17:09:41 -0000 @@ -6,6 +6,14 @@ time you update your ports collection, before attempting any port upgrades. +20051228: + AFFECTS: users of shells/scponly + AUTHOR: rushani@FreeBSD.org + + From scponly 4.2, scp & WinSCP compatibilities are not enabled by default. + To enable those compatibilities, define WITH_SCPONLY_SCP and/or + WITH_SCPONLY_WINSCP, respectively. + 20051225: AFFECTS: users of p5-libapreq2 AUTHOR: vanilla@FreeBSD.org Index: shells/scponly/Makefile =================================================================== RCS file: /home/ncvs/ports/shells/scponly/Makefile,v retrieving revision 1.19 diff -u -r1.19 Makefile --- shells/scponly/Makefile 22 Dec 2005 16:24:30 -0000 1.19 +++ shells/scponly/Makefile 27 Dec 2005 17:09:48 -0000 @@ -71,9 +71,11 @@ PORTNAME= scponly PORTVERSION= 4.2 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= shells -MASTER_SITES= http://www.sublimation.org/scponly/ +MASTER_SITES= http://www.sublimation.org/scponly/ \ + ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= scponly EXTRACT_SUFX= .tgz MAINTAINER= rushani@FreeBSD.org @@ -140,6 +142,10 @@ .endif pre-everything:: + @${ECHO_MSG} "From scponly 4.2, scp & WinSCP compatibilities are not" + @${ECHO_MSG} "enabled by default. To enable those compatibilities," + @${ECHO_MSG} "define WITH_SCPONLY_SCP and/or WITH_SCPONLY_WINSCP," + @${ECHO_MSG} "respectively." @${ECHO_MSG} "" @${ECHO_MSG} "You can enable chroot functionality by defining WITH_SCPONLY_CHROOT." @${ECHO_MSG} "" Index: shells/scponly/files/patch-ac =================================================================== RCS file: shells/scponly/files/patch-ac diff -N shells/scponly/files/patch-ac --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ shells/scponly/files/patch-ac 27 Dec 2005 14:09:54 -0000 @@ -0,0 +1,22 @@ +--- scponly.c.orig Thu Dec 22 08:12:22 2005 ++++ scponly.c Tue Dec 27 23:09:30 2005 +@@ -611,7 +611,9 @@ int process_ssh_request(char *request) + fflush(stdout); + fflush(stderr); + discard_vector(av); ++#ifdef USE_SAFE_ENVIRONMENT + discard_vector(safeenv); ++#endif + free(flat_request); + free(tmprequest); + return(WEXITSTATUS(status)); +@@ -629,7 +631,9 @@ int process_ssh_request(char *request) + syslog(LOG_ERR, "failed: %s with error %s(%u) (%s)", flat_request, strerror(errno), errno, logstamp()); + free(flat_request); + discard_vector(av); ++#ifdef USE_SAFE_ENVIRONMENT + discard_vector(safeenv); ++#endif + #ifdef WINSCP_COMPAT + if (winscp_mode) + { >Release-Note: >Audit-Trail: >Unformatted: