On Thu, Nov 24, 2011 at 12:01 PM, Paolo Castagna
<[email protected]> wrote:
> I am now as confused as I was before on what should be the right thing to do.

Sorry about that. As far as I can tell everything I wrote is
consistent with what is on the main apache website. When in doubt, do
what the website says.

> However, I am still confused and on this thread there are different
> statements on what should be the right thing to do.

But they should all be compatible with each other.

The right thing to do is to follow the process described at
http://www.apache.org/legal/src-headers.html. If you did that, then
you are done.

> Just to make a specific example, for LARQ, there are three options
> on the table:
...
> There are currently no copyright statements in the LARQ source code.
> Leo, to remove any confusion: 1, 2, or 3?

I cannot quite answer like that, because the real answer is "you must
apply the approach described in the policy". The result can be a tiny
bit different depending on who you are (if you represent HP, you can
remove the HP copyright claims. If you represent talis, you can remove
the talis copyright claims, etc).

So, If *I* would start from,

   http://svn.apache.org/repos/asf/incubator/jena/Import/Jena-SVN/LARQ/trunk/

here's a complete answer. Hope it's clear.


cheers,


Leo


NOTICE
------
Here's what should be in the notice file (dedent 8 spaces, remove my comments):

        Apache Jena - LARQ module
        Copyright 2011 The Apache Software Foundation

        This product includes software developed at
        The Apache Software Foundation (http://www.apache.org/).

^^ that's the standard header.

        Portions of Apache Jena were originally developed by
        third parties and are licensed to the Apache Software
        Foundation under the "Software Grant and Corporate Contribution
        License Agreement" and for those the following copyright notices
        apply:
          (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard
Development Company, LP
          (c) Copyright 2010 Talis Information Ltd.
          (c) Copyright 2010, 2011 Talis Systems Ltd.

^^ these are all copyright notices from all source files for which we
have software
grants.

^^ the epimorphics copyright applies to one file in LARQ, IndexLARQ.java. Since
we are obliged under the BSD license to reproduce the copyright statement along
with the license, that statement goes into the LICENSE file and so it
does not need
to be in the LICENSE file.

LICENSE
-------
Here's what should be in the license file:
        <<APACHE LICENSE>>

^^ that's the standard license (well, I snipped it).

        APACHE JENA - LARQ MODULE SUBCOMPONENTS:

        Apache Jena includes a number of subcomponents with separate copyright
        notices and license terms. Your use of the source code for these
        subcomponents is subject to the terms and conditions of the
the following
        licenses.

^^ this is some intro/boilerplate to make clear why the additional licenses are
in the file.

        For src/main/java/org/apache/jena/larq/IndexLARQ.java:

        /*
         * (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard
Development Company, LP
         * (c) Copyright 2010 Epimorphics Ltd.
         * (c) Copyright 2010 Talis Systems Ltd.
         *
         * 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.
         * 3. 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.
         */

^^ this is copied from the source file. We don't have a software grant from
epimorphics so we can't relicense, and we must keep the BSD license. Per the BSD
license, binary distributions must reproduce the entire license, and
so the entire
license has to go in the LICENSE file.

         For the SLF4J library:

         Copyright (c) 2004-2008 QOS.ch
         All rights reserved.

         Permission is hereby granted, free  of charge, to any person obtaining
         a  copy  of this  software  and  associated  documentation files  (the
         "Software"), to  deal in  the Software without  restriction, including
         without limitation  the rights to  use, copy, modify,  merge, publish,
         distribute,  sublicense, and/or sell  copies of  the Software,  and to
         permit persons to whom the Software  is furnished to do so, subject to
         the following conditions:

         The  above  copyright  notice  and  this permission  notice  shall  be
         included in all copies or substantial portions of the Software.

         THE  SOFTWARE IS  PROVIDED  "AS  IS", WITHOUT  WARRANTY  OF ANY  KIND,
         EXPRESS OR  IMPLIED, INCLUDING  BUT NOT LIMITED  TO THE  WARRANTIES OF
         MERCHANTABILITY,    FITNESS    FOR    A   PARTICULAR    PURPOSE    AND
         NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
         LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
         OF CONTRACT, TORT OR OTHERWISE,  ARISING FROM, OUT OF OR IN CONNECTION
         WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

^^ this was already in the LICENSE file, and it is included because per the MIT
license, binary (re)distributions must reproduce the entire license, and so the
entire license has to go in the LICENSE file, assuming we actually ship a
distribution of LARQ that includes the SLF4J jar(s) inside the tarball.

^^ there was a mention that "The Apache License, Version 2.0 applies to the
following libraries: Apache Lucene". That notice should not be there: the apache
license applies to the entire distribution including all the subcomponents it
contains, unless specified otherwise.

IndexLARQ.java
--------------
src/main/java/org/apache/jena/larq/IndexLARQ.java should have the
following header:

        /*
         * (c) Copyright 2006, 2007, 2008, 2009 Hewlett-Packard
Development Company, LP
         * (c) Copyright 2010 Epimorphics Ltd.
         * (c) Copyright 2010 Talis Systems Ltd.
         *
         * 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.
         * 3. 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.
         */

that is, since this is just a single file under a different license
(because apache
does not have a grant from epimorphics), we keep it under the original
BSD license
and don't add any other license header.

Other source files
------------------
        <<APACHE LICENSE HEADER>>

All the other source files in LARQ should have the standard apache
license header.

Reply via email to