From: Yegor Yefremov Date: Thu, 4 Jul 2019 11:18:28 +0000 (+0100) Subject: Add SPDX identifiers to all dhcpcd source files. X-Git-Tag: v8.0.0~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=114167a2ffa101dd8ff9482f3dbbee63cdd6d669;p=thirdparty%2Fdhcpcd.git Add SPDX identifiers to all dhcpcd source files. See https://spdx.org/ for details. --- diff --git a/src/arp.c b/src/arp.c index 59d82e9f..a62da215 100644 --- a/src/arp.c +++ b/src/arp.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - ARP handler * Copyright (c) 2006-2019 Roy Marples diff --git a/src/arp.h b/src/arp.h index d29b06b8..0065e0c9 100644 --- a/src/arp.h +++ b/src/arp.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/auth.c b/src/auth.c index cd774150..159ef120 100644 --- a/src/auth.c +++ b/src/auth.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/auth.h b/src/auth.h index d0aa4924..3f6b5a57 100644 --- a/src/auth.h +++ b/src/auth.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/bpf.c b/src/bpf.c index 16d89408..ca510e40 100644 --- a/src/bpf.c +++ b/src/bpf.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd: BPF arp and bootp filtering * Copyright (c) 2006-2019 Roy Marples diff --git a/src/bpf.h b/src/bpf.h index 05c20941..e886f9c3 100644 --- a/src/bpf.h +++ b/src/bpf.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd: BPF arp and bootp filtering * Copyright (c) 2006-2019 Roy Marples diff --git a/src/common.c b/src/common.c index 0214af2c..1b400654 100644 --- a/src/common.c +++ b/src/common.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/common.h b/src/common.h index 1022e6ff..d283465e 100644 --- a/src/common.h +++ b/src/common.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/control.c b/src/control.c index 1b6cc396..e263bf6a 100644 --- a/src/control.c +++ b/src/control.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/control.h b/src/control.h index cdf54da2..795ecebb 100644 --- a/src/control.h +++ b/src/control.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/defs.h b/src/defs.h index ceb158ce..6dbe4499 100644 --- a/src/defs.h +++ b/src/defs.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/dev.c b/src/dev.c index e7214e48..d84a42c6 100644 --- a/src/dev.c +++ b/src/dev.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/dev.h b/src/dev.h index 30054fcd..b2cd804b 100644 --- a/src/dev.h +++ b/src/dev.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/dev/udev.c b/src/dev/udev.c index e1dc000c..feca9ca9 100644 --- a/src/dev/udev.c +++ b/src/dev/udev.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/dhcp-common.c b/src/dhcp-common.c index c562ada7..4ca158e4 100644 --- a/src/dhcp-common.c +++ b/src/dhcp-common.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/dhcp-common.h b/src/dhcp-common.h index a4de7420..8c766f80 100644 --- a/src/dhcp-common.h +++ b/src/dhcp-common.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/dhcp.c b/src/dhcp.c index e73a900f..823ed193 100644 --- a/src/dhcp.c +++ b/src/dhcp.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/dhcp.h b/src/dhcp.h index 245d20a4..568b38df 100644 --- a/src/dhcp.h +++ b/src/dhcp.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/dhcp6.c b/src/dhcp6.c index 79a0d730..482b7df8 100644 --- a/src/dhcp6.c +++ b/src/dhcp6.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/dhcp6.h b/src/dhcp6.h index 8853d7f8..8f96048b 100644 --- a/src/dhcp6.h +++ b/src/dhcp6.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/dhcpcd.8.in b/src/dhcpcd.8.in index 8d47dd7f..3548db88 100644 --- a/src/dhcpcd.8.in +++ b/src/dhcpcd.8.in @@ -1,3 +1,5 @@ +.\" SPDX-License-Identifier: BSD-2-Clause +.\" .\" Copyright (c) 2006-2019 Roy Marples .\" All rights reserved .\" diff --git a/src/dhcpcd.c b/src/dhcpcd.c index fc500353..c2d1ddcd 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/dhcpcd.conf.5.in b/src/dhcpcd.conf.5.in index 87ca7bfa..54d3a137 100644 --- a/src/dhcpcd.conf.5.in +++ b/src/dhcpcd.conf.5.in @@ -1,3 +1,5 @@ +.\" SPDX-License-Identifier: BSD-2-Clause +.\" .\" Copyright (c) 2006-2019 Roy Marples .\" All rights reserved .\" diff --git a/src/dhcpcd.h b/src/dhcpcd.h index 7ce3cad3..742cd13e 100644 --- a/src/dhcpcd.h +++ b/src/dhcpcd.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/duid.c b/src/duid.c index dd08f00e..60e4be37 100644 --- a/src/duid.c +++ b/src/duid.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/duid.h b/src/duid.h index 05857844..23a714f0 100644 --- a/src/duid.h +++ b/src/duid.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2015 Roy Marples diff --git a/src/eloop.c b/src/eloop.c index 65c9c7e0..e8be9a34 100644 --- a/src/eloop.c +++ b/src/eloop.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * eloop - portable event based main loop. * Copyright (c) 2006-2019 Roy Marples diff --git a/src/eloop.h b/src/eloop.h index 7b87459f..a98d57ed 100644 --- a/src/eloop.h +++ b/src/eloop.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/if-bsd.c b/src/if-bsd.c index a7f74d89..41e402b0 100644 --- a/src/if-bsd.c +++ b/src/if-bsd.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * BSD interface driver for dhcpcd * Copyright (c) 2006-2019 Roy Marples diff --git a/src/if-linux-wext.c b/src/if-linux-wext.c index 4b0965dc..dd4a9e08 100644 --- a/src/if-linux-wext.c +++ b/src/if-linux-wext.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2009-2019 Roy Marples diff --git a/src/if-linux.c b/src/if-linux.c index 4849d919..44767991 100644 --- a/src/if-linux.c +++ b/src/if-linux.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * Linux interface driver for dhcpcd * Copyright (c) 2006-2019 Roy Marples diff --git a/src/if-options.c b/src/if-options.c index e3d9c56e..c20ea150 100644 --- a/src/if-options.c +++ b/src/if-options.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/if-options.h b/src/if-options.h index 1b0988f3..4f720d32 100644 --- a/src/if-options.h +++ b/src/if-options.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/if-sun.c b/src/if-sun.c index fc8cfc85..0db7371c 100644 --- a/src/if-sun.c +++ b/src/if-sun.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * Solaris interface driver for dhcpcd * Copyright (c) 2016-2019 Roy Marples diff --git a/src/if.c b/src/if.c index 17ca6f42..52060794 100644 --- a/src/if.c +++ b/src/if.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/if.h b/src/if.h index 35b1b51d..4c830396 100644 --- a/src/if.h +++ b/src/if.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/ipv4.c b/src/ipv4.c index 5f138b5c..adab6dee 100644 --- a/src/ipv4.c +++ b/src/ipv4.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/ipv4.h b/src/ipv4.h index 7cc06a52..26161784 100644 --- a/src/ipv4.h +++ b/src/ipv4.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/ipv4ll.c b/src/ipv4ll.c index 8a1cc914..fc720575 100644 --- a/src/ipv4ll.c +++ b/src/ipv4ll.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/ipv4ll.h b/src/ipv4ll.h index 5fefa429..74607b99 100644 --- a/src/ipv4ll.h +++ b/src/ipv4ll.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/ipv6.c b/src/ipv6.c index 8288cb40..5631805a 100644 --- a/src/ipv6.c +++ b/src/ipv6.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/ipv6.h b/src/ipv6.h index 38382993..3fad4f0b 100644 --- a/src/ipv6.h +++ b/src/ipv6.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/ipv6nd.c b/src/ipv6nd.c index 5ece711e..c1b09372 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - IPv6 ND handling * Copyright (c) 2006-2019 Roy Marples diff --git a/src/ipv6nd.h b/src/ipv6nd.h index 2727e514..c713b97c 100644 --- a/src/ipv6nd.h +++ b/src/ipv6nd.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - IPv6 ND handling * Copyright (c) 2006-2019 Roy Marples diff --git a/src/logerr.c b/src/logerr.c index afef8d1b..c2e2e160 100644 --- a/src/logerr.c +++ b/src/logerr.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * logerr: errx with logging * Copyright (c) 2006-2019 Roy Marples diff --git a/src/logerr.h b/src/logerr.h index 0e19583f..cca1956c 100644 --- a/src/logerr.h +++ b/src/logerr.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * logerr: errx with logging * Copyright (c) 2006-2019 Roy Marples diff --git a/src/route.c b/src/route.c index 26c29e46..5e79fb6b 100644 --- a/src/route.c +++ b/src/route.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - route management * Copyright (c) 2006-2019 Roy Marples diff --git a/src/route.h b/src/route.h index fb537f5d..936d6c11 100644 --- a/src/route.h +++ b/src/route.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - route management * Copyright (c) 2006-2019 Roy Marples diff --git a/src/sa.c b/src/sa.c index c0185f3a..ee9cf61c 100644 --- a/src/sa.c +++ b/src/sa.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * Socket Address handling for dhcpcd * Copyright (c) 2015-2019 Roy Marples diff --git a/src/sa.h b/src/sa.h index de7eaf0c..b2cb639b 100644 --- a/src/sa.h +++ b/src/sa.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * Socket Address handling for dhcpcd * Copyright (c) 2015-2019 Roy Marples diff --git a/src/script.c b/src/script.c index 451b0308..b7e4e6b6 100644 --- a/src/script.c +++ b/src/script.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples diff --git a/src/script.h b/src/script.h index 6b7a593b..d71294cd 100644 --- a/src/script.h +++ b/src/script.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2019 Roy Marples