]> git.ozlabs.org Git - ppp.git/commitdiff
chat: Add copyright notice
authorPaul Mackerras <paulus@ozlabs.org>
Wed, 18 Sep 2024 01:57:45 +0000 (11:57 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Wed, 18 Sep 2024 03:48:54 +0000 (13:48 +1000)
This adds a copyright notice in my name with MIT licence permissions
to this file.  The reason is primarily to provide a concrete statement
of permission to use, copy, modify and distribute the program, for the
sake of those who are uncertain about meaning of the public domain.
See for example https://github.com/ppp-project/ppp/issues/474 .
Given that I have maintained this program for 25 years, it seems
reasonable for it to be my copyright on it.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
chat/chat.c

index 336c0f4995f4ab3dadd1612673d251ec0d3507d5..0a4fbd3f49fbe40f23cd1e879d6c5f3b0c21b8f4 100644 (file)
@@ -1,7 +1,32 @@
+/* SPDX-License-Identifier: MIT */
 /*
  *     Chat -- a program for automatic session establishment (i.e. dial
  *             the phone and log in).
  *
+ * This version is Copyright 1995-2023 Paul Mackerras <paulus@ozlabs.org>
+ * based on the original public-domain version by Karl Fox.
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the “Software”), to deal in the Software without
+ * restriction, including without limitation the rights to use, copy,
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ *
  * Standard termination codes:
  *  0 - successful completion of the script
  *  1 - invalid argument, expect string too large, etc.
@@ -11,7 +36,6 @@
  *  5 - the second string declared as "ABORT"
  *  6 - ... and so on for successive ABORT strings.
  *
- *     This software is in the public domain.
  *
  * -----------------
  *     22-May-99 added environment substitutuion, enabled with -E switch.