summaryrefslogtreecommitdiff
path: root/distbuild
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-09-10 14:08:05 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-09-10 14:08:05 +0100
commitae76f0fd866b6b0f6e29b8bc13f701ef6e945ab5 (patch)
tree163c315f4f0ee0616a4ec905126cf9a91f79e8b4 /distbuild
parent7b73af4036b4b42c02906be5d8e47a6a361589bd (diff)
downloadmorph-ae76f0fd866b6b0f6e29b8bc13f701ef6e945ab5.tar.gz
Fix all distbuild code to be GPLv2 licensed.
Diffstat (limited to 'distbuild')
-rw-r--r--distbuild/eventsrc.py16
-rw-r--r--distbuild/initiator_connection.py2
-rw-r--r--distbuild/jm.py16
-rw-r--r--distbuild/mainloop.py16
-rw-r--r--distbuild/sm.py16
-rw-r--r--distbuild/sm_tests.py16
-rw-r--r--distbuild/sockbuf.py16
-rw-r--r--distbuild/socketsrc.py16
-rw-r--r--distbuild/sockserv.py16
-rw-r--r--distbuild/stringbuffer.py16
-rw-r--r--distbuild/stringbuffer_tests.py16
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