main files:
-----------

Graydon Hoare <graydon@pobox.com> originally wrote most of the files
*.{lua,sql,cc,hh} in the top level directory. That's me.

Three exceptions are the file main.cc, which is a slightly reworked
copy of execution_monitor.cc from the boost project; the file
lru_cache.h, which is a slightly modified copy of a file from Patrick
Audley, and the file mkstemp.cc, which is a slightly reworked copy of
mkstemp code from glib. In both cases I've noted the original
copyrights in the files.

Another possible exception -- depending on how you interpret the word
"wrote" -- is the file lcs.hh, which I did write, but the writing was
merely *translation* (without much inventive contribution) from a file
called differ.scm, from SLIB, which is written by Aubrey Jaffer
<agj@alum.mit.edu>, and on which he retains Copyright. He has licensed
this code for any use provided its copyright notice is preserved,
which it is, in lcs.hh. You can find the original (scheme) code at
http://www.swiss.ai.mit.edu/~jaffer/

Several of the top level files have subsequently been amended by other
contributing authors, including:

  Tom Tromey <tromey@redhat.com>
  Nathaniel Smith <njs@pobox.com>
  Matt Kraai <kraai@ftbfs.org>
  Lorenzo Campedelli <lorenzo.campedelli@libero.it>
  Eric Kidd  <eric.kidd@pobox.com>
  Christof Petig <christof@petig-baender.de>
  Paul Snively <psnively@mac.com>
  Anders Petersson <demitar@worldforge.org>
  Nathan Myers <ncm@cantrip.org>
  Olivier Andrieu <oliv__a@users.sourceforge.net>
  Robert Helgesson <rycee@home.se>
  Robert Bihlmeyer <robbe+mt@orcus.priv.at>
  Joel Rosdahl <joel@rosdahl.net>
  Ben Elliston <bje@wasabisystems.com>
  Michael Scherer <misc@mandrake.org>
  Richard Levitte <richard@levitte.org>
  Derek Scherger <derek@echologic.com>
  Ulrich Drepper <drepper@redhat.com>
  Matt Johnston <matt@ucc.asn.au>
  Julio M. Merino Vidal <jmmv@NetBSD.org>
  Badai Aqrandista <badaiaqrandista@hotmail.com>
  Jordi Vilalta Prat <jvprat@wanadoo.es>
  Christian Kollee <stuka@pestilenz.org>
  Faheem Mitha <faheem@email.unc.edu>
  Neil Conway <neilc@samurai.com>
  Wojciech Miłkowski <wmilkowski@interia.pl>
  Georg-W. Koltermann <Georg.Koltermann@mscsoftware.com>
  Daniel Berlin <dberlin@dberlin.org>
  Jon Bright <jon@siliconcircus.org>
  Corey Halpin <chalpin@cs.wisc.edu>
  Jeremy Cowgar <jeremy@cowgar.com>
  Martin Dvorak <jezek2@advel.cz>
  Emile Snyder <emile@alumni.reed.edu>
  Sebastian Spaeth <Sebastian@SSpaeth.de>
  Joel Reed <joelwreed@comcast.net>
  Timothy Brownawell <tbrownaw@gmail.com>
  Matthew Gregan <kinetik@orcon.net.nz>
  Riccardo Ghetta <birrachiara@tin.it>
  Brian Campbell <brian.p.campbell@dartmouth.edu>
  Ethan Blanton <elb@elitists.net>
  Eric Anderson <anderse-monotone@cello.hpl.hp.com>
  Kaushik Veeraraghavan <kaushikv@gmail.com>
  Jordan Breeding <jordan.breeding@mac.com>
  Vladimir Vukicevic <vladimirv@gmail.com>
  Benoît Dejean <benoit@placenet.org>
  Patrick Mauritz <oxygene@studentenbude.ath.cx>
  Grahame Bowland <grahame@angrygoats.net>
  Marcel van der Boom <marcel@hsdev.com>
  Roland McGrath <roland@redhat.com>
  Daniel Carosone <dan@geek.com.au>
  Vinzenz Feenstra <evilissimo@c-plusplus.de>
  Blake Kaplan <mrbkap@gmail.com>
  Jeronimo Pellegrini <pellegrini@mpcnet.com.br>
  Thomas Moschny <thomas.moschny@gmx.de>
  Zack Weinberg <zackw@panix.com>
  Justin Patrin <papercrane@reversefold.com>

Several people have also contributed to the translation of monotone
into non-English languages; their work is available in the po/
subdirectory.  Contributors include:

  Benoît Dejean <benoit@placenet.org>
  Satoru SATOH <ss@gnome.gr.jp>
  Alex Queiroz <asandroq@gmail.com>
  Richard Levitte <richard@levitte.org>
  Joel Rosdahl <joel@rosdahl.net>
  Lapo Luchini <lapo@lapo.it>
  Thomas Keller <me@thomaskeller.biz>

supporting files:
-----------------

D. Richard Hipp <drh@hwaci.com> wrote the files in sqlite/*, but is in
no way affiliated with this project. I simply copied his code, which
is assigned to the public domain. You can find the original code at
http://www.sqlite.org.


The files in idna/* are copies of the core portion of the "GNU libidn"
library. Copyright (C) 2002, 2003 Simon Josefsson. They are licensed
under the GNU LGPL version 2.1. The original sources for libidn can be
retrieved from http://josefsson.org/libidn/. The library carries an
additional legal requirement of reproduction of the following text in
any copies made:

---

Libidn AUTHORS -- Information about the authors.
Copyright (C) 2002, 2003 Simon Josefsson
See the end for copying conditions.

Simon Josefsson <simon@josefsson.org>
Designed and implemented libidn.

-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: This 0xB565716F key is used to sign releases of Libidn.

mKsEPNUHKwEFALqJSBHn6Qk5ex138kwymxA3idCFoTi5Q6mVooEVVaYVfeDG+5uV
T5rhTFDfDcT9SO0eIlfKOraSRnVEHyDDH2PAgJFxyneFELcmLUQ66D+m8z+ziGro
6bcDSBBDMRkHIX6/kH/vnevjqivIld+j8WTcVX+SArcKyzgQ58uMTrfQdLqzh6D9
sE/838+ZPZkabmKKWMVWccoaUbWGYOcNwO0ABim0IVNpbW9uIEpvc2Vmc3NvbiA8
amFzQGV4dHVuZG8uY29tPojYBBMBAgAiAhsDBAsHAwIDFQIDAxYCAQIeAQIXgAUC
P6QrUQUJA7xyJgAKCRDtoh6UtWVxbwueBP4uh9ZEOuSjt2n5OpfuAablsrRzhlgP
fluBMfjHNynEFsGjn81l81TCqStRln7wDUj95ZufSi3YvoYSFG1jffGMk/k2trgI
NtT3kxaGkfns6dykBuV7Ki2wWqdJkTe1ibyai+RCqt+J1ldSUuHdfQZ5wALPJQRb
4Hqi7M29azFHcfxbMLf3yGYyBuKC7eBVNVaR58UTFK6r0CX3T7eGuk8biEYEExEC
AAYFAj1Y8r8ACgkQV5Mp08AbKiIX9wCfR2rMiXdKzZB95acA5YSQ4MLQyygAn1Nv
7M36SAofR/73WjqlPpVAQ+fRiEwEExECAAwFAj1esHUFgwFXijYACgkQvLvElXGK
klYZnQCeOXIzmEoZ5yOVNygphYmUwON/S8IAn32gWDyaTMpqyDcJEQeLdjcW7boS
tCVTaW1vbiBKb3NlZn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------------------------------------------------------
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.

---

The file gettext.h is a copy of the one included in the GNU Gettext
package, and is Copyright (C) 1995-1998, 2000-2002 Free Software
Foundation, Inc.  It is licensed under the GNU LGPL version 2.  For
more information, see the message on top of that file.

---

The files in netxx/* are copies of the NetXX library, which is
Copyright (C) 2001-2003 Peter J Jones (pjones@pmade.org), and
distributed under a BSD-like license. The license terms are reproduced
in the files, and do not require that they be reproduced here.

---


The files in lua/*, except lposix.c and modemuncher.c, are copies of
the lua 5.0 source distribution, from Tecgraf PUC-Rio. lposix.c and
modemuncher.c are from Claudio Terra and Luiz Henrique de Figueiredo,
both of Tecgraf PUC-Rio, but as near as I can tell those two files are
declared to be in the public domain. The lua distribution can be
retrieved from www.lua.org. The files are provided under an MIT-like
license, reproduced here:

---

Copyright (C) 2003 Tecgraf, PUC-Rio.

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.

---

The files in boost/* are copies of unofficial development files from
the boost "sandbox" CVS repository, linked off of
http://www.boost.org. The only license obligation I can find in those
files is to reproduce their license statement in documentation, which
I am doing here:

files in boost/ related to circular buffers:

// Copyright (c) 2003
// Jan Gaspar, Whitestein Technologies

// Permission to use or copy this software for any purpose is hereby granted 
// without fee, provided the above notices are retained on all copies.
// Permission to modify the code and to distribute modified code is granted,
// provided the above notices are retained, and a notice that the code was
// modified is included with the above copyright notice.

---

Jack Lloyd <lloyd@randombit.net> wrote the majority of the Botan
library, with contributions as noted in botan/thanks.txt
The library is distributed under a BSD-like license:

---

Copyright (C) 1999-2004 The Botan Project. All rights reserved.

Redistribution and use in source and binary forms, for any use, with or without
modification, is permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions, and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions, and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE DISCLAIMED.

IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTOR(S) BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

---

The file contrib/colorize is a copy of a perl script written by Cédric
Bouvier, which is released under the GNU GPL.

---

The file lru_cache.h is a copy of a C++ header written by Patrick
Audley, which was released under the GNU GPL.

---

copyright status:
-----------------

I believe I am within my rights to assert my own copyright on:

  - the files I wrote

  - the collective work, including the use (though not authorship) of
    files I copied from the public domain, and other copyrighted but
    freely-licensed sources (and possibly lcs.cc, as mentionned)

I license my publication of these copyrighted works to the public
under the terms of the GNU GPL, version 2 or greater. See the file
COPYING for details. If you believe I am in violation of some existing
copyrights, please contact me.

Subsequent additions by contributing authors are implicitly licensed
to the public under the same terms (GPL), but the contributing authors
retain copyrights on their portions of the work.

---

The file ssh_agent.cc includes a translation of the GET_32BIT_MSB_FIRST
define from PuTTY's misc.h. PuTTY is licensed under an MIT-like license,
reproduced here:

---

PuTTY is copyright 1997-2007 Simon Tatham.

Portions copyright Robert de Bath, Joris van Rantwijk, Delian
Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry,
Justin Bradford, Ben Harris, Malcolm Smith, Ahmad Khalifa, Markus
Kuhn, and CORE SDI S.A.

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 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.

---

The file ssh_agent.cc includes socket creation code copied from OpenSSH's
authfd.c. OpenSSH is licensed under a BSD-like license, reproduced here:

---

Author: Tatu Ylonen <ylo@cs.hut.fi>
Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
                   All rights reserved
Functions for connecting the local authentication agent.

As far as I am concerned, the code I have written for this software
can be used freely for any purpose.  Any derived versions of this
software must be clearly marked as such, and if the derived work is
incompatible with the protocol description in the RFC file, it must be
called by a name other than "ssh" or "Secure Shell".

SSH2 implementation,
Copyright (c) 2000 Markus Friedl.  All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

