From 69602511632d2e9fba847fa53302002e1921389d Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Fri, 4 Oct 2019 21:06:13 +0200 Subject: [PATCH] Changed license to MIT The reason for this change is that PIZZA-WARE is no widely used license and therefore makes problems when fileshare should be packaged for Linux distributions. MIT is in the same spirit, but is well-known and therefore easily integrated. You may of course still invite me for some pizza or also something else (except alcohol) if you like :-) . --- COPYING | 21 +++++++++++++++++++++ include/dirlisting.h | 24 +++++++++++++++++++----- include/favicon.h | 24 +++++++++++++++++++----- include/logger.h | 24 +++++++++++++++++++----- include/main.h | 24 ++++++++++++++++++++++++ include/templates.h | 24 +++++++++++++++++++----- include/util.h | 24 +++++++++++++++++++----- src/dirlisting.c | 24 +++++++++++++++++++----- src/favicon.c | 24 +++++++++++++++++++----- src/logger.c | 24 +++++++++++++++++++----- src/main.c | 24 +++++++++++++++++++----- src/util.c | 24 +++++++++++++++++++----- 12 files changed, 235 insertions(+), 50 deletions(-) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..3f4529b --- /dev/null +++ b/COPYING @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2013-2019 Thomas Kolb + +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. diff --git a/include/dirlisting.h b/include/dirlisting.h index ea4c9cf..1ff93f5 100644 --- a/include/dirlisting.h +++ b/include/dirlisting.h @@ -1,11 +1,25 @@ /* * vim: sw=2 ts=2 expandtab * - * "THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"): - * Thomas Kolb wrote this file. As long as you retain this - * notice you can do whatever you want with this stuff. If we meet some day, - * and you think this stuff is worth it, you can buy me a pizza in return. - * - Thomas Kolb + * Copyright (c) 2013-2019 Thomas Kolb + * + * 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. */ #ifndef DIRLISTING_H diff --git a/include/favicon.h b/include/favicon.h index a485fa7..49936c9 100644 --- a/include/favicon.h +++ b/include/favicon.h @@ -1,11 +1,25 @@ /* * vim: sw=2 ts=2 expandtab * - * "THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"): - * Thomas Kolb wrote this file. As long as you retain this - * notice you can do whatever you want with this stuff. If we meet some day, - * and you think this stuff is worth it, you can buy me a pizza in return. - * - Thomas Kolb + * Copyright (c) 2013-2019 Thomas Kolb + * + * 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. */ #ifndef FAVICON_H diff --git a/include/logger.h b/include/logger.h index 844175f..e928703 100644 --- a/include/logger.h +++ b/include/logger.h @@ -1,11 +1,25 @@ /* * vim: sw=2 ts=2 expandtab * - * "THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"): - * Thomas Kolb wrote this file. As long as you retain this - * notice you can do whatever you want with this stuff. If we meet some day, - * and you think this stuff is worth it, you can buy me a pizza in return. - * - Thomas Kolb + * Copyright (c) 2013-2019 Thomas Kolb + * + * 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. */ #ifndef LOGGER_H diff --git a/include/main.h b/include/main.h index cef5dfa..7d9c62e 100644 --- a/include/main.h +++ b/include/main.h @@ -1,3 +1,27 @@ +/* + * vim: sw=2 ts=2 expandtab + * + * Copyright (c) 2013-2019 Thomas Kolb + * + * 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. + */ + #ifndef MAIN_H #define MAIN_H diff --git a/include/templates.h b/include/templates.h index aa80e49..2b03872 100644 --- a/include/templates.h +++ b/include/templates.h @@ -1,11 +1,25 @@ /* * vim: sw=2 ts=2 expandtab * - * "THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"): - * Thomas Kolb wrote this file. As long as you retain this - * notice you can do whatever you want with this stuff. If we meet some day, - * and you think this stuff is worth it, you can buy me a pizza in return. - * - Thomas Kolb + * Copyright (c) 2013-2019 Thomas Kolb + * + * 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. */ #ifndef TEMPLATES_H diff --git a/include/util.h b/include/util.h index bc6ee3a..3ce0ce6 100644 --- a/include/util.h +++ b/include/util.h @@ -1,11 +1,25 @@ /* * vim: sw=2 ts=2 expandtab * - * "THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"): - * Thomas Kolb wrote this file. As long as you retain this - * notice you can do whatever you want with this stuff. If we meet some day, - * and you think this stuff is worth it, you can buy me a pizza in return. - * - Thomas Kolb + * Copyright (c) 2013-2019 Thomas Kolb + * + * 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. */ #ifndef UTIL_H diff --git a/src/dirlisting.c b/src/dirlisting.c index 2a26d61..eb3c52f 100644 --- a/src/dirlisting.c +++ b/src/dirlisting.c @@ -1,11 +1,25 @@ /* * vim: sw=2 ts=2 expandtab * - * "THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"): - * Thomas Kolb wrote this file. As long as you retain this - * notice you can do whatever you want with this stuff. If we meet some day, - * and you think this stuff is worth it, you can buy me a pizza in return. - * - Thomas Kolb + * Copyright (c) 2013-2019 Thomas Kolb + * + * 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. */ #include diff --git a/src/favicon.c b/src/favicon.c index 3652347..831e278 100644 --- a/src/favicon.c +++ b/src/favicon.c @@ -1,11 +1,25 @@ /* * vim: sw=2 ts=2 expandtab * - * "THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"): - * Thomas Kolb wrote this file. As long as you retain this - * notice you can do whatever you want with this stuff. If we meet some day, - * and you think this stuff is worth it, you can buy me a pizza in return. - * - Thomas Kolb + * Copyright (c) 2013-2019 Thomas Kolb + * + * 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. */ #include diff --git a/src/logger.c b/src/logger.c index 8b8a8e5..dd2aeab 100644 --- a/src/logger.c +++ b/src/logger.c @@ -1,11 +1,25 @@ /* * vim: sw=2 ts=2 expandtab * - * "THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"): - * Thomas Kolb wrote this file. As long as you retain this - * notice you can do whatever you want with this stuff. If we meet some day, - * and you think this stuff is worth it, you can buy me a pizza in return. - * - Thomas Kolb + * Copyright (c) 2013-2019 Thomas Kolb + * + * 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. */ #include diff --git a/src/main.c b/src/main.c index 8bbbab3..ee286a2 100644 --- a/src/main.c +++ b/src/main.c @@ -1,11 +1,25 @@ /* * vim: sw=2 ts=2 expandtab * - * "THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"): - * Thomas Kolb wrote this file. As long as you retain this - * notice you can do whatever you want with this stuff. If we meet some day, - * and you think this stuff is worth it, you can buy me a pizza in return. - * - Thomas Kolb + * Copyright (c) 2013-2019 Thomas Kolb + * + * 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. */ #include diff --git a/src/util.c b/src/util.c index 6d0d65c..477ac13 100644 --- a/src/util.c +++ b/src/util.c @@ -1,11 +1,25 @@ /* * vim: sw=2 ts=2 expandtab * - * "THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"): - * Thomas Kolb wrote this file. As long as you retain this - * notice you can do whatever you want with this stuff. If we meet some day, - * and you think this stuff is worth it, you can buy me a pizza in return. - * - Thomas Kolb + * Copyright (c) 2013-2019 Thomas Kolb + * + * 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. */ #include