Skip to content

Commit

Permalink
change to MIT License
Browse files Browse the repository at this point in the history
  • Loading branch information
fdopen committed Jul 2, 2018
1 parent 518df47 commit 4d06b25
Show file tree
Hide file tree
Showing 73 changed files with 182 additions and 1,778 deletions.
483 changes: 0 additions & 483 deletions COPYING

This file was deleted.

19 changes: 19 additions & 0 deletions LICENSE.md
@@ -0,0 +1,19 @@
Copyright (c) 2015-2018, the Authors of uwt (dist/AUTHORS)

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.
2 changes: 1 addition & 1 deletion OMakefile
Expand Up @@ -156,7 +156,7 @@ opam-install:: install
value $(x)
docdir=$(t)/doc/uwt
mkdir(0o755,-p $(docdir))
cp(CHANGES.md COPYING README.md $(docdir))
cp(CHANGES.md LICENSE.md README.md $(docdir))
if $(not $(equal $(INTERNAL_LIBUV),$(EMPTY)))
cp(libuv/LICENSE $(docdir))

Expand Down
2 changes: 2 additions & 0 deletions dist/AUTHORS
@@ -0,0 +1,2 @@
Copyright (c) 1999-2017 Lwt authors (see https://github.com/ocsigen/lwt/blob/master/docs/AUTHORS)
2015-2018 Andreas Hauptmann
38 changes: 21 additions & 17 deletions dist/doc.txt
Expand Up @@ -91,20 +91,24 @@ Uv_fs_sync

{2 Licenses}

Uwt is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) version 2.1.

As a special exception to the GNU Lesser General Public License, you
may link, statically or dynamically, a "work that uses the Library"
with a publicly distributed version of the Library to produce an
executable file containing portions of the Library, and distribute
that executable file under terms of your choice, without any of the
additional requirements listed in clause 6 of the GNU Lesser General
Public License.

The parts not imported from either lwt or OCaml's standard
distribution can also be redistributed and modified under the terms of any
later versions of the GNU Lesser General Public License as published by the
Free Software Foundation.

Libuv is distributed under the MIT License.
Uwt is licensed under a MIT 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.

Libuv is also distributed under the MIT License.
3 changes: 3 additions & 0 deletions src/emap_gen.c
@@ -1,3 +1,6 @@
/* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. */

#include "config.h"
#include <uv.h>
#include <stdio.h>
Expand Down
22 changes: 2 additions & 20 deletions src/macros.h
@@ -1,23 +1,5 @@
/* Libuv bindings for OCaml
* http://github.com/fdopen/uwt
* Copyright (C) 2015-2016 Andreas Hauptmann
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, with linking exceptions;
* either version 2.1 of the License, or (at your option) any later
* version. See COPYING file 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
/* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. */

#ifndef __UWT_MACROS_H
#define __UWT_MACROS_H
Expand Down
23 changes: 2 additions & 21 deletions src/uv_fs_sync.ml
@@ -1,24 +1,5 @@
(* Libuv bindings for OCaml
* http://github.com/fdopen/uwt
* Copyright (C) 2015 Andreas Hauptmann
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, with linking exceptions;
* either version 2.1 of the License, or (at your option) any later
* version. See COPYING file 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*)

(* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. *)
(*
type loop_mode =
| Sync
Expand Down
22 changes: 2 additions & 20 deletions src/uwt-worker.h
@@ -1,23 +1,5 @@
/* Libuv bindings for OCaml
* http://github.com/fdopen/uwt
* Copyright (C) 2015-2016 Andreas Hauptmann
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, with linking exceptions;
* either version 2.1 of the License, or (at your option) any later
* version. See COPYING file 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
/* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. */

#ifndef __UV_WORKER_H
#define __UV_WORKER_H
Expand Down
22 changes: 2 additions & 20 deletions src/uwt.ml
@@ -1,23 +1,5 @@
(* Libuv bindings for OCaml
* http://github.com/fdopen/uwt
* Copyright (C) 2015-2016 Andreas Hauptmann
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, with linking exceptions;
* either version 2.1 of the License, or (at your option) any later
* version. See COPYING file 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*)
(* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. *)

#define DEFINE_MUTEXES 1
#include "config.inc"
Expand Down
23 changes: 2 additions & 21 deletions src/uwt.mli
@@ -1,24 +1,5 @@
(* Libuv bindings for OCaml
* http://github.com/fdopen/uwt
* Module Uwt
* Copyright (C) 2015 Andreas Hauptmann
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, with linking exceptions;
* either version 2.1 of the License, or (at your option) any later
* version. See COPYING file 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*)
(* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. *)

(** Uwt main module *)

Expand Down
22 changes: 2 additions & 20 deletions src/uwt_base.ml
@@ -1,23 +1,5 @@
(* Libuv bindings for OCaml
* http://github.com/fdopen/uwt
* Copyright (C) 2015-2016 Andreas Hauptmann
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, with linking exceptions;
* either version 2.1 of the License, or (at your option) any later
* version. See COPYING file 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*)
(* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. *)

#include "error.ml"
#include "config.inc"
Expand Down
22 changes: 2 additions & 20 deletions src/uwt_base.mli
@@ -1,23 +1,5 @@
(* Libuv bindings for OCaml
* http://github.com/fdopen/uwt
* Copyright (C) 2015 Andreas Hauptmann
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, with linking exceptions;
* either version 2.1 of the License, or (at your option) any later
* version. See COPYING file 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*)
(* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. *)

(** Lwt independent core *)

Expand Down
27 changes: 2 additions & 25 deletions src/uwt_bytes.ml
@@ -1,28 +1,5 @@
(* Lightweight thread library for OCaml
* http://www.ocsigen.org/lwt
* Module Lwt_unix
* Copyright (C) 2010 Jérémie Dimino
* 2010 Pierre Chambart
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, with linking exceptions;
* either version 2.1 of the License, or (at your option) any later
* version. See COPYING file 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*)

(* I/O parts removed, external functions renamed, otherwise unmodified
import from lwt, A.H. *)
(* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. *)

#include "config.inc"
open Bigarray
Expand Down
24 changes: 2 additions & 22 deletions src/uwt_bytes.mli
@@ -1,25 +1,5 @@
(* Lightweight thread library for OCaml
* http://www.ocsigen.org/lwt
* Interface Lwt_unix
* Copyright (C) 2010 Jérémie Dimino
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, with linking exceptions;
* either version 2.1 of the License, or (at your option) any later
* version. See COPYING file 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*)

(* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. *)

(* I/O parts removed, otherwise unmodified import from lwt *)

Expand Down
25 changes: 3 additions & 22 deletions src/uwt_bytes_stubs.c
@@ -1,25 +1,6 @@
/* Lightweight thread library for OCaml
* http://www.ocsigen.org/lwt
* Module Lwt_unix_stubs
* Copyright (C) 2009-2010 Jérémie Dimino
* Copyright (C) 2015 Andreas Hauptmann
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, with linking exceptions;
* either version 2.1 of the License, or (at your option) any later
* version. See COPYING file 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
/* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. */

#include "config.h"
#include <string.h>
#include <stdint.h>
Expand Down
3 changes: 3 additions & 0 deletions src/uwt_bytes_stubs.h
@@ -1,3 +1,6 @@
/* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. */

CAMLextern value
uwt_unix_blit(value,value,value,value,value);

Expand Down
3 changes: 3 additions & 0 deletions src/uwt_compat.ml
@@ -1,3 +1,6 @@
(* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. *)

module Lwt_main = Uwt.Main
module Lwt_bytes = Uwt_bytes
module Lwt_process = Uwt_process
Expand Down
3 changes: 3 additions & 0 deletions src/uwt_compat.mli
@@ -1,3 +1,6 @@
(* This file is part of uwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/fdopen/uwt/blob/master/LICENSE.md. *)

(** Lwt_unix compat module *)

module Lwt_main = Uwt.Main
Expand Down

0 comments on commit 4d06b25

Please sign in to comment.