From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 26 01:20:27 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 9BCF916A4CE for ; Tue, 26 Oct 2004 01:20:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79C3B43D2D for ; Tue, 26 Oct 2004 01:20:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9Q1KQTT013250 for ; Tue, 26 Oct 2004 01:20:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9Q1KQ8b013249; Tue, 26 Oct 2004 01:20:26 GMT (envelope-from gnats) Resent-Date: Tue, 26 Oct 2004 01:20:26 GMT Resent-Message-Id: <200410260120.i9Q1KQ8b013249@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, Yen-Ming Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7832E16A4CE for ; Tue, 26 Oct 2004 01:14:07 +0000 (GMT) Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB67243D3F for ; Tue, 26 Oct 2004 01:14:06 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id 27F1B3E9FA3; Tue, 26 Oct 2004 09:14:06 +0800 (CST) Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26127-06; Tue, 26 Oct 2004 09:14:04 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id CB2BA3E9FA2; Tue, 26 Oct 2004 09:14:03 +0800 (CST) Message-Id: <20041026011403.CB2BA3E9FA2@utopia.leeym.com> Date: Tue, 26 Oct 2004 09:14:03 +0800 (CST) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: enigmatyc@laposte.net Subject: ports/73143: [PATCH] shells/rssh: update to 2.2.2 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: Tue, 26 Oct 2004 01:20:27 -0000 >Number: 73143 >Category: ports >Synopsis: [PATCH] shells/rssh: update to 2.2.2 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Oct 26 01:20:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.3-STABLE i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD utopia.leeym.com 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Oct 25 01:17:22 CST 2004 >Description: There is a string format vulnerability in rssh-2.2.1 http://www.pizzashack.org/rssh/security.shtml - update to 2.2.2 - use REINPLACE_CMD instead of the patch file - correct the knob for RDIST Removed file(s): - files/patch-Makefile.in Port maintainer (enigmatyc@laposte.net) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- rssh-2.2.2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/shells/rssh/Makefile,v retrieving revision 1.3 diff -u -u -r1.3 Makefile --- Makefile 21 Sep 2004 20:37:17 -0000 1.3 +++ Makefile 26 Oct 2004 01:10:56 -0000 @@ -6,7 +6,7 @@ # PORTNAME= rssh -PORTVERSION= 2.2.1 +PORTVERSION= 2.2.2 CATEGORIES= shells security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,6 +15,7 @@ COMMENT= A Restricted Secure SHell only for sftp or/and scp GNU_CONFIGURE= yes +USE_REINPLACE= yes MAN1= rssh.1 MAN5= rssh.conf.5 @@ -34,9 +35,13 @@ CONFIGURE_ARGS+=--with-rsync=${LOCALBASE}/bin/rsync .endif -.if defined(WITH_RSYNC) +.if defined(WITH_RDIST) RUN_DEPENDS+= ${LOCALBASE}/bin/rdist6:${PORTSDIR}/net/rdist6 CONFIGURE_ARGS+=--with-rdist=${LOCALBASE}/bin/rdist6 .endif + +post-patch: + ${REINPLACE_CMD} -E -e 's,(\$$\(DESTDIR\)\$$\(sysconfdir\)/\$$\$$f),\1.dist,g' \ + ${WRKSRC}/Makefile.in .include Index: distinfo =================================================================== RCS file: /home/pcvs/ports/shells/rssh/distinfo,v retrieving revision 1.2 diff -u -u -r1.2 distinfo --- distinfo 21 Sep 2004 20:37:17 -0000 1.2 +++ distinfo 26 Oct 2004 01:10:56 -0000 @@ -1,2 +1,2 @@ -MD5 (rssh-2.2.1.tar.gz) = 2d427ee7f4ea46b075fa0ab3f39b4089 -SIZE (rssh-2.2.1.tar.gz) = 95552 +MD5 (rssh-2.2.2.tar.gz) = 351440cc3909214bae6f2ad2d57a4419 +SIZE (rssh-2.2.2.tar.gz) = 105255 Index: files/patch-Makefile.in =================================================================== RCS file: files/patch-Makefile.in diff -N files/patch-Makefile.in --- files/patch-Makefile.in 21 May 2004 13:37:24 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ ---- Makefile.in.orig Sun Jul 20 19:27:29 2003 -+++ Makefile.in Fri May 21 15:23:01 2004 -@@ -357,8 +357,8 @@ - @list='$(dist_sysconf_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f="`echo $$p | sed -e 's|^.*/||'`"; \ -- echo " $(dist_sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \ -- $(dist_sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \ -+ echo " $(dist_sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f.dist"; \ -+ $(dist_sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f.dist; \ - done - - uninstall-dist_sysconfDATA: --- rssh-2.2.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: