* [PATCH 0/2] btrfs-progs: tests/sha* copyright clarity and compliance fixes
@ 2017-09-17 23:52 Nicholas D Steeves
2017-09-17 23:52 ` [PATCH 1/2] Add required IETF Trust copyright Nicholas D Steeves
2017-09-17 23:52 ` [PATCH 2/2] Remove misleading BCP 78 boilerplate Nicholas D Steeves
0 siblings, 2 replies; 5+ messages in thread
From: Nicholas D Steeves @ 2017-09-17 23:52 UTC (permalink / raw)
To: linux-btrfs; +Cc: Nicholas D Steeves
Hi,
Thank you very much for fixing up the tests! A couple of releases ago
I noticed that they were reliably passing, but I had to exclude the
tests from my uploads because the BCP 78 license is explicitely banned
from Debian. I plan to study Debian's autopkgtest framework and then
configure the package to automatically run the tests in a VM on one of
the buildservers for every version update.
The first patch adds what I believe is a necessary header for license
compliance, and the second removes the misleading boilerplate. Please
consult the annotated commit messages for more information.
Thank you,
Nicholas
Nicholas D Steeves (2):
Add required IETF Trust copyright
Remove misleading BCP 78 boilerplate
tests/sha-private.h | 4 ++++
tests/sha224-256.c | 20 --------------------
2 files changed, 4 insertions(+), 20 deletions(-)
--
2.11.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] Add required IETF Trust copyright
2017-09-17 23:52 [PATCH 0/2] btrfs-progs: tests/sha* copyright clarity and compliance fixes Nicholas D Steeves
@ 2017-09-17 23:52 ` Nicholas D Steeves
2017-09-17 23:52 ` [PATCH 2/2] Remove misleading BCP 78 boilerplate Nicholas D Steeves
1 sibling, 0 replies; 5+ messages in thread
From: Nicholas D Steeves @ 2017-09-17 23:52 UTC (permalink / raw)
To: linux-btrfs; +Cc: Nicholas D Steeves
Signed-off-by: Nicholas D Steeves <nsteeves@gmail.com>
---
tests/sha-private.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/sha-private.h b/tests/sha-private.h
index 6e9c4520..d94d4374 100644
--- a/tests/sha-private.h
+++ b/tests/sha-private.h
@@ -1,5 +1,9 @@
/************************ sha-private.h ************************/
/***************** See RFC 6234 for details. *******************/
+/* Copyright (c) 2011 IETF Trust and the persons identified as */
+/* authors of the code. All rights reserved. */
+/* See sha.h for terms of use and redistribution. */
+
#ifndef _SHA_PRIVATE__H
#define _SHA_PRIVATE__H
/*
--
2.11.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] Remove misleading BCP 78 boilerplate
2017-09-17 23:52 [PATCH 0/2] btrfs-progs: tests/sha* copyright clarity and compliance fixes Nicholas D Steeves
2017-09-17 23:52 ` [PATCH 1/2] Add required IETF Trust copyright Nicholas D Steeves
@ 2017-09-17 23:52 ` Nicholas D Steeves
2017-09-18 14:40 ` David Sterba
1 sibling, 1 reply; 5+ messages in thread
From: Nicholas D Steeves @ 2017-09-17 23:52 UTC (permalink / raw)
To: linux-btrfs; +Cc: Nicholas D Steeves
BCP 78 applies to RFC 6234, but sha224-256.c is Simplified BSD.
This causes the following lintian error when building on Debian and
Debian derivatives:
E: btrfs-progs source: license-problem-non-free-RFC-BCP78
tests/sha224-256.c
Please consult the following email from debian-legal@lists.debian.org
for more information:
https://lists.debian.org/debian-legal/2017/08/msg00004.html
Signed-off-by: Nicholas D Steeves <nsteeves@gmail.com>
---
tests/sha224-256.c | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/tests/sha224-256.c b/tests/sha224-256.c
index 2d963e65..82124a03 100644
--- a/tests/sha224-256.c
+++ b/tests/sha224-256.c
@@ -1,23 +1,3 @@
-/*
-RFC 6234 SHAs, HMAC-SHAs, and HKDF May 2011
-
-
-Copyright Notice
-
- Copyright (c) 2011 IETF Trust and the persons identified as the
- document authors. All rights reserved.
-
- This document is subject to BCP 78 and the IETF Trust's Legal
- Provisions Relating to IETF Documents
- (http://trustee.ietf.org/license-info) in effect on the date of
- publication of this document. Please review these documents
- carefully, as they describe your rights and restrictions with respect
- to this document. Code Components extracted from this document must
- include Simplified BSD License text as described in Section 4.e of
- the Trust Legal Provisions and are provided without warranty as
- described in the Simplified BSD License.
-*/
-
/************************* sha224-256.c ************************/
/***************** See RFC 6234 for details. *******************/
/* Copyright (c) 2011 IETF Trust and the persons identified as */
--
2.11.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] Remove misleading BCP 78 boilerplate
2017-09-17 23:52 ` [PATCH 2/2] Remove misleading BCP 78 boilerplate Nicholas D Steeves
@ 2017-09-18 14:40 ` David Sterba
2017-09-28 14:12 ` Nicholas D Steeves
0 siblings, 1 reply; 5+ messages in thread
From: David Sterba @ 2017-09-18 14:40 UTC (permalink / raw)
To: Nicholas D Steeves; +Cc: linux-btrfs
On Sun, Sep 17, 2017 at 07:52:27PM -0400, Nicholas D Steeves wrote:
> BCP 78 applies to RFC 6234, but sha224-256.c is Simplified BSD.
>
> This causes the following lintian error when building on Debian and
> Debian derivatives:
>
> E: btrfs-progs source: license-problem-non-free-RFC-BCP78
> tests/sha224-256.c
>
> Please consult the following email from debian-legal@lists.debian.org
> for more information:
>
> https://lists.debian.org/debian-legal/2017/08/msg00004.html
Thanks, this looks like I've copied too much from the RFC and was not
aware of the BCP license issues. I believe the copyright notice(s) past
the line mentioning the filename(s) should be enough to satisfy the
licensing requirements and also the debian license checker.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] Remove misleading BCP 78 boilerplate
2017-09-18 14:40 ` David Sterba
@ 2017-09-28 14:12 ` Nicholas D Steeves
0 siblings, 0 replies; 5+ messages in thread
From: Nicholas D Steeves @ 2017-09-28 14:12 UTC (permalink / raw)
To: dsterba, Nicholas D Steeves, Btrfs BTRFS
Hi David,
On 18 September 2017 at 10:40, David Sterba <dsterba@suse.cz> wrote:
> On Sun, Sep 17, 2017 at 07:52:27PM -0400, Nicholas D Steeves wrote:
>> BCP 78 applies to RFC 6234, but sha224-256.c is Simplified BSD.
>>
>> This causes the following lintian error when building on Debian and
>> Debian derivatives:
>>
>> E: btrfs-progs source: license-problem-non-free-RFC-BCP78
>> tests/sha224-256.c
>>
>> Please consult the following email from debian-legal@lists.debian.org
>> for more information:
>>
>> https://lists.debian.org/debian-legal/2017/08/msg00004.html
>
> Thanks, this looks like I've copied too much from the RFC and was not
> aware of the BCP license issues. I believe the copyright notice(s) past
> the line mentioning the filename(s) should be enough to satisfy the
> licensing requirements and also the debian license checker.
Thank you for applying these so quickly, and for the new release :-)
Sincerely,
Nicholas
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-09-28 14:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-17 23:52 [PATCH 0/2] btrfs-progs: tests/sha* copyright clarity and compliance fixes Nicholas D Steeves
2017-09-17 23:52 ` [PATCH 1/2] Add required IETF Trust copyright Nicholas D Steeves
2017-09-17 23:52 ` [PATCH 2/2] Remove misleading BCP 78 boilerplate Nicholas D Steeves
2017-09-18 14:40 ` David Sterba
2017-09-28 14:12 ` Nicholas D Steeves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).