@@ -4,3 +4,54 @@ Copyright 2010 The Apache Software Foundation
44This product includes software developed at
55The Apache Software Foundation (https://www.apache.org/).
66
7+ lang/c/src/getopt/getopt_long.c and lang/c/src/getopt/getopt.h are taken
8+ from The FreeBSD Project and they have the following copyright notice:
9+ /*
10+ * Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com>
11+ *
12+ * Permission to use, copy, modify, and distribute this software for any
13+ * purpose with or without fee is hereby granted, provided that the above
14+ * copyright notice and this permission notice appear in all copies.
15+ *
16+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
17+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
18+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
19+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
21+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
22+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23+ *
24+ * Sponsored in part by the Defense Advanced Research Projects
25+ * Agency (DARPA) and Air Force Research Laboratory, Air Force
26+ * Materiel Command, USAF, under agreement number F39502-99-1-0512.
27+ */
28+ /*-
29+ * SPDX-License-Identifier: BSD-2-Clause-NetBSD
30+ *
31+ * Copyright (c) 2000 The NetBSD Foundation, Inc.
32+ * All rights reserved.
33+ *
34+ * This code is derived from software contributed to The NetBSD Foundation
35+ * by Dieter Baron and Thomas Klausner.
36+ *
37+ * Redistribution and use in source and binary forms, with or without
38+ * modification, are permitted provided that the following conditions
39+ * are met:
40+ * 1. Redistributions of source code must retain the above copyright
41+ * notice, this list of conditions and the following disclaimer.
42+ * 2. Redistributions in binary form must reproduce the above copyright
43+ * notice, this list of conditions and the following disclaimer in the
44+ * documentation and/or other materials provided with the distribution.
45+ *
46+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
47+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
48+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
49+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
50+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
51+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
52+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
53+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
54+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
55+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
56+ * POSSIBILITY OF SUCH DAMAGE.
57+ */
0 commit comments