[Dovecot] Binary packagers: BSD license issues
Adding this SHA256 code made me read the BSD license once again. It says:
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
Then there are a few files from Cyrus as well which contain:
- Redistributions of any form whatsoever must retain the following
- acknowledgment:
- "This product includes software developed by Computing Services
at Carnegie Mellon University (http://www.cmu.edu/computing/)."
And something similar in utc-mktime.c for Berkeley university as well. I think I'd really like to get rid of those base64.c and utc-mktime.c exceptions.. There's probably also an easier/faster way to implement utc_mktime().
Anyway..
Currently these copyrights or acknowledgments aren't listed anywhere else than in the source files. I don't know if binary packagers have added those, but somehow I doubt it.
So I think I should add these to COPYING file somehow. Any suggestions? Perhaps appending something like this:
src/lib/sha1.c, sha2.c : BSD license
Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
All rights reserved.
Copyright (C) 2005, 2007 Olivier Gay olivier.gay@a3.epfl.ch
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Neither the name of the project nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
src/lib/base64.c, utc-mktime.c :
Copyright (c) 2000 Carnegie Mellon University. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
- The name "Carnegie Mellon University" must not be used to
endorse or promote products derived from this software without
prior written permission. For permission or any other legal
details, please contact
Office of Technology Transfer
Carnegie Mellon University
5000 Forbes Avenue
Pittsburgh, PA 15213-3890
(412) 268-4387, fax: (412) 268-7395
tech-transfer@andrew.cmu.edu
- Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes software developed by Computing Services
at Carnegie Mellon University (http://www.cmu.edu/computing/)."
CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Copyright (c) 1987, 1989, 1993
The Regents of the University of California. All rights reserved.
This code is derived from software contributed to Berkeley by
Arthur David Olson of the National Cancer Institute.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the University of
California, Berkeley and its contributors.
- Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
Adding this SHA256 code made me read the BSD license once again. It says:
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
Then there are a few files from Cyrus as well which contain:
- Redistributions of any form whatsoever must retain the following
- acknowledgment:
- "This product includes software developed by Computing Services
at Carnegie Mellon University (http://www.cmu.edu/computing/)."
And something similar in utc-mktime.c for Berkeley university as well. I think I'd really like to get rid of those base64.c and utc-mktime.c exceptions.. There's probably also an easier/faster way to implement utc_mktime().
Currently these copyrights or acknowledgments aren't listed anywhere else than in the source files. I don't know if binary packagers have added those, but somehow I doubt it.
So I think I should add these to COPYING file somehow. Any suggestions?
I'm not the packager of dovecot for pkgsrc (NetBSD and others), but I do package other things. From my viewpoint, 3-clause BSD license is really no problem provided you have an installable and preferably installed file.
4-clause BSD is a bit annoying but not that big a deal. But I don't think it's compatible with LGPL. If you're still the only copyright holder, you can of course make an exception that advertising clause is ok.
What I would suggest is that you add a file doc/COPYRIGHT that has whatever is necessary to satisfy all these things. Then, have make install put it in
$(prefix)/share/doc/dovecot/COPYRIGHT
In pkgsrc right now, there are manual install rules:
post-install: ${INSTALL_DATA} ${WRKDIR}/dovecot-example.conf ${DESTDIR}${EGDIR} ${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${DESTDIR}${EGDIR} ${INSTALL_SCRIPT} ${WRKDIR}/mkcert.sh ${DESTDIR}${EGDIR}
so adding a INSTALL_DATA for COPYRIGHT won't hurt at all.
I realize the doc dir is not necessarily the same; it would be nice to have a --with-docdir to set it for the preference of various packaging systems, but not a big deal.
Greg
On Sun, 2007-06-17 at 13:05 -0400, Greg Troxel wrote:
Then there are a few files from Cyrus as well which contain:
- Redistributions of any form whatsoever must retain the following
- acknowledgment:
- "This product includes software developed by Computing Services
.. 4-clause BSD is a bit annoying but not that big a deal. But I don't think it's compatible with LGPL. If you're still the only copyright holder, you can of course make an exception that advertising clause is ok.at Carnegie Mellon University (http://www.cmu.edu/computing/)."
I didn't think of that before. I finally went and rewrote those functions to v1.1:
http://hg.dovecot.org/dovecot/rev/c02c7912fb15 http://hg.dovecot.org/dovecot/rev/6d15946eccb5
After that the only BSD licensed code is in sha[12].c, and I added that to COPYING file:
http://hg.dovecot.org/dovecot/rev/59b7fec40e0d
I guess these changes should be made to v1.0 also, but it would be nice to have more testing done so things don't accidentally break.
participants (2)
-
Greg Troxel
-
Timo Sirainen