[PATCH 5/9 v2] Add helper files to perform the re-licensing

Jonathan Wakely jwakely@redhat.com
Thu Sep 24 10:12:27 GMT 2020


On 16/07/20 18:22 +0200, Dodji Seketeli wrote:
>Jonathan Wakely <jwakely@redhat.com> writes:
>
>[...]
>
>>>+++ b/relicensing-scripts/do-relicensing.sh
>>>@@ -0,0 +1,6 @@
>>>+#!/bin/sh
>>>+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
>>>+# Author: Dodji Seketeli <dodji@redhat.com>
>>>+
>>>+#This does the actual re-licensing
>>>+for file in `cat relicensing-scripts/files-with-lgpl-licenses.txt`; do ./relicensing-scripts/replace-spdx-license.sh --from "LGPL-3.0-or-later" --to "Apache-2.0 WITH LLVM-exception" $file; done
>>
>> The 'cat' uses files-with-lgpl-licenses.txt but the new file is files-with-lgplv3.txt
>>
>> The file also contains comments and a blank line.
>>
>> Maybe something like:
>>
>> grep '^\.' relicensing-scripts/files-with-lgplv3.txt | while read file
>> do
>>   ./relicensing-scripts/replace-spdx-license.sh --from "LGPL-3.0-or-later" --to "Apache-2.0 WITH LLVM-exception" "$file"
>> done
>
>Fixed and applied, thanks.  It's going to show up in the v3 set of
>patches.  Until then you can see this in the relicensing branch that can
>be browsed at
>https://sourceware.org/git/?p=libabigail.git;a=shortlog;h=refs/heads/relicensing.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>



More information about the Libabigail mailing list