From: Greg Kroah-Hartman Date: Thu, 3 Apr 2025 13:39:08 +0000 (+0100) Subject: add SPDX tags to the scripts that I wrote to make it more obvious what the license is. X-Git-Tag: v6.1.133~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3948a1e96b2b1e20c94ca950bcce871056830282;p=thirdparty%2Fkernel%2Fstable-queue.git add SPDX tags to the scripts that I wrote to make it more obvious what the license is. --- diff --git a/scripts/active_kernel_versions.sh b/scripts/active_kernel_versions.sh index 778139795e..c738949ac4 100755 --- a/scripts/active_kernel_versions.sh +++ b/scripts/active_kernel_versions.sh @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 REAL_SCRIPT=$(realpath -e "${BASH_SOURCE[0]}") SCRIPT_TOP="${SCRIPT_TOP:-$(dirname "${REAL_SCRIPT}")}" diff --git a/scripts/active_kernel_versions_get.sh b/scripts/active_kernel_versions_get.sh index 7e54587ea9..443b4bb086 100755 --- a/scripts/active_kernel_versions_get.sh +++ b/scripts/active_kernel_versions_get.sh @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 REAL_SCRIPT=$(realpath -e "${BASH_SOURCE[0]}") SCRIPT_TOP="${SCRIPT_TOP:-$(dirname "${REAL_SCRIPT}")}" diff --git a/scripts/added-to-stable b/scripts/added-to-stable index eb991df5ec..78889cb778 100755 --- a/scripts/added-to-stable +++ b/scripts/added-to-stable @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 KERNEL_MINOR_VERSION='34' KERNEL="2.6.$KERNEL_MINOR_VERSION" diff --git a/scripts/bad_stable b/scripts/bad_stable index 18afb75ac4..97375d092f 100755 --- a/scripts/bad_stable +++ b/scripts/bad_stable @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 STABLE_VERSION="" EMAIL_ADDRESS='' diff --git a/scripts/c2p b/scripts/c2p index d75b24a5ee..ca3d800890 100755 --- a/scripts/c2p +++ b/scripts/c2p @@ -1,4 +1,5 @@ #!/usr/bin/perl -W +# SPDX-License-Identifier: GPL-2.0 # # convert git commit id to a pretty patch we can apply to the stable tree # diff --git a/scripts/convert_to_utf8 b/scripts/convert_to_utf8 index 7a548d761d..2272750ebb 100755 --- a/scripts/convert_to_utf8 +++ b/scripts/convert_to_utf8 @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 for file in $(find queue-* -type f | grep patch); do ISO=$(file "${file}" | grep ISO) diff --git a/scripts/dorelease b/scripts/dorelease index be3c12c9d9..098854eb80 100755 --- a/scripts/dorelease +++ b/scripts/dorelease @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 # build -stable release from current -stable series # Copyright (c) 2005 Chris Wright # Copyright (c) 2006-2011 Greg Kroah-Hartman diff --git a/scripts/guess-charset b/scripts/guess-charset index 4e4dc5a55d..04aa09bc54 100755 --- a/scripts/guess-charset +++ b/scripts/guess-charset @@ -1,4 +1,5 @@ #! /usr/bin/env python2 +# SPDX-License-Identifier: GPL-2.0 # vim: set fileencoding=utf-8 # (c) Uwe Kleine-König # GPLv2 diff --git a/scripts/make_message_id b/scripts/make_message_id index 03d0879569..5b0d34770a 100755 --- a/scripts/make_message_id +++ b/scripts/make_message_id @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 # This generates lore-friendly message-id headers that are safe, unique, and # provide better UX for someone using lore to retrieve messages. # diff --git a/scripts/makemail b/scripts/makemail index 85e9be7c05..7cf35775f4 100755 --- a/scripts/makemail +++ b/scripts/makemail @@ -1,5 +1,5 @@ #!/usr/bin/perl -w - +# SPDX-License-Identifier: GPL-2.0 #----------------------------------------------------------------------------- # All this does is generate RFC 822 headers and then copy standard input # to standard output. You determine what headers it generates with diff --git a/scripts/mbox2send b/scripts/mbox2send index 35f5e36b85..c203626a1f 100755 --- a/scripts/mbox2send +++ b/scripts/mbox2send @@ -1,4 +1,5 @@ #!/usr/bin/perl -W +# SPDX-License-Identifier: GPL-2.0 # # This takes a mbox of email, created with 'quilt mail --mbox' # and formats it in the proper way to send off a -stable kernel review. diff --git a/scripts/quilt-mail b/scripts/quilt-mail index 45b0967d88..e0df3d935f 100755 --- a/scripts/quilt-mail +++ b/scripts/quilt-mail @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 # # Script to take a stable-queue, and turn it into a -rc release to be # sent off in email. diff --git a/scripts/smtpsend b/scripts/smtpsend index b314b2f547..4c364f7b42 100755 --- a/scripts/smtpsend +++ b/scripts/smtpsend @@ -1,4 +1,5 @@ #!/usr/bin/perl +# SPDX-License-Identifier: GPL-2.0 #----------------------------------------------------------------------------- # This program gives you low level control over an SMTP conversation. # diff --git a/scripts/tag_stable b/scripts/tag_stable index d5e0a12c2c..9bc17ffa6f 100755 --- a/scripts/tag_stable +++ b/scripts/tag_stable @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 if [ $# -ne 1 ]; then echo -e "Usage:\t $0 release_number\ne.g.\t $0 2.6.11.12"