summaryrefslogtreecommitdiff
path: root/lib/libnetbsd
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2017-11-26 02:00:33 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2017-11-26 02:00:33 +0000
commit5e53a4f90f82c4345f277dd87cc9292f26e04a29 (patch)
tree10be8127dc8fe8e40344df4a1c8b85297442fba1 /lib/libnetbsd
parentefe67753ccbbbba0013dac241c79d2dc124d76a2 (diff)
downloadsrc-test-5e53a4f90f82c4345f277dd87cc9292f26e04a29.tar.gz
src-test-5e53a4f90f82c4345f277dd87cc9292f26e04a29.zip
lib: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
Notes
Notes: svn path=/head/; revision=326219
Diffstat (limited to 'lib/libnetbsd')
-rw-r--r--lib/libnetbsd/rmd160.h2
-rw-r--r--lib/libnetbsd/sha1.h2
-rw-r--r--lib/libnetbsd/sha2.h2
-rw-r--r--lib/libnetbsd/stdlib.h2
-rw-r--r--lib/libnetbsd/strsuftoll.c2
-rw-r--r--lib/libnetbsd/util.c2
6 files changed, 12 insertions, 0 deletions
diff --git a/lib/libnetbsd/rmd160.h b/lib/libnetbsd/rmd160.h
index 7b811995edb41..105c1efdd92ab 100644
--- a/lib/libnetbsd/rmd160.h
+++ b/lib/libnetbsd/rmd160.h
@@ -1,6 +1,8 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2012 SRI International
* All rights reserved.
*
diff --git a/lib/libnetbsd/sha1.h b/lib/libnetbsd/sha1.h
index 9da870eacf6e7..d75365fe108ab 100644
--- a/lib/libnetbsd/sha1.h
+++ b/lib/libnetbsd/sha1.h
@@ -1,6 +1,8 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2012 SRI International
* All rights reserved.
*
diff --git a/lib/libnetbsd/sha2.h b/lib/libnetbsd/sha2.h
index 6329284924fc4..44c6c9945a88c 100644
--- a/lib/libnetbsd/sha2.h
+++ b/lib/libnetbsd/sha2.h
@@ -1,6 +1,8 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2012 SRI International
* All rights reserved.
*
diff --git a/lib/libnetbsd/stdlib.h b/lib/libnetbsd/stdlib.h
index d481913d58fd1..b7bb875740d5b 100644
--- a/lib/libnetbsd/stdlib.h
+++ b/lib/libnetbsd/stdlib.h
@@ -1,6 +1,8 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-NetBSD
+ *
* Copyright (c) 2012 SRI International
* Copyright (c) 2001-2002,2004 The NetBSD Foundation, Inc.
* All rights reserved.
diff --git a/lib/libnetbsd/strsuftoll.c b/lib/libnetbsd/strsuftoll.c
index 657e52525fc63..078bee0ace58e 100644
--- a/lib/libnetbsd/strsuftoll.c
+++ b/lib/libnetbsd/strsuftoll.c
@@ -1,5 +1,7 @@
/* $NetBSD: strsuftoll.c,v 1.6 2004/03/05 05:58:29 lukem Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-NetBSD
+ *
* Copyright (c) 2001-2002,2004 The NetBSD Foundation, Inc.
* All rights reserved.
*
diff --git a/lib/libnetbsd/util.c b/lib/libnetbsd/util.c
index 4f922dc2c41da..30f306a4f15e1 100644
--- a/lib/libnetbsd/util.c
+++ b/lib/libnetbsd/util.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2012 SRI International
* All rights reserved.
*