Skip to content

Commit 5524da4

Browse files
authored
Add missing SPDX-License tags (#591)
* Add missing SPDX-License tags If copyright block is present, add missing SPDX-License tag If copyright block is not present, add one. Use BSD-3-Clause and infer author list from git blame. Resolves #570 * Ensure all non-copyrighted files are BSD-2 Overall project is BSD-2, not 3, so ensure any new license header was BSD-2. General formatting cleanup. * Update md5.h to put SPDX copyright in correct place Brain fart, I put it right before the line containing "copyright" but that was in the middle of a sentence.
1 parent 243ad84 commit 5524da4

148 files changed

Lines changed: 231 additions & 79 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

BUILDING.md

Lines changed: 3 additions & 0 deletions

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: BSD-2-Clause
2+
# Copyright (c) 2006-2025 Roy Marples <roy@marples.name>
3+
14
SUBDIRS= src hooks
25

36
PACKAGE= dhcpcd

Makefile.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-License-Identifier: BSD-2-Clause
2+
# Copyright (c) 2009-2025 Roy Marples <roy@marples.name>
3+
14
# System definitions
25

36
PICFLAG?= -fPIC

README.md

Lines changed: 3 additions & 0 deletions

compat/_strtoi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* $NetBSD: _strtoi.h,v 1.1 2015/01/22 02:15:59 christos Exp $ */
22

33
/*-
4+
* SPDX-License-Identifier: BSD-3-Clause
45
* Copyright (c) 1990, 1993
56
* The Regents of the University of California. All rights reserved.
67
*

compat/arc4random.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* $OpenBSD: arc4random.c,v 1.58 2022/07/31 13:41:45 tb Exp $ */
22

33
/*
4+
* SPDX-License-Identifier: ISC
45
* Copyright (c) 1996, David Mazieres <dm@uun.org>
56
* Copyright (c) 2008, Damien Miller <djm@openbsd.org>
67
* Copyright (c) 2013, Markus Friedl <markus@openbsd.org>

compat/arc4random.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Arc4 random number generator for OpenBSD.
3+
* SPDX-License-Identifier: ISC
34
* Copyright 1996 David Mazieres <dm@lcs.mit.edu>.
45
*
56
* Modification and redistribution in source and binary forms is

compat/arc4random_uniform.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* $OpenBSD: arc4random_uniform.c,v 1.3 2019/01/20 02:59:07 bcook Exp $ */
22

33
/*
4+
* SPDX-License-Identifier: ISC
45
* Copyright (c) 2008, Damien Miller <djm@openbsd.org>
56
*
67
* Permission to use, copy, modify, and distribute this software for any

compat/arc4random_uniform.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
* SPDX-License-Identifier: ISC
23
* Copyright (c) 2008, Damien Miller <djm@openbsd.org>
34
*
45
* Permission to use, copy, modify, and distribute this software for any

compat/bitops.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* $NetBSD: bitops.h,v 1.11 2012/12/07 02:27:58 christos Exp $ */
22

33
/*-
4+
* SPDX-License-Identifier: BSD-2-Clause
45
* Copyright (c) 2007, 2010 The NetBSD Foundation, Inc.
56
* All rights reserved.
67
*

0 commit comments

Comments
 (0)