From ae76f0fd866b6b0f6e29b8bc13f701ef6e945ab5 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Wed, 10 Sep 2014 14:08:05 +0100 Subject: Fix all distbuild code to be GPLv2 licensed. --- distbuild/eventsrc.py | 16 ++++++++++++++-- distbuild/initiator_connection.py | 2 +- distbuild/jm.py | 16 ++++++++++++++-- distbuild/mainloop.py | 16 ++++++++++++++-- distbuild/sm.py | 16 ++++++++++++++-- distbuild/sm_tests.py | 16 ++++++++++++++-- distbuild/sockbuf.py | 16 ++++++++++++++-- distbuild/socketsrc.py | 16 ++++++++++++++-- distbuild/sockserv.py | 16 ++++++++++++++-- distbuild/stringbuffer.py | 16 ++++++++++++++-- distbuild/stringbuffer_tests.py | 16 ++++++++++++++-- 11 files changed, 141 insertions(+), 21 deletions(-) diff --git a/distbuild/eventsrc.py b/distbuild/eventsrc.py index 11bb16e8..7ceaf47c 100644 --- a/distbuild/eventsrc.py +++ b/distbuild/eventsrc.py @@ -1,7 +1,19 @@ # mainloop/eventsrc.py -- interface for event sources # -# Copyright 2012 Codethink Limited. -# All rights reserved. +# Copyright (C) 2014 Codethink Limited +# +# 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; version 2 of the License. +# +# 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.. class EventSource(object): diff --git a/distbuild/initiator_connection.py b/distbuild/initiator_connection.py index b3769d7c..54dd0ecd 100644 --- a/distbuild/initiator_connection.py +++ b/distbuild/initiator_connection.py @@ -1,7 +1,7 @@ # distbuild/initiator_connection.py -- communicate with initiator # # Copyright (C) 2014 Codethink Limited -# +# # 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; version 2 of the License. diff --git a/distbuild/jm.py b/distbuild/jm.py index 69fa5bd1..2bcce013 100644 --- a/distbuild/jm.py +++ b/distbuild/jm.py @@ -1,7 +1,19 @@ # mainloop/jm.py -- state machine for JSON communication between nodes # -# Copyright 2012 Codethink Limited. -# All rights reserved. +# Copyright (C) 2014 Codethink Limited +# +# 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; version 2 of the License. +# +# 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.. import fcntl diff --git a/distbuild/mainloop.py b/distbuild/mainloop.py index c5b7d284..799d430d 100644 --- a/distbuild/mainloop.py +++ b/distbuild/mainloop.py @@ -1,7 +1,19 @@ # mainloop/mainloop.py -- select-based main loop # -# Copyright 2012 Codethink Limited. -# All rights reserved. +# Copyright (C) 2014 Codethink Limited +# +# 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; version 2 of the License. +# +# 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.. import fcntl diff --git a/distbuild/sm.py b/distbuild/sm.py index f50515c3..e45ad423 100644 --- a/distbuild/sm.py +++ b/distbuild/sm.py @@ -1,7 +1,19 @@ # mainloop/sm.py -- state machine abstraction # -# Copyright 2012 Codethink Limited. -# All rights reserved. +# Copyright (C) 2014 Codethink Limited +# +# 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; version 2 of the License. +# +# 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.. import logging diff --git a/distbuild/sm_tests.py b/distbuild/sm_tests.py index 3c33e494..2e8fc73c 100644 --- a/distbuild/sm_tests.py +++ b/distbuild/sm_tests.py @@ -1,7 +1,19 @@ # distbuild/sm_tests.py -- unit tests for state machine abstraction # -# Copyright 2012 Codethink Limited. -# All rights reserved. +# Copyright (C) 2014 Codethink Limited +# +# 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; version 2 of the License. +# +# 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.. import unittest diff --git a/distbuild/sockbuf.py b/distbuild/sockbuf.py index c2cc8e2a..5204c766 100644 --- a/distbuild/sockbuf.py +++ b/distbuild/sockbuf.py @@ -1,7 +1,19 @@ # mainloop/sockbuf.py -- a buffering, non-blocking socket I/O state machine # -# Copyright 2012 Codethink Limited -# All rights reserved. +# Copyright (C) 2014 Codethink Limited +# +# 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; version 2 of the License. +# +# 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.. import logging diff --git a/distbuild/socketsrc.py b/distbuild/socketsrc.py index 50e3baaf..670b739a 100644 --- a/distbuild/socketsrc.py +++ b/distbuild/socketsrc.py @@ -1,7 +1,19 @@ # mainloop/socketsrc.py -- events and event sources for sockets # -# Copyright 2012 Codethink Limited. -# All rights reserved. +# Copyright (C) 2014 Codethink Limited +# +# 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; version 2 of the License. +# +# 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.. import fcntl diff --git a/distbuild/sockserv.py b/distbuild/sockserv.py index 124d29b9..2d24bed1 100644 --- a/distbuild/sockserv.py +++ b/distbuild/sockserv.py @@ -1,7 +1,19 @@ # mainloop/sockserv.py -- socket server state machines # -# Copyright 2012 Codethink Limited -# All rights reserved. +# Copyright (C) 2014 Codethink Limited +# +# 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; version 2 of the License. +# +# 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.. import logging diff --git a/distbuild/stringbuffer.py b/distbuild/stringbuffer.py index 3349bb87..ca791504 100644 --- a/distbuild/stringbuffer.py +++ b/distbuild/stringbuffer.py @@ -1,7 +1,19 @@ # mainloop/stringbuffer.py -- efficient buffering of strings as a queue # -# Copyright 2012 Codethink Limited -# All rights reserved. +# Copyright (C) 2014 Codethink Limited +# +# 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; version 2 of the License. +# +# 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.. class StringBuffer(object): diff --git a/distbuild/stringbuffer_tests.py b/distbuild/stringbuffer_tests.py index 29530560..c9811271 100644 --- a/distbuild/stringbuffer_tests.py +++ b/distbuild/stringbuffer_tests.py @@ -1,7 +1,19 @@ # distbuild/stringbuffer_tests.py -- unit tests # -# Copyright 2012 Codethink Limited -# All rights reserved. +# Copyright (C) 2014 Codethink Limited +# +# 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; version 2 of the License. +# +# 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.. import unittest -- cgit v1.2.1