Open GoogleCodeExporter opened 8 years ago
I think there are 2 subjects here.
1) maintenance of crc.cpp and option.cpp.
- (crc.cpp + UCB/3-clause) looks up-to-date and accurate to me
- option.cpp derives from (getopt_long + NetBSD/4-clause) and (getopt_long +
Todd.C.Miller). The NetBSD source can be trivially changed to NetBSD/2-clause).
another course of action would be to drop Todd's changes (ie: branch from
NetBSD/2-clause). it's probably a plus for something like getopt_long to behave
100% consistent on all platforms so the idea of using OS's getopt_long if
available has negative QA consequences.
2) the above does nothing to factor copyright boundaries in the build process.
but I must say that by importanting BSD licensed software, this project has
stayed true to its goals and has not been compromised. googlecode (at the time)
did not permit multiple licenses in their hosted project definition, so maybe
that's an issue. but from a project perspective, I really don't have any issue
with people distributing binaries having to enumerate a handful of BSD and
other licenses. as stated above, dropping down from (UCB,NetBSD,Todd.C.Miller)
licenses to (UCB,NetBSD) would be a nice cleanup.
While technically it's doable, I really don't think separating out MPL vs.
non-MPL licenses in the build is worth the complexity. That said, you're right,
it would be nice if the project audited source code and provided an
authoritative (but not liable!) list of which files were licensed differently
from MPL.
disclaimer: i'm not driving this project anymore, but I occasionally respond to
(my) bugs and subjects so bear in mind the above are just my opinions and not
decisions for mp4v2.
Original comment by Kona8l...@gmail.com
on 3 Feb 2011 at 6:31
Not sure if this is feasible, but there are a number of CRC implementations in
the public domain (example: http://csbruce.com/~csbruce/software/crc32.c - not
saying we should use this implementation, just pointing out there's other
options) that might be worth consideration?
Seems sort of silly to have license smash over something as basic as CRC.
Original comment by jnor...@logitech.com
on 8 Feb 2011 at 12:55
I was looking for a crc replacement (there's numerous public domain
implementations, so no need to go with something that has a license associated
with it), but I'm finding I don't totally understand the code that's there. It
is purportedly the crc used in ISO/IEC 8802-3:1989, but from my understanding
that standard uses crc16, not crc32.
Then I tested the code we currently use in crc32 with some standard strings
(e.g. "123456789", and I'm really not getting the sort of results I'd expect,
even for crc32. Kona, you put that code in--do you remember any of the details?
Original comment by kid...@gmail.com
on 27 Apr 2011 at 6:58
Yeah looks like I did a function misnomer. Output is same as 'cksum' as found
on MacOSX and *bsd distros. So it's not crc32, but rather a 32-bit posix
checksum; according to source from Apple:
/*
* Compute a POSIX 1003.2 checksum.
*/
This is near identical source code; just simplified to use a buffer instead of
file descriptor.
--> http://www.opensource.apple.com/tarballs/file_cmds/file_cmds-202.2.tar.gz
--> cksum/crc.c
Original comment by Kona8l...@gmail.com
on 28 Apr 2011 at 12:33
Original issue reported on code.google.com by
wells.br...@gmail.com
on 3 Feb 2011 at 1:58Attachments: