From c10b2dc3d5dba5f5cf8da5d6523e6271ae69197c Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Mon, 21 May 2012 20:06:36 +1200 Subject: [PATCH] Bug 4330 : Adding copyright headers and fixing FSF addresses Signed-off-by: Jared Camins-Esakov Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack --- C4/Category.pm | 9 ++++++--- C4/Creators.pm | 17 +++++++++++++++++ C4/Dates.pm | 10 +++++++--- C4/ItemCirculationAlertPreference.pm | 8 +++++--- C4/ItemType.pm | 9 ++++++--- C4/Message.pm | 20 ++++++++++++++++++++ C4/SMS.pm | 8 +++++--- C4/Scrubber.pm | 11 ++++++++--- C4/TTParser.pm | 18 ++++++++++++++++++ C4/Tags.pm | 10 +++++++--- C4/TmplToken.pm | 18 ++++++++++++++++++ C4/TmplTokenType.pm | 17 +++++++++++++++++ C4/Utils.pm | 18 ++++++++++++++++++ 13 files changed, 152 insertions(+), 21 deletions(-) diff --git a/C4/Category.pm b/C4/Category.pm index 85361286a7..8cadc8b612 100644 --- a/C4/Category.pm +++ b/C4/Category.pm @@ -1,5 +1,8 @@ package C4::Category; +# Copyright 2009 Liblime +# Parts Copyright 2011 Tamil +# # This file is part of Koha. # # Koha is free software; you can redistribute it and/or modify it under the @@ -11,9 +14,9 @@ package C4::Category; # 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 -# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; use warnings; diff --git a/C4/Creators.pm b/C4/Creators.pm index 47900b5c79..8be368c196 100644 --- a/C4/Creators.pm +++ b/C4/Creators.pm @@ -1,5 +1,22 @@ package C4::Creators; +# Copyright 2010 Foundations +# +# This file is part of Koha. +# +# Koha 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 2 of the License, or (at your option) any later +# version. +# +# Koha 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 Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + BEGIN { use version; our $VERSION = qv('1.0.0_1'); use vars qw(@EXPORT @ISA); diff --git a/C4/Dates.pm b/C4/Dates.pm index 50db12e01a..6a3220e7cb 100644 --- a/C4/Dates.pm +++ b/C4/Dates.pm @@ -1,5 +1,9 @@ package C4::Dates; +# Copyright 2007 Liblime +# Parts Copyright ACPL 2011 +# Parts Copyright Catalyst IT 2012 +# # This file is part of Koha. # # Koha is free software; you can redistribute it and/or modify it under the @@ -11,9 +15,9 @@ package C4::Dates; # 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 -# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; use warnings; diff --git a/C4/ItemCirculationAlertPreference.pm b/C4/ItemCirculationAlertPreference.pm index 0c5844adb7..3d8bed4066 100644 --- a/C4/ItemCirculationAlertPreference.pm +++ b/C4/ItemCirculationAlertPreference.pm @@ -1,5 +1,7 @@ package C4::ItemCirculationAlertPreference; +# Copyright Liblime 2009 +# # This file is part of Koha. # # Koha is free software; you can redistribute it and/or modify it under the @@ -11,9 +13,9 @@ package C4::ItemCirculationAlertPreference; # 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 -# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; use warnings; diff --git a/C4/ItemType.pm b/C4/ItemType.pm index 70d26908e5..648cff95f5 100644 --- a/C4/ItemType.pm +++ b/C4/ItemType.pm @@ -1,5 +1,8 @@ package C4::ItemType; +# Copyright Liblime 2009 +# Parts Copyright Tamil 2011 +# # This file is part of Koha. # # Koha is free software; you can redistribute it and/or modify it under the @@ -11,9 +14,9 @@ package C4::ItemType; # 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 -# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; use warnings; diff --git a/C4/Message.pm b/C4/Message.pm index 4b88970207..53869682c6 100644 --- a/C4/Message.pm +++ b/C4/Message.pm @@ -1,4 +1,24 @@ package C4::Message; + +# Copyright Liblime 2009 +# Copyright Catalyst IT 2012 +# +# This file is part of Koha. +# +# Koha 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 2 of the License, or (at your option) any later +# version. +# +# Koha 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 Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + use strict; use warnings; use C4::Context; diff --git a/C4/SMS.pm b/C4/SMS.pm index 35d687b33e..b4b199239a 100644 --- a/C4/SMS.pm +++ b/C4/SMS.pm @@ -1,5 +1,7 @@ package C4::SMS; +# Copyright 2007 Liblime +# # This file is part of Koha. # # Koha is free software; you can redistribute it and/or modify it under the @@ -11,9 +13,9 @@ package C4::SMS; # 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 -# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. =head1 NAME diff --git a/C4/Scrubber.pm b/C4/Scrubber.pm index e43480201c..a78865de37 100644 --- a/C4/Scrubber.pm +++ b/C4/Scrubber.pm @@ -1,4 +1,9 @@ package C4::Scrubber; + +# Copyright Liblime 2008 +# Parts copyright sys-tech.net 2011 +# Copyright PTFS Europe 2011 +# # This file is part of Koha. # # Koha is free software; you can redistribute it and/or modify it under the @@ -10,9 +15,9 @@ package C4::Scrubber; # 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 -# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; use warnings; diff --git a/C4/TTParser.pm b/C4/TTParser.pm index e088124684..5058069e85 100644 --- a/C4/TTParser.pm +++ b/C4/TTParser.pm @@ -1,4 +1,22 @@ #!/usr/bin/env perl + +# Copyright Tamil 2011 +# +# This file is part of Koha. +# +# Koha 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 2 of the License, or (at your option) any later +# version. +# +# Koha 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 Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + #simple parser for HTML with Template Toolkit directives. Tokens are put into @tokens and are accesible via next_token and peep_token package C4::TTParser; use base qw(HTML::Parser); diff --git a/C4/Tags.pm b/C4/Tags.pm index 06c1e1db6d..4ca0786eb2 100644 --- a/C4/Tags.pm +++ b/C4/Tags.pm @@ -1,4 +1,8 @@ package C4::Tags; + +# Copyright Liblime 2008 +# Parts Copyright ACPL 2011 +# # This file is part of Koha. # # Koha is free software; you can redistribute it and/or modify it under the @@ -10,9 +14,9 @@ package C4::Tags; # 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 -# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; use warnings; diff --git a/C4/TmplToken.pm b/C4/TmplToken.pm index a9cccd1105..8122e71f2a 100644 --- a/C4/TmplToken.pm +++ b/C4/TmplToken.pm @@ -1,5 +1,23 @@ package C4::TmplToken; +# Copyright Tamil 2011 +# +# This file is part of Koha. +# +# Koha 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 2 of the License, or (at your option) any later +# version. +# +# Koha 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 Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + use strict; #use warnings; FIXME - Bug 2505 use C4::TmplTokenType; diff --git a/C4/TmplTokenType.pm b/C4/TmplTokenType.pm index fc674b57ab..2a2d9fe944 100644 --- a/C4/TmplTokenType.pm +++ b/C4/TmplTokenType.pm @@ -1,5 +1,22 @@ package C4::TmplTokenType; +# Copyright 2011 Tamil +# +# This file is part of Koha. +# +# Koha 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 2 of the License, or (at your option) any later +# version. +# +# Koha 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 Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + use strict; #use warnings; FIXME - Bug 2505 require Exporter; diff --git a/C4/Utils.pm b/C4/Utils.pm index ad38397ed5..7502902b37 100644 --- a/C4/Utils.pm +++ b/C4/Utils.pm @@ -1,5 +1,23 @@ package C4::Utils; +# Copyright 2007 Liblime +# +# This file is part of Koha. +# +# Koha 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 2 of the License, or (at your option) any later +# version. +# +# Koha 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 Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + # Useful code I didn't feel like duplicating all over the place. # -- 2.39.5