From cfae6a2abfa1c604cce15f71561482039c7031be Mon Sep 17 00:00:00 2001 From: Juan Jose Comellas Date: Tue, 13 Oct 2009 19:08:39 -0300 Subject: [PATCH] Added BSD license. --- LICENSE.txt | 27 +++++++++++++++++++++++++++ src/examples/ex1.erl | 6 +++++- src/getopt.erl | 4 ++++ src/test/getopt_test.erl | 4 ++++ 4 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 LICENSE.txt diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..3289c08 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,27 @@ +Copyright (c) 2009, Novamens SA +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + - Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + - 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. + + - Neither the name of Novamens SA nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT HOLDER OR CONTRIBUTORS 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. diff --git a/src/examples/ex1.erl b/src/examples/ex1.erl index c6c9a43..afb788c 100644 --- a/src/examples/ex1.erl +++ b/src/examples/ex1.erl @@ -1,8 +1,12 @@ %%%------------------------------------------------------------------- %%% @author Juan Jose Comellas %%% @copyright (C) 2009, Novamens SA (http://www.novamens.com) -%%% @doc Example module for Parses command line options with a format similar to that of GNU getopt. +%%% @doc Example file for the getopt module. %%% @end +%%% +%%% This source file is subject to the New BSD License. You should have received +%%% a copy of the New BSD license with this software. If not, it can be +%%% retrieved from: http://www.opensource.org/licenses/bsd-license.php %%%------------------------------------------------------------------- -module(ex1). diff --git a/src/getopt.erl b/src/getopt.erl index d79a725..35c11e4 100644 --- a/src/getopt.erl +++ b/src/getopt.erl @@ -3,6 +3,10 @@ %%% @copyright (C) 2009, Novamens SA (http://www.novamens.com) %%% @doc Parses command line options with a format similar to that of GNU getopt. %%% @end +%%% +%%% This source file is subject to the New BSD License. You should have received +%%% a copy of the New BSD license with this software. If not, it can be +%%% retrieved from: http://www.opensource.org/licenses/bsd-license.php %%%------------------------------------------------------------------- -module(getopt). diff --git a/src/test/getopt_test.erl b/src/test/getopt_test.erl index 28c4803..f81588c 100644 --- a/src/test/getopt_test.erl +++ b/src/test/getopt_test.erl @@ -2,6 +2,10 @@ %%% @author Juan Jose Comellas %%% @copyright (C) 2009, Novamens SA (http://www.novamens.com) %%% @doc Parses command line options with a format similar to that of GNU getopt. +%%% +%%% This source file is subject to the New BSD License. You should have received +%%% a copy of the New BSD license with this software. If not, it can be +%%% retrieved from: http://www.opensource.org/licenses/bsd-license.php %%%------------------------------------------------------------------- -module(getopt_test).