summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-02-16 08:07:41 +0100
committerGuido Günther <agx@sigxcpu.org>2017-02-16 08:07:41 +0100
commiteefbd57f8be7cd5263c1e4f4a16976beafc9dcba (patch)
treea15153f736d33b3d78b766b4ade860f2b93be2fe
parentef6e4115e7182e9b2581b5805e136c22cae02aa0 (diff)
Add license boilerplate
(althought it's sometimes longer than the actual code)
-rw-r--r--src/ldapsp_app.erl18
-rw-r--r--src/ldapsp_config.erl18
-rw-r--r--src/ldapsp_features.erl18
-rw-r--r--src/ldapsp_ldap.erl26
-rw-r--r--src/ldapsp_log.erl18
-rw-r--r--src/ldapsp_proxy.erl26
-rw-r--r--src/ldapsp_realm.erl18
-rw-r--r--src/ldapsp_realm_hostname.erl18
-rw-r--r--src/ldapsp_sup.erl18
9 files changed, 162 insertions, 16 deletions
diff --git a/src/ldapsp_app.erl b/src/ldapsp_app.erl
index 793cd4d..cdc6a22 100644
--- a/src/ldapsp_app.erl
+++ b/src/ldapsp_app.erl
@@ -1,3 +1,21 @@
+%%-------------------------------------------------------------------
+%% This file is part of ldapsp.
+%%
+%% Copyright (C) 2016 Guido Günther <agx@sigxcpu.org>
+%%
+%% ldapsp 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, either version 3 of the License, or
+%% (at your option) any later version.
+%%
+%% ldapsp 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 ldapsp. If not, see <http://www.gnu.org/licenses/>.
+%%-------------------------------------------------------------------
-module(ldapsp_app).
-behaviour(application).
diff --git a/src/ldapsp_config.erl b/src/ldapsp_config.erl
index 73d15bd..9ed7fc4 100644
--- a/src/ldapsp_config.erl
+++ b/src/ldapsp_config.erl
@@ -1,3 +1,21 @@
+%%-------------------------------------------------------------------
+%% This file is part of ldapsp.
+%%
+%% Copyright (C) 2016 Guido Günther <agx@sigxcpu.org>
+%%
+%% ldapsp 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, either version 3 of the License, or
+%% (at your option) any later version.
+%%
+%% ldapsp 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 ldapsp. If not, see <http://www.gnu.org/licenses/>.
+%%-------------------------------------------------------------------
-module(ldapsp_config).
-export([
diff --git a/src/ldapsp_features.erl b/src/ldapsp_features.erl
index e976bea..62804c2 100644
--- a/src/ldapsp_features.erl
+++ b/src/ldapsp_features.erl
@@ -1,3 +1,21 @@
+%%-------------------------------------------------------------------
+%% This file is part of ldapsp.
+%%
+%% Copyright (C) 2016 Guido Günther <agx@sigxcpu.org>
+%%
+%% ldapsp 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, either version 3 of the License, or
+%% (at your option) any later version.
+%%
+%% ldapsp 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 ldapsp. If not, see <http://www.gnu.org/licenses/>.
+%%-------------------------------------------------------------------
-module(ldapsp_features).
-export([
init/1,
diff --git a/src/ldapsp_ldap.erl b/src/ldapsp_ldap.erl
index 9228565..6898174 100644
--- a/src/ldapsp_ldap.erl
+++ b/src/ldapsp_ldap.erl
@@ -1,11 +1,21 @@
-%%%-------------------------------------------------------------------
-%%% @author Guido <agx@sigxcpu.org>
-%%% @copyright (C) 2016, Guido Günther
-%%% @doc
-%%%
-%%% @end
-%%% Created : 16 Aug 2016 by Guido <agx@sigxcpu.org>
-%%%-------------------------------------------------------------------
+%%-------------------------------------------------------------------
+%% This file is part of ldapsp.
+%%
+%% Copyright (C) 2016 Guido Günther <agx@sigxcpu.org>
+%%
+%% ldapsp 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, either version 3 of the License, or
+%% (at your option) any later version.
+%%
+%% ldapsp 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 ldapsp. If not, see <http://www.gnu.org/licenses/>.
+%%-------------------------------------------------------------------
-module(ldapsp_ldap).
-behaviour(gen_server).
diff --git a/src/ldapsp_log.erl b/src/ldapsp_log.erl
index 7ec808c..3b2a577 100644
--- a/src/ldapsp_log.erl
+++ b/src/ldapsp_log.erl
@@ -1,3 +1,21 @@
+%%-------------------------------------------------------------------
+%% This file is part of ldapsp.
+%%
+%% Copyright (C) 2016 Guido Günther <agx@sigxcpu.org>
+%%
+%% ldapsp 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, either version 3 of the License, or
+%% (at your option) any later version.
+%%
+%% ldapsp 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 ldapsp. If not, see <http://www.gnu.org/licenses/>.
+%%-------------------------------------------------------------------
-module(ldapsp_log).
-export([
err/2,
diff --git a/src/ldapsp_proxy.erl b/src/ldapsp_proxy.erl
index 9639401..b924aaa 100644
--- a/src/ldapsp_proxy.erl
+++ b/src/ldapsp_proxy.erl
@@ -1,11 +1,21 @@
-%%%-------------------------------------------------------------------
-%%% @author Guido <agx@sigxcpu.org>
-%%% @copyright (C) 2016, Guido Günther
-%%% @doc
-%%%
-%%% @end
-%%% Created : 16 Aug 2016 by Guido <agx@sigxcpu.org>
-%%%-------------------------------------------------------------------
+%%-------------------------------------------------------------------
+%% This file is part of ldapsp.
+%%
+%% Copyright (C) 2016 Guido Günther <agx@sigxcpu.org>
+%%
+%% ldapsp 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, either version 3 of the License, or
+%% (at your option) any later version.
+%%
+%% ldapsp 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 ldapsp. If not, see <http://www.gnu.org/licenses/>.
+%%-------------------------------------------------------------------
-module(ldapsp_proxy).
-export([add_host/3,
diff --git a/src/ldapsp_realm.erl b/src/ldapsp_realm.erl
index 3f786af..f3e283a 100644
--- a/src/ldapsp_realm.erl
+++ b/src/ldapsp_realm.erl
@@ -1,3 +1,21 @@
+%%-------------------------------------------------------------------
+%% This file is part of ldapsp.
+%%
+%% Copyright (C) 2016 Guido Günther <agx@sigxcpu.org>
+%%
+%% ldapsp 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, either version 3 of the License, or
+%% (at your option) any later version.
+%%
+%% ldapsp 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 ldapsp. If not, see <http://www.gnu.org/licenses/>.
+%%-------------------------------------------------------------------
-module(ldapsp_realm).
-export([
allowed_methods/2,
diff --git a/src/ldapsp_realm_hostname.erl b/src/ldapsp_realm_hostname.erl
index a28d19d..4965066 100644
--- a/src/ldapsp_realm_hostname.erl
+++ b/src/ldapsp_realm_hostname.erl
@@ -1,3 +1,21 @@
+%%-------------------------------------------------------------------
+%% This file is part of ldapsp.
+%%
+%% Copyright (C) 2016 Guido Günther <agx@sigxcpu.org>
+%%
+%% ldapsp 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, either version 3 of the License, or
+%% (at your option) any later version.
+%%
+%% ldapsp 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 ldapsp. If not, see <http://www.gnu.org/licenses/>.
+%%-------------------------------------------------------------------
-module(ldapsp_realm_hostname).
-export([
allowed_methods/2,
diff --git a/src/ldapsp_sup.erl b/src/ldapsp_sup.erl
index 21bb4fb..5df7443 100644
--- a/src/ldapsp_sup.erl
+++ b/src/ldapsp_sup.erl
@@ -1,3 +1,21 @@
+%%-------------------------------------------------------------------
+%% This file is part of ldapsp.
+%%
+%% Copyright (C) 2016 Guido Günther <agx@sigxcpu.org>
+%%
+%% ldapsp 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, either version 3 of the License, or
+%% (at your option) any later version.
+%%
+%% ldapsp 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 ldapsp. If not, see <http://www.gnu.org/licenses/>.
+%%-------------------------------------------------------------------
-module(ldapsp_sup).
-behaviour(supervisor).