From: Galen Charlton Date: Fri, 12 Oct 2012 19:00:24 +0000 (-0400) Subject: add copyright and sponsorship statement X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=fef35ae09a5d8cb7092362c80ef67c0802ef5e0f;p=contrib%2Fequinox.git add copyright and sponsorship statement Signed-off-by: Galen Charlton --- diff --git a/collectionHQ/extract.sh b/collectionHQ/extract.sh index 1508aa3..cf25a32 100755 --- a/collectionHQ/extract.sh +++ b/collectionHQ/extract.sh @@ -1,5 +1,25 @@ #!/bin/bash +# Copyright (C) 2011-2012 Equinox Software Inc. +# Ben Ostrowsky +# Galen Charlton +# +# Original version sponsored by the King County Library System +# +# This program 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. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + LIBRARYNAME="LIBRARYCODE" # library code assigned by collectionHQ DATE=`date +%Y%m%d` FILE="$LIBRARYNAME""$DATE".DAT diff --git a/collectionHQ/functions.sql b/collectionHQ/functions.sql index a32a6f7..4538e82 100644 --- a/collectionHQ/functions.sql +++ b/collectionHQ/functions.sql @@ -2,6 +2,26 @@ -- Functions used by collectionHQ reporting. This only needs to be run once. -- +-- Copyright (C) 2011-2012 Equinox Software Inc. +-- Ben Ostrowsky +-- Galen Charlton +-- +-- Original version sponsored by the King County Library System +-- +-- This program 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. +-- +-- 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 +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program; if not, write to the Free Software +-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + CREATE SCHEMA collectionHQ; CREATE OR REPLACE FUNCTION collectionHQ.attempt_year (TEXT) RETURNS TEXT AS $$ diff --git a/collectionHQ/get_bibs.sql b/collectionHQ/get_bibs.sql index 833db34..7a6443e 100644 --- a/collectionHQ/get_bibs.sql +++ b/collectionHQ/get_bibs.sql @@ -1 +1,21 @@ +-- Copyright (C) 2011-2012 Equinox Software Inc. +-- Ben Ostrowsky +-- Galen Charlton +-- +-- Original version sponsored by the King County Library System +-- +-- This program 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. +-- +-- 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 +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program; if not, write to the Free Software +-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + SELECT collectionHQ.write_bib_rows_to_stdout('LIBRARYCODE',1); diff --git a/collectionHQ/get_items.sql b/collectionHQ/get_items.sql index 218f593..68f3bd7 100644 --- a/collectionHQ/get_items.sql +++ b/collectionHQ/get_items.sql @@ -1 +1,21 @@ +-- Copyright (C) 2011-2012 Equinox Software Inc. +-- Ben Ostrowsky +-- Galen Charlton +-- +-- Original version sponsored by the King County Library System +-- +-- This program 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. +-- +-- 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 +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program; if not, write to the Free Software +-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + SELECT collectionHQ.write_item_rows_to_stdout('LIBRARYCODE',1); diff --git a/collectionHQ/send-email.pl b/collectionHQ/send-email.pl index 2754544..896c411 100755 --- a/collectionHQ/send-email.pl +++ b/collectionHQ/send-email.pl @@ -1,5 +1,25 @@ #!/usr/bin/perl -w +# Copyright (C) 2011-2012 Equinox Software Inc. +# Ben Ostrowsky +# Galen Charlton +# +# Original version sponsored by the King County Library System +# +# This program 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. +# +# 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 +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + use strict; use Email::Sender::Simple qw(sendmail); use Email::Simple;