Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2012 22:46:23 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        hiren panchasara <hiren.panchasara@gmail.com>
Cc:        Chris Rees <crees@freebsd.org>, freebsd-hackers@freebsd.org
Subject:   Re: Porting patch(1) from NetBSD to FreeBSD (was Re: FreeBSD in Google Code-In 2012? You can help too!)
Message-ID:  <508CAA8F.2040701@FreeBSD.org>
In-Reply-To: <CALCpEUGMy4fPMpzQDPtqmAo0nZU4-w5cXFRaDif0%2BznG9R5jmQ@mail.gmail.com>
References:  <CALCpEUHXkyPgqaypkiatx978jjMbiYtvMZC3nNHNpnRSdLf=PA@mail.gmail.com> <CADLo83-%2Bz6oS%2BeRvU=Sucd-DpJqCPRnMvTBSZM_QfC7Y7VwZ_w@mail.gmail.com> <CALCpEUEH9xiSHVyV=FqEVM3m7V3G%2B_5bNnNJKroY3Dnr-RqTXA@mail.gmail.com> <508C61C1.8090109@FreeBSD.org> <CALCpEUGMy4fPMpzQDPtqmAo0nZU4-w5cXFRaDif0%2BznG9R5jmQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi;

On 10/27/2012 22:08, hiren panchasara wrote:
>
>
> On Sat, Oct 27, 2012 at 3:35 PM, Pedro Giffuni <pfg@freebsd.org 
> <mailto:pfg@freebsd.org>> wrote:
>
>     Hello Hiren;
>
>
>
>     On 10/27/2012 16:48, hiren panchasara wrote:
>

...
>
>
>     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.
>
> Thanks Pedro!
> I will have  a lot of questions as I am a newbie here. :-)
>
>
>     What needs to be done is:
>
>     1- Compare the options between our old patch and the new BSD patch.
>
> Will do.
>
>     2- Document this in FreeBSD's wiki.
>
> I think this needs to be done when we are done deciding on diffs and 
> how the changes look, right?
> Also, I do not think I have write access to the wiki.

Well, I am hoping that we don't have to do any hacking on patch to be
acceptable but having a table like this would be nice:
http://wiki.freebsd.org/SOC2010BenFiedler

This is mandatory though, just planning ahead.

<http://wiki.freebsd.org/SOC2010BenFiedler>;
>
>     3- Prepare a port for testing.
>
> Does this need to be a port? I thought this would live in 
> /src/usr.bin/patch.
> Also, I believe this will co-exist with current gnu patch(1). Is that 
> a right assumption?
>

We like to be safe and having it in the ports tree makes it easier to
test it on all FreeBSD versions and platforms before it finds it's way
into the base system. I know this sounds like a long tedious process
but we have a reputation to take care of ;).

Creating a new port of this is really easy though; you can probably start
with the bsd sort port as a template and check porter's handbook
if there is any doubt.

Let us know if you need to a place to put of the tarball.


Pedro.





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