From nobody@FreeBSD.org  Thu Dec 20 00:25:01 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 12EB316A417
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Dec 2007 00:25:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 0D7B613C459
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Dec 2007 00:25:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBK0OdQf058212
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Dec 2007 00:24:39 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lBK0Od2l058211;
	Thu, 20 Dec 2007 00:24:39 GMT
	(envelope-from nobody)
Message-Id: <200712200024.lBK0Od2l058211@www.freebsd.org>
Date: Thu, 20 Dec 2007 00:24:39 GMT
From: Jan Schaumann <jschauma@netmeister.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: add TFTP Option Extension (rfc 2347) from NetBSD
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         118874
>Category:       bin
>Synopsis:       [patch] tftpd(8): add TFTP Option Extension (rfc 2347) from NetBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 20 00:30:01 UTC 2007
>Closed-Date:    Fri Sep 24 15:03:12 UTC 2010
>Last-Modified:  Fri Sep 24 15:03:12 UTC 2010
>Originator:     Jan Schaumann
>Release:        
>Organization:
>Environment:
>Description:
Some time in 2003, NetBSD's tftp and tftpd got support for the TFTP Option Extension as per RFC 2347 (contributed from Wasabi Systems).  These changes should be merged into FreeBSD's tftp, so that people don't need to install ports/tftp-hpa if they require these options.

The patches in question are:
http://cvsweb.netbsd.org/bsdweb.cgi/src/libexec/tftpd/tftpd.c.diff?r1=1.24&r2=1.25
http://cvsweb.netbsd.org/bsdweb.cgi/src/libexec/tftpd/tftpd.8.diff?r1=1.17&r2=1.18
http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/tftp/main.c.diff?r1=1.14&r2=1.15
http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/tftp/tftp.1.diff?r1=1.15&r2=1.16
http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/tftp/tftp.c.diff?r1=1.16&r2=1.17
http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/tftp/tftpsubs.c.diff?r1=1.6&r2=1.7
http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/tftp/tftpsubs.h.diff?r1=1.2&r2=1.3
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->edwin 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Dec 20 00:35:26 UTC 2007 
Responsible-Changed-Why:  
Grab as I have other things to improve tftpd/tftp already waiting 
for my mentor to approve. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=118874 
Responsible-Changed-From-To: edwin->freebsd-bugs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Feb 14 10:34:20 UTC 2008 
Responsible-Changed-Why:  

Give back into the pool until later. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118874 

From: John Baldwin <jhb@freebsd.org>
To: bug-followup@freebsd.org, jschauma@netmeister.org
Cc:  
Subject: Re: bin/118874: [patch] tftpd(8): add TFTP Option Extension (rfc 2347) from NetBSD
Date: Sat, 2 Aug 2008 08:50:11 -0400

 An update: it looks like base RFC 2347 support as well as support for two of 
 the options (tsize and timeout) were added in 2001 to tftpd (but not the tftp 
 client it seems).  Support for the blocksize extension is still missing 
 though, and the client changes.  I'll look at this, but the NetBSD patches 
 for at least the tftpd bits can't just be applied as is.
 
 -- 
 John Baldwin
State-Changed-From-To: open->patched 
State-Changed-By: imp 
State-Changed-When: Tue May 4 08:48:04 MDT 2010 
State-Changed-Why:  
New tftpd imported with this feature. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=118874 
State-Changed-From-To: patched->closed 
State-Changed-By: marius 
State-Changed-When: Fri Sep 24 15:02:50 UTC 2010 
State-Changed-Why:  
Close; the "new" tftpd(8) was merged to stable/8 in r213038 and to stable/7 
in r213039 respectively. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118874 
>Unformatted:
