From: Zooko O'Whielacronx zooko@zooko.com Date: Wed, 9 May 2007 22:57:53 +0000 (+0530) Subject: zfec: tweak licence text X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/frontends/module-simplejson-index.html?a=commitdiff_plain;h=c6fb28d8d98a5f0c98c057f95420dbb545aef10b;p=tahoe-lafs%2Fzfec.git zfec: tweak licence text darcs-hash:ae83abe261644cd24ba2bc3ef1a4c1216b8f03e7 --- diff --git a/zfec/COPYING b/zfec/COPYING index 294b73f..b434474 100644 --- a/zfec/COPYING +++ b/zfec/COPYING @@ -1,12 +1,13 @@ -In addition to the terms of the GNU General Public License, this licence also -comes with the added permission that, if you become obligated to release a -derived work under this licence (as per section 2.b), you may delay the -fulfillment of this obligation for up to 12 months. - -This licence also comes with the added permission that you may link this -program with the OpenSSL library and distribute executables, as long as you -follow the requirements of this licence in regard to all of the software in -the executable aside from OpenSSL. +In addition to the terms written below, this licence comes with the added +permission that, if you become obligated to release a derived work under this +licence (as per section 2.b), you may delay the fulfillment of this +obligation for up to 12 months. + +In addition to the terms written below, this licence comes with the added +permission that you may link this program with the OpenSSL library and +distribute executables, as long as you follow the requirements of this +licence in regard to all of the software in the executable aside from +OpenSSL. GNU GENERAL PUBLIC LICENSE diff --git a/zfec/setup.py b/zfec/setup.py index 80d8b97..a8c08d8 100755 --- a/zfec/setup.py +++ b/zfec/setup.py @@ -18,11 +18,6 @@ # If you would like to inquire about a commercial relationship with Allmydata, # Inc., please contact partnerships@allmydata.com and visit # http://allmydata.com/. -# -# 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. from ez_setup import use_setuptools use_setuptools(min_version='0.6a9') diff --git a/zfec/zfec/__init__.py b/zfec/zfec/__init__.py index ae874cc..279c226 100644 --- a/zfec/zfec/__init__.py +++ b/zfec/zfec/__init__.py @@ -32,14 +32,5 @@ import filefec, cmdline_zfec, cmdline_zunfec # Software Foundation; either version 2 of the License, or (at your option) # any later version, with the added permission that, if you become obligated # to release a derived work under this licence (as per section 2.b), you may -# delay the fulfillment of this obligation for up to 12 months. See the file -# COPYING for details. -# -# 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. +# delay the fulfillment of this obligation for up to 12 months. See the +# COPYING file for details. diff --git a/zfec/zfec/_fecmodule.c b/zfec/zfec/_fecmodule.c index c75cfec..5c59870 100644 --- a/zfec/zfec/_fecmodule.c +++ b/zfec/zfec/_fecmodule.c @@ -603,11 +603,6 @@ init_fec(void) { * If you would like to inquire about a commercial relationship with Allmydata, * Inc., please contact partnerships@allmydata.com and visit * http://allmydata.com/. - * - * 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. */ /** diff --git a/zfec/zfec/cmdline_zfec.py b/zfec/zfec/cmdline_zfec.py index 7c96eed..ec5ec17 100755 --- a/zfec/zfec/cmdline_zfec.py +++ b/zfec/zfec/cmdline_zfec.py @@ -75,8 +75,3 @@ def main(): # If you would like to inquire about a commercial relationship with Allmydata, # Inc., please contact partnerships@allmydata.com and visit # http://allmydata.com/. -# -# 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. diff --git a/zfec/zfec/cmdline_zunfec.py b/zfec/zfec/cmdline_zunfec.py index 7f822fb..99c8060 100755 --- a/zfec/zfec/cmdline_zunfec.py +++ b/zfec/zfec/cmdline_zunfec.py @@ -77,8 +77,3 @@ def main(): # If you would like to inquire about a commercial relationship with Allmydata, # Inc., please contact partnerships@allmydata.com and visit # http://allmydata.com/. -# -# 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. diff --git a/zfec/zfec/easyfec.py b/zfec/zfec/easyfec.py index 11ed0ee..1843a69 100644 --- a/zfec/zfec/easyfec.py +++ b/zfec/zfec/easyfec.py @@ -56,9 +56,3 @@ class Decoder(object): # If you would like to inquire about a commercial relationship with Allmydata, # Inc., please contact partnerships@allmydata.com and visit # http://allmydata.com/. -# -# 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. - diff --git a/zfec/zfec/fec.c b/zfec/zfec/fec.c index f762edc..e8afca8 100644 --- a/zfec/zfec/fec.c +++ b/zfec/zfec/fec.c @@ -570,11 +570,6 @@ fec_decode(const fec_t* code, const gf*restrict const*restrict const inpkts, gf* * If you would like to inquire about a commercial relationship with Allmydata, * Inc., please contact partnerships@allmydata.com and visit * http://allmydata.com/. - * - * 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. */ /* diff --git a/zfec/zfec/fec.h b/zfec/zfec/fec.h index 299f5e7..3d81899 100644 --- a/zfec/zfec/fec.h +++ b/zfec/zfec/fec.h @@ -53,11 +53,6 @@ void fec_decode(const fec_t* code, const gf*restrict const*restrict const inpkts * If you would like to inquire about a commercial relationship with Allmydata, * Inc., please contact partnerships@allmydata.com and visit * http://allmydata.com/. - * - * 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. */ /* diff --git a/zfec/zfec/filefec.py b/zfec/zfec/filefec.py index 47e4e0f..1419ae8 100644 --- a/zfec/zfec/filefec.py +++ b/zfec/zfec/filefec.py @@ -428,8 +428,3 @@ def encode_file_stringy_easyfec(inf, cb, k, m, chunksize=4096): # If you would like to inquire about a commercial relationship with Allmydata, # Inc., please contact partnerships@allmydata.com and visit # http://allmydata.com/. -# -# 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. diff --git a/zfec/zfec/test/test_util.py b/zfec/zfec/test/test_util.py index c555e6c..18ad3c7 100644 --- a/zfec/zfec/test/test_util.py +++ b/zfec/zfec/test/test_util.py @@ -126,8 +126,3 @@ class Math(unittest.TestCase): # If you would like to inquire about a commercial relationship with Allmydata, # Inc., please contact partnerships@allmydata.com and visit # http://allmydata.com/. -# -# 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. diff --git a/zfec/zfec/test/test_zfec.py b/zfec/zfec/test/test_zfec.py index 3a76ddf..b997fa1 100755 --- a/zfec/zfec/test/test_zfec.py +++ b/zfec/zfec/test/test_zfec.py @@ -241,8 +241,3 @@ class Cmdline(unittest.TestCase): # If you would like to inquire about a commercial relationship with Allmydata, # Inc., please contact partnerships@allmydata.com and visit # http://allmydata.com/. -# -# 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. diff --git a/zfec/zfec/util/fileutil.py b/zfec/zfec/util/fileutil.py index 87fe7b0..79d9859 100644 --- a/zfec/zfec/util/fileutil.py +++ b/zfec/zfec/util/fileutil.py @@ -255,8 +255,3 @@ def remove_if_possible(f): # If you would like to inquire about a commercial relationship with Allmydata, # Inc., please contact partnerships@allmydata.com and visit # http://allmydata.com/. -# -# 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. diff --git a/zfec/zfec/util/mathutil.py b/zfec/zfec/util/mathutil.py index 160a7df..caf7b1e 100644 --- a/zfec/zfec/util/mathutil.py +++ b/zfec/zfec/util/mathutil.py @@ -89,8 +89,3 @@ def permute(l): # If you would like to inquire about a commercial relationship with Allmydata, # Inc., please contact partnerships@allmydata.com and visit # http://allmydata.com/. -# -# 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. diff --git a/zfec/zfec/util/version.py b/zfec/zfec/util/version.py index 6851bec..d5cbb36 100644 --- a/zfec/zfec/util/version.py +++ b/zfec/zfec/util/version.py @@ -1,3 +1,10 @@ +# Copyright (c) 2004-2007 Bryce "Zooko" Wilcox-O'Hearn +# mailto:zooko@zooko.com +# http://zooko.com/repos/pyutil +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this work to deal in this work without restriction (including the rights +# to use, modify, distribute, sublicense, and/or sell copies). + """ extended version number class """ @@ -120,27 +127,3 @@ class Version: return res return cmp(self.tags, other.tags) - -# zfec -- fast forward error correction library with Python interface -# -# Copyright (C) 2007 Allmydata, Inc. -# Author: Zooko Wilcox-O'Hearn -# -# This file is part of zfec. -# -# 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, with the added permission that, if you become obligated -# to release a derived work under this licence (as per section 2.b), you may -# delay the fulfillment of this obligation for up to 12 months. See the file -# COPYING for details. -# -# If you would like to inquire about a commercial relationship with Allmydata, -# Inc., please contact partnerships@allmydata.com and visit -# http://allmydata.com/. -# -# 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.