Date: Wed, 30 Apr 2014 15:13:30 -0400 From: Ed Maste <emaste@freebsd.org> To: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= <trasz@freebsd.org> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: Duplicating code from NetBSD Message-ID: <CAPyFy2BFXp6Zg9a-HEYAt=HGDgbAMjZrHNuToB53PTC_rKKspg@mail.gmail.com> In-Reply-To: <7A221B2C-6439-46E7-8343-51945B5626A7@FreeBSD.org> References: <6a7255a1fdfc41c79e38532bf267a06f@BL2PR03MB210.namprd03.prod.outlook.com> <7A221B2C-6439-46E7-8343-51945B5626A7@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17 April 2014 09:00, Edward Tomasz Napiera=C5=82a <trasz@freebsd.org> wr= ote: > Wiadomo=C5=9B=C4=87 napisana przez Abhishek Gupta (LIS) w dniu 17 kwi 201= 4, o godz. 03:01: >> Hi folks, >> >> Newbie question so please excuse the naivety. If someone were to copy a = few functions from NetBSD in to their FreeBSD kernel mode drivers then is i= t still possible to submit the code in to the FreeBSD tree under the FreeBS= D license? If not then would the community accept the copied code cleanly s= eparated out in a file and licensed under the NetBSD license? Please let me= know if there is an acceptable procedure to do this or if this is a comple= te NONO. > > It all depends on the license. If the code is licensed under standard BS= D > license, then it's perfectly ok to commit it to FreeBSD. In fact, a lot = of things > got ported from NetBSD, just grep for it in sources. It sounds to me as if Abhishek is proposing copying functions from NetBSD into a FreeBSD source file for their driver. While there's probably an acceptable way to do this (while maintaining the copyright / license text), it seems like it would be more awkward and confusing, and also make future updates more difficult. I'd recommend leaving the code in separate files. Abhishek, do you have a pointer to the functions you're interested in using= ?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2BFXp6Zg9a-HEYAt=HGDgbAMjZrHNuToB53PTC_rKKspg>