From ec9319ec8dc8deeb152b057bcfb41bdccb964e42 Mon Sep 17 00:00:00 2001 From: CvH Date: Mon, 16 Jul 2018 20:45:36 +0200 Subject: [PATCH] spdx: tools/ --- tools/distro-tool | 21 ++++----------------- tools/download-tool | 19 ++----------------- tools/mkpkg/mkpkg_bcm2835-driver | 20 +++----------------- tools/mkpkg/mkpkg_boblightd | 20 +++----------------- tools/mkpkg/mkpkg_libcec | 20 +++----------------- tools/mkpkg/mkpkg_libretro-ppsspp | 22 ++++------------------ tools/mkpkg/mkpkg_linux-amlogic | 20 +++----------------- tools/mkpkg/mkpkg_lockdev | 20 +++----------------- tools/mkpkg/mkpkg_media_build | 20 +++----------------- tools/mkpkg/mkpkg_pvr | 20 +++----------------- tools/mkpkg/mkpkg_rtmpdump | 20 +++----------------- tools/mkpkg/mkpkg_soil | 20 +++----------------- tools/mkpkg/mkpkg_vboxguest | 20 +++----------------- tools/mkpkg/update_adafruit-libraries | 19 ++----------------- tools/mkpkg/update_binary-addons | 20 +++----------------- tools/mkpkg/update_retroplayer-addons | 20 +++----------------- tools/repo-tool | 19 ++----------------- 17 files changed, 50 insertions(+), 290 deletions(-) diff --git a/tools/distro-tool b/tools/distro-tool index 06b8a81c2e..4ba9d504ef 100755 --- a/tools/distro-tool +++ b/tools/distro-tool @@ -1,21 +1,8 @@ #!/bin/bash -################################################################################ -# This file is part of LibreELEC - https://libreelec.tv -# Copyright (C) 2016-present Team LibreELEC -# -# LibreELEC 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. -# -# LibreELEC 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 LibreELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) + set -e [ -z "${DEBUG_LOG}" ] && DEBUG_LOG=/tmp/distro-tool.log diff --git a/tools/download-tool b/tools/download-tool index ac61953bab..92f42bebaa 100755 --- a/tools/download-tool +++ b/tools/download-tool @@ -1,22 +1,7 @@ #!/bin/bash -################################################################################ -# This file is part of LibreELEC - https://libreelec.tv -# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv) -# -# LibreELEC 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. -# -# LibreELEC 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 LibreELEC. If not, see . -################################################################################ +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv) if [ -z "$PROJECT" -a -z "$ARCH" ]; then echo "Usage: PROJECT= ARCH= $0" diff --git a/tools/mkpkg/mkpkg_bcm2835-driver b/tools/mkpkg/mkpkg_bcm2835-driver index db75e9aac8..fa8339773c 100755 --- a/tools/mkpkg/mkpkg_bcm2835-driver +++ b/tools/mkpkg/mkpkg_bcm2835-driver @@ -1,21 +1,7 @@ #!/bin/sh -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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. -# -# OpenELEC 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 OpenELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) echo "getting sources..." if [ ! -d bcm2835-driver.git ]; then diff --git a/tools/mkpkg/mkpkg_boblightd b/tools/mkpkg/mkpkg_boblightd index 2a3ae4a796..7268439f2a 100755 --- a/tools/mkpkg/mkpkg_boblightd +++ b/tools/mkpkg/mkpkg_boblightd @@ -1,21 +1,7 @@ #!/bin/sh -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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. -# -# OpenELEC 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 OpenELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) echo "getting sources..." svn checkout http://boblight.googlecode.com/svn/trunk/ boblightd-latest diff --git a/tools/mkpkg/mkpkg_libcec b/tools/mkpkg/mkpkg_libcec index e951af8d27..27ffbaf55c 100755 --- a/tools/mkpkg/mkpkg_libcec +++ b/tools/mkpkg/mkpkg_libcec @@ -1,21 +1,7 @@ #!/bin/sh -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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. -# -# OpenELEC 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 OpenELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) echo "getting sources..." if [ ! -d libcec.git ]; then diff --git a/tools/mkpkg/mkpkg_libretro-ppsspp b/tools/mkpkg/mkpkg_libretro-ppsspp index 1b2d7062e5..eeae799a12 100755 --- a/tools/mkpkg/mkpkg_libretro-ppsspp +++ b/tools/mkpkg/mkpkg_libretro-ppsspp @@ -1,22 +1,8 @@ #!/bin/sh -################################################################################ -# This file is part of LibreELEC - https://libreelec.tv -# Copyright (C) 2018-present Team LibreELEC -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# LibreELEC 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. -# -# LibreELEC 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 LibreELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) +# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) echo "getting sources..." if [ ! -d libretro-ppsspp.git ]; then diff --git a/tools/mkpkg/mkpkg_linux-amlogic b/tools/mkpkg/mkpkg_linux-amlogic index 433dc60a3b..a84fb9174b 100755 --- a/tools/mkpkg/mkpkg_linux-amlogic +++ b/tools/mkpkg/mkpkg_linux-amlogic @@ -1,21 +1,7 @@ #!/bin/sh -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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. -# -# OpenELEC 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 OpenELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) echo "getting sources..." if [ ! -d linux-amlogic.git ]; then diff --git a/tools/mkpkg/mkpkg_lockdev b/tools/mkpkg/mkpkg_lockdev index 3575a40720..0710b2c304 100755 --- a/tools/mkpkg/mkpkg_lockdev +++ b/tools/mkpkg/mkpkg_lockdev @@ -1,21 +1,7 @@ #!/bin/sh -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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. -# -# OpenELEC 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 OpenELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) echo "getting sources..." if [ ! -d lockdev.git ]; then diff --git a/tools/mkpkg/mkpkg_media_build b/tools/mkpkg/mkpkg_media_build index 9ce20f315c..7b87a07842 100755 --- a/tools/mkpkg/mkpkg_media_build +++ b/tools/mkpkg/mkpkg_media_build @@ -1,21 +1,7 @@ #!/bin/sh -################################################################################ -# This file is part of LibreELEC - https://libreelec.tv -# Copyright (C) 2016-2017 Team LibreELEC -# -# LibreELEC 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. -# -# LibreELEC 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 LibreELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) # set media_build version you want to use if [ -z "$1" ]; then diff --git a/tools/mkpkg/mkpkg_pvr b/tools/mkpkg/mkpkg_pvr index 82bbb54be3..eb0fa076fb 100755 --- a/tools/mkpkg/mkpkg_pvr +++ b/tools/mkpkg/mkpkg_pvr @@ -1,21 +1,7 @@ #!/bin/sh -################################################################################ -# This file is part of LibreELEC - https://libreelec.tv -# Copyright (C) 2016-present Team LibreELEC -# -# LibreELEC 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. -# -# LibreELEC 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 LibreELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) # set media_build version you want to use if [ -z "$1" ]; then diff --git a/tools/mkpkg/mkpkg_rtmpdump b/tools/mkpkg/mkpkg_rtmpdump index 4b58b24d56..9397f9d30c 100755 --- a/tools/mkpkg/mkpkg_rtmpdump +++ b/tools/mkpkg/mkpkg_rtmpdump @@ -1,21 +1,7 @@ #!/bin/sh -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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. -# -# OpenELEC 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 OpenELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) echo "getting sources..." if [ ! -d rtmpdump.git ]; then diff --git a/tools/mkpkg/mkpkg_soil b/tools/mkpkg/mkpkg_soil index 4e83b9b735..ff5c77abec 100755 --- a/tools/mkpkg/mkpkg_soil +++ b/tools/mkpkg/mkpkg_soil @@ -1,21 +1,7 @@ #!/bin/sh -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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. -# -# OpenELEC 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 OpenELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) echo "getting sources..." wget http://www.lonesock.net/files/soil.zip diff --git a/tools/mkpkg/mkpkg_vboxguest b/tools/mkpkg/mkpkg_vboxguest index 4c12def12c..aff4dc5a7c 100755 --- a/tools/mkpkg/mkpkg_vboxguest +++ b/tools/mkpkg/mkpkg_vboxguest @@ -1,21 +1,7 @@ #!/bin/sh -################################################################################ -# This file is part of LibreELEC - https://LibreELEC.tv -# Copyright (C) 2016 Team LibreELEC -# -# LibreELEC 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. -# -# LibreELEC 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 LibreELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) # the script uses 7z to extract the iso to avoid root # sudo apt-get install p7zip-full diff --git a/tools/mkpkg/update_adafruit-libraries b/tools/mkpkg/update_adafruit-libraries index 85ffd22b63..09f09443a1 100755 --- a/tools/mkpkg/update_adafruit-libraries +++ b/tools/mkpkg/update_adafruit-libraries @@ -1,21 +1,6 @@ #!/bin/bash -e -################################################################################ -# This file is part of LibreELEC - https://libreelec.tv -# Copyright (C) 2017-present Team LibreELEC -# -# LibreELEC 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. -# -# LibreELEC 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 LibreELEC. If not, see . -################################################################################ +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv) # set defaults GIT_USERNAME="" diff --git a/tools/mkpkg/update_binary-addons b/tools/mkpkg/update_binary-addons index 5725dc023e..460ad042eb 100755 --- a/tools/mkpkg/update_binary-addons +++ b/tools/mkpkg/update_binary-addons @@ -1,21 +1,7 @@ #!/bin/bash -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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. -# -# OpenELEC 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 OpenELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) if [ -z "$1" ]; then echo "Usage: $0 " diff --git a/tools/mkpkg/update_retroplayer-addons b/tools/mkpkg/update_retroplayer-addons index 32f6a2a72c..6dc43780fd 100755 --- a/tools/mkpkg/update_retroplayer-addons +++ b/tools/mkpkg/update_retroplayer-addons @@ -1,21 +1,7 @@ #!/bin/bash -################################################################################ -# This file is part of LibreELEC - https://libreelec.tv -# Copyright (C) 2016 Team LibreELEC -# -# LibreELEC 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. -# -# LibreELEC 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 LibreELEC. If not, see . -################################################################################ + +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) ROOT=$(cd $(dirname $0)/../.. && pwd) diff --git a/tools/repo-tool b/tools/repo-tool index dda167f96c..c1295aff01 100755 --- a/tools/repo-tool +++ b/tools/repo-tool @@ -1,22 +1,7 @@ #!/bin/bash -################################################################################ -# This file is part of LibreELEC - https://libreelec.tv -# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv) -# -# LibreELEC 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. -# -# LibreELEC 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 LibreELEC. If not, see . -################################################################################ +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2009-2016 Lukas Rusak (lrusak@libreelec.tv) . config/options