From 92272b9af98040d0969d96ac2699a0a30f9119e2 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Wed, 2 Dec 2009 21:39:29 +0100 Subject: [PATCH] Added missing license info to some files. --- debian/copyright | 8 ++++++++ linkcheck/ansicolor.py | 2 +- linkcheck/ftpparse.py | 15 +++++++++++++++ linkcheck/gzip2.py | 2 ++ linkcheck/httplib2.py | 2 ++ linkcheck/mem.py | 19 +++++++++++++++++++ linkcheck/msgfmt.py | 3 ++- 7 files changed, 49 insertions(+), 2 deletions(-) diff --git a/debian/copyright b/debian/copyright index 272d7c40..9fd45cc3 100644 --- a/debian/copyright +++ b/debian/copyright @@ -95,3 +95,11 @@ included in linkcheck/robotparser2.py ## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS ## SOFTWARE. +linkcheck/gzip2.py, linkcheck/httplib2.py +----------------------------------------- +Copied and patched slightly from the Python source. +License: Python license + +linkcheck/mem.py +---------------- +License: MIT/X11 (BSD like) diff --git a/linkcheck/ansicolor.py b/linkcheck/ansicolor.py index ade0d54b..a7221d30 100644 --- a/linkcheck/ansicolor.py +++ b/linkcheck/ansicolor.py @@ -20,7 +20,7 @@ required. From Term::ANSIColor, applies also to this module: -The codes generated by this module are standard terminal control codes, +The codes output by this module are standard terminal control codes, complying with ECMA-48 and ISO 6429 (generally referred to as ``ANSI color'' for the color codes). The non-color control codes (bold, dark, italic, underline, and reverse) are part of the earlier ANSI X3.64 standard for diff --git a/linkcheck/ftpparse.py b/linkcheck/ftpparse.py index 9d9833d0..ba00ebee 100644 --- a/linkcheck/ftpparse.py +++ b/linkcheck/ftpparse.py @@ -1,4 +1,19 @@ # -*- coding: iso-8859-1 -*- +# Copyright (C) 2009 Bastian Kleineidam +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """ Python implementation of a part of Dan Bernstein's ftpparse library. diff --git a/linkcheck/gzip2.py b/linkcheck/gzip2.py index 88d1ff9f..69cc4a62 100644 --- a/linkcheck/gzip2.py +++ b/linkcheck/gzip2.py @@ -4,6 +4,8 @@ The user of the file doesn't have to worry about the compression, but random access is not allowed.""" +# Copied from Python source; License: Python License +# Copyright Guido van Rossum and others # based on Andrew Kuchling's minigzip.py distributed with the zlib module import struct, sys, time diff --git a/linkcheck/httplib2.py b/linkcheck/httplib2.py index 86863a37..e7e37e3c 100644 --- a/linkcheck/httplib2.py +++ b/linkcheck/httplib2.py @@ -1,4 +1,6 @@ # -*- coding: iso-8859-1 -*- +# Copied from Python source; License: Python License +# Copyright Guido van Rossum and others """HTTP/1.1 client library diff --git a/linkcheck/mem.py b/linkcheck/mem.py index a32bfab0..f62f698e 100644 --- a/linkcheck/mem.py +++ b/linkcheck/mem.py @@ -1,4 +1,23 @@ # -*- coding: iso-8859-1 -*- +# Copyright: Jean Brouwers +# License: +# 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. """ Copied from the Python Cookbook recipe at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/286222 diff --git a/linkcheck/msgfmt.py b/linkcheck/msgfmt.py index a0ceb810..a65ce785 100644 --- a/linkcheck/msgfmt.py +++ b/linkcheck/msgfmt.py @@ -1,5 +1,6 @@ # -*- coding: iso-8859-1 -*- -# Written by Martin v. Löwis +# License: Python license +# Copyright by Martin v. Löwis # Plural forms support added by alexander smishlajev """ Generate binary message catalog from textual translation description.