]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
Add missing SPDX-License tags (#591)
authorColin McInnes <colin.mcinnes@vecima.com>
Thu, 30 Apr 2026 16:42:43 +0000 (10:42 -0600)
committerGitHub <noreply@github.com>
Thu, 30 Apr 2026 16:42:43 +0000 (17:42 +0100)
commit5524da4cebfa8768fa68c0b5ce3f6a3f34fb359d
tree3f14ac7888e96aa3f0ed7386fe52d575a22cbec9
parent243ad84ac67a87d631ff7eb83b2eed2727acebb5
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.
148 files changed:
BUILDING.md
Makefile
Makefile.inc
README.md
compat/_strtoi.h
compat/arc4random.c
compat/arc4random.h
compat/arc4random_uniform.c
compat/arc4random_uniform.h
compat/bitops.h
compat/chacha_private.h
compat/closefrom.h
compat/consttime_memequal.h
compat/crypt/hmac.c
compat/crypt/hmac.h
compat/crypt/md5.c
compat/crypt/md5.h
compat/crypt/sha256.c
compat/crypt/sha256.h
compat/crypt_openssl/hmac.c
compat/crypt_openssl/hmac.h
compat/crypt_openssl/sha256.c
compat/crypt_openssl/sha256.h
compat/dprintf.c
compat/dprintf.h
compat/endian.h
compat/pidfile.c
compat/pidfile.h
compat/queue.h
compat/reallocarray.c
compat/reallocarray.h
compat/setproctitle.c
compat/setproctitle.h
compat/strlcpy.c
compat/strlcpy.h
compat/strtoi.c
compat/strtoi.h
compat/strtou.c
config-null.mk
configure
hooks/01-test
hooks/10-wpa_supplicant
hooks/15-timezone
hooks/20-resolv.conf
hooks/29-lookup-hostname
hooks/30-hostname.in
hooks/50-dhcpcd-compat
hooks/50-ntp.conf
hooks/50-timesyncd.conf
hooks/50-yp.conf
hooks/50-ypbind.in
hooks/Makefile
hooks/dhcpcd-run-hooks.8.in
hooks/dhcpcd-run-hooks.in
iconfig.mk
src/GNUmakefile
src/Makefile
src/arp.c
src/arp.h
src/auth.c
src/auth.h
src/bpf.c
src/bpf.h
src/common.c
src/common.h
src/control.c
src/control.h
src/defs.h
src/dev.c
src/dev.h
src/dev/Makefile
src/dev/udev.c
src/dhcp-common.c
src/dhcp-common.h
src/dhcp.c
src/dhcp.h
src/dhcp6.c
src/dhcp6.h
src/dhcpcd-definitions-small.conf
src/dhcpcd-definitions.conf
src/dhcpcd-embedded.c.in
src/dhcpcd-embedded.h.in
src/dhcpcd.8.in
src/dhcpcd.c
src/dhcpcd.conf
src/dhcpcd.conf.5.in
src/dhcpcd.h
src/duid.c
src/duid.h
src/eloop.c
src/eloop.h
src/genembedc
src/genembedh
src/if-bsd.c
src/if-linux-wext.c
src/if-linux.c
src/if-options.c
src/if-options.h
src/if-sun.c
src/if.c
src/if.h
src/ipv4.c
src/ipv4.h
src/ipv4ll.c
src/ipv4ll.h
src/ipv6.c
src/ipv6.h
src/ipv6nd.c
src/ipv6nd.h
src/logerr.c
src/logerr.h
src/privsep-bpf.c
src/privsep-bpf.h
src/privsep-bsd.c
src/privsep-control.c
src/privsep-control.h
src/privsep-inet.c
src/privsep-inet.h
src/privsep-linux.c
src/privsep-root.c
src/privsep-root.h
src/privsep-sun.c
src/privsep.c
src/privsep.h
src/queue.h
src/route.c
src/route.h
src/sa.c
src/sa.h
src/script.c
src/script.h
tests/Makefile
tests/crypt/.gitignore
tests/crypt/GNUmakefile
tests/crypt/Makefile
tests/crypt/README.md
tests/crypt/run-test.c
tests/crypt/test.h
tests/crypt/test_hmac_md5.c
tests/crypt/test_sha256.c
tests/eloop-bench/.gitignore
tests/eloop-bench/Makefile
tests/eloop-bench/README.md
tests/eloop-bench/eloop-bench.c
vendor/README.md
vendor/queue.h
vendor/rbtree.c
vendor/rbtree.h