Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add copyright / license statements to the source files. #51

Closed
petterreinholdtsen opened this issue Jul 11, 2016 · 1 comment
Closed
Labels
feature This issue is a feature request

Comments

@petterreinholdtsen
Copy link
Contributor

petterreinholdtsen commented Jul 11, 2016

Would you be willing to add copyright / license statements to the source files? It would make it easier for packages reviewing the license status of the package and make it easier to make the package available in Debian.

It could look something like the comment below:

/*
 * Copyright (c) 2015 Charlie Curtsinger and Emery Berger
 * University of Massachusetts Amherst
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice, this
 * list of conditions and the following disclaimer.
 *
 * 2. 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.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT HOLDER 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.
 */
@ccurtsinger ccurtsinger changed the title Please add copyright / license statements to the source files. Add copyright / license statements to the source files. Aug 10, 2016
@ccurtsinger ccurtsinger added this to the v0.5 milestone Aug 10, 2016
@ccurtsinger ccurtsinger added feature This issue is a feature request ready labels Aug 10, 2016
ccurtsinger added a commit that referenced this issue Aug 10, 2016
Updated licenses and copyright notices in source files. Fixes #51
@petterreinholdtsen
Copy link
Contributor Author

[Charlie Curtsinger]

Closed #51 via 5cd4021.

Note, the source copyright headers added to coz are not completely
recognized by the tools in Debian. When I run 'debmake -cc' on todays
git version, I get the following list. It would be nice if both the
license and the copyright status was detected using the debmake tool.
Note, I'm in contact with the libelfin upstream to try to fix that issue
there.

Here is the status today:

Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: package
Source: url://example.com

Files: Makefile
README.md
benchmarks/Makefile
benchmarks/histogram/Makefile
benchmarks/kmeans/Makefile
benchmarks/linear_regression/Makefile
benchmarks/matrix_multiply/Makefile
benchmarks/pbzip2/AUTHORS
benchmarks/pbzip2/Makefile
benchmarks/pbzip2/README
benchmarks/pca/Makefile
benchmarks/producer_consumer/Makefile
benchmarks/string_match/Makefile
benchmarks/toy/Makefile
benchmarks/word_count/Makefile
common.mk
deps.mk
libcoz/Makefile
Copyright: NO_COPYRIGHT_NOR_LICENSE
License: NO_COPYRIGHT_NOR_LICENSE

Files: benchmarks/histogram/histogram-pthread.c
benchmarks/histogram/stddefines.h
benchmarks/kmeans/kmeans-pthread.c
benchmarks/kmeans/stddefines.h
benchmarks/linear_regression/linear_regression-pthread.c
benchmarks/linear_regression/stddefines.h
benchmarks/matrix_multiply/map_reduce.h
benchmarks/matrix_multiply/matrix_multiply-pthread.c
benchmarks/matrix_multiply/stddefines.h
benchmarks/pca/pca-pthread.c
benchmarks/pca/stddefines.h
benchmarks/string_match/map_reduce.h
benchmarks/string_match/stddefines.h
benchmarks/string_match/string_match-pthread.c
benchmarks/word_count/sort-pthread.c
benchmarks/word_count/sort-pthread.h
benchmarks/word_count/stddefines.h
benchmarks/word_count/word_count-pthread.c
Copyright: 2007-2009 Stanford University
License: BSD-3-Clause
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 Stanford 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 STANFORD UNIVERSITY ``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 STANFORD UNIVERSITY 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.
    .
    On Debian systems, the complete text of the BSD 3-clause "New" or "Revised"
    License can be found in`/usr/share/common-licenses/BSD'.

Files: benchmarks/producer_consumer/producer_consumer.cpp
benchmarks/toy/toy.cpp
coz
include/coz.h
libcoz/inspect.cpp
libcoz/inspect.h
libcoz/libcoz.cpp
libcoz/perf.cpp
libcoz/perf.h
libcoz/profiler.cpp
libcoz/profiler.h
libcoz/progress_point.h
libcoz/real.cpp
libcoz/real.h
libcoz/thread_state.h
libcoz/util.h
Copyright: 2015 Charlie Curtsinger and Emery Berger, University of Massachusetts Amherst
License: UNKNOWN
This file is part of the Coz project. See LICENSE.md file at the top-level
directory of this distribution and at http://github.com/plasma-umass/coz.

Files: benchmarks/pbzip2/ErrorContext.cpp
benchmarks/pbzip2/ErrorContext.h
Copyright: NO_COPYRIGHT in: benchmarks/pbzip2/ErrorContext.cpp
NO_COPYRIGHT in: benchmarks/pbzip2/ErrorContext.h
License: UNKNOWN
Created on 29 October 2011, 18:14

Files: benchmarks/pbzip2/BZ2StreamScanner.cpp
benchmarks/pbzip2/BZ2StreamScanner.h
Copyright: NO_COPYRIGHT in: benchmarks/pbzip2/BZ2StreamScanner.cpp
NO_COPYRIGHT in: benchmarks/pbzip2/BZ2StreamScanner.h
License: UNKNOWN
Created on March 6, 2010, 10:07 PM

Files: benchmarks/pbzip2/pbzip2.h
Copyright: NO_COPYRIGHT in: benchmarks/pbzip2/pbzip2.h
License: UNKNOWN
Created on March 6, 2010, 10:18 PM
.
Change History:
2010-05-20 - by Yavor Nikolov

  • Transformed input queue as queue of queues to avoid deadlock and conten
    tion issues.

Files: benchmarks/LICENSE.md
Copyright: 1996-2008 Julian R Seward.
License: UNKNOWN
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
.

  1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
    .
  2. The origin of this software must not be misrepresented; you must
    not claim that you wrote the original software. If you use this
    software in a product, an acknowledgment in the product
    documentation would be appreciated but is not required.
    .
  3. Altered source versions must be plainly marked as such, and must
    not be misrepresented as being the original software.
    .
  4. The name of the author may not be used to endorse or promote
    products derived from this software without specific prior written
    permission.
    .
    THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
    .
    Jeff Gilchrist, Ottawa, Canada.
    pbzip2@compression.ca
    pbzip2 version 1.1.13 of Dec 18, 2015

Files: benchmarks/pbzip2/pbzip2.cpp
Copyright: NO_COPYRIGHT in: benchmarks/pbzip2/pbzip2.cpp
License: UNKNOWN
Date : Oct 30, 2011
.
TODO
Known Issues

Files: LICENSE.md
Copyright: NO_COPYRIGHT in: LICENSE.md
License: BSD-2-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.

  1. Redistributions of source code must retain the above copyright notice, this
    list of conditions and the following disclaimer.
  2. 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.
    .
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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.
    .
    The views and conclusions contained in the software and documentation are those
    of the authors and should not be interpreted as representing official policies,
    either expressed or implied, of the FreeBSD Project.

Happy hacking
Petter Reinholdtsen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue is a feature request
Projects
None yet
Development

No branches or pull requests

2 participants