I have few uncertainties on how to proceed with source code licensing and copyright notices.
What I did was, to take a look at somebody's MIT licensed code, took the basic idea and wrote my own version of it. Well, probably I also copy-pasted a few lines and then modified them to suit my project's structure. To some degree I consider my code a derivative of his work. Now I'm intending to publish it (incidentally also under MIT license). However, I'm slightly unsure how to proceed with license’s condition:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
(In this case) keeping a permission is not a problem, since my intended license is the same. But what about "The above copyright notice"? Should I keep his line:
and append my (c) alongside?Copyright (c) 2012 Original Author email@example.com
To broaden the problem, what to do if I want to reuse portions of BSD licensed code? And what if something is under GPL (not sure how RasPi patches for Linux kernel are licensed)?
I do not want to appear to be "stealing" anything, I really appreciate what other coders are doing. But I'm intending to collect a library of bare-metal samples how to use RasPi hardware. And, of course, I'd like to keep my library somewhat consistent.