From eefbd57f8be7cd5263c1e4f4a16976beafc9dcba Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Thu, 16 Feb 2017 08:07:41 +0100 Subject: Add license boilerplate (althought it's sometimes longer than the actual code) --- src/ldapsp_app.erl | 18 ++++++++++++++++++ src/ldapsp_config.erl | 18 ++++++++++++++++++ src/ldapsp_features.erl | 18 ++++++++++++++++++ src/ldapsp_ldap.erl | 26 ++++++++++++++++++-------- src/ldapsp_log.erl | 18 ++++++++++++++++++ src/ldapsp_proxy.erl | 26 ++++++++++++++++++-------- src/ldapsp_realm.erl | 18 ++++++++++++++++++ src/ldapsp_realm_hostname.erl | 18 ++++++++++++++++++ src/ldapsp_sup.erl | 18 ++++++++++++++++++ 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 +%% +%% 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 . +%%------------------------------------------------------------------- -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 +%% +%% 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 . +%%------------------------------------------------------------------- -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 +%% +%% 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 . +%%------------------------------------------------------------------- -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 -%%% @copyright (C) 2016, Guido Günther -%%% @doc -%%% -%%% @end -%%% Created : 16 Aug 2016 by Guido -%%%------------------------------------------------------------------- +%%------------------------------------------------------------------- +%% This file is part of ldapsp. +%% +%% Copyright (C) 2016 Guido Günther +%% +%% 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 . +%%------------------------------------------------------------------- -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 +%% +%% 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 . +%%------------------------------------------------------------------- -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 -%%% @copyright (C) 2016, Guido Günther -%%% @doc -%%% -%%% @end -%%% Created : 16 Aug 2016 by Guido -%%%------------------------------------------------------------------- +%%------------------------------------------------------------------- +%% This file is part of ldapsp. +%% +%% Copyright (C) 2016 Guido Günther +%% +%% 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 . +%%------------------------------------------------------------------- -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 +%% +%% 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 . +%%------------------------------------------------------------------- -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 +%% +%% 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 . +%%------------------------------------------------------------------- -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 +%% +%% 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 . +%%------------------------------------------------------------------- -module(ldapsp_sup). -behaviour(supervisor). -- cgit v1.2.3