From 1e14a7c37f35991ddda54b8fcc0f0adc9d0b90ea Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Fri, 3 Nov 2017 11:48:17 +0100
Subject: [PATCH] sanitize legal statements

Replace individual copyright and authorship statements in each file by a
dedicated README.txt file
---
 README.txt                            | 10 ++++++++++
 bin/account-manager-client.pl         | 19 +------------------
 bin/account-manager-web.pl            | 13 ++++++-------
 lib/IdPAccountManager/SAMLMetadata.pm | 14 --------------
 lib/IdPAccountManager/Tools.pm        | 14 --------------
 5 files changed, 17 insertions(+), 53 deletions(-)
 create mode 100644 README.txt

diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..734dd32
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,10 @@
+IdP Account Manager
+-------------------
+This software is licensed under GÉANT Standard Open Source Software Outward
+Licence.
+
+This software was developed by RENATER, with funding from the European
+Community Seventh Framework Programme (FP7/2007-2013) under grant agreement nº
+238875 (GÉANT).
+
+This software was initialy authored by Olivier Salaün.
diff --git a/bin/account-manager-client.pl b/bin/account-manager-client.pl
index a053b5f..aff71b4 100755
--- a/bin/account-manager-client.pl
+++ b/bin/account-manager-client.pl
@@ -1,12 +1,5 @@
 #!/usr/bin/perl
 
-## Copyright (c) GEANT
-## This software was developed by RENATER. The research leading to these results has received funding
-## from the European Community¹s Seventh Framework Programme (FP7/2007-2013) under grant agreement nº 238875 (GÉANT).
-
-## 18/07/2014, Olivier Salaün
-## Command-line client for the Test IdP Account Manager
-
 use strict;
 use warnings;
 use utf8;
@@ -374,7 +367,7 @@ __END__
 
 =head1 NAME
 
-account-manager-client.pl - Command line client to the Test Account manager
+account-manager-client.pl - Command line client to the Test IdP Account manager
 
 =head1 SYNOPSIS
 
@@ -485,13 +478,3 @@ Sends a mail notice to the specified email address.
     --displayname 'Test SP' --contacts email1@dom,email2@dom
 
 Adds a new Service provider
-
-=head1 AUTHOR
-
-Olivier Salaün (olivier.salaun@renater.fr)
-
-=head1 LICENSE
-
-Copyright (c) GEANT
-This software was developed by RENATER. The research leading to these results has received funding
-from the European Community¹s Seventh Framework Programme (FP7/2007-2013) under grant agreement nº 238875 (GÉANT).
diff --git a/bin/account-manager-web.pl b/bin/account-manager-web.pl
index 208cd4a..e862c55 100755
--- a/bin/account-manager-web.pl
+++ b/bin/account-manager-web.pl
@@ -1,12 +1,5 @@
 #!/usr/bin/perl
 
-## Copyright (c) GEANT
-## This software was developed by RENATER. The research leading to these results has received funding
-## from the European Community¹s Seventh Framework Programme (FP7/2007-2013) under grant agreement nº 238875 (GÉANT).
-
-## 15/09/2014, Olivier Salaün
-## Web interface for the eduGAIN Access Check Account Manager
-
 use strict;
 use warnings;
 use utf8;
@@ -55,3 +48,9 @@ if (defined $request) {
 }
 
 $request->respond();
+
+__END__
+
+=head1 NAME
+
+account-manager-web.pl - Web interface for the Test IdP Account Manager
diff --git a/lib/IdPAccountManager/SAMLMetadata.pm b/lib/IdPAccountManager/SAMLMetadata.pm
index 204d90d..f310bc5 100644
--- a/lib/IdPAccountManager/SAMLMetadata.pm
+++ b/lib/IdPAccountManager/SAMLMetadata.pm
@@ -1,9 +1,5 @@
 package IdPAccountManager::SAMLMetadata;
 
-## Copyright (c) GEANT
-## This software was developed by RENATER. The research leading to these results has received funding
-## from the European Community¹s Seventh Framework Programme (FP7/2007-2013) under grant agreement nº 238875 (GÉANT).
-
 use strict;
 use warnings;
 
@@ -471,13 +467,3 @@ EntityID of SAML entities to filter.
 =item C<print FD> 
 
 Dumps the content of the SAML metadata to the specified FD file handler (default to STDOUT)
-
-=head1 AUTHOR
-
-Olivier Salaün (olivier.salaun@renater.fr)
-
-=head1 LICENSE
-
-Copyright (c) GEANT
-This software was developed by RENATER. The research leading to these results has received funding
-from the European Community¹s Seventh Framework Programme (FP7/2007-2013) under grant agreement nº 238875 (GÉANT).
diff --git a/lib/IdPAccountManager/Tools.pm b/lib/IdPAccountManager/Tools.pm
index 447f376..ffca2c4 100644
--- a/lib/IdPAccountManager/Tools.pm
+++ b/lib/IdPAccountManager/Tools.pm
@@ -1,9 +1,5 @@
 package IdPAccountManager::Tools;
 
-## Copyright (c) GEANT
-## This software was developed by RENATER. The research leading to these results has received funding
-## from the European Community¹s Seventh Framework Programme (FP7/2007-2013) under grant agreement nº 238875 (GÉANT).
-
 use Digest::SHA;
 use Encode;
 use Template;
@@ -326,13 +322,3 @@ Returns a SHA256 hash for $string.
 Update simpleSAMLphp authsources.php configuration file with the currently valid test accounts.
 
 =back
-
-=head1 AUTHOR
-
-Olivier Salaün (olivier.salaun@renater.fr)
-
-=head1 LICENSE
-
-Copyright (c) GEANT
-This software was developed by RENATER. The research leading to these results has received funding
-from the European Community¹s Seventh Framework Programme (FP7/2007-2013) under grant agreement nº 238875 (GÉANT).
-- 
GitLab