Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2003 21:54:05 +0200 (CEST)
From:      Xavier Beaudouin <kiwi@oav.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50836: Maintainer Update: ftp/fmirror
Message-ID:  <20030411195405.8EECC15733@kaneda.oav.net>
Resent-Message-ID: <200304112000.h3BK0I5d000578@freefall.freebsd.org>

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

>Number:         50836
>Category:       ports
>Synopsis:       Maintainer Update: ftp/fmirror
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 11 13:00:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Xavier Beaudouin
>Release:        FreeBSD 4.7-RELEASE-p9 i386
>Organization:
The Caudium Group
>Environment:
System: FreeBSD kaneda.oav.net 4.7-RELEASE-p9 FreeBSD 4.7-RELEASE-p9 #0: Sat Mar 29 15:45:04 CET 2003 root@kaneda.oav.net:/usr/src/sys/compile/KANEDA i386

Port tree from today 21h40 CEST

	
>Description:

Thie contain a patch for some ftp server that ask for '\r' when getting 
a FTP command like Roxen and Caudium.

>How-To-Repeat:
	
>Fix:

Use the following patch :


diff -u --recursive --new-file fmirror.old/Makefile fmirror/Makefile
--- fmirror.old/Makefile	Fri Apr 11 21:49:12 2003
+++ fmirror/Makefile	Fri Apr 11 21:50:07 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	fmirror
 PORTVERSION=	0.8.4
+PORTREVISION=	1
 CATEGORIES=	ftp
 MASTER_SITES=	ftp://ftp.guardian.no/pub/free/ftp/fmirror/
 
diff -u --recursive --new-file fmirror.old/files/patch-aa fmirror/files/patch-aa
--- fmirror.old/files/patch-aa	Thu Jan  1 01:00:00 1970
+++ fmirror/files/patch-aa	Fri Apr 11 21:46:34 2003
@@ -0,0 +1,11 @@
+--- fmirror.c.old	Fri Apr 11 21:37:09 2003
++++ fmirror.c	Fri Apr 11 21:39:33 2003
+@@ -642,7 +642,7 @@
+     va_list args;
+     va_start(args, format);
+     vsprintf(buffer, format, args);
+-    l = fprintf(out_file, "%s\n", buffer); 
++    l = fprintf(out_file, "%s\r\n", buffer); 
+     fflush(out_file);
+     buffer[l - 1] = 0;
+     LOG(6, cmd, ("---> %s", buffer));

>Release-Note:
>Audit-Trail:
>Unformatted:



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