Add GPL-3.0-or-later SPDX identifier to all scripts

Add the SPDX license identifier GPL-3.0-or-later to the header of all
scripts without a specific license and upgrading those that are stated
as GPL-2.0 to become GPL-3.0-or-later.
This commit is contained in:
David Runge 2021-06-10 19:16:22 +02:00
parent da7f267ef2
commit 539f09761c
No known key found for this signature in database
GPG Key ID: 7258734B41C31549
22 changed files with 43 additions and 88 deletions

View File

@ -1,14 +1,6 @@
#!/bin/bash
# License: GNU GPLv2
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# 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
# GNU General Public License for more details.
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/common.sh)
m4_include(lib/archroot.sh)

View File

@ -1,5 +1,6 @@
#!/bin/bash
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/common.sh)
m4_include(lib/archroot.sh)

View File

@ -1,5 +1,6 @@
#!/bin/bash
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/common.sh)

View File

@ -1,5 +1,6 @@
#!/bin/bash
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/common.sh)
m4_include(lib/valid-tags.sh)

View File

@ -1,5 +1,6 @@
#!/hint/bash
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
_devtools_compgen() {
local i r

View File

@ -1,5 +1,6 @@
#!/bin/bash
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
shopt -s extglob

View File

@ -1,5 +1,6 @@
#!/bin/bash
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/common.sh)

View File

@ -1,5 +1,6 @@
#!/bin/bash
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/common.sh)

View File

@ -1,5 +1,6 @@
#!/bin/bash
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/common.sh)

View File

@ -2,7 +2,7 @@
#
# finddeps - find packages that depend on a given depname
#
# License: Unspecified
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/common.sh)

View File

@ -2,7 +2,7 @@
#
# lddd - find broken library links on your machine
#
# License: Unspecified
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/common.sh)

View File

@ -1,5 +1,6 @@
#!/hint/bash
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
:
# shellcheck disable=2034

View File

@ -1,7 +1,8 @@
#!/hint/bash
#
# This may be included with or without `set -euE`
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
[[ -z ${_INCLUDE_COMMON_SH:-} ]] || return 0
_INCLUDE_COMMON_SH="$(set +o|grep nounset)"

View File

@ -1,5 +1,6 @@
#!/hint/bash
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
:
# shellcheck disable=2034

View File

@ -1,5 +1,6 @@
#!/hint/bash
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
:
# shellcheck disable=2034

View File

@ -1,14 +1,6 @@
#!/bin/bash
# License: GNU GPLv2
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# 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
# GNU General Public License for more details.
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/common.sh)
m4_include(lib/archroot.sh)

View File

@ -1,21 +1,10 @@
#!/bin/bash
# makerepropkg - rebuild a package to see if it is reproducible
#
# Copyright (c) 2019 by Eli Schwartz <eschwartz@archlinux.org>
# makerepropkg - rebuild a package to see if it is reproducible
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# 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
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# Copyright (c) 2019 by Eli Schwartz <eschwartz@archlinux.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/common.sh)
m4_include(lib/archroot.sh)

View File

@ -1,14 +1,6 @@
#!/bin/bash
# License: GNU GPLv2
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# 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
# GNU General Public License for more details.
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/common.sh)
m4_include(lib/archroot.sh)

View File

@ -1,22 +1,10 @@
#!/bin/bash
#
# offload-build - build a PKGBUILD on a remote server using makechrootpkg.
# offload-build - build a PKGBUILD on a remote server using makechrootpkg.
#
# Copyright (c) 2019 by Eli Schwartz <eschwartz@archlinux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# 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
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# Copyright (c) 2019 by Eli Schwartz <eschwartz@archlinux.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
source /usr/share/makepkg/util/config.sh

View File

@ -1,5 +1,6 @@
#!/bin/bash
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# This script rebuilds a list of packages in order
# and reports anything that fails

View File

@ -1,22 +1,10 @@
#!/bin/bash
#
# sogrep - find shared library links in an Arch Linux repository.
# sogrep - find shared library links in an Arch Linux repository.
#
# Copyright (c) 2019 by Eli Schwartz <eschwartz@archlinux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# 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
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# Copyright (c) 2019 by Eli Schwartz <eschwartz@archlinux.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/common.sh)

View File

@ -1,5 +1,6 @@
#compdef archbuild archco arch-nspawn archrelease commitpkg finddeps makechrootpkg mkarchroot rebuildpkgs extrapkg=commitpkg corepkg=commitpkg testingpkg=commitpkg stagingpkg=commitpkg communitypkg=commitpkg community-testingpkg=commitpkg community-stagingpkg=commitpkg multilibpkg=commitpkg multilib-testingpkg=commitpkg extra-x86_64-build=archbuild testing-x86_64-build=archbuild staging-x86_64-build=archbuild multilib-build=archbuild multilib-testing-build=archbuild multilib-staging-build=archbuild kde-unstable-x86_64-build=archbuild gnome-unstable-x86_64-build=archbuild communityco=archco checkpkg sogrep offload-build makerepropkg
# License: Unspecified
#
# SPDX-License-Identifier: GPL-3.0-or-later
m4_include(lib/valid-tags.sh)
m4_include(lib/valid-repos.sh)