From 2f964e39df2ea355ca54e0d5e077b68dc1781bb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Bernigaud?= <come.bernigaud@laposte.net>
Date: Wed, 17 Apr 2013 17:12:33 +0200
Subject: [PATCH] Added license (Fixes: #2283)

---
 LICENSE           | 25 +++++++++++++++++++++++++
 bin/schema2ldif   | 12 ++++++++++++
 man/schema2ldif.1 | 10 +++++++++-
 3 files changed, 46 insertions(+), 1 deletion(-)
 create mode 100644 LICENSE

diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..eae0f58
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,25 @@
+License: BSD
+
+Copyright: 2013 FusionDirectory project <contact@fusiondirectory.org>
+
+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.
+3. The name of the author may not be used to endorse or promote products
+   derived from this software without specific prior written permission.
+
+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.
diff --git a/bin/schema2ldif b/bin/schema2ldif
index 15bafd5..397cc1d 100755
--- a/bin/schema2ldif
+++ b/bin/schema2ldif
@@ -128,4 +128,16 @@ Please report any bugs, or post any suggestions, to the fusiondirectory mailing
 
 Come Bernigaud
 
+=head1 LICENCE AND COPYRIGHT
+
+=over 2
+
+=item Copyright (C) 2013 FusionDirectory project
+
+=back
+
+License BSD
+
+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 LICENSE file for more details.
+
 =cut
diff --git a/man/schema2ldif.1 b/man/schema2ldif.1
index 4fc7261..6ec2fcd 100644
--- a/man/schema2ldif.1
+++ b/man/schema2ldif.1
@@ -155,4 +155,12 @@ Use \s-1BRANCH\s0 instead of cn=schema,cn=config
 Please report any bugs, or post any suggestions, to the fusiondirectory mailing list fusiondirectory-users or to <https://forge.fusiondirectory.org/projects/schema2ldif/issues/new>
 .SH "AUTHOR"
 .IX Header "AUTHOR"
-CA\*~Xme Bernigaud
+Come Bernigaud
+.SH "LICENCE AND COPYRIGHT"
+.IX Header "LICENCE AND COPYRIGHT"
+.IP "Copyright (C) 2013 FusionDirectory project" 2
+.IX Item "Copyright (C) 2013 FusionDirectory project"
+.PP
+License \s-1BSD\s0
+.PP
+This program is distributed in the hope that it will be useful, but \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0.  See the \s-1LICENSE\s0 file for more details.
-- 
GitLab