Skip to content

Commit

Permalink
sys/geom: adoption of SPDX licensing ID tags.
Browse files Browse the repository at this point in the history
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified 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.
  • Loading branch information
pgiffuni committed Nov 27, 2017
1 parent 497b6b2 commit 3728855
Show file tree
Hide file tree
Showing 134 changed files with 268 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/geom/bde/g_bde.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/bde/g_bde.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/bde/g_bde_crypt.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/bde/g_bde_lock.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/bde/g_bde_work.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/cache/g_cache.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2006 Ruslan Ermilov <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/cache/g_cache.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2006 Ruslan Ermilov <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/concat/g_concat.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2004-2005 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/concat/g_concat.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2004-2005 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/eli/g_eli.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005-2011 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/eli/g_eli.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005-2011 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/eli/g_eli_crypto.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005-2010 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/eli/g_eli_ctl.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005-2011 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/eli/g_eli_integrity.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005-2011 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/eli/g_eli_key.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005-2011 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/eli/g_eli_key_cache.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2011 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/eli/g_eli_privacy.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005-2011 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/eli/pkcs5v2.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/eli/pkcs5v2.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/gate/g_gate.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2004-2006 Pawel Jakub Dawidek <[email protected]>
* Copyright (c) 2009-2010 The FreeBSD Foundation
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/gate/g_gate.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2004-2009 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_aes.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_bsd.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_bsd_enc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_ccd.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (c) 2003 Poul-Henning Kamp.
* Copyright (c) 1995 Jason R. Thorpe.
* Copyright (c) 1990, 1993
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_ctl.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_ctl.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2003 Poul-Henning Kamp
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_dev.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_disk.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_disk.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2003 Poul-Henning Kamp
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_dump.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_event.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_flashmap.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2012 Semihalf
* Copyright (c) 2009 Jakub Klama <[email protected]>
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_fox.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2003 Poul-Henning Kamp
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_int.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_io.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* Copyright (c) 2013 The FreeBSD Foundation
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_kern.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_map.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2011 Aleksandr Rybalko <[email protected]>
* based on geom_redboot.c
* Copyright (c) 2009 Sam Leffler, Errno Consulting
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_mbr.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_mbr_enc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2003 Poul-Henning Kamp
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_redboot.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Sam Leffler, Errno Consulting
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_slice.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_slice.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_subr.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_sunlabel.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_sunlabel_enc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2003 Jake Burkholder
* Copyright (c) 2003 Poul-Henning Kamp
* Copyright (c) 2004,2005 Joerg Wunsch
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_vfs.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2004 Poul-Henning Kamp
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_vfs.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2004 Poul-Henning Kamp
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/geom_vol_ffs.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2002, 2003 Gordon Tetlow
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/journal/g_journal.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005-2006 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/journal/g_journal.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005-2006 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/journal/g_journal_ufs.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005-2006 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/label/g_label.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2004-2005 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/label/g_label.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2004-2005 Pawel Jakub Dawidek <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/label/g_label_disk_ident.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2012 Ivan Voras <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/geom/label/g_label_ext2fs.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005 Stanislav Sedov
* All rights reserved.
*
Expand Down
Loading

0 comments on commit 3728855

Please sign in to comment.