From 83ea91531fc3da011bf450b5bb01c3eff537a021 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Fri, 20 Dec 2024 07:57:56 +0100 Subject: [PATCH] netutils: migrate the license to ASF Xiaomi has submitted the SGA and we can migate the license to ASF Signed-off-by: Alin Jerpelea --- netutils/CMakeLists.txt | 2 + netutils/Make.defs | 2 + netutils/Makefile | 2 + netutils/chat/CMakeLists.txt | 2 + netutils/chat/Make.defs | 2 + netutils/chat/Makefile | 2 + netutils/chat/chat.c | 7 +-- netutils/chat/chat.h | 5 +- netutils/cjson/CMakeLists.txt | 2 + netutils/cjson/Make.defs | 2 + netutils/cjson/Makefile | 2 + netutils/codecs/CMakeLists.txt | 2 + netutils/codecs/Make.defs | 2 + netutils/codecs/Makefile | 2 + netutils/codecs/base64.c | 8 +-- netutils/codecs/md5.c | 48 +++++++----------- netutils/codecs/urldecode.c | 39 +++++---------- netutils/connectedhomeip/CMakeLists.txt | 2 + netutils/cwebsocket/Make.defs | 2 + netutils/cwebsocket/Makefile | 2 + netutils/dhcp6c/CMakeLists.txt | 2 + netutils/dhcp6c/Make.defs | 2 + netutils/dhcp6c/Makefile | 2 + netutils/dhcp6c/dhcp6c.c | 2 + netutils/dhcpc/CMakeLists.txt | 2 + netutils/dhcpc/Make.defs | 2 + netutils/dhcpc/Makefile | 2 + netutils/dhcpc/dhcpc.c | 13 ++--- netutils/dhcpd/CMakeLists.txt | 2 + netutils/dhcpd/Make.defs | 2 + netutils/dhcpd/Makefile | 2 + netutils/dhcpd/dhcpd.c | 2 + netutils/discover/CMakeLists.txt | 2 + netutils/discover/Make.defs | 2 + netutils/discover/Makefile | 2 + netutils/discover/discover.c | 2 + netutils/esp8266/CMakeLists.txt | 2 + netutils/esp8266/Make.defs | 2 + netutils/esp8266/Makefile | 2 + netutils/esp8266/esp8266.c | 2 + netutils/ftpc/CMakeLists.txt | 2 + netutils/ftpc/Make.defs | 2 + netutils/ftpc/Makefile | 2 + netutils/ftpc/ftpc_cdup.c | 2 + netutils/ftpc/ftpc_chdir.c | 2 + netutils/ftpc/ftpc_chmod.c | 2 + netutils/ftpc/ftpc_cmd.c | 2 + netutils/ftpc/ftpc_config.h | 2 + netutils/ftpc/ftpc_connect.c | 2 + netutils/ftpc/ftpc_disconnect.c | 2 + netutils/ftpc/ftpc_filesize.c | 2 + netutils/ftpc/ftpc_filetime.c | 2 + netutils/ftpc/ftpc_getfile.c | 2 + netutils/ftpc/ftpc_getreply.c | 2 + netutils/ftpc/ftpc_help.c | 2 + netutils/ftpc/ftpc_idle.c | 2 + netutils/ftpc/ftpc_internal.h | 2 + netutils/ftpc/ftpc_listdir.c | 2 + netutils/ftpc/ftpc_login.c | 2 + netutils/ftpc/ftpc_mkdir.c | 2 + netutils/ftpc/ftpc_noop.c | 2 + netutils/ftpc/ftpc_putfile.c | 2 + netutils/ftpc/ftpc_quit.c | 2 + netutils/ftpc/ftpc_rename.c | 2 + netutils/ftpc/ftpc_response.c | 2 + netutils/ftpc/ftpc_rmdir.c | 2 + netutils/ftpc/ftpc_rpwd.c | 2 + netutils/ftpc/ftpc_socket.c | 2 + netutils/ftpc/ftpc_transfer.c | 2 + netutils/ftpc/ftpc_unlink.c | 2 + netutils/ftpc/ftpc_utils.c | 2 + netutils/ftpd/CMakeLists.txt | 2 + netutils/ftpd/Make.defs | 2 + netutils/ftpd/Makefile | 2 + netutils/ftpd/ftpd.c | 13 ++--- netutils/ftpd/ftpd.h | 2 + netutils/iperf/CMakeLists.txt | 2 + netutils/iperf/Make.defs | 3 +- netutils/iperf/Makefile | 2 + netutils/iperf/iperf.c | 2 + netutils/iperf/iperf.h | 2 + netutils/iperf/iperf_main.c | 2 + netutils/iptables/CMakeLists.txt | 2 + netutils/iptables/Make.defs | 2 + netutils/iptables/Makefile | 2 + netutils/iptables/xtables.c | 2 + netutils/jsoncpp/CMakeLists.txt | 2 + netutils/jsoncpp/Make.defs | 2 + netutils/jsoncpp/Makefile | 2 + netutils/libcoap/CMakeLists.txt | 2 + netutils/libcoap/Make.defs | 2 + netutils/libcoap/Makefile | 2 + netutils/libcoap/coap_config.h | 8 +-- netutils/libcurl4nx/CMakeLists.txt | 2 + netutils/libcurl4nx/Make.defs | 2 + netutils/libcurl4nx/Makefile | 2 + netutils/libcurl4nx/curl4nx_easy_cleanup.c | 2 + netutils/libcurl4nx/curl4nx_easy_duphandle.c | 2 + netutils/libcurl4nx/curl4nx_easy_escape.c | 2 + netutils/libcurl4nx/curl4nx_easy_getinfo.c | 2 + netutils/libcurl4nx/curl4nx_easy_init.c | 2 + netutils/libcurl4nx/curl4nx_easy_perform.c | 2 + netutils/libcurl4nx/curl4nx_easy_reset.c | 2 + netutils/libcurl4nx/curl4nx_easy_setopt.c | 2 + netutils/libcurl4nx/curl4nx_easy_unescape.c | 2 + netutils/libcurl4nx/curl4nx_private.h | 2 + netutils/libwebsockets/Make.defs | 2 + netutils/libwebsockets/Makefile | 2 + netutils/libwebsockets/lws_config.h | 2 + netutils/libwebsockets/lws_config_private.h | 4 +- netutils/mqttc/Make.defs | 2 + netutils/mqttc/Makefile | 2 + netutils/nanopb/Make.defs | 2 + netutils/nanopb/Makefile | 2 + netutils/netcat/CMakeLists.txt | 2 + netutils/netcat/Make.defs | 3 +- netutils/netcat/Makefile | 3 +- netutils/netcat/netcat_main.c | 3 +- netutils/netinit/CMakeLists.txt | 2 + netutils/netinit/Make.defs | 2 + netutils/netinit/Makefile | 2 + netutils/netinit/netinit.c | 2 + netutils/netinit/netinit_associate.c | 2 + netutils/netlib/CMakeLists.txt | 2 + netutils/netlib/Make.defs | 2 + netutils/netlib/Makefile | 2 + netutils/netlib/netlib_addipv6addr.c | 2 + netutils/netlib/netlib_autoconfig.c | 2 + netutils/netlib/netlib_conntrack.c | 2 + netutils/netlib/netlib_delarp.c | 2 + netutils/netlib/netlib_delipv6addr.c | 2 + netutils/netlib/netlib_eaddrconv.c | 2 + netutils/netlib/netlib_ethaddrconv.c | 16 +++--- netutils/netlib/netlib_getarp.c | 2 + netutils/netlib/netlib_getarptab.c | 2 + netutils/netlib/netlib_getdevs.c | 2 + netutils/netlib/netlib_getdripv4addr.c | 2 + netutils/netlib/netlib_getessid.c | 2 + netutils/netlib/netlib_getifstatistics.c | 2 + netutils/netlib/netlib_getifstatus.c | 2 + netutils/netlib/netlib_getipv4addr.c | 2 + netutils/netlib/netlib_getipv4netmask.c | 2 + netutils/netlib/netlib_getipv6addr.c | 2 + netutils/netlib/netlib_getmacaddr.c | 2 + netutils/netlib/netlib_getnbtab.c | 2 + netutils/netlib/netlib_getnodeaddr.c | 2 + netutils/netlib/netlib_getpanid.c | 2 + netutils/netlib/netlib_getproperties.c | 2 + netutils/netlib/netlib_getroute.c | 2 + netutils/netlib/netlib_ip6tables.c | 2 + netutils/netlib/netlib_ipmsfilter.c | 2 + netutils/netlib/netlib_iptables.c | 2 + netutils/netlib/netlib_ipv4adaptor.c | 2 + netutils/netlib/netlib_ipv4addrconv.c | 15 +++--- netutils/netlib/netlib_ipv4route.c | 2 + netutils/netlib/netlib_ipv4router.c | 2 + netutils/netlib/netlib_ipv6adaptor.c | 2 + netutils/netlib/netlib_ipv6netmask2prefix.c | 2 + netutils/netlib/netlib_ipv6route.c | 2 + netutils/netlib/netlib_ipv6router.c | 2 + netutils/netlib/netlib_listenon.c | 2 + netutils/netlib/netlib_nodeaddrconv.c | 2 + netutils/netlib/netlib_obtainipv4addr.c | 2 + netutils/netlib/netlib_obtainipv6addr.c | 2 + netutils/netlib/netlib_parsehttpurl.c | 2 + netutils/netlib/netlib_parseurl.c | 2 + netutils/netlib/netlib_prefix2ipv6netmask.c | 2 + netutils/netlib/netlib_saddrconv.c | 2 + netutils/netlib/netlib_server.c | 2 + netutils/netlib/netlib_setarp.c | 2 + netutils/netlib/netlib_setdripv4addr.c | 2 + netutils/netlib/netlib_setdripv6addr.c | 2 + netutils/netlib/netlib_seteaddr.c | 2 + netutils/netlib/netlib_setessid.c | 2 + netutils/netlib/netlib_setifstatus.c | 2 + netutils/netlib/netlib_setipv4addr.c | 2 + netutils/netlib/netlib_setipv4dnsaddr.c | 2 + netutils/netlib/netlib_setipv4netmask.c | 2 + netutils/netlib/netlib_setipv6addr.c | 2 + netutils/netlib/netlib_setipv6dnsaddr.c | 2 + netutils/netlib/netlib_setipv6netmask.c | 2 + netutils/netlib/netlib_setmacaddr.c | 2 + netutils/netlib/netlib_setmtu.c | 2 + netutils/netlib/netlib_setnodeaddr.c | 2 + netutils/nng/Make.defs | 2 + netutils/nng/Makefile | 2 + netutils/ntpclient/CMakeLists.txt | 2 + netutils/ntpclient/Make.defs | 2 + netutils/ntpclient/Makefile | 2 + netutils/ntpclient/ntpclient.c | 2 + netutils/ntpclient/ntpv3.h | 2 + netutils/ping/CMakeLists.txt | 2 + netutils/ping/Make.defs | 2 + netutils/ping/Makefile | 2 + netutils/ping/icmp_ping.c | 2 + netutils/ping/icmpv6_ping.c | 2 + netutils/pppd/CMakeLists.txt | 2 + netutils/pppd/Make.defs | 2 + netutils/pppd/Makefile | 2 + netutils/ptpd/Make.defs | 2 + netutils/ptpd/Makefile | 2 + netutils/ptpd/ptpd.c | 2 + netutils/ptpd/ptpv2.h | 2 + netutils/rexec/CMakeLists.txt | 2 + netutils/rexec/Make.defs | 2 + netutils/rexec/Makefile | 2 + netutils/rexec/rexec.c | 2 + netutils/rexecd/CMakeLists.txt | 2 + netutils/rexecd/Make.defs | 2 + netutils/rexecd/Makefile | 2 + netutils/rexecd/rexecd.c | 2 + netutils/rtptools/CMakeLists.txt | 2 + netutils/rtptools/Make.defs | 2 + netutils/rtptools/Makefile | 2 + netutils/rtptools/config.h | 2 + netutils/smtp/CMakeLists.txt | 2 + netutils/smtp/Make.defs | 2 + netutils/smtp/Makefile | 2 + netutils/smtp/smtp.c | 22 +++------ netutils/telnetc/CMakeLists.txt | 2 + netutils/telnetc/Make.defs | 2 + netutils/telnetc/Makefile | 2 + netutils/telnetc/telnetc.c | 2 + netutils/telnetd/CMakeLists.txt | 2 + netutils/telnetd/Make.defs | 2 + netutils/telnetd/Makefile | 2 + netutils/telnetd/telnetd_daemon.c | 2 + netutils/tftpc/CMakeLists.txt | 2 + netutils/tftpc/Make.defs | 2 + netutils/tftpc/Makefile | 2 + netutils/tftpc/tftpc_get.c | 2 + netutils/tftpc/tftpc_internal.h | 2 + netutils/tftpc/tftpc_packets.c | 2 + netutils/tftpc/tftpc_put.c | 2 + netutils/thttpd/CMakeLists.txt | 2 + netutils/thttpd/Make.defs | 2 + netutils/thttpd/Makefile | 2 + netutils/thttpd/cgi-src/Makefile | 2 + netutils/thttpd/cgi-src/phf.c | 12 ++--- netutils/thttpd/cgi-src/redirect.c | 12 ++--- netutils/thttpd/cgi-src/ssi.c | 12 ++--- netutils/thttpd/config.h | 2 + netutils/thttpd/fdwatch.c | 12 ++--- netutils/thttpd/fdwatch.h | 11 ++--- netutils/thttpd/libhttpd.c | 15 +++--- netutils/thttpd/libhttpd.h | 15 +++--- netutils/thttpd/mime_types.h | 52 ++++++++------------ netutils/thttpd/tdate_parse.c | 12 ++--- netutils/thttpd/tdate_parse.h | 11 ++--- netutils/thttpd/thttpd.c | 14 +++--- netutils/thttpd/thttpd_alloc.c | 2 + netutils/thttpd/thttpd_alloc.h | 39 +++++---------- netutils/thttpd/thttpd_cgi.c | 15 +++--- netutils/thttpd/thttpd_cgi.h | 15 +++--- netutils/thttpd/thttpd_strings.c | 14 +++--- netutils/thttpd/thttpd_strings.h | 14 +++--- netutils/thttpd/timers.c | 13 ++--- netutils/thttpd/timers.h | 14 +++--- netutils/wakaama/CMakeLists.txt | 2 + netutils/wakaama/examples.cmake | 2 + netutils/wakeonlan/CMakeLists.txt | 2 + netutils/wakeonlan/Make.defs | 2 + netutils/wakeonlan/Makefile | 2 + netutils/wakeonlan/wol_main.c | 2 + netutils/webclient/CMakeLists.txt | 2 + netutils/webclient/Make.defs | 2 + netutils/webclient/Makefile | 2 + netutils/webclient/webclient.c | 17 +++---- netutils/webserver/CMakeLists.txt | 2 + netutils/webserver/Make.defs | 2 + netutils/webserver/Makefile | 2 + netutils/webserver/httpd.c | 19 +++---- netutils/webserver/httpd.h | 14 +++--- netutils/webserver/httpd_cgi.c | 7 ++- netutils/webserver/httpd_cgi.h | 14 +++--- netutils/webserver/httpd_dirlist.c | 2 + netutils/webserver/httpd_fs.c | 14 +++--- netutils/webserver/httpd_mmap.c | 2 + netutils/webserver/httpd_sendfile.c | 2 + netutils/xmlrpc/CMakeLists.txt | 2 + netutils/xmlrpc/Make.defs | 2 + netutils/xmlrpc/Makefile | 2 + netutils/xmlrpc/response.c | 18 ++++--- netutils/xmlrpc/xmlparser.c | 18 ++++--- 284 files changed, 740 insertions(+), 377 deletions(-) diff --git a/netutils/CMakeLists.txt b/netutils/CMakeLists.txt index 62601fd7e..e950ed6ff 100644 --- a/netutils/CMakeLists.txt +++ b/netutils/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/Make.defs b/netutils/Make.defs index d08431e24..bd7c0e0cc 100644 --- a/netutils/Make.defs +++ b/netutils/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/Makefile b/netutils/Makefile index 6ec7c1884..87fb891a1 100644 --- a/netutils/Makefile +++ b/netutils/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/chat/CMakeLists.txt b/netutils/chat/CMakeLists.txt index 66a4f7348..eb847a453 100644 --- a/netutils/chat/CMakeLists.txt +++ b/netutils/chat/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/chat/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/chat/Make.defs b/netutils/chat/Make.defs index 06540e51b..db5c13717 100644 --- a/netutils/chat/Make.defs +++ b/netutils/chat/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/chat/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/chat/Makefile b/netutils/chat/Makefile index 61b61b7fc..1c461c852 100644 --- a/netutils/chat/Makefile +++ b/netutils/chat/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/chat/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/chat/chat.c b/netutils/chat/chat.c index 38ab5dc92..3849631df 100644 --- a/netutils/chat/chat.c +++ b/netutils/chat/chat.c @@ -1,9 +1,10 @@ /**************************************************************************** * apps/netutils/chat/chat.c * - * Copyright (C) 2016 Vladimir Komendantskiy. All rights reserved. - * Author: Vladimir Komendantskiy - * Partly based on code by Max Nekludov + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2016 Vladimir Komendantskiy. All rights reserved. + * SPDX-FileContributor: Vladimir Komendantskiy + * SPDX-FileContributor: Max Nekludov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/chat/chat.h b/netutils/chat/chat.h index 61fcef637..4c9a91268 100644 --- a/netutils/chat/chat.h +++ b/netutils/chat/chat.h @@ -1,8 +1,9 @@ /**************************************************************************** * apps/netutils/chat/chat.h * - * Copyright (C) 2016 Vladimir Komendantskiy. All rights reserved. - * Author: Vladimir Komendantskiy + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2016 Vladimir Komendantskiy. All rights reserved. + * SPDX-FileContributor: Vladimir Komendantskiy * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/cjson/CMakeLists.txt b/netutils/cjson/CMakeLists.txt index 0261b694c..9749f42f1 100644 --- a/netutils/cjson/CMakeLists.txt +++ b/netutils/cjson/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/cjson/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/cjson/Make.defs b/netutils/cjson/Make.defs index 78c822007..e8f6d6d80 100644 --- a/netutils/cjson/Make.defs +++ b/netutils/cjson/Make.defs @@ -1,6 +1,8 @@ ############################################################################# # apps/netutils/cjson/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/cjson/Makefile b/netutils/cjson/Makefile index 7d7c423b0..d8993373d 100644 --- a/netutils/cjson/Makefile +++ b/netutils/cjson/Makefile @@ -1,6 +1,8 @@ ############################################################################# # apps/netutils/cjson/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/codecs/CMakeLists.txt b/netutils/codecs/CMakeLists.txt index d4ae752be..ee93eacd2 100644 --- a/netutils/codecs/CMakeLists.txt +++ b/netutils/codecs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/codecs/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/codecs/Make.defs b/netutils/codecs/Make.defs index 7d2f0592f..b17090ec2 100644 --- a/netutils/codecs/Make.defs +++ b/netutils/codecs/Make.defs @@ -1,6 +1,8 @@ ############################################################################# # apps/netutils/codecs/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/codecs/Makefile b/netutils/codecs/Makefile index 68b3bba9b..b6a1dee89 100644 --- a/netutils/codecs/Makefile +++ b/netutils/codecs/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/codecs/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/codecs/base64.c b/netutils/codecs/base64.c index 442a06bad..36485b85a 100644 --- a/netutils/codecs/base64.c +++ b/netutils/codecs/base64.c @@ -1,10 +1,10 @@ /**************************************************************************** * apps/netutils/codecs/base64.c * - * This file is part of the NuttX RTOS: - * - * Copyright (C) 2012, 2018 Gregory Nutt. All rights reserved. - * Author: Darcy Gong + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012, 2018 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2005, Jouni Malinen + * SPDX-FileContributor: Darcy Gong * * Reference: * diff --git a/netutils/codecs/md5.c b/netutils/codecs/md5.c index 38c637dc6..75dfe3f0c 100644 --- a/netutils/codecs/md5.c +++ b/netutils/codecs/md5.c @@ -1,11 +1,26 @@ /**************************************************************************** * apps/netutils/codecs/md5.c * - * This file is part of the NuttX RTOS: + * SPDX-License-Identifier: Apache-2.0 * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Author: Darcy Gong + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +/**************************************************************************** * Reference: * * This code implements the MD5 message-digest algorithm. @@ -25,33 +40,6 @@ * * See README and COPYING for more details. * - * And is re-released under the NuttX modified BSD license: - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the Institute nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * ****************************************************************************/ /**************************************************************************** diff --git a/netutils/codecs/urldecode.c b/netutils/codecs/urldecode.c index 1e1a105fe..5328f311b 100644 --- a/netutils/codecs/urldecode.c +++ b/netutils/codecs/urldecode.c @@ -1,35 +1,22 @@ /**************************************************************************** * apps/netutils/codecs/urldecode.c * - * This file is part of the NuttX RTOS: + * SPDX-License-Identifier: Apache-2.0 * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Author: Darcy Gong + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: + * http://www.apache.org/licenses/LICENSE-2.0 * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the Institute nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * ****************************************************************************/ diff --git a/netutils/connectedhomeip/CMakeLists.txt b/netutils/connectedhomeip/CMakeLists.txt index 546fbe733..1031b4727 100644 --- a/netutils/connectedhomeip/CMakeLists.txt +++ b/netutils/connectedhomeip/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/connectedhomeip/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/cwebsocket/Make.defs b/netutils/cwebsocket/Make.defs index 9d068ef8e..c08da360d 100644 --- a/netutils/cwebsocket/Make.defs +++ b/netutils/cwebsocket/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/cwebsocket/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/cwebsocket/Makefile b/netutils/cwebsocket/Makefile index 01ffd9fb2..c9e6bbcd3 100644 --- a/netutils/cwebsocket/Makefile +++ b/netutils/cwebsocket/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/cwebsocket/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcp6c/CMakeLists.txt b/netutils/dhcp6c/CMakeLists.txt index 6ded1078b..63b061cce 100644 --- a/netutils/dhcp6c/CMakeLists.txt +++ b/netutils/dhcp6c/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/dhcp6c/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/dhcp6c/Make.defs b/netutils/dhcp6c/Make.defs index 39c2c4a32..120d94f78 100644 --- a/netutils/dhcp6c/Make.defs +++ b/netutils/dhcp6c/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/dhcp6c/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcp6c/Makefile b/netutils/dhcp6c/Makefile index c4c659693..e7be145f3 100644 --- a/netutils/dhcp6c/Makefile +++ b/netutils/dhcp6c/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/dhcp6c/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcp6c/dhcp6c.c b/netutils/dhcp6c/dhcp6c.c index a26472131..5418c0a98 100644 --- a/netutils/dhcp6c/dhcp6c.c +++ b/netutils/dhcp6c/dhcp6c.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/dhcp6c/dhcp6c.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcpc/CMakeLists.txt b/netutils/dhcpc/CMakeLists.txt index 3fdea80c2..7bc2ba17e 100644 --- a/netutils/dhcpc/CMakeLists.txt +++ b/netutils/dhcpc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/dhcpc/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/dhcpc/Make.defs b/netutils/dhcpc/Make.defs index 2022610d8..84be9ecdc 100644 --- a/netutils/dhcpc/Make.defs +++ b/netutils/dhcpc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/dhcpc/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcpc/Makefile b/netutils/dhcpc/Makefile index 4eaea283a..43b62a53c 100644 --- a/netutils/dhcpc/Makefile +++ b/netutils/dhcpc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/dhcpc/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcpc/dhcpc.c b/netutils/dhcpc/dhcpc.c index 2e365e122..38de90b2e 100644 --- a/netutils/dhcpc/dhcpc.c +++ b/netutils/dhcpc/dhcpc.c @@ -1,14 +1,11 @@ /**************************************************************************** * apps/netutils/dhcpc/dhcpc.c * - * Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Based heavily on portions of uIP: - * - * Author: Adam Dunkels - * Copyright (c) 2005, Swedish Institute of Computer Science - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2007, 2009, 2011-2012 Gregory Nutt. + * SPDX-FileCopyrightText: 2005, Swedish Institute of Computer Science + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/dhcpd/CMakeLists.txt b/netutils/dhcpd/CMakeLists.txt index ab53fa881..5c859f230 100644 --- a/netutils/dhcpd/CMakeLists.txt +++ b/netutils/dhcpd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/dhcpd/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/dhcpd/Make.defs b/netutils/dhcpd/Make.defs index f91aa017e..7b676ed33 100644 --- a/netutils/dhcpd/Make.defs +++ b/netutils/dhcpd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/dhcpd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcpd/Makefile b/netutils/dhcpd/Makefile index be43f4209..41e2f971c 100644 --- a/netutils/dhcpd/Makefile +++ b/netutils/dhcpd/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/dhcpd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcpd/dhcpd.c b/netutils/dhcpd/dhcpd.c index 2f8f280d5..367dda526 100644 --- a/netutils/dhcpd/dhcpd.c +++ b/netutils/dhcpd/dhcpd.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/dhcpd/dhcpd.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/discover/CMakeLists.txt b/netutils/discover/CMakeLists.txt index 040744fca..32337dcbf 100644 --- a/netutils/discover/CMakeLists.txt +++ b/netutils/discover/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/discover/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/discover/Make.defs b/netutils/discover/Make.defs index 6fcbe4d68..95a7a9b45 100644 --- a/netutils/discover/Make.defs +++ b/netutils/discover/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/discover/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/discover/Makefile b/netutils/discover/Makefile index e38c97571..43bd51b7c 100644 --- a/netutils/discover/Makefile +++ b/netutils/discover/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/discover/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/discover/discover.c b/netutils/discover/discover.c index fd77447a8..6bb3f675b 100644 --- a/netutils/discover/discover.c +++ b/netutils/discover/discover.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/discover/discover.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/esp8266/CMakeLists.txt b/netutils/esp8266/CMakeLists.txt index 9ed0bbfe5..b9232cc60 100644 --- a/netutils/esp8266/CMakeLists.txt +++ b/netutils/esp8266/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/esp8266/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/esp8266/Make.defs b/netutils/esp8266/Make.defs index d78ee97f7..6f9a2f463 100644 --- a/netutils/esp8266/Make.defs +++ b/netutils/esp8266/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/esp8266/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/esp8266/Makefile b/netutils/esp8266/Makefile index 357bcb83e..faf0f91a3 100644 --- a/netutils/esp8266/Makefile +++ b/netutils/esp8266/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/esp8266/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/esp8266/esp8266.c b/netutils/esp8266/esp8266.c index 5b8b7f62a..ac64b4b2f 100644 --- a/netutils/esp8266/esp8266.c +++ b/netutils/esp8266/esp8266.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/esp8266/esp8266.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/CMakeLists.txt b/netutils/ftpc/CMakeLists.txt index 290f71310..073e22c3c 100644 --- a/netutils/ftpc/CMakeLists.txt +++ b/netutils/ftpc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/ftpc/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/ftpc/Make.defs b/netutils/ftpc/Make.defs index 185126699..df47acf29 100644 --- a/netutils/ftpc/Make.defs +++ b/netutils/ftpc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ftpc/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/Makefile b/netutils/ftpc/Makefile index 16e2850d1..8a7ee81f9 100644 --- a/netutils/ftpc/Makefile +++ b/netutils/ftpc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ftpc/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_cdup.c b/netutils/ftpc/ftpc_cdup.c index 25eee2283..695991856 100644 --- a/netutils/ftpc/ftpc_cdup.c +++ b/netutils/ftpc/ftpc_cdup.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_cdup.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_chdir.c b/netutils/ftpc/ftpc_chdir.c index de356ed8e..fcfba68ed 100644 --- a/netutils/ftpc/ftpc_chdir.c +++ b/netutils/ftpc/ftpc_chdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_chdir.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_chmod.c b/netutils/ftpc/ftpc_chmod.c index 6e949ee0e..5710b7c8b 100644 --- a/netutils/ftpc/ftpc_chmod.c +++ b/netutils/ftpc/ftpc_chmod.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_chmod.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_cmd.c b/netutils/ftpc/ftpc_cmd.c index 08d307041..b6b7556b5 100644 --- a/netutils/ftpc/ftpc_cmd.c +++ b/netutils/ftpc/ftpc_cmd.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_cmd.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_config.h b/netutils/ftpc/ftpc_config.h index ff429f1d7..9ac5e08ed 100644 --- a/netutils/ftpc/ftpc_config.h +++ b/netutils/ftpc/ftpc_config.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_config.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_connect.c b/netutils/ftpc/ftpc_connect.c index ff1759fa5..8624f4905 100644 --- a/netutils/ftpc/ftpc_connect.c +++ b/netutils/ftpc/ftpc_connect.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_connect.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_disconnect.c b/netutils/ftpc/ftpc_disconnect.c index 60224ffe7..794b1a06b 100644 --- a/netutils/ftpc/ftpc_disconnect.c +++ b/netutils/ftpc/ftpc_disconnect.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_disconnect.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_filesize.c b/netutils/ftpc/ftpc_filesize.c index 2593eac04..67df7da3d 100644 --- a/netutils/ftpc/ftpc_filesize.c +++ b/netutils/ftpc/ftpc_filesize.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_filesize.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_filetime.c b/netutils/ftpc/ftpc_filetime.c index 5f3ab5e81..8a9611803 100644 --- a/netutils/ftpc/ftpc_filetime.c +++ b/netutils/ftpc/ftpc_filetime.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_filetime.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_getfile.c b/netutils/ftpc/ftpc_getfile.c index 902d61aba..83524df4e 100644 --- a/netutils/ftpc/ftpc_getfile.c +++ b/netutils/ftpc/ftpc_getfile.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_getfile.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_getreply.c b/netutils/ftpc/ftpc_getreply.c index 9dd341538..d5a3d0983 100644 --- a/netutils/ftpc/ftpc_getreply.c +++ b/netutils/ftpc/ftpc_getreply.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_getreply.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_help.c b/netutils/ftpc/ftpc_help.c index fcf28190d..b1c777f4a 100644 --- a/netutils/ftpc/ftpc_help.c +++ b/netutils/ftpc/ftpc_help.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_help.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_idle.c b/netutils/ftpc/ftpc_idle.c index eea2c054b..42e2fdbef 100644 --- a/netutils/ftpc/ftpc_idle.c +++ b/netutils/ftpc/ftpc_idle.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_idle.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_internal.h b/netutils/ftpc/ftpc_internal.h index c01cb1b69..70e9bb7b9 100644 --- a/netutils/ftpc/ftpc_internal.h +++ b/netutils/ftpc/ftpc_internal.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_internal.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_listdir.c b/netutils/ftpc/ftpc_listdir.c index 44c7c9c44..92461f6e3 100644 --- a/netutils/ftpc/ftpc_listdir.c +++ b/netutils/ftpc/ftpc_listdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_listdir.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_login.c b/netutils/ftpc/ftpc_login.c index 7691ae44d..9e99c0dc5 100644 --- a/netutils/ftpc/ftpc_login.c +++ b/netutils/ftpc/ftpc_login.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_login.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_mkdir.c b/netutils/ftpc/ftpc_mkdir.c index c065e34eb..53817a378 100644 --- a/netutils/ftpc/ftpc_mkdir.c +++ b/netutils/ftpc/ftpc_mkdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_mkdir.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_noop.c b/netutils/ftpc/ftpc_noop.c index f96a4c989..bc72985b9 100644 --- a/netutils/ftpc/ftpc_noop.c +++ b/netutils/ftpc/ftpc_noop.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_noop.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_putfile.c b/netutils/ftpc/ftpc_putfile.c index feeaf4313..9ac75cc0e 100644 --- a/netutils/ftpc/ftpc_putfile.c +++ b/netutils/ftpc/ftpc_putfile.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_putfile.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_quit.c b/netutils/ftpc/ftpc_quit.c index 0669e1d95..28e5acd86 100644 --- a/netutils/ftpc/ftpc_quit.c +++ b/netutils/ftpc/ftpc_quit.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_quit.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_rename.c b/netutils/ftpc/ftpc_rename.c index 90c1f2efc..8b3e761ff 100644 --- a/netutils/ftpc/ftpc_rename.c +++ b/netutils/ftpc/ftpc_rename.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_rename.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_response.c b/netutils/ftpc/ftpc_response.c index eb3811636..ac2040e39 100644 --- a/netutils/ftpc/ftpc_response.c +++ b/netutils/ftpc/ftpc_response.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_response.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_rmdir.c b/netutils/ftpc/ftpc_rmdir.c index f2f90bffc..b8db51dc1 100644 --- a/netutils/ftpc/ftpc_rmdir.c +++ b/netutils/ftpc/ftpc_rmdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_rmdir.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_rpwd.c b/netutils/ftpc/ftpc_rpwd.c index fce28e621..8ff608d9b 100644 --- a/netutils/ftpc/ftpc_rpwd.c +++ b/netutils/ftpc/ftpc_rpwd.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_rpwd.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_socket.c b/netutils/ftpc/ftpc_socket.c index 0856ba255..db9b4ccd0 100644 --- a/netutils/ftpc/ftpc_socket.c +++ b/netutils/ftpc/ftpc_socket.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_socket.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_transfer.c b/netutils/ftpc/ftpc_transfer.c index 168647918..7d294d52d 100644 --- a/netutils/ftpc/ftpc_transfer.c +++ b/netutils/ftpc/ftpc_transfer.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_transfer.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_unlink.c b/netutils/ftpc/ftpc_unlink.c index 2d99d1962..42ba48d48 100644 --- a/netutils/ftpc/ftpc_unlink.c +++ b/netutils/ftpc/ftpc_unlink.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_unlink.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_utils.c b/netutils/ftpc/ftpc_utils.c index 23e461fc0..829aa8672 100644 --- a/netutils/ftpc/ftpc_utils.c +++ b/netutils/ftpc/ftpc_utils.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_utils.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpd/CMakeLists.txt b/netutils/ftpd/CMakeLists.txt index a75bc2ff0..c8e742a09 100644 --- a/netutils/ftpd/CMakeLists.txt +++ b/netutils/ftpd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/ftpd/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/ftpd/Make.defs b/netutils/ftpd/Make.defs index 772fadd83..21ed7f819 100644 --- a/netutils/ftpd/Make.defs +++ b/netutils/ftpd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ftpd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpd/Makefile b/netutils/ftpd/Makefile index 2a61453fe..244f740d1 100644 --- a/netutils/ftpd/Makefile +++ b/netutils/ftpd/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ftpd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpd/ftpd.c b/netutils/ftpd/ftpd.c index 9df08a1a6..12491030a 100644 --- a/netutils/ftpd/ftpd.c +++ b/netutils/ftpd/ftpd.c @@ -1,14 +1,11 @@ /**************************************************************************** * apps/netutils/ftpd/ftpd.c * - * Copyright (C) 2012, 2015, 2020 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Includes original code as well as logic adapted from hwport_ftpd, written - * by Jaehyuk Cho which is released under a BSD license. - * - * Copyright (C) hwport.com. All rights reserved. - * Author: Jaehyuk Cho + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012, 2015, 2020 Gregory Nutt. + * SPDX-FileCopyrightText: hwport.com. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Jaehyuk Cho * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/ftpd/ftpd.h b/netutils/ftpd/ftpd.h index 31f3ca3e6..5acea4a28 100644 --- a/netutils/ftpd/ftpd.h +++ b/netutils/ftpd/ftpd.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpd/ftpd.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/iperf/CMakeLists.txt b/netutils/iperf/CMakeLists.txt index feea71ea6..a566030c7 100644 --- a/netutils/iperf/CMakeLists.txt +++ b/netutils/iperf/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/iperf/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/iperf/Make.defs b/netutils/iperf/Make.defs index 0e1213682..893564b3f 100644 --- a/netutils/iperf/Make.defs +++ b/netutils/iperf/Make.defs @@ -1,6 +1,7 @@ ############################################################################ # apps/netutils/iperf/Make.defs -# Adds selected applications to apps/ build +# +# SPDX-License-Identifier: Apache-2.0 # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/netutils/iperf/Makefile b/netutils/iperf/Makefile index 9db5e0cc5..148026ecc 100644 --- a/netutils/iperf/Makefile +++ b/netutils/iperf/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/iperf/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/iperf/iperf.c b/netutils/iperf/iperf.c index 55ee3ca8e..cda61f68e 100644 --- a/netutils/iperf/iperf.c +++ b/netutils/iperf/iperf.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/iperf/iperf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/iperf/iperf.h b/netutils/iperf/iperf.h index 14b295a9f..86739cd5f 100644 --- a/netutils/iperf/iperf.h +++ b/netutils/iperf/iperf.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/iperf/iperf.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/iperf/iperf_main.c b/netutils/iperf/iperf_main.c index fc42c13a8..67ff3855e 100644 --- a/netutils/iperf/iperf_main.c +++ b/netutils/iperf/iperf_main.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/iperf/iperf_main.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/iptables/CMakeLists.txt b/netutils/iptables/CMakeLists.txt index 94f1816d6..b049971c2 100644 --- a/netutils/iptables/CMakeLists.txt +++ b/netutils/iptables/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/iptables/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/iptables/Make.defs b/netutils/iptables/Make.defs index 17e09d4f9..2ea07def7 100644 --- a/netutils/iptables/Make.defs +++ b/netutils/iptables/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/iptables/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/iptables/Makefile b/netutils/iptables/Makefile index 08559b73b..4b0fe6ee7 100644 --- a/netutils/iptables/Makefile +++ b/netutils/iptables/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/iptables/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/iptables/xtables.c b/netutils/iptables/xtables.c index 6691706a0..9786db472 100644 --- a/netutils/iptables/xtables.c +++ b/netutils/iptables/xtables.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/iptables/xtables.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/jsoncpp/CMakeLists.txt b/netutils/jsoncpp/CMakeLists.txt index 61422e948..3f8d17903 100644 --- a/netutils/jsoncpp/CMakeLists.txt +++ b/netutils/jsoncpp/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/jsoncpp/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/jsoncpp/Make.defs b/netutils/jsoncpp/Make.defs index 3803ab9c0..b66b557f2 100644 --- a/netutils/jsoncpp/Make.defs +++ b/netutils/jsoncpp/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/jsoncpp/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/jsoncpp/Makefile b/netutils/jsoncpp/Makefile index 58f301ff5..c7218eaaf 100644 --- a/netutils/jsoncpp/Makefile +++ b/netutils/jsoncpp/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/jsoncpp/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libcoap/CMakeLists.txt b/netutils/libcoap/CMakeLists.txt index 5e26c4d35..404fd9956 100644 --- a/netutils/libcoap/CMakeLists.txt +++ b/netutils/libcoap/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/libcoap/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/libcoap/Make.defs b/netutils/libcoap/Make.defs index e53c8d306..c2d7c3ffb 100644 --- a/netutils/libcoap/Make.defs +++ b/netutils/libcoap/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/libcoap/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libcoap/Makefile b/netutils/libcoap/Makefile index e69c9be17..877fdb843 100644 --- a/netutils/libcoap/Makefile +++ b/netutils/libcoap/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/libcoap/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libcoap/coap_config.h b/netutils/libcoap/coap_config.h index 4e44e5e81..b05bb6433 100644 --- a/netutils/libcoap/coap_config.h +++ b/netutils/libcoap/coap_config.h @@ -1,11 +1,11 @@ /**************************************************************************** * apps/netutils/libcoap/coap_config.h * - * Copyright (C) 2020 Carlos Gomes Martinho - * - * Copyright (C) 2021-2023 Jon Shallow - * * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2020 Carlos Gomes Martinho + * + * SPDX-FileCopyrightText: 2021-2023 Jon Shallow + * * * This file is part of the CoAP library libcoap. Please see README for terms * of use. diff --git a/netutils/libcurl4nx/CMakeLists.txt b/netutils/libcurl4nx/CMakeLists.txt index 7fbf76158..4a565fd39 100644 --- a/netutils/libcurl4nx/CMakeLists.txt +++ b/netutils/libcurl4nx/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/libcurl4nx/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/libcurl4nx/Make.defs b/netutils/libcurl4nx/Make.defs index e4be480e1..f3a3a4350 100644 --- a/netutils/libcurl4nx/Make.defs +++ b/netutils/libcurl4nx/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/libcurl4nx/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/Makefile b/netutils/libcurl4nx/Makefile index 43dde03f4..47eeba9aa 100644 --- a/netutils/libcurl4nx/Makefile +++ b/netutils/libcurl4nx/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/libcurl4nx/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_cleanup.c b/netutils/libcurl4nx/curl4nx_easy_cleanup.c index 353bdf9c2..1c3000671 100644 --- a/netutils/libcurl4nx/curl4nx_easy_cleanup.c +++ b/netutils/libcurl4nx/curl4nx_easy_cleanup.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_cleanup.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_duphandle.c b/netutils/libcurl4nx/curl4nx_easy_duphandle.c index f6a10fdc0..4de16e0af 100644 --- a/netutils/libcurl4nx/curl4nx_easy_duphandle.c +++ b/netutils/libcurl4nx/curl4nx_easy_duphandle.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_duphandle.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_escape.c b/netutils/libcurl4nx/curl4nx_easy_escape.c index cdd77eb1d..ff76d6d8c 100644 --- a/netutils/libcurl4nx/curl4nx_easy_escape.c +++ b/netutils/libcurl4nx/curl4nx_easy_escape.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_escape.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_getinfo.c b/netutils/libcurl4nx/curl4nx_easy_getinfo.c index 274bcec42..ed8e90a9d 100644 --- a/netutils/libcurl4nx/curl4nx_easy_getinfo.c +++ b/netutils/libcurl4nx/curl4nx_easy_getinfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_getinfo.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_init.c b/netutils/libcurl4nx/curl4nx_easy_init.c index 0fd3d6aec..1817bf734 100644 --- a/netutils/libcurl4nx/curl4nx_easy_init.c +++ b/netutils/libcurl4nx/curl4nx_easy_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_init.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_perform.c b/netutils/libcurl4nx/curl4nx_easy_perform.c index 0fdaa1b5a..466b3efe7 100644 --- a/netutils/libcurl4nx/curl4nx_easy_perform.c +++ b/netutils/libcurl4nx/curl4nx_easy_perform.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_perform.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_reset.c b/netutils/libcurl4nx/curl4nx_easy_reset.c index d40806f52..7ece89011 100644 --- a/netutils/libcurl4nx/curl4nx_easy_reset.c +++ b/netutils/libcurl4nx/curl4nx_easy_reset.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_reset.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_setopt.c b/netutils/libcurl4nx/curl4nx_easy_setopt.c index 02fe5d12e..03f8ff5d1 100644 --- a/netutils/libcurl4nx/curl4nx_easy_setopt.c +++ b/netutils/libcurl4nx/curl4nx_easy_setopt.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_setopt.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_unescape.c b/netutils/libcurl4nx/curl4nx_easy_unescape.c index 8d1c1bca3..23f169afe 100644 --- a/netutils/libcurl4nx/curl4nx_easy_unescape.c +++ b/netutils/libcurl4nx/curl4nx_easy_unescape.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_unescape.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_private.h b/netutils/libcurl4nx/curl4nx_private.h index 96fcdd93e..a67fd0ab0 100644 --- a/netutils/libcurl4nx/curl4nx_private.h +++ b/netutils/libcurl4nx/curl4nx_private.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_private.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libwebsockets/Make.defs b/netutils/libwebsockets/Make.defs index 7094809e5..13fe3849c 100644 --- a/netutils/libwebsockets/Make.defs +++ b/netutils/libwebsockets/Make.defs @@ -1,6 +1,8 @@ ############################################################################# # apps/netutils/libwebsockets/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libwebsockets/Makefile b/netutils/libwebsockets/Makefile index f95e77ecb..ad8c0c5e6 100644 --- a/netutils/libwebsockets/Makefile +++ b/netutils/libwebsockets/Makefile @@ -1,6 +1,8 @@ ############################################################################# # apps/netutils/libwebsockets/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libwebsockets/lws_config.h b/netutils/libwebsockets/lws_config.h index d4903b8a4..3fe970b47 100644 --- a/netutils/libwebsockets/lws_config.h +++ b/netutils/libwebsockets/lws_config.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libwebsockets/lws_config.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libwebsockets/lws_config_private.h b/netutils/libwebsockets/lws_config_private.h index 893e02f05..8f5170faf 100644 --- a/netutils/libwebsockets/lws_config_private.h +++ b/netutils/libwebsockets/lws_config_private.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libwebsockets/lws_config_private.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The @@ -150,4 +152,4 @@ /* Defined if you have the header file. */ #define LWS_HAVE_INTTYPES_H -#endif \ No newline at end of file +#endif diff --git a/netutils/mqttc/Make.defs b/netutils/mqttc/Make.defs index 7c9d235d2..dc27a7046 100644 --- a/netutils/mqttc/Make.defs +++ b/netutils/mqttc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/mqttc/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/mqttc/Makefile b/netutils/mqttc/Makefile index 89f3a7fc7..730ce5139 100644 --- a/netutils/mqttc/Makefile +++ b/netutils/mqttc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/mqttc/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/nanopb/Make.defs b/netutils/nanopb/Make.defs index 6cd3bef26..a59e73d5c 100644 --- a/netutils/nanopb/Make.defs +++ b/netutils/nanopb/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/nanopb/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/nanopb/Makefile b/netutils/nanopb/Makefile index 8bc698247..c3624e7ad 100644 --- a/netutils/nanopb/Makefile +++ b/netutils/nanopb/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/nanopb/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/netcat/CMakeLists.txt b/netutils/netcat/CMakeLists.txt index 9efd88512..7ac7d7830 100644 --- a/netutils/netcat/CMakeLists.txt +++ b/netutils/netcat/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/netcat/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/netcat/Make.defs b/netutils/netcat/Make.defs index 7e55c3571..5356f19a1 100644 --- a/netutils/netcat/Make.defs +++ b/netutils/netcat/Make.defs @@ -1,6 +1,7 @@ ############################################################################# # apps/netutils/netcat/Make.defs -# netcat sample networking application +# +# SPDX-License-Identifier: Apache-2.0 # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/netutils/netcat/Makefile b/netutils/netcat/Makefile index cc09c0c24..c4c3022b3 100644 --- a/netutils/netcat/Makefile +++ b/netutils/netcat/Makefile @@ -1,6 +1,7 @@ ############################################################################# # apps/netutils/netcat/Makefile -# Netcat networking application +# +# SPDX-License-Identifier: Apache-2.0 # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/netutils/netcat/netcat_main.c b/netutils/netcat/netcat_main.c index 155de558f..4c5d96704 100644 --- a/netutils/netcat/netcat_main.c +++ b/netutils/netcat/netcat_main.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/netutils/netcat/netcat_main.c - * netcat networking application + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with diff --git a/netutils/netinit/CMakeLists.txt b/netutils/netinit/CMakeLists.txt index 899a6ebf8..694ea93df 100644 --- a/netutils/netinit/CMakeLists.txt +++ b/netutils/netinit/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/netinit/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/netinit/Make.defs b/netutils/netinit/Make.defs index effb3f05f..634118797 100644 --- a/netutils/netinit/Make.defs +++ b/netutils/netinit/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/netinit/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/netinit/Makefile b/netutils/netinit/Makefile index 8ee21511f..aecf09325 100644 --- a/netutils/netinit/Makefile +++ b/netutils/netinit/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/netinit/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/netinit/netinit.c b/netutils/netinit/netinit.c index 6a72c3bfe..4433eb4a5 100644 --- a/netutils/netinit/netinit.c +++ b/netutils/netinit/netinit.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netinit/netinit.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netinit/netinit_associate.c b/netutils/netinit/netinit_associate.c index 161a3545b..0ce4beff0 100644 --- a/netutils/netinit/netinit_associate.c +++ b/netutils/netinit/netinit_associate.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netinit/netinit_associate.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/CMakeLists.txt b/netutils/netlib/CMakeLists.txt index 068fa68fe..d97307e6d 100644 --- a/netutils/netlib/CMakeLists.txt +++ b/netutils/netlib/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/netlib/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/netlib/Make.defs b/netutils/netlib/Make.defs index 15a44d43f..144e6fcac 100644 --- a/netutils/netlib/Make.defs +++ b/netutils/netlib/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/netlib/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/Makefile b/netutils/netlib/Makefile index dc8be99d2..93508ef85 100644 --- a/netutils/netlib/Makefile +++ b/netutils/netlib/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/netlib/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_addipv6addr.c b/netutils/netlib/netlib_addipv6addr.c index 142e3e1e3..77c18a6f1 100644 --- a/netutils/netlib/netlib_addipv6addr.c +++ b/netutils/netlib/netlib_addipv6addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_addipv6addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_autoconfig.c b/netutils/netlib/netlib_autoconfig.c index 56f169de7..92bde61a6 100644 --- a/netutils/netlib/netlib_autoconfig.c +++ b/netutils/netlib/netlib_autoconfig.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_autoconfig.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_conntrack.c b/netutils/netlib/netlib_conntrack.c index fda39476a..b6312dd5c 100644 --- a/netutils/netlib/netlib_conntrack.c +++ b/netutils/netlib/netlib_conntrack.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_conntrack.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_delarp.c b/netutils/netlib/netlib_delarp.c index 77778ad42..7a263211c 100644 --- a/netutils/netlib/netlib_delarp.c +++ b/netutils/netlib/netlib_delarp.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_delarp.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_delipv6addr.c b/netutils/netlib/netlib_delipv6addr.c index d83ffa807..bea37aace 100644 --- a/netutils/netlib/netlib_delipv6addr.c +++ b/netutils/netlib/netlib_delipv6addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_delipv6addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_eaddrconv.c b/netutils/netlib/netlib_eaddrconv.c index 2f97e05f9..9039e10b5 100644 --- a/netutils/netlib/netlib_eaddrconv.c +++ b/netutils/netlib/netlib_eaddrconv.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_eaddrconv.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ethaddrconv.c b/netutils/netlib/netlib_ethaddrconv.c index 5f42547d9..f83bc779d 100644 --- a/netutils/netlib/netlib_ethaddrconv.c +++ b/netutils/netlib/netlib_ethaddrconv.c @@ -1,16 +1,12 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ethaddrconv.c - * Various uIP library functions. * - * Copyright (C) 2007, 2009, 2011, 2016 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Based on uIP which also has a BSD style license: - * - * Author: Adam Dunkels - * Copyright (c) 2004, Adam Dunkels and the Swedish Institute of - * Computer Science. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2007, 2009, 2011, 2016 Gregory Nutt. + * SPDX-FileCopyrightText: 2004 Adam Dunkels. + * SPDX-FileCopyrightText: 2004 Swedish Institute of Computer Science. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/netlib/netlib_getarp.c b/netutils/netlib/netlib_getarp.c index 63ec03b0c..d023bce30 100644 --- a/netutils/netlib/netlib_getarp.c +++ b/netutils/netlib/netlib_getarp.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getarp.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getarptab.c b/netutils/netlib/netlib_getarptab.c index f38b9a89d..8efb5e891 100644 --- a/netutils/netlib/netlib_getarptab.c +++ b/netutils/netlib/netlib_getarptab.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getarptab.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getdevs.c b/netutils/netlib/netlib_getdevs.c index 64260e4a0..0e56fe5c5 100644 --- a/netutils/netlib/netlib_getdevs.c +++ b/netutils/netlib/netlib_getdevs.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getdevs.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getdripv4addr.c b/netutils/netlib/netlib_getdripv4addr.c index 32398baa9..b6415124e 100644 --- a/netutils/netlib/netlib_getdripv4addr.c +++ b/netutils/netlib/netlib_getdripv4addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getdripv4addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getessid.c b/netutils/netlib/netlib_getessid.c index 6204c1745..0eb2702c5 100644 --- a/netutils/netlib/netlib_getessid.c +++ b/netutils/netlib/netlib_getessid.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getessid.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getifstatistics.c b/netutils/netlib/netlib_getifstatistics.c index a6ac33e6c..b838d556d 100644 --- a/netutils/netlib/netlib_getifstatistics.c +++ b/netutils/netlib/netlib_getifstatistics.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getifstatistics.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getifstatus.c b/netutils/netlib/netlib_getifstatus.c index 378a0bec1..753e869c3 100644 --- a/netutils/netlib/netlib_getifstatus.c +++ b/netutils/netlib/netlib_getifstatus.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getifstatus.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getipv4addr.c b/netutils/netlib/netlib_getipv4addr.c index 56a61853a..ec9736b95 100644 --- a/netutils/netlib/netlib_getipv4addr.c +++ b/netutils/netlib/netlib_getipv4addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getipv4addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getipv4netmask.c b/netutils/netlib/netlib_getipv4netmask.c index a341774b1..d1a0d0376 100644 --- a/netutils/netlib/netlib_getipv4netmask.c +++ b/netutils/netlib/netlib_getipv4netmask.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getipv4netmask.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getipv6addr.c b/netutils/netlib/netlib_getipv6addr.c index 1260e1f09..15697d5e2 100644 --- a/netutils/netlib/netlib_getipv6addr.c +++ b/netutils/netlib/netlib_getipv6addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getipv6addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getmacaddr.c b/netutils/netlib/netlib_getmacaddr.c index 4a0b7bce7..1bce3098d 100644 --- a/netutils/netlib/netlib_getmacaddr.c +++ b/netutils/netlib/netlib_getmacaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getmacaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getnbtab.c b/netutils/netlib/netlib_getnbtab.c index 519f89fbd..521746f21 100644 --- a/netutils/netlib/netlib_getnbtab.c +++ b/netutils/netlib/netlib_getnbtab.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getnbtab.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getnodeaddr.c b/netutils/netlib/netlib_getnodeaddr.c index 19724456b..d35d29eba 100644 --- a/netutils/netlib/netlib_getnodeaddr.c +++ b/netutils/netlib/netlib_getnodeaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getnodeaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getpanid.c b/netutils/netlib/netlib_getpanid.c index ca63db1b3..c6b236559 100644 --- a/netutils/netlib/netlib_getpanid.c +++ b/netutils/netlib/netlib_getpanid.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getpanid.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getproperties.c b/netutils/netlib/netlib_getproperties.c index d0f2c4cf2..9ffbc66bf 100644 --- a/netutils/netlib/netlib_getproperties.c +++ b/netutils/netlib/netlib_getproperties.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getproperties.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getroute.c b/netutils/netlib/netlib_getroute.c index 07db74070..ff7c318bc 100644 --- a/netutils/netlib/netlib_getroute.c +++ b/netutils/netlib/netlib_getroute.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getroute.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ip6tables.c b/netutils/netlib/netlib_ip6tables.c index 59915077b..d966e432d 100644 --- a/netutils/netlib/netlib_ip6tables.c +++ b/netutils/netlib/netlib_ip6tables.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ip6tables.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipmsfilter.c b/netutils/netlib/netlib_ipmsfilter.c index 29af7746d..d7f9b0ff1 100644 --- a/netutils/netlib/netlib_ipmsfilter.c +++ b/netutils/netlib/netlib_ipmsfilter.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipmsfilter.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_iptables.c b/netutils/netlib/netlib_iptables.c index adfb442d8..e27576a33 100644 --- a/netutils/netlib/netlib_iptables.c +++ b/netutils/netlib/netlib_iptables.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_iptables.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv4adaptor.c b/netutils/netlib/netlib_ipv4adaptor.c index c38bd0df1..92cd73c94 100644 --- a/netutils/netlib/netlib_ipv4adaptor.c +++ b/netutils/netlib/netlib_ipv4adaptor.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv4adaptor.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv4addrconv.c b/netutils/netlib/netlib_ipv4addrconv.c index 1341eab76..27325ca0a 100644 --- a/netutils/netlib/netlib_ipv4addrconv.c +++ b/netutils/netlib/netlib_ipv4addrconv.c @@ -1,15 +1,12 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv4addrconv.c * - * Copyright (C) 2007, 2009, 2011, 2016 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Based on uIP which also has a BSD style license: - * - * Author: Adam Dunkels - * Copyright (c) 2004, Adam Dunkels and the Swedish Institute of - * Computer Science. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2007, 2009, 2011, 2016 Gregory Nutt. + * SPDX-FileCopyrightText: 2004 Adam Dunkels. + * SPDX-FileCopyrightText: 2004 Swedish Institute of Computer Science. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/netlib/netlib_ipv4route.c b/netutils/netlib/netlib_ipv4route.c index f5343801c..225b68c0b 100644 --- a/netutils/netlib/netlib_ipv4route.c +++ b/netutils/netlib/netlib_ipv4route.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv4route.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv4router.c b/netutils/netlib/netlib_ipv4router.c index 73f672daf..f1877fbc0 100644 --- a/netutils/netlib/netlib_ipv4router.c +++ b/netutils/netlib/netlib_ipv4router.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv4router.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv6adaptor.c b/netutils/netlib/netlib_ipv6adaptor.c index 7cfdd3308..cb979cc02 100644 --- a/netutils/netlib/netlib_ipv6adaptor.c +++ b/netutils/netlib/netlib_ipv6adaptor.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv6adaptor.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv6netmask2prefix.c b/netutils/netlib/netlib_ipv6netmask2prefix.c index a3ce602bf..b2fb5d1bf 100644 --- a/netutils/netlib/netlib_ipv6netmask2prefix.c +++ b/netutils/netlib/netlib_ipv6netmask2prefix.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv6netmask2prefix.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv6route.c b/netutils/netlib/netlib_ipv6route.c index c35e26f4a..a0e10fa7c 100644 --- a/netutils/netlib/netlib_ipv6route.c +++ b/netutils/netlib/netlib_ipv6route.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv6route.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv6router.c b/netutils/netlib/netlib_ipv6router.c index bb7ff3dbe..ce041373f 100644 --- a/netutils/netlib/netlib_ipv6router.c +++ b/netutils/netlib/netlib_ipv6router.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv6router.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_listenon.c b/netutils/netlib/netlib_listenon.c index 134825411..608937ff7 100644 --- a/netutils/netlib/netlib_listenon.c +++ b/netutils/netlib/netlib_listenon.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_listenon.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_nodeaddrconv.c b/netutils/netlib/netlib_nodeaddrconv.c index 76816725f..67c6ee2f7 100644 --- a/netutils/netlib/netlib_nodeaddrconv.c +++ b/netutils/netlib/netlib_nodeaddrconv.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_nodeaddrconv.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_obtainipv4addr.c b/netutils/netlib/netlib_obtainipv4addr.c index 53e8ea725..6156445f6 100644 --- a/netutils/netlib/netlib_obtainipv4addr.c +++ b/netutils/netlib/netlib_obtainipv4addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_obtainipv4addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_obtainipv6addr.c b/netutils/netlib/netlib_obtainipv6addr.c index f5054c3e0..f55667705 100644 --- a/netutils/netlib/netlib_obtainipv6addr.c +++ b/netutils/netlib/netlib_obtainipv6addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_obtainipv6addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_parsehttpurl.c b/netutils/netlib/netlib_parsehttpurl.c index 0cba03d0b..d56a80056 100644 --- a/netutils/netlib/netlib_parsehttpurl.c +++ b/netutils/netlib/netlib_parsehttpurl.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_parsehttpurl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_parseurl.c b/netutils/netlib/netlib_parseurl.c index a80612966..b6bfda643 100644 --- a/netutils/netlib/netlib_parseurl.c +++ b/netutils/netlib/netlib_parseurl.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_parseurl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_prefix2ipv6netmask.c b/netutils/netlib/netlib_prefix2ipv6netmask.c index c8f7a71d9..b82bbbcb4 100644 --- a/netutils/netlib/netlib_prefix2ipv6netmask.c +++ b/netutils/netlib/netlib_prefix2ipv6netmask.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_prefix2ipv6netmask.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_saddrconv.c b/netutils/netlib/netlib_saddrconv.c index 069ba11eb..d3dda010f 100644 --- a/netutils/netlib/netlib_saddrconv.c +++ b/netutils/netlib/netlib_saddrconv.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_saddrconv.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_server.c b/netutils/netlib/netlib_server.c index 3c9bdf69c..98ff5e907 100644 --- a/netutils/netlib/netlib_server.c +++ b/netutils/netlib/netlib_server.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_server.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setarp.c b/netutils/netlib/netlib_setarp.c index edb566089..88dbba810 100644 --- a/netutils/netlib/netlib_setarp.c +++ b/netutils/netlib/netlib_setarp.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setarp.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setdripv4addr.c b/netutils/netlib/netlib_setdripv4addr.c index 019c50b03..1b5ad5052 100644 --- a/netutils/netlib/netlib_setdripv4addr.c +++ b/netutils/netlib/netlib_setdripv4addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setdripv4addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setdripv6addr.c b/netutils/netlib/netlib_setdripv6addr.c index 4da663e6c..2f1a1b7e0 100644 --- a/netutils/netlib/netlib_setdripv6addr.c +++ b/netutils/netlib/netlib_setdripv6addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setdripv6addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_seteaddr.c b/netutils/netlib/netlib_seteaddr.c index 6008fc3aa..fdabc7269 100644 --- a/netutils/netlib/netlib_seteaddr.c +++ b/netutils/netlib/netlib_seteaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_seteaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setessid.c b/netutils/netlib/netlib_setessid.c index ab91d09bf..0a45e42fa 100644 --- a/netutils/netlib/netlib_setessid.c +++ b/netutils/netlib/netlib_setessid.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setessid.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setifstatus.c b/netutils/netlib/netlib_setifstatus.c index 6a36eaa90..8a3f58db1 100644 --- a/netutils/netlib/netlib_setifstatus.c +++ b/netutils/netlib/netlib_setifstatus.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setifstatus.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setipv4addr.c b/netutils/netlib/netlib_setipv4addr.c index 8ada0e48a..db03ddb61 100644 --- a/netutils/netlib/netlib_setipv4addr.c +++ b/netutils/netlib/netlib_setipv4addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setipv4addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setipv4dnsaddr.c b/netutils/netlib/netlib_setipv4dnsaddr.c index f95af1c9d..ae155eabe 100644 --- a/netutils/netlib/netlib_setipv4dnsaddr.c +++ b/netutils/netlib/netlib_setipv4dnsaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setipv4dnsaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setipv4netmask.c b/netutils/netlib/netlib_setipv4netmask.c index c34b017f6..9abd0aaa6 100644 --- a/netutils/netlib/netlib_setipv4netmask.c +++ b/netutils/netlib/netlib_setipv4netmask.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setipv4netmask.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setipv6addr.c b/netutils/netlib/netlib_setipv6addr.c index 79cad9bd0..6c2ee0b3d 100644 --- a/netutils/netlib/netlib_setipv6addr.c +++ b/netutils/netlib/netlib_setipv6addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setipv6addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setipv6dnsaddr.c b/netutils/netlib/netlib_setipv6dnsaddr.c index ee7b5afe0..123951c47 100644 --- a/netutils/netlib/netlib_setipv6dnsaddr.c +++ b/netutils/netlib/netlib_setipv6dnsaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setipv6dnsaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setipv6netmask.c b/netutils/netlib/netlib_setipv6netmask.c index 985d55ed7..443adcafe 100644 --- a/netutils/netlib/netlib_setipv6netmask.c +++ b/netutils/netlib/netlib_setipv6netmask.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setipv6netmask.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setmacaddr.c b/netutils/netlib/netlib_setmacaddr.c index 07c3263ce..d794ec45e 100644 --- a/netutils/netlib/netlib_setmacaddr.c +++ b/netutils/netlib/netlib_setmacaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setmacaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setmtu.c b/netutils/netlib/netlib_setmtu.c index 8c36b2c27..18b81809c 100644 --- a/netutils/netlib/netlib_setmtu.c +++ b/netutils/netlib/netlib_setmtu.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setmtu.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setnodeaddr.c b/netutils/netlib/netlib_setnodeaddr.c index 7e41e59c6..7bc58cafc 100644 --- a/netutils/netlib/netlib_setnodeaddr.c +++ b/netutils/netlib/netlib_setnodeaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setnodeaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/nng/Make.defs b/netutils/nng/Make.defs index 0eea85015..e0e919337 100644 --- a/netutils/nng/Make.defs +++ b/netutils/nng/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/nng/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/nng/Makefile b/netutils/nng/Makefile index 8d45e2130..e3e1a0f89 100644 --- a/netutils/nng/Makefile +++ b/netutils/nng/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/nng/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ntpclient/CMakeLists.txt b/netutils/ntpclient/CMakeLists.txt index df273e02e..3a6a47d5e 100644 --- a/netutils/ntpclient/CMakeLists.txt +++ b/netutils/ntpclient/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/ntpclient/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/ntpclient/Make.defs b/netutils/ntpclient/Make.defs index 691ddfe4b..d97f3db49 100644 --- a/netutils/ntpclient/Make.defs +++ b/netutils/ntpclient/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ntpclient/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ntpclient/Makefile b/netutils/ntpclient/Makefile index 272335576..d528591da 100644 --- a/netutils/ntpclient/Makefile +++ b/netutils/ntpclient/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ntpclient/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ntpclient/ntpclient.c b/netutils/ntpclient/ntpclient.c index ac48a3e09..66aaacb4a 100644 --- a/netutils/ntpclient/ntpclient.c +++ b/netutils/ntpclient/ntpclient.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ntpclient/ntpclient.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ntpclient/ntpv3.h b/netutils/ntpclient/ntpv3.h index 0f439a32e..837722697 100644 --- a/netutils/ntpclient/ntpv3.h +++ b/netutils/ntpclient/ntpv3.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ntpclient/ntpv3.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ping/CMakeLists.txt b/netutils/ping/CMakeLists.txt index e250aaa97..9f362a5ba 100644 --- a/netutils/ping/CMakeLists.txt +++ b/netutils/ping/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/ping/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/ping/Make.defs b/netutils/ping/Make.defs index 753819bf2..70680487f 100644 --- a/netutils/ping/Make.defs +++ b/netutils/ping/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ping/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ping/Makefile b/netutils/ping/Makefile index 847950a80..f65b17445 100644 --- a/netutils/ping/Makefile +++ b/netutils/ping/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ping/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ping/icmp_ping.c b/netutils/ping/icmp_ping.c index 024bbeb2d..efbc8a61a 100644 --- a/netutils/ping/icmp_ping.c +++ b/netutils/ping/icmp_ping.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ping/icmp_ping.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ping/icmpv6_ping.c b/netutils/ping/icmpv6_ping.c index 96bdae10d..74cd59ee9 100644 --- a/netutils/ping/icmpv6_ping.c +++ b/netutils/ping/icmpv6_ping.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ping/icmpv6_ping.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/pppd/CMakeLists.txt b/netutils/pppd/CMakeLists.txt index 5d160b289..0c35f1cbb 100644 --- a/netutils/pppd/CMakeLists.txt +++ b/netutils/pppd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/pppd/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/pppd/Make.defs b/netutils/pppd/Make.defs index 7d0412ec4..cad4791fc 100644 --- a/netutils/pppd/Make.defs +++ b/netutils/pppd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/pppd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/pppd/Makefile b/netutils/pppd/Makefile index ca97e72bb..b5a8c98e8 100644 --- a/netutils/pppd/Makefile +++ b/netutils/pppd/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/pppd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ptpd/Make.defs b/netutils/ptpd/Make.defs index c3f5f60ff..5034710ec 100644 --- a/netutils/ptpd/Make.defs +++ b/netutils/ptpd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ptpd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ptpd/Makefile b/netutils/ptpd/Makefile index 3f3e98a36..95b19a640 100644 --- a/netutils/ptpd/Makefile +++ b/netutils/ptpd/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ptpd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ptpd/ptpd.c b/netutils/ptpd/ptpd.c index 080e7b2ca..309f78a07 100644 --- a/netutils/ptpd/ptpd.c +++ b/netutils/ptpd/ptpd.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ptpd/ptpd.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ptpd/ptpv2.h b/netutils/ptpd/ptpv2.h index 93bc667f2..8b031567b 100644 --- a/netutils/ptpd/ptpv2.h +++ b/netutils/ptpd/ptpv2.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ptpd/ptpv2.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/rexec/CMakeLists.txt b/netutils/rexec/CMakeLists.txt index ee95badb9..1c6d63d6b 100644 --- a/netutils/rexec/CMakeLists.txt +++ b/netutils/rexec/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/rexec/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/rexec/Make.defs b/netutils/rexec/Make.defs index bcc9bbd65..deb3b2de6 100644 --- a/netutils/rexec/Make.defs +++ b/netutils/rexec/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/rexec/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/rexec/Makefile b/netutils/rexec/Makefile index 98d7f5e33..c03385077 100644 --- a/netutils/rexec/Makefile +++ b/netutils/rexec/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/rexec/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/rexec/rexec.c b/netutils/rexec/rexec.c index 69346d872..3276ac56a 100644 --- a/netutils/rexec/rexec.c +++ b/netutils/rexec/rexec.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/rexec/rexec.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/rexecd/CMakeLists.txt b/netutils/rexecd/CMakeLists.txt index 1e37e9ace..0da40f5bd 100644 --- a/netutils/rexecd/CMakeLists.txt +++ b/netutils/rexecd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/rexecd/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/rexecd/Make.defs b/netutils/rexecd/Make.defs index 4bb13e453..9f0533f29 100644 --- a/netutils/rexecd/Make.defs +++ b/netutils/rexecd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/rexecd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/rexecd/Makefile b/netutils/rexecd/Makefile index c39d9ca65..ea332bea6 100644 --- a/netutils/rexecd/Makefile +++ b/netutils/rexecd/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/rexecd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/rexecd/rexecd.c b/netutils/rexecd/rexecd.c index 431ea26c4..5c301c62a 100644 --- a/netutils/rexecd/rexecd.c +++ b/netutils/rexecd/rexecd.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/rexecd/rexecd.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/rtptools/CMakeLists.txt b/netutils/rtptools/CMakeLists.txt index 6627bef78..76c8a0ab4 100644 --- a/netutils/rtptools/CMakeLists.txt +++ b/netutils/rtptools/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/rtptools/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/rtptools/Make.defs b/netutils/rtptools/Make.defs index 0c4cf3840..be02f518f 100644 --- a/netutils/rtptools/Make.defs +++ b/netutils/rtptools/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/rtptools/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/rtptools/Makefile b/netutils/rtptools/Makefile index b6b3a9704..91080291b 100644 --- a/netutils/rtptools/Makefile +++ b/netutils/rtptools/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/rtptools/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/rtptools/config.h b/netutils/rtptools/config.h index dd077ee99..975e6a005 100644 --- a/netutils/rtptools/config.h +++ b/netutils/rtptools/config.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/rtptools/config.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/smtp/CMakeLists.txt b/netutils/smtp/CMakeLists.txt index 680d8336f..29402455a 100644 --- a/netutils/smtp/CMakeLists.txt +++ b/netutils/smtp/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/smtp/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/smtp/Make.defs b/netutils/smtp/Make.defs index 8a2184741..9736ebb53 100644 --- a/netutils/smtp/Make.defs +++ b/netutils/smtp/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/smtp/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/smtp/Makefile b/netutils/smtp/Makefile index 55878ae13..d0866399d 100644 --- a/netutils/smtp/Makefile +++ b/netutils/smtp/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/smtp/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/smtp/smtp.c b/netutils/smtp/smtp.c index 83081361d..2a8d23346 100644 --- a/netutils/smtp/smtp.c +++ b/netutils/smtp/smtp.c @@ -1,22 +1,12 @@ /**************************************************************************** * apps/netutils/smtp/smtp.c - * smtp SMTP E-mail sender * - * Copyright (C) 2007, 2009, 2011, 2015, 2020 Gregory Nutt. All rights - * reserved. - * Author: Gregory Nutt - * - * Heavily leveraged from uIP 1.0 which also has a BSD-like license: - * - * The Simple Mail Transfer Protocol (SMTP) as defined by RFC821 is - * the standard way of sending and transferring e-mail on the - * Internet. This simple example implementation is intended as an - * example of how to implement protocols in uIP, and is able to send - * out e-mail but has not been extensively tested. - * - * Author: Adam Dunkels - * Copyright (c) 2004, Adam Dunkels. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015, 2020 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2007, 2009, 2011, Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2004, Adam Dunkels. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/telnetc/CMakeLists.txt b/netutils/telnetc/CMakeLists.txt index 1f24a3b05..ec92b08b3 100644 --- a/netutils/telnetc/CMakeLists.txt +++ b/netutils/telnetc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/telnetc/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/telnetc/Make.defs b/netutils/telnetc/Make.defs index a9da1ef00..7e989f656 100644 --- a/netutils/telnetc/Make.defs +++ b/netutils/telnetc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/telnetc/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/telnetc/Makefile b/netutils/telnetc/Makefile index e0361e70d..4d0a72917 100644 --- a/netutils/telnetc/Makefile +++ b/netutils/telnetc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/telnetc/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/telnetc/telnetc.c b/netutils/telnetc/telnetc.c index 73d5f422b..24f63c206 100644 --- a/netutils/telnetc/telnetc.c +++ b/netutils/telnetc/telnetc.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/telnetc/telnetc.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/telnetd/CMakeLists.txt b/netutils/telnetd/CMakeLists.txt index e46969021..322868ae0 100644 --- a/netutils/telnetd/CMakeLists.txt +++ b/netutils/telnetd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/telnetd/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/telnetd/Make.defs b/netutils/telnetd/Make.defs index d2903dae0..7dcdc8776 100644 --- a/netutils/telnetd/Make.defs +++ b/netutils/telnetd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/telnetd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/telnetd/Makefile b/netutils/telnetd/Makefile index 9eab6856e..d53bcacf4 100644 --- a/netutils/telnetd/Makefile +++ b/netutils/telnetd/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/telnetd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/telnetd/telnetd_daemon.c b/netutils/telnetd/telnetd_daemon.c index b78e9f5db..ed02b1569 100644 --- a/netutils/telnetd/telnetd_daemon.c +++ b/netutils/telnetd/telnetd_daemon.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/telnetd/telnetd_daemon.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/tftpc/CMakeLists.txt b/netutils/tftpc/CMakeLists.txt index f0eaee92a..bb808b15f 100644 --- a/netutils/tftpc/CMakeLists.txt +++ b/netutils/tftpc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/tftpc/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/tftpc/Make.defs b/netutils/tftpc/Make.defs index aeb33fe94..f6abbc18c 100644 --- a/netutils/tftpc/Make.defs +++ b/netutils/tftpc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/tftpc/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/tftpc/Makefile b/netutils/tftpc/Makefile index b2594517d..3fe7a4119 100644 --- a/netutils/tftpc/Makefile +++ b/netutils/tftpc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/tftpc/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/tftpc/tftpc_get.c b/netutils/tftpc/tftpc_get.c index 4432e1e96..36227e29a 100644 --- a/netutils/tftpc/tftpc_get.c +++ b/netutils/tftpc/tftpc_get.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/tftpc/tftpc_get.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/tftpc/tftpc_internal.h b/netutils/tftpc/tftpc_internal.h index 83443b854..337bbeb68 100644 --- a/netutils/tftpc/tftpc_internal.h +++ b/netutils/tftpc/tftpc_internal.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/tftpc/tftpc_internal.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/tftpc/tftpc_packets.c b/netutils/tftpc/tftpc_packets.c index 4c981a43e..05d56083c 100644 --- a/netutils/tftpc/tftpc_packets.c +++ b/netutils/tftpc/tftpc_packets.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/tftpc/tftpc_packets.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/tftpc/tftpc_put.c b/netutils/tftpc/tftpc_put.c index a30e35798..3f3a9c849 100644 --- a/netutils/tftpc/tftpc_put.c +++ b/netutils/tftpc/tftpc_put.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/tftpc/tftpc_put.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/thttpd/CMakeLists.txt b/netutils/thttpd/CMakeLists.txt index d7da13a19..232cfc710 100644 --- a/netutils/thttpd/CMakeLists.txt +++ b/netutils/thttpd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/thttpd/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/thttpd/Make.defs b/netutils/thttpd/Make.defs index abd53b55b..7847dbf24 100644 --- a/netutils/thttpd/Make.defs +++ b/netutils/thttpd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/thttpd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/thttpd/Makefile b/netutils/thttpd/Makefile index 65a5f42e8..78d39ce7b 100644 --- a/netutils/thttpd/Makefile +++ b/netutils/thttpd/Makefile @@ -1,6 +1,8 @@ ############################################################################# # apps/netutils/thttpd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/thttpd/cgi-src/Makefile b/netutils/thttpd/cgi-src/Makefile index 4be27bb69..dfe18f954 100644 --- a/netutils/thttpd/cgi-src/Makefile +++ b/netutils/thttpd/cgi-src/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/thttpd/cgi-src/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/thttpd/cgi-src/phf.c b/netutils/thttpd/cgi-src/phf.c index 9e065df91..4155ae98e 100644 --- a/netutils/thttpd/cgi-src/phf.c +++ b/netutils/thttpd/cgi-src/phf.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/cgi-src/phf.c - * Cracker trap * - * Copyright (C) 2009, 2015 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright © 1996 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009, 2015 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1996 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/cgi-src/redirect.c b/netutils/thttpd/cgi-src/redirect.c index 87811af24..3b24bb111 100644 --- a/netutils/thttpd/cgi-src/redirect.c +++ b/netutils/thttpd/cgi-src/redirect.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/cgi-src/redirect.c - * Simple redirection CGI program * - * Copyright (C) 2009, 2015 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright © 1995 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009, 2015 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/cgi-src/ssi.c b/netutils/thttpd/cgi-src/ssi.c index 6608ba77f..9c7f46817 100644 --- a/netutils/thttpd/cgi-src/ssi.c +++ b/netutils/thttpd/cgi-src/ssi.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/cgi-src/ssi.c - * Server-side-includes CGI program * - * Copyright (C) 2009, 2015 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright 1995 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009, 2015 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/config.h b/netutils/thttpd/config.h index acbbef4a6..dee2eb542 100644 --- a/netutils/thttpd/config.h +++ b/netutils/thttpd/config.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/thttpd/config.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/thttpd/fdwatch.c b/netutils/thttpd/fdwatch.c index a58b012b6..320cf1a85 100644 --- a/netutils/thttpd/fdwatch.c +++ b/netutils/thttpd/fdwatch.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/fdwatch.c - * FD watcher routines for poll() * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright (C) 1999,2000 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1999,2000 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/fdwatch.h b/netutils/thttpd/fdwatch.h index 4cb67aaa4..b985e17f9 100644 --- a/netutils/thttpd/fdwatch.h +++ b/netutils/thttpd/fdwatch.h @@ -1,13 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/fdwatch.h * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in THTTPD: - * - * Copyright (C) 1999 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1999 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/libhttpd.c b/netutils/thttpd/libhttpd.c index 697dd1d50..9bb8d20d7 100644 --- a/netutils/thttpd/libhttpd.c +++ b/netutils/thttpd/libhttpd.c @@ -1,14 +1,13 @@ /**************************************************************************** * apps/netutils/thttpd/libhttpd.c - * HTTP Protocol Library * - * Copyright (C) 2011, 2013, 2015-2016 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright 1995,1998,1999,2000,2001 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2015, 2016 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2011, 2013 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/libhttpd.h b/netutils/thttpd/libhttpd.h index e5c348671..310b9f625 100644 --- a/netutils/thttpd/libhttpd.h +++ b/netutils/thttpd/libhttpd.h @@ -1,15 +1,12 @@ /**************************************************************************** * apps/netutils/thttpd/libhttpd.h - * HTTP Protocol Library Definitions * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright (C) 1995,1998,1999,2000,2001 by Jef Poskanzer - * . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/mime_types.h b/netutils/thttpd/mime_types.h index 8889cd3f7..4b0ba121e 100644 --- a/netutils/thttpd/mime_types.h +++ b/netutils/thttpd/mime_types.h @@ -1,40 +1,30 @@ /**************************************************************************** * apps/netutils/thttpd/mime_types.h - * Provides mappings between filename extensions, MIME types and encodings. + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +/**************************************************************************** * * Based on mime_encodings.txt and mime_types.txt by Jef Poskanser which * contained no copyright information. * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * ****************************************************************************/ #ifndef __APPS_NETUTILS_THTTPD_MIME_TYPES_H diff --git a/netutils/thttpd/tdate_parse.c b/netutils/thttpd/tdate_parse.c index 3622ffe97..113059223 100644 --- a/netutils/thttpd/tdate_parse.c +++ b/netutils/thttpd/tdate_parse.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/tdate_parse.c - * Parse string dates into internal form, stripped-down version * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright © 1995 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/tdate_parse.h b/netutils/thttpd/tdate_parse.h index 8b984301d..efec65900 100644 --- a/netutils/thttpd/tdate_parse.h +++ b/netutils/thttpd/tdate_parse.h @@ -1,13 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/tdate_parse.h * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in THTTPD: - * - * Copyright (C) 1995 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/thttpd.c b/netutils/thttpd/thttpd.c index 58c6a290b..22338665b 100644 --- a/netutils/thttpd/thttpd.c +++ b/netutils/thttpd/thttpd.c @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd.c - * Tiny HTTP Server * - * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright (C) 1995,1998,1999,2000,2001 by - * Jef Poskanzer . All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009, 2011 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/thttpd_alloc.c b/netutils/thttpd/thttpd_alloc.c index 15640575f..7999f7823 100644 --- a/netutils/thttpd/thttpd_alloc.c +++ b/netutils/thttpd/thttpd_alloc.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd_alloc.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/thttpd/thttpd_alloc.h b/netutils/thttpd/thttpd_alloc.h index 639e74dad..eab3208a1 100644 --- a/netutils/thttpd/thttpd_alloc.h +++ b/netutils/thttpd/thttpd_alloc.h @@ -1,35 +1,22 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd_alloc.h * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: Apache-2.0 * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. + * http://www.apache.org/licenses/LICENSE-2.0 * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * ****************************************************************************/ diff --git a/netutils/thttpd/thttpd_cgi.c b/netutils/thttpd/thttpd_cgi.c index 456350b42..5c8914560 100644 --- a/netutils/thttpd/thttpd_cgi.c +++ b/netutils/thttpd/thttpd_cgi.c @@ -1,14 +1,13 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd_cgi.c - * CGI support * - * Copyright (C) 2009, 2011, 2016 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file libhttpd.c in the original THTTPD package: - * - * Copyright © 1995,1998,1999,2000,2001 by - * Jef Poskanzer . All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2011, 2016 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/thttpd_cgi.h b/netutils/thttpd/thttpd_cgi.h index 2d5c34bc1..2adcc6767 100644 --- a/netutils/thttpd/thttpd_cgi.h +++ b/netutils/thttpd/thttpd_cgi.h @@ -1,15 +1,12 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd_cgi.h - * CGI support * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file libhttpd.c in the original THTTPD package: - * - * Copyright (C) 1995,1998,1999,2000,2001 by Jef Poskanzer - * . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/thttpd_strings.c b/netutils/thttpd/thttpd_strings.c index d541b7dcd..60f78e14d 100644 --- a/netutils/thttpd/thttpd_strings.c +++ b/netutils/thttpd/thttpd_strings.c @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd_strings.c - * HTTP strings * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright © 1995,1998,1999,2000,2001 by Jef Poskanzer - * . All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/thttpd_strings.h b/netutils/thttpd/thttpd_strings.h index 9b8d64d5a..ae063f63a 100644 --- a/netutils/thttpd/thttpd_strings.h +++ b/netutils/thttpd/thttpd_strings.h @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd_strings.h - * HTTP strings * - * Copyright (C) 2009, 2015 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright (C) 1995,1998,1999,2000,2001 by Jef Poskanzer - * . All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009, 2015 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/timers.c b/netutils/thttpd/timers.c index 828756d60..a3bd89831 100644 --- a/netutils/thttpd/timers.c +++ b/netutils/thttpd/timers.c @@ -1,14 +1,11 @@ /**************************************************************************** * apps/netutils/thttpd/timers.c - * Simple Timer Routines * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright © 1995,1998,2000 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1998, 2000 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/timers.h b/netutils/thttpd/timers.h index 4975a9809..dab16e297 100644 --- a/netutils/thttpd/timers.h +++ b/netutils/thttpd/timers.h @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/thttpd/timers.h - * Header file for THTTPD timers package * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in THTTPD: - * - * Copyright (C) 1995,1998,1999,2000 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/wakaama/CMakeLists.txt b/netutils/wakaama/CMakeLists.txt index 4f56ebb13..97a6823c2 100644 --- a/netutils/wakaama/CMakeLists.txt +++ b/netutils/wakaama/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/wakaama/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/wakaama/examples.cmake b/netutils/wakaama/examples.cmake index bfce0ffb0..3c4e6257f 100644 --- a/netutils/wakaama/examples.cmake +++ b/netutils/wakaama/examples.cmake @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/wakaama/examples.cmake # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/wakeonlan/CMakeLists.txt b/netutils/wakeonlan/CMakeLists.txt index b773dd3ef..c881d7c77 100644 --- a/netutils/wakeonlan/CMakeLists.txt +++ b/netutils/wakeonlan/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/wakeonlan/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/wakeonlan/Make.defs b/netutils/wakeonlan/Make.defs index e673d0be0..b36aab167 100644 --- a/netutils/wakeonlan/Make.defs +++ b/netutils/wakeonlan/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/wakeonlan/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/wakeonlan/Makefile b/netutils/wakeonlan/Makefile index dc767528e..1e1cfc2b2 100644 --- a/netutils/wakeonlan/Makefile +++ b/netutils/wakeonlan/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/wakeonlan/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/wakeonlan/wol_main.c b/netutils/wakeonlan/wol_main.c index e756e1780..9c289bf16 100644 --- a/netutils/wakeonlan/wol_main.c +++ b/netutils/wakeonlan/wol_main.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/wakeonlan/wol_main.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/webclient/CMakeLists.txt b/netutils/webclient/CMakeLists.txt index 2c0904217..b3dfaf22d 100644 --- a/netutils/webclient/CMakeLists.txt +++ b/netutils/webclient/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/webclient/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/webclient/Make.defs b/netutils/webclient/Make.defs index b0277210a..4f775bfc1 100644 --- a/netutils/webclient/Make.defs +++ b/netutils/webclient/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/webclient/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/webclient/Makefile b/netutils/webclient/Makefile index 22b347f8b..6446c8f80 100644 --- a/netutils/webclient/Makefile +++ b/netutils/webclient/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/webclient/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/webclient/webclient.c b/netutils/webclient/webclient.c index d16db2f07..8784b68b5 100644 --- a/netutils/webclient/webclient.c +++ b/netutils/webclient/webclient.c @@ -1,16 +1,13 @@ /**************************************************************************** * apps/netutils/webclient/webclient.c - * Implementation of the HTTP client. * - * Copyright (C) 2007, 2009, 2011-2012, 2014, 2020 Gregory Nutt. - * All rights reserved. - * Author: Gregory Nutt - * - * Based on uIP which also has a BSD style license: - * - * Author: Adam Dunkels - * Copyright (c) 2002, Adam Dunkels. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, 2020 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2011-2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2007, 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2002 Adam Dunkels. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/webserver/CMakeLists.txt b/netutils/webserver/CMakeLists.txt index 1d76e6592..fa7e37dd8 100644 --- a/netutils/webserver/CMakeLists.txt +++ b/netutils/webserver/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/webserver/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/webserver/Make.defs b/netutils/webserver/Make.defs index f61c832a0..c80c3d703 100644 --- a/netutils/webserver/Make.defs +++ b/netutils/webserver/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/webserver/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/webserver/Makefile b/netutils/webserver/Makefile index 2e46ff025..32406ccdc 100644 --- a/netutils/webserver/Makefile +++ b/netutils/webserver/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/webserver/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/webserver/httpd.c b/netutils/webserver/httpd.c index 5916cbc63..23f69a949 100644 --- a/netutils/webserver/httpd.c +++ b/netutils/webserver/httpd.c @@ -1,19 +1,12 @@ /**************************************************************************** * apps/netutils/webserver/httpd.c - * httpd Web server * - * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * This is a leverage of similar logic from uIP: - * - * Author: Adam Dunkels - * Copyright (c) 2004, Adam Dunkels. - * All rights reserved. - * - * The uIP web server is a very simplistic implementation of an HTTP - * server. It can serve web pages and files from a read-only ROM - * filesystem, and provides a very small scripting language. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2011-2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2007-2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2004 Adam Dunkels. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/webserver/httpd.h b/netutils/webserver/httpd.h index 0a28fce12..253adfcf1 100644 --- a/netutils/webserver/httpd.h +++ b/netutils/webserver/httpd.h @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/webserver/httpd.h * - * Copyright (C) 2007, 2009, 2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Based on uIP which also has a BSD style license: - * - * Author: Adam Dunkels - * Copyright (c) 2001-2005, Adam Dunkels. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2007,2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2001-2005 Adam Dunkels. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/webserver/httpd_cgi.c b/netutils/webserver/httpd_cgi.c index f917ebd16..aed510d54 100644 --- a/netutils/webserver/httpd_cgi.c +++ b/netutils/webserver/httpd_cgi.c @@ -1,10 +1,9 @@ /**************************************************************************** * apps/netutils/webserver/httpd_cgi.c - * Web server script interface - * Author: Adam Dunkels * - * Copyright (c) 2001-2006, Adam Dunkels. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2001-2006 Adam Dunkels. All rights reserved. + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/webserver/httpd_cgi.h b/netutils/webserver/httpd_cgi.h index 2a23664d6..b6f35aaed 100644 --- a/netutils/webserver/httpd_cgi.h +++ b/netutils/webserver/httpd_cgi.h @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/webserver/httpd_cgi.h * - * Copyright (C) 2007, 2009, 2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Based on uIP which also has a BSD style license: - * - * Author: Adam Dunkels - * Copyright (c) 2001-2005, Adam Dunkels. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2007, 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2001-2005 Adam Dunkels. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/webserver/httpd_dirlist.c b/netutils/webserver/httpd_dirlist.c index cf2e0114a..bac1b2d77 100644 --- a/netutils/webserver/httpd_dirlist.c +++ b/netutils/webserver/httpd_dirlist.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/webserver/httpd_dirlist.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/webserver/httpd_fs.c b/netutils/webserver/httpd_fs.c index fb095c063..a32b7c4d4 100644 --- a/netutils/webserver/httpd_fs.c +++ b/netutils/webserver/httpd_fs.c @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/webserver/httpd_fs.c * - * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Based on uIP which also has a BSD style license: - * - * Author: Adam Dunkels - * Copyright (c) 2001, Swedish Institute of Computer Science. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2011-2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2007-2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2001, Swedish Institute of Computer Science. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/webserver/httpd_mmap.c b/netutils/webserver/httpd_mmap.c index 10686c40c..a4f47427d 100644 --- a/netutils/webserver/httpd_mmap.c +++ b/netutils/webserver/httpd_mmap.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/webserver/httpd_mmap.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/webserver/httpd_sendfile.c b/netutils/webserver/httpd_sendfile.c index 58847fd7d..7ff8a5ccd 100644 --- a/netutils/webserver/httpd_sendfile.c +++ b/netutils/webserver/httpd_sendfile.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/webserver/httpd_sendfile.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/xmlrpc/CMakeLists.txt b/netutils/xmlrpc/CMakeLists.txt index f17396c07..e03521be7 100644 --- a/netutils/xmlrpc/CMakeLists.txt +++ b/netutils/xmlrpc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/xmlrpc/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/xmlrpc/Make.defs b/netutils/xmlrpc/Make.defs index 1758a6c84..287e261ee 100644 --- a/netutils/xmlrpc/Make.defs +++ b/netutils/xmlrpc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/xmlrpc/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/xmlrpc/Makefile b/netutils/xmlrpc/Makefile index ccd7ec729..b01f2eee0 100644 --- a/netutils/xmlrpc/Makefile +++ b/netutils/xmlrpc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/xmlrpc/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/xmlrpc/response.c b/netutils/xmlrpc/response.c index 54577be74..c9eef6b73 100644 --- a/netutils/xmlrpc/response.c +++ b/netutils/xmlrpc/response.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/xmlrpc/response.c * - * Copyright (C) 2012 Max Holtzberg. All rights reserved. - * Author: Max Holtzberg - * - * Based on the embeddable lightweight XML-RPC server code discussed - * in the article at: http://www.drdobbs.com/web-development/\ - * an-embeddable-lightweight-xml-rpc-server/184405364 - * - * Copyright (c) 2002 Cogito LLC. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Max Holtzberg. All rights reserved. + * SPDX-FileCopyrightText: 2002 Cogito LLC. All rights reserved. + * SPDX-FileContributor: Max Holtzberg * * Redistribution and use in source and binary forms, with or * without modification, is hereby granted without fee provided @@ -40,6 +36,12 @@ * POSSIBILITY OF SUCH DAMAGE. ****************************************************************************/ +/**************************************************************************** + * Based on the embeddable lightweight XML-RPC server code discussed + * in the article at: http://www.drdobbs.com/web-development/\ + * an-embeddable-lightweight-xml-rpc-server/184405364 + ****************************************************************************/ + /* Lightweight Embedded XML-RPC Server Response Generator * * mtj@cogitollc.com diff --git a/netutils/xmlrpc/xmlparser.c b/netutils/xmlrpc/xmlparser.c index a7276e734..4c0203a67 100644 --- a/netutils/xmlrpc/xmlparser.c +++ b/netutils/xmlrpc/xmlparser.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/xmlrpc/xmlparser.c * - * Copyright (C) 2012 Max Holtzberg. All rights reserved. - * Author: Max Holtzberg - * - * Based on the embeddable lightweight XML-RPC server code discussed - * in the article at: http://www.drdobbs.com/web-development/\ - * an-embeddable-lightweight-xml-rpc-server/184405364 - * - * Copyright (c) 2002 Cogito LLC. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Max Holtzberg. All rights reserved. + * SPDX-FileCopyrightText: 2002 Cogito LLC. All rights reserved. + * SPDX-FileContributor: Max Holtzberg * * Redistribution and use in source and binary forms, with or * without modification, is hereby granted without fee provided @@ -40,6 +36,12 @@ * POSSIBILITY OF SUCH DAMAGE. ****************************************************************************/ +/**************************************************************************** + * Based on the embeddable lightweight XML-RPC server code discussed + * in the article at: http://www.drdobbs.com/web-development/\ + * an-embeddable-lightweight-xml-rpc-server/184405364 + ****************************************************************************/ + /* Lightweight Embedded XML-RPC Server XML Parser * * mtj@cogitollc.com