Skip to content

Commit

Permalink
relicense: replace LGPL headers with Apache-2.0/MIT SPDX headers
Browse files Browse the repository at this point in the history
- remove the old LGPL license headers from all files in Spack
- add SPDX headers to all files
  - core and most packages are (Apache-2.0 OR MIT)
  - a very small number of remaining packages are LGPL-2.1-only
  • Loading branch information
tgamblin committed Oct 17, 2018
1 parent 3501bc9 commit eea786f
Show file tree
Hide file tree
Showing 3,359 changed files with 13,518 additions and 76,151 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
30 changes: 6 additions & 24 deletions bin/sbang
Original file line number Diff line number Diff line change
@@ -1,28 +1,10 @@
#!/bin/bash
##############################################################################
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-647188
#
# For details, see https://github.com/spack/spack
# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License (as
# published by the Free Software Foundation) version 2.1, February 1999.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
# conditions of the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
#
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

#
# `sbang`: Run scripts with long shebang lines.
#
Expand Down
26 changes: 4 additions & 22 deletions bin/spack
Original file line number Diff line number Diff line change
@@ -1,28 +1,10 @@
#!/usr/bin/env python
##############################################################################
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-647188
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# For details, see https://github.com/spack/spack
# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License (as
# published by the Free Software Foundation) version 2.1, February 1999.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
# conditions of the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from __future__ import print_function

import os
Expand Down
30 changes: 6 additions & 24 deletions bin/spack-python
Original file line number Diff line number Diff line change
@@ -1,28 +1,10 @@
#!/bin/sh
##############################################################################
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-647188
#
# For details, see https://github.com/spack/spack
# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License (as
# published by the Free Software Foundation) version 2.1, February 1999.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
# conditions of the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
#
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

#
# spack-python
#
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/basic_usage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _basic-usage:

===========
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/binary_caches.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _binary_caches:

============
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_settings.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _build-settings:

======================================
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _build-systems:

Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/autotoolspackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _autotoolspackage:

----------------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/cmakepackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _cmakepackage:

------------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/cudapackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _cudapackage:

-----------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/custompackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _custompackage:

--------------------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/intelpackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _intelpackage:

------------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/makefilepackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _makefilepackage:

---------------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/mesonpackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _mesonpackage:

------------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/octavepackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _octavepackage:

-------------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/perlpackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _perlpackage:

-----------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/pythonpackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _pythonpackage:

-------------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/qmakepackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _qmakepackage:

------------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/rpackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _rpackage:

--------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/rubypackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _rubypackage:

-----------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/sconspackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _sconspackage:

------------
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/build_systems/wafpackage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _wafpackage:

----------
Expand Down
29 changes: 5 additions & 24 deletions lib/spack/docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
# flake8: noqa
##############################################################################
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-647188
#
# For details, see https://github.com/spack/spack
# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License (as
# published by the Free Software Foundation) version 2.1, February 1999.
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
# conditions of the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

# flake8: noqa
# -*- coding: utf-8 -*-
#
# Spack documentation build configuration file, created by
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/config_yaml.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _config-yaml:

====================================
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/configuration.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _configuration:

==============================
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/contribution_guide.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _contribution-guide:

==================
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/developer_guide.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _developer_guide:

===============
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/docker_for_developers.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _docker_for_developers:

=====================
Expand Down
7 changes: 6 additions & 1 deletion lib/spack/docs/features.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
================
Feature Overview
================
Expand Down Expand Up @@ -126,7 +131,7 @@ It doesn't take much python coding to get from there to a working
package:

.. literalinclude:: ../../../var/spack/repos/builtin/packages/libelf/package.py
:lines: 25-
:lines: 6-

Spack also provides wrapper functions around common commands like
``configure``, ``make``, and ``cmake`` to make writing packages
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/getting_started.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. _getting_started:

===============
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
.. Spack documentation master file, created by
sphinx-quickstart on Mon Dec 9 15:32:41 2013.
You can adapt this file completely to your liking, but it should at least
Expand Down
5 changes: 5 additions & 0 deletions lib/spack/docs/known_issues.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.. Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
============
Known Issues
============
Expand Down
Loading

0 comments on commit eea786f

Please sign in to comment.