From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 22:35:52 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8517E2B8 for ; Sat, 27 Oct 2012 22:35:52 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm28.bullet.mail.bf1.yahoo.com (nm28.bullet.mail.bf1.yahoo.com [98.139.212.187]) by mx1.freebsd.org (Postfix) with ESMTP id 0F6858FC12 for ; Sat, 27 Oct 2012 22:35:51 +0000 (UTC) Received: from [98.139.212.152] by nm28.bullet.mail.bf1.yahoo.com with NNFMP; 27 Oct 2012 22:35:45 -0000 Received: from [98.139.211.198] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 27 Oct 2012 22:35:45 -0000 Received: from [127.0.0.1] by smtp207.mail.bf1.yahoo.com with NNFMP; 27 Oct 2012 22:35:45 -0000 X-Yahoo-Newman-Id: 296755.19969.bm@smtp207.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 6OVK02YVM1mTp8.q.06hPkS.8zRumc7VPnovIrzko4X6QSe pCoKRDaW1NWlGr.hm1tdmwJtbn6Y0WfURRqiPPBnxIwBd0KAX6H.phEnKw._ OfSyvDTVeMdaOq.QvVj42mST4ys0kBByyrQ7PmTWjGl22uBfUs_vMEr0jPaZ ryxHOrfINPUcQGLKoJChn6ymp1wKe1d77XU5YuiUZYiTSr0hj5h3iuqbBi40 8tWxlk6al19LhT60Lj9qXt7DVlSJzJ.Xyb0Cexntv.aV2r_nRvXD4SBljhV1 30QoxO.dgNBpWlyNDa5mFzu_FoPWQ_.G8kQssJaEDD4vT8.VsB36n4qDxjK. _umauqNzWFprTXMgpmje3U0XYs57PGWb6esfI0jYkqodCPbU5HTAEhoL9dVg QbX9NBsHjgIk8Eio7XQ3P.2gqERCf9vZb2PVVrtG_SMNdz4fiQQmyhRbSzAv mp4_3MlBA7Q-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Received: from [192.168.10.103] (pfg@200.118.157.7 with plain) by smtp207.mail.bf1.yahoo.com with SMTP; 27 Oct 2012 15:35:45 -0700 PDT Message-ID: <508C61C1.8090109@FreeBSD.org> Date: Sat, 27 Oct 2012 17:35:45 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120621 Thunderbird/13.0.1 MIME-Version: 1.0 To: hiren panchasara Subject: Re: Porting patch(1) from NetBSD to FreeBSD (was Re: FreeBSD in Google Code-In 2012? You can help too!) References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Chris Rees , freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 22:35:52 -0000 Hello Hiren; On 10/27/2012 16:48, hiren panchasara wrote: > + Sean, who has been helping me. > > On Sat, Oct 27, 2012 at 2:31 PM, Chris Rees > wrote: > > On 27 October 2012 22:17, hiren panchasara > > > wrote: > > [removing the CC list] > > > > On Wed, Oct 24, 2012 at 3:36 PM, Pedro Giffuni > wrote: > > > >> (cc'ing -ports and cutting most of the rest) > >> > >> > From: Eitan Adler > >> .> > >> >On 24 October 2012 13:24, Fernando ApesteguĂ­a wrote: > >> >> Also related to that, what about writing a section about > redports[1] > >> >> in the porter's handbook[2]? > >> > > >> >This is a good documentation task... but we need more *coding* > tasks as > >> well. > >> > > >> > >> We do need to port and test patch (1) from NetBSD or DragonFly > to replace > >> GNU patch, and this shouldn't be difficult. > >> > > > > Hi Pedro / List, > > > > I am not part of google summer of code but I've tried to port > patch(1) from > > NetBSD into FreeBSD head. I hope that is okay. > > > > Patching was trivial and It _seems_ to be working fine. > > > > I would appreciate any ideas around how to test the changes and > how to > > proceed further. > > Have you a patch :)? You're right, there shouldn't have been many > changes needed. > > > Will prepare a patch and post here as soon as I get a chance :-) > This is great news Hiren, Thanks! The stress test for this utility is the ports tree but before that we have to know what will change. What needs to be done is: 1- Compare the options between our old patch and the new BSD patch. 2- Document this in FreeBSD's wiki. 3- Prepare a port for testing. Unfortunately I will be very busy for more than a month and I can't help much but I am sure some other committer will love to follow on this. Thanks for taking the initiative, that's what FreeBSD needs! Pedro.