Re: [PATCH 22/26] cpukit/libmisc/redirector: Manually change license to BSD-2

2022-03-22 Thread Joel Sherrill
On Tue, Mar 22, 2022 at 2:51 AM Christian MAUDERER <
christian.maude...@embedded-brains.de> wrote:

> Am 18.03.22 um 17:21 schrieb Joel Sherrill:
> > Updates #3053.
> > ---
> >   cpukit/libmisc/redirector/stdio-redirect.c | 33 --
> >   1 file changed, 25 insertions(+), 8 deletions(-)
> >
> > diff --git a/cpukit/libmisc/redirector/stdio-redirect.c
> b/cpukit/libmisc/redirector/stdio-redirect.c
> > index 7f3e9138a7..712968ac2d 100644
> > --- a/cpukit/libmisc/redirector/stdio-redirect.c
> > +++ b/cpukit/libmisc/redirector/stdio-redirect.c
> > @@ -1,16 +1,33 @@
> > -/*
> > - * Copyright (C) 2014 Chris Johns (chr...@rtems.org)
> > +/**
> > + * @file
> >*
> > - * The license and distribution terms for this file may be
> > - * found in the file LICENSE in this distribution.
> > - *
> > - * This software with is provided ``as is'' and with NO WARRANTY.
> > + * @brief RTEMS std redirector.
> >*/
> >
> >   /*
> > - * RTEMS std redirector.
> > + * Copyright (C) 2014 Chris Johns (chr...@rtems.org)
> > + *
> > + * Redistribution and use in source and binary forms, with or without
> > + * modification, are permitted provided that the following conditions
> > + * are met:
> > + * 1. Redistributions of source code must retain the above copyright
> > + *notice, this list of conditions and the following disclaimer.
> > + * 2. Redistributions in binary form must reproduce the above copyright
> > + *notice, this list of conditions and the following disclaimer in
> the
> > + *documentation and/or other materials provided with the
> distribution.
> > + *
> > + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> "AS IS"
> > + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
> TO, THE
> > + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
> PURPOSE
> > + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
> CONTRIBUTORS BE
> > + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> > + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> > + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
> BUSINESS
> > + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
> IN
> > + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> > + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> > + * POSSIBILITY OF SUCH DAMAGE.
> >*/
> > -
>
> Is removing that line correct? I think most files have one empty line
> between the license and the first code line.
>

It isn't correct. I have updated this patch and will commit the fixed
version.

There appear to be 42 files in cpukit/ which have the end of a comment
before #include.  I will try to catch these in the patch set but follow up
with
a difference patch to address those that are copyright blocks.

>
> >   #include 
> >   #include 
> >   #include 
>
> --
> 
> embedded brains GmbH
> Herr Christian MAUDERER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: christian.maude...@embedded-brains.de
> phone: +49-89-18 94 741 - 18
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH 22/26] cpukit/libmisc/redirector: Manually change license to BSD-2

2022-03-22 Thread Christian MAUDERER

Am 18.03.22 um 17:21 schrieb Joel Sherrill:

Updates #3053.
---
  cpukit/libmisc/redirector/stdio-redirect.c | 33 --
  1 file changed, 25 insertions(+), 8 deletions(-)

diff --git a/cpukit/libmisc/redirector/stdio-redirect.c 
b/cpukit/libmisc/redirector/stdio-redirect.c
index 7f3e9138a7..712968ac2d 100644
--- a/cpukit/libmisc/redirector/stdio-redirect.c
+++ b/cpukit/libmisc/redirector/stdio-redirect.c
@@ -1,16 +1,33 @@
-/*
- * Copyright (C) 2014 Chris Johns (chr...@rtems.org)
+/**
+ * @file
   *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution.
- *
- * This software with is provided ``as is'' and with NO WARRANTY.
+ * @brief RTEMS std redirector.
   */
  
  /*

- * RTEMS std redirector.
+ * Copyright (C) 2014 Chris Johns (chr...@rtems.org)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this list of conditions and the following disclaimer in the
+ *documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
   */
-


Is removing that line correct? I think most files have one empty line 
between the license and the first code line.



  #include 
  #include 
  #include 


--

embedded brains GmbH
Herr Christian MAUDERER
Dornierstr. 4
82178 Puchheim
Germany
email: christian.maude...@embedded-brains.de
phone: +49-89-18 94 741 - 18
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[PATCH 22/26] cpukit/libmisc/redirector: Manually change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053.
---
 cpukit/libmisc/redirector/stdio-redirect.c | 33 --
 1 file changed, 25 insertions(+), 8 deletions(-)

diff --git a/cpukit/libmisc/redirector/stdio-redirect.c 
b/cpukit/libmisc/redirector/stdio-redirect.c
index 7f3e9138a7..712968ac2d 100644
--- a/cpukit/libmisc/redirector/stdio-redirect.c
+++ b/cpukit/libmisc/redirector/stdio-redirect.c
@@ -1,16 +1,33 @@
-/*
- * Copyright (C) 2014 Chris Johns (chr...@rtems.org)
+/**
+ * @file
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution.
- *
- * This software with is provided ``as is'' and with NO WARRANTY.
+ * @brief RTEMS std redirector.
  */
 
 /*
- * RTEMS std redirector.
+ * Copyright (C) 2014 Chris Johns (chr...@rtems.org)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this list of conditions and the following disclaimer in the
+ *documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
  */
-
 #include 
 #include 
 #include 
-- 
2.24.4

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel