From 625a0d4abc0eece5a03d6dca7e801d2d76a08d4b Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Fri, 8 Nov 2019 13:43:16 +0100 Subject: [PATCH] Relicense example code/readme/makefile as public domain Signed-off-by: Joachim Nilsson --- example/LICENSE | 24 ++++++++++++++++++++++++ example/README.md | 8 ++++++++ example/example.c | 29 ++--------------------------- example/example.mk | 3 ++- 4 files changed, 36 insertions(+), 28 deletions(-) create mode 100644 example/LICENSE diff --git a/example/LICENSE b/example/LICENSE new file mode 100644 index 0000000..68a49da --- /dev/null +++ b/example/LICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +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 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. + +For more information, please refer to diff --git a/example/README.md b/example/README.md index 31d5918..00e0f15 100644 --- a/example/README.md +++ b/example/README.md @@ -53,3 +53,11 @@ example_LDADD = $(syslog_LIBS) PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig ./configure + +License +------- + +This example code, `example.c`, this README.md and the `example.mk` +Makefile are free and unencumbered software released into the public +domain. + diff --git a/example/example.c b/example/example.c index 7e1e857..81eb379 100644 --- a/example/example.c +++ b/example/example.c @@ -1,32 +1,7 @@ /*- - * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: Unlicense * - * Copyright (c) 1983, 1988, 1993 - * The Regents of the University of California. All rights reserved. - * - * 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 University 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 REGENTS 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 REGENTS 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. + * This is free and unencumbered software released into the public domain. */ /* Example of how to use NetBSD syslogp() API with libsyslog from sysklogd */ diff --git a/example/example.mk b/example/example.mk index 6c1b2b7..ea38c1d 100644 --- a/example/example.mk +++ b/example/example.mk @@ -1,5 +1,6 @@ # Simple Makefile for syslogp() example application -# +# This is free and unencumbered software released into the public domain. + EXEC := example OBJS := example.o CFLAGS := `pkg-config --cflags libsyslog`