[Koha-patches] [PATCH 2/4] Bug 5806: Consortium filter - added Branch filtering on intranet so that once a librarian chooses a branch, details of any other branch will be hidden until another branch is selected. This is a system pref called searchMyLibraryOnly that can be toggled on or off

Peter Lorimer peter at oslo.ie
Fri Jun 10 14:54:24 CEST 2011


---
 C4/Biblio.pm                                       |    9 +-
 C4/Branch.pm                                       |   15 +
 C4/Members.pm                                      |    3 +-
 C4/Search.pm                                       |   10 +-
 INSTALL                                            |  147 -
 INSTALL.debian                                     |  387 ---
 INSTALL.fedora7                                    | 1264 ---------
 INSTALL.opensuse                                   | 2894 --------------------
 INSTALL.ubuntu                                     |  439 ---
 INSTALL.ubuntu.lucid                               |  368 ---
 LICENSE                                            |  339 ---
 MANIFEST.SKIP                                      |   12 -
 Makefile.PL                                        | 1583 -----------
 README                                             |   11 -
 README.robots                                      |   18 -
 admin/authorised_values.pl                         |   16 +-
 admin/branches.pl                                  |   14 +-
 admin/categorie.pl                                 |   14 +-
 admin/itemtypes.pl                                 |   22 +-
 catalogue/detail.pl                                |   29 +-
 catalogue/search.pl                                |   36 +-
 cataloguing/additem.pl                             |   29 +-
 fix-perl-path.PL                                   |  117 -
 install-CPAN.pl                                    |   45 -
 .../prog/en/modules/admin/preferences/admin.pref   |   11 +
 .../prog/en/modules/catalogue/results.tt           |    2 +-
 koha_perl_deps.pl                                  |  150 -
 members/member.pl                                  |   19 +-
 members/memberentry.pl                             |   24 +-
 misc/cronjobs/crontab.example                      |    2 +-
 rewrite-config.PL                                  |  196 --
 31 files changed, 229 insertions(+), 7996 deletions(-)
 delete mode 100644 INSTALL
 delete mode 100644 INSTALL.debian
 delete mode 100644 INSTALL.fedora7
 delete mode 100644 INSTALL.opensuse
 delete mode 100644 INSTALL.ubuntu
 delete mode 100644 INSTALL.ubuntu.lucid
 delete mode 100644 LICENSE
 delete mode 100644 MANIFEST.SKIP
 delete mode 100644 Makefile.PL
 delete mode 100644 README
 delete mode 100644 README.robots
 delete mode 100644 fix-perl-path.PL
 delete mode 100644 install-CPAN.pl
 delete mode 100755 koha_perl_deps.pl
 delete mode 100644 rewrite-config.PL

diff --git a/C4/Biblio.pm b/C4/Biblio.pm
index c9590c2..6e14a2c 100755
--- a/C4/Biblio.pm
+++ b/C4/Biblio.pm
@@ -356,11 +356,13 @@ sub _strip_item_fields {
     # delete any item fields from incoming record to avoid
     # duplication or incorrect data - use AddItem() or ModItem()
     # to change items
+if (defined $record)
+{
     foreach my $field ( $record->field($itemtag) ) {
         $record->delete_field($field);
     }
 }
-
+}
 =head2 ModBiblioframework
 
    ModBiblioframework($biblionumber,$frameworkcode);
@@ -2679,7 +2681,10 @@ sub EmbedItemsInMarcBiblio {
         my $item_marc = C4::Items::GetMarcItem($biblionumber, $itemnumber);
         push @item_fields, $item_marc->field($itemtag);
     }
-    $marc->insert_fields_ordered(@item_fields);
+        if (defined $marc)
+        {
+             $marc->insert_fields_ordered(@item_fields);
+        }   
 }
 
 =head1 INTERNAL FUNCTIONS
diff --git a/C4/Branch.pm b/C4/Branch.pm
index abcdbd6..bf8703d 100644
--- a/C4/Branch.pm
+++ b/C4/Branch.pm
@@ -141,6 +141,21 @@ sub GetBranches {
     return ( \%branches );
 }
 
+
+sub homeBranchFromItem
+{
+my $item = $_[0];
+
+my $dbh = C4::Context::dbh();
+my $sql = "SELECT homebranch FROM items WHERE itemnumber = ?";
+my $sth = $dbh->prepare($sql);
+$sth->execute($item);
+my @row = $sth->fetchrow_array();
+
+return $row[0];    
+}
+
+
 sub onlymine {
     return 
     C4::Context->preference('IndependantBranches') &&
diff --git a/C4/Members.pm b/C4/Members.pm
index e03b40b..98ad5b8 100644
--- a/C4/Members.pm
+++ b/C4/Members.pm
@@ -1403,9 +1403,10 @@ to category descriptions.
 
 #'
 sub GetborCatFromCatType {
-    my ( $category_type, $action ) = @_;
+    my ( $category_type, $action,$categorycode ) = @_;
 	# FIXME - This API  seems both limited and dangerous. 
     my $dbh     = C4::Context->dbh;
+    
     my $request = qq|   SELECT categorycode,description 
             FROM categories 
             $action
diff --git a/C4/Search.pm b/C4/Search.pm
index ab7cb59..fdaf26a 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -1423,7 +1423,15 @@ sub searchResults {
     #find branchname
     #get branch information.....
     my %branches;
-    my $bsth =$dbh->prepare("SELECT branchcode,branchname FROM branches"); # FIXME : use C4::Branch::GetBranches
+    my $bsth;
+              if ( C4::Context->preference("searchMyLibraryOnly")  )
+           {
+            $bsth =$dbh->prepare("SELECT branchcode,branchname FROM branches WHERE branchcode = '". C4::Branch::mybranch() ."' "); # FIXME : use C4::Branch::GetBranches
+            }
+            else
+            {
+             $bsth =$dbh->prepare("SELECT branchcode,branchname FROM branches ");                
+            }
     $bsth->execute();
     while ( my $bdata = $bsth->fetchrow_hashref ) {
         $branches{ $bdata->{'branchcode'} } = $bdata->{'branchname'};
diff --git a/INSTALL b/INSTALL
deleted file mode 100644
index 339f667..0000000
--- a/INSTALL
+++ /dev/null
@@ -1,147 +0,0 @@
-Koha 3.2 - the next-generation release of the award-winning Koha open-source
-integrated library system.
-
-Koha is the first open-source Integrated Library System. Developed initially in
-New Zealand by Katipo Communications, Ltd and first deployed in January of 2000
-for the Horowhenua Library Trust, it is currently maintained by a team of
-software providers and library technology staff from around the globe. Learn
-more about the Koha project at http://koha-community.org.
-
-INSTALLATION
-============
-
-You need to have a server running Perl 5.8.8 or later, MySQL 5, Zebra
-2.0.22 or greater and a webserver (preferably Apache2) before installing
-Koha.
-
-MySQL 5: Create a database called 'koha,' owned by 'kohaadmin'
-user, with a password set. Note: kohaadmin must have at least the
-following privileges: SELECT, INSERT, UPDATE, DELETE, CREATE, DROP,
-ALTER, and LOCK TABLES.
-
-Default installation instructions:
-
-1. perl Makefile.PL
-  (you will be prompted to answer a number of questions and you will
-  need to install some Perl dependencies)
-  WARNING:
-
-  1.1 recent versions of CGI::Session have caused some issues for users;
-  as of this release date, we suggest downloading the CGI::Session::serialize::yaml
-  tarball direct from CPAN and install it directly rather than using the cpan command
-
-2. make
-3.(optional) make test 
-4. sudo make install
-5. sudo ln -s /etc/koha/koha-httpd.conf /etc/apache2/sites-available/koha
-  (note that the path to koha-httpd.conf may be different depending on your
-  installation choices)
-6. sudo a2enmod rewrite deflate
-7. sudo a2ensite koha && /etc/init.d/apache2 reload
-8. sudo zebrasrv -f /etc/koha/koha-conf.xml
-  (note that you will want to run Zebra in daemon mode for a production
-  system)
-9. Browse to http://servername:8080/ and answer the questions
-10. Optionally add a robots.txt file.  See README.robots for details
-
-OR if you want to install all dependencies from CPAN and are root, you can
-replace steps 1-3 with "perl install-CPAN.pl" but this is non-standard and
-may not be safe.  Nevertheless, it's pretty cool when it works.
-
-The defaults will install Koha to places that follow relevant standards,
-such as the File Hierarchy Standard.  If you want to install Koha to a
-different directory like /opt/koha, then replace step 1 with (for example):
-
-1. perl Makefile.PL INTRANET_CGI_DIR=/www/cgi-bin
-
-You can change most of the defaults in a similar way, such as DB_HOST.
-For full instructions on how to override the default settings, run
-
-$ perldoc rewrite-config.PL
-
-UPGRADE
-=======
-If you are upgrading from a previous installation of Koha 3.x, you can
-use the following:
-
- ./koha_perl_deps.pl -u -m # to identify new Perl dependencies
-
-Install any missing modules
-IMPORTANT: Koha 3.4.x uses Template::Toolkit, this must be installed
-before the webinstaller can run
-
-On debian/ubuntu
- sudo apt-get install libtemplate-perl
-
-Other Linux/Unix platforms
-Use the packaged version or install from CPAN
-  cpan Template
-
- perl Makefile.PL --prev-install-log /path/to/koha-install-log
- make
- make test
- sudo make upgrade
-
-Koha 3.4.x no longer stores items in biblio records so as part of the
-upgrade you will need to do the following two steps, they can take a
-long time (several hours) to complete for large databases
-
- misc/maintenance/remove_items_from_biblioitems.pl --run
- misc/migration_tools/rebuild_zebra.pl -b -r
-
-WHAT NEXT?
-
-1. Running the Web Installer allows you to install sample data for libraries, patrons, etc.
-    but you may want to install additional data such as bibliographic and authorities.
-
-    Once the installer has completed, you can import and index MARC records from the
-    command line thusly (Note: you can also use the 'Stage MARC records for import' from
-    the Tools area of Koha's Staff Client to import a batch of MARC records):
-
-    $ export KOHA_CONF=/usr/share/koha/etc/koha-conf.xml
-      (note: use the correct path to your koha-conf.xml)
-
-2. Import:
-    Bibliographic data in MARC21 format
-    $ misc/migration_tools/bulkmarcimport.pl -file /path/to/marc.iso2709
-    Authority data in MARC21 format
-    $ misc/migration_tools/bulkauthimport.pl -file /path/to/auth.iso2709
-
-3. Fast Index:
-    $ misc/migration_tools/rebuild_zebra.pl -b -w
-
-    Once the indexing has completed, you will be able to search for records in your
-    system. NOTE: if you don't run the Fast Index utility, and you have the index
-    updates scheduled as per 7.3 the indexing process will happen in the background,
-    Once the indexing has completed, you will be able to search for records in your
-    system. NOTE: if you don't run the Fast Index utility, and you have the index
-    updates scheduled as per 7.3 the indexing process will happen in the background,
-    but it will be orders of magnitude slower.
-
-4. Schedule regular index updates
-    run rebuild_zebra.pl -b -a -z as a regular cron job, check misc/cronjobs/crontab.example
-    for usage examples
-
-5. To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and
-    change the <listen> options to listen on a TCP port; then restart the zebra daemon.
-
-
-IF YOU HAVE PROBLEMS
-====================
-
-IF THIS IS A PRE-RELEASE TREE: please contact developers by email via
-http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
-or
-http://dir.gmane.org/gmane.education.libraries.koha.devel
-
-IF THIS IS A RELEASED VERSION: please see the support pages at
-http://www.koha-community.org/
-
-Released versions usually have three-digit numbers, like 3.02.00,
-while other version number styles are usually snapshots or previews.
-
-
-DEVELOPER NOTES
-===============
-
-For instructions on how to package releases, run perldoc Makefile.PL
diff --git a/INSTALL.debian b/INSTALL.debian
deleted file mode 100644
index a418829..0000000
--- a/INSTALL.debian
+++ /dev/null
@@ -1,387 +0,0 @@
-=============================
-Installation Guide for Installing Koha on Debian Lenny with MySQL 5
-=============================
-
-Some parts copyright 2010 Chris Nighswonger
-
-Feedback/bug reports: Koha Developer's List:
-http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
-
-This document last modified: October 8, 2010
-
-Installation Instructions
-=============================
-
-All commands can be performed as a system user with sudo privileges,
-as indicated or by running the command directly as root.
-
-1. Prepare System and Install Dependencies
-
-1.1 Install Debian Lenny via Businesscard CD
-
-    See http://www.debian.org/releases/lenny/debian-installer/
-
-1.2 Set up Indexdata apt sources for Yaz and Zebra packages
-
-Edit your /etc/apt/sources.list file and add the following:
-
-    # Index Data
-    deb http://ftp.indexdata.dk/debian lenny main
-    deb-src http://ftp.indexdata.dk/debian lenny main
-
-The Index Data packages are signed with a key you can install as follows:
-
-    $ wget -O- http://ftp.indexdata.dk/debian/indexdata.asc | sudo apt-key add -
-
-Finally, update your apt sources:
-    $ sudo apt-get update
-
-1.3 Get Koha
-Choose one of these options:
-
-1.3.1 Option A: Download Koha via Git (optional)
-
-    $ sudo apt-get install git-core git-email
-    $ git clone git://git.koha-community.org/koha.git koha
-    $ cd koha
-    $ git checkout -b myinstall origin
-
-Note: for more information about Git, please see the Koha Git Usage Guide:
-
-    http://wiki.koha-community.org/wiki/Version_Control_Using_Git
-
-1.3.2 Option B: Download Koha from http://download.koha-community.org
-
-Find the latest Koha stable version on http://download.koha-community.org
-and get it:
-
-    $ wget <URL> found on download.koha-community.org
-
-1.4 Install additional Debian dependencies
-
-IMPORTANT:  You should only use CPAN for Perl dependencies which are NOT
-            available from the package maintainer. You have been warned!
-
-Run shell script installing all necessary Debian packages, MySQL Server,
-Zebra and all Debian packaged Perl module required by Koha:
-
-    $ sudo install_misc/apt-get-debian-lenny.sh
-
-1.5 Install Perl dependencies that aren't packaged into Debian Lenny
-sources
-
-Run the following command:
-
-    $ sudo cpan Algorithm::CheckDigits SMS::Send HTTP::OAI IPC::Cmd \
-      Memoize::Memcached PDF::API2::Simple PDF::Table Storable Test::More \
-      Locale::Currency::Format DateTime Lingua::Stem::Snowball Text::CSV::Encoded \
-      UNIVERSAL::require YAML Authen::CAS::Client
-
-Note: you may need to run CPAN initialization if you've not run cpan
-before:
-
-    /etc/perl/CPAN/Config.pm initialized.
-
-    CPAN is the world-wide archive of perl resources. It consists of about
-    100 sites that all replicate the same contents all around the globe.
-    Many countries have at least one CPAN site already. The resources
-    found on CPAN are easily accessible with the CPAN.pm module. If you
-    want to use CPAN.pm, you have to configure it properly.
-    
-    If you do not want to enter a dialog now, you can answer 'no' to this
-    question and I'll try to autoconfigure. (Note: you can revisit this
-    dialog anytime later by typing 'o conf init' at the cpan prompt.)
-    
-    Are you ready for manual configuration? [yes]
-
-When the configuration is completed CPAN will install the Perl modules.
-
-2. Configuration of dependencies
-
-2.1 Create the Koha database
-
- Create the database and user with associated privileges (information inside <> brackets is
- data you assign specifically to your installation. Do not include the <>'s when entering the commands):
-
-    $ mysqladmin -uroot -p<password> create <kohadatabasename>
-    $ mysql -uroot -p<password>
-
-    Welcome to the MySQL monitor.  Commands end with ; or \g.
-    Your MySQL connection id is 22
-    Server version: 5.0.51a-24 (Debian)
-
-    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
-
-    mysql> grant all on <kohadatabasename>.* to '<kohadatabaseuser>'@'localhost' identified by '<kohadatabaseuserpassword>';
-    Query OK, 0 rows affected (0.00 sec)
-
-    mysql> flush privileges;
-    Query OK, 0 rows affected (0.00 sec)
-
-    mysql> quit
-
-You may want to document the database name, the database username, and the database password you just set.
-Step 3 will require them.
-
-2.2 Test your SAX Parser and correct where necessary
-
-You must be sure you're using the XML::LibXML SAX parser, not Expat or
-PurePerl, both of which have outstanding bugs with pre-composed characters.
-You can test your SAX parser by running:
-
-    $ cd koha
-    $ misc/sax_parser_print.pl 
-
-You should see something like:
-
-    XML::LibXML::SAX::Parser=HASH(0x81fe220)
-
-If you are configured to use PurePerl or Expat, the script will say you have a problem and 
-you'll need to edit your ini file to correct it.
-
-The file is typically located at:
-
-    /etc/perl/XML/SAX/ParserDetails.ini
-
-The correct parser entry will need to be moved to the bottom of the file.
-The following is the entry you are looking for:
-
-    [XML::LibXML::SAX::Parser]
-	http://xml.org/sax/features/namespaces = 1
-
-2.3 Create your Koha system user (if you haven't created one already)
-
-    $ sudo adduser koha
-
-You can substitute any username for "koha," just be sure to write it down, you will need to know what it is in step 3.
-
-3. Run the Koha installer
-
-    $ perl Makefile.PL
-      ( answer questions )
-    $ make
-    $ make test
-    $ sudo make install
-
-3.1 Export the environment variables
-Make install will tell you what the proper path for these environment variables is.
-In case you missed it at the end of make install, here are some examples:
-
-Example (for standard install):
-    $ export KOHA_CONF=/etc/koha/koha-conf.xml
-    $ export PERL5LIB=/usr/share/koha/lib
-
-Example (for dev install. These paths are set during Makefile.PL.):
-    $ export KOHA_CONF=/path/to/your/koha-conf.xml
-    $ export PERL5LIB=/path/to/koha/lib
-
-4. Configure and start Apache
-    $ sudo ln -s /etc/koha/koha-httpd.conf /etc/apache2/sites-available/koha
-(note that the path to koha-httpd.conf may be different if you chose a dev install)
-
-Add the following lines to /etc/apache2/ports.conf:
-
-    Listen 80
-    Listen 8080
-
-Run the following commands:
-
-    $ sudo a2enmod rewrite deflate
-    $ sudo a2ensite koha
-    $ sudo apache2ctl restart
-
-Note: you may still see the usual Apache default site if your VirtualHost
-      configuration isn't correct.  If Koha is the only web application running on the server,
-      the command "sudo a2dissite default" may be a quick fix. For servers running other sites
-      alongside Koha, see the Apache HTTPD manual section on virtual hosts for full
-      instructions (http://httpd.apache.org/docs/2.0/vhosts/).
-
-5. Run the Web Installer, populate the database, initial configuration of settings
-
-Point your browser to http://<servername>:8080/
-
-Note: <servername> is (usually) the IP of your server, or localhost (if you are connecting
-      from the same machine Koha is installed on. You can verify the location by checking 
-      the VirtualHost settings for both the opac and intranet virtual hosts in koha-httpd.conf
-
-Koha will redirect you to the Web Installer where you can continue the setup. You will be prompted to enter in your DATABASE username and password. It is through this interface 
-that 
-you can install the sample data for libraries, patrons, and much more.
-
-Be aware that removing sample data at a later time (when you may want to take the 
-server into production) may not be easy, and if your intent is to take this 
-install from testing to production, go with minimal sample data (no patrons or bibliographic records).
-
-6. Configure and start Zebra
-
-Note: it's recommended that you daemonize the Zebra process and add it to your
-      startup profile. For a non-production test/development installation, running
-      Zebra from the command line can be useful. Pick one of the options below (or roll your own).
-
-Note: it's also recommended that you create a Koha system user, which you will
-      have specified during the install process. Alternatively, Zebra can be
-      configured to run as the root user.
-
-Option 1: run the Zebra processes from the command line (manual indexing):
-
-6.1.1 Zebra Search Server
-
-This process send responses to search requests sent by Koha or
-Z39.50/SRU/SRW clients.
-
-    $ sudo -u <kohauser> zebrasrv -f /etc/koha/koha-conf.xml
-    (note that the path to koha-conf.xml may be different if you chose a dev install, and that
-    <kohauser> refers to the user you set up in step 2.3)
-
-Note: the user you run Zebra as will be the only user with write permission
-      on the Zebra index; in development mode, you may wish to use your
-      system user.
-
-
-6.1.2 Zebra Indexer
-
-Added/updated/deleted records in Koha MySQL database must be indexed
-into Zebra. A specific script must be launched each time a bibliographic
-or an authority record is edited.
-
-    $ sudo -u <kohauser> misc/migration_tools/rebuild_zebra.pl -z -b -a
-
-Note: This script should be run as the kohauser (the default is 'koha', but
-this is the user you set up in step 2.3).
-
-Option 2: run the Zebra process as a daemon (automatic indexing):
-
-Note: References to <script_dir> refer to the directory where
-      Koha's command-line scripts are installed, the path
-      is /usr/share/koha/bin/ by default in a standard install.
-
-6.2.1 Zebra Search Server
-
-    $ sudo ln -s <script_dir>/koha-zebra-ctl.sh  /etc/init.d/koha-zebra-daemon
-    (Note: <script_dir> is /usr/share/koha/bin/ by default in a standard install)
-    $ sudo update-rc.d koha-zebra-daemon defaults
-
-    $ sudo <script_dir>/koha-zebra-ctl.sh start
-    (Note: <script_dir> is /usr/share/koha/bin/ by default in a standard install)
-
-
-6.2.2 Zebra Indexer
-
-Add an entry in Koha user crontab to process scheduled added/updated/deleted records
-indexing by Zebra. <script_dir>cronjobs/crontab.example contains examples for these cron jobs (and many more).
-
-NOTE: The cronjobs should be setup under the kohauser (the default is 'koha', but
-this is the user you set up in step 2.3).
-
-Edit the crontab for the koha user by running
-    $ sudo -u <kohauser> crontab -e
-
-For Zebra indexing, you are looking for the example that begins with
-    
-    # ZEBRA INDEX UPDATES with -z option, incremental index updates throughout the day
-    # for both authorities and bibs
-
-It may be easiest to copy/paste the example into your own crontab and modify as necessary.
-
-
-7. What next?
-
-    Once the installer has completed, you can import and index MARC records from the
-    command line thusly (Note: you can also use the 'Stage MARC records for import' from
-    the Tools area of Koha's Staff Client to import a batch of MARC records):
-
-    $ export KOHA_CONF=/usr/share/koha/etc/koha-conf.xml
-      (note: use the correct path to your koha-conf.xml)
-
-7.1 Import:
-
-Bibliographic data in MARC21 format
-
-    $ misc/migration_tools/bulkmarcimport.pl -file /path/to/marc.iso2709
-
-Authority data in MARC21 format
-
-    $ misc/migration_tools/bulkmarcimport.pl -a -file /path/to/auth.iso2709
-
-7.2 Fast Index:
-    $ misc/migration_tools/rebuild_zebra.pl -b -w
-
-    Once the indexing has completed, you will be able to search for records in your system.
-    NOTE: This script should be run as the kohauser (the default is 'koha', this is the user we set up in step 2.3).
-
-7.3 Schedule regular index updates
-    You need to run rebuild_zebra.pl -b -a -z as a regular cron job in orde to pick up new bibs
-    and items as you add them. Check misc/cronjobs/crontab.example for usage examples. See 7.0 above.
-    NOTE: This job should be setup under the kohauser (the default is 'koha', this is the user we set up in step 2.3).
-
-7.4 To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and
-    change the <listen> options to listen on a TCP port; then restart the zebra daemon.
-
-UPGRADE
-=======
-If you are upgrading from a previous installation of Koha 3.x, you can
-use the following:
-
- ./koha_perl_deps.pl -u -m # to identify new Perl dependencies
-
-Install any missing modules
-IMPORTANT: Koha 3.4.x uses Template::Toolkit, this must be installed
-before the webinstaller can run
-
- sudo apt-get install libtemplate-perl
-
- perl Makefile.PL --prev-install-log /path/to/koha-install-log
- make
- make test
- sudo make upgrade
-
-Koha 3.4.x no longer stores items in biblio records so as part of the
-upgrade you will need to do the following two steps, they can take a
-long time (several hours) to complete for large databases
-
- misc/maintenance/remove_items_from_biblioitems.pl --run
- misc/migration_tools/rebuild_zebra.pl -b -r
-
-Uninstall Instructions
-=============================
-1) Stop Services:
-   $ sudo a2dissite koha
-   $ sudo rm /etc/apache2/sites-available/koha
-   $ sudo apache2ctl restart
-
-   $ sudo update-rc.d koha-zebra-daemon remove
-   $ sudo rm /etc/init.d/koha-zebra-daemon
-
-2) Remove Database and Indexes
-
-   # MySQL
-   $ mysql -u<kohauser> -p<kohapassword>
-   > drop database koha;
-
-   # Zebra Indexes
-   $ zebraidx -c <prefix>/etc/zebradb/zebra-biblios.cfg -g iso2709 -d biblios init
-   $ zebraidx -c <prefix>/etc/zebradb/zebra-authorities.cfg -g iso2709 -d authorities init
-
-3) Remove Koha Install Directories and Configuration Files
-   Don't forget about any crontab entries
-
-Tested on the following operating environments
-==============================================
-- Debian Lenny 5.0
-
-Other Notes
-=====================
-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., 59 Temple Place,
-Suite 330, Boston, MA  02111-1307 USA
-
diff --git a/INSTALL.fedora7 b/INSTALL.fedora7
deleted file mode 100644
index 6694eb7..0000000
--- a/INSTALL.fedora7
+++ /dev/null
@@ -1,1264 +0,0 @@
-=============================
-Installation Guide for Installing Koha on Fedora Core 7
-=============================
-
-Copyright (C) 2008, Department of Computer and Information
-Science, Library of the University Lyon 2, France
-
-Translated by: Google with help from Joshua Ferraro
-(jmf AT liblime DOT com)
-
-Feedback/bug reports: Koha Developer's List: 
-http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
-
-This document last modified: 30 April 2008
-
-Installation Instructions
-=============================
-This document was prepared in order to help you discover (or
-test) Koha (Integrated Library System).
-
-The installation of Linux system described below is a basic, 
-it is not designed for a production server (e.g., security, 
-load balancing .. are not described).
-
-This document describes the different stages of installing 
-the software to version 3.00 koha beta on a Fedora 7 Linux.
-Your mileage may vary with different RedHat distributions.
-
-1. LINUX SYSTEM INSTALLATION
-
-System: Linux Fedora 7 (May 2007) Linux Redhat
-The Linux distribution Fedora 7 is downloadable from the 
-Fedora website:
-
-http://fedoraproject.org/
-
-The Fedora website also offers additional content such as
-documentation, FAQ, etc.
-
-Using the entire disk (removal of existing partitions and 
-therefore permanent loss of data stored on the disk) is
-the easiest method; This is not the best practice for a 
-production system, but is useful for testing purposes.
-
-Check that the computer is able to boot from a CD or DVD,
-perhaps by changing the boot order in the bios.
-
-Place the CD or DVD in the drive and restart the machine.
-
-Settings when installing Linux (French specific, may not apply)
-
-Language: French (French)
-Choice of keyboard: French (Latin9) recognized by default.
-Removal of existing Linux partitions
-Host Name: NomMachine.NomDomaine.fr
-Time zone: Europe/Paris. Click on the map or select from the
-list and check system clock to UTC.
-Informing the root password, which is the administrator account.
-
-The installation of the system will automatically start and may
-take between 15 to 30 minutes to complete.
-
-Click Restart.
-
-Enter the default options.
-For Firewall, check www http server (configuration of the firewall).
-Create a user koha with the password kohakoha (eg)
-The koha is therefore created and the group koha which this user belongs.
-
-Setting the homepage
-Enter root, then the password root.
-
-With Fedora, GNOME is the default environment.
-
-To use KDE default (as we at Lyon 2 have done), close the session,
-having recovered the KDE packages on Add/Remove software. For the
-french interface,  go through the package manager and seek, then
-install kde-french.
-
-On the login prompt, go to Options è Select Session and choose KDE. A
-the next connection, the system will ask if you want to use KDE or 
-GNOME by default. Also on the login prompt, go to Languages and 
-choose the French.
-
-The installation of Linux system is complete. 
-
-1.2 Verification of system settings
-
-You must be logged in as administrator of the system (root).
-
--- Make sure the environment is KDE. The taskbar is at the
-bottom of the screen and left of this bar is the menu K.
-
--- Check that the system is in french and click on K.
-
--- Create a few shortcuts in making a drag and drop the following
-items in the taskbar:
-
-Menu K è è Internet Firefox Web Browser
-Menu K è è Terminal System
-Menu K è è Services System Management Services
-
--- Check that the koha and the group koha are created:
-Menu K è è System Users and Groups
-
--- Check that web servers Apache and MySQL are installed.
-Menu K è è Services System Management Services
-
-The lines httpd (demon Apache) and mysqld (demon MySQL) must be 
-included in the line of services. You must configure these two 
-services so that they are lançés automatically at boot. Check th
-e box to the left of the service, click the Start button at the 
-top of the list, if the two services start without any problem, 
-validate the change of manager services by clicking on Save or 
-File menu è save changes
-
-Close the services manager.
-
-If one or both services are absent, it is necessary to install Apache
-and/or MySQL. To do so, go in the Package Manager, choose and 
-select Apache server and/or MySQL. In the case of MySQL, we must
-not forget MySQL-devel (available in packages optional). Finally,
-start the installation.
-
-1.3 Installation of additional software
-
-The software installation Koha requires adding additional programs
-to your system linux based on a standard installation. This list may
-be slightly different depending on the version and support (Live
-CD or DVD).
-
-List of software to add
-Libxml2-devel
-Libxslt-devel
-TCL
-Bzip2-devel
-GCC
-Perl-CPAN
-Perl-ExtUtils-AutoInstall
-Ncftp
-Wget
-Gdbm-devel
-Expat-devel
-Tcp_wrappers-devel
-Libicu (see below)
-git-1.5.3.7-1.fc8 [is not necessary for the installation of koha, but
-  useful if one participates in the development of koha.]
-PhPMyAdmin
-Libicu
-Libicu-devel
-
-To add software Linux Fedora, you have two tools
-
-A graphical tool
-Menu K è è System Add/Remove software
-
-Click on the Search tab
-Enter the name of the software in the zone entry and click the
-Search button;
-
-The software that match your search are listed.
-Make sure the check box is checked if the tick and click Apply to
-add software to your system.
-
-A tool mode Terminal YUM
-The YUM documentation is available on the Fedora site
-
-Open a terminal window (K Menu è è Terminal System)
-
-Examples of using YUM:
-Is the web browser Firefox installed?
-Type the command: yum list firefox
-This command will launch the software yum, and asked it to list
-the information on the Firefox.
-Yum visit the various deposits of software for Fedora (fedora,
-updates, etc.). And said that the firefox software is installed
-on this machine (version 2.0.0.3-4.fc7) and there is a
-downloadable version newer ( version 2.0.0.10-2.fc7)
-
-************************************************** ****************
-Screenshot
-[root @ nomduserveur ~] # yum list firefox
-Loading "installonlyn" plugin
-fedora 100% |=========================| 2.1 kB 00:00
-updates 100% |=========================| 2.3 kB 00:00
-Installed Packages
-firefox.i386 2.0.0.3-4.fc7 installed
-Packages Available
-firefox.i386 2.0.0.10-2.fc7 updates
-************************************************** ****************
-
-Updated software firefox by the command yum update firefox.
-YUM inspect the system to check whether it is necessary to update
-other software used by firefox.
-confirm your request y
-
-Installation of new software by the command yum install firefox.
-
-
-Verification
-Check whether these programs are installed using the command rpm
-with option-q followed by the name of the software, possibly separated
-by a space.
-Example:
-rpm-q libxml2-devel libxslt-devel tcl bzip2-devel gcc mysql-devel-perl CPAN perl-ExtUtils-AutoInstall ncftp wget gdbm devel-expat-devel tcp_wrappers-devel
-
-NB: The tool rpm (Redhat Package Manager) allows facilities
-management software under the Linux distribution Fedora.
-
-Special case: the library libicu under Fedora 8
-Under Fedora 8:
-The library libicu, is standard in the distribution Fedora.
-Version 3.8 of this library installed with Fedora 8 is too recent
-and poses a problem when installing software and ZEBRA YAZ, the
-company Indexdata who compiled these two programs with version 3.6
-of the library, it is therefore necessary to remove the libicu 3.8
-library and replace it with version 3.6.
-
-Uninstall the library libicu - 3.8-1.fc8
-
-With the web browser, download the library libicu-3.6-18.fc7.i386.rpm
-(old version, choose the version Fedora 7 for i386) here:
-
-  HYPERLINK "http://rpmfind.net/linux/rpm2html/search.php?query=libicutu.so.36" http://rpmfind.net/linux/rpm2html/search.php?query=libicutu.so.36
-
-Download the package rpm
-Open a terminal window, a menu K> System> Terminal
-find the file libicu-3.6-18.fc7.i386.rpm
-Desktop CD
-ls-l
-
-decompress the archive with the command: rpm-ivh libicu-3.6-18.fc7.i386.rpm
-
-Setting 1.4 for the use of unicode
-
-VERY IMPORTANT
-UNICODE must be set up correctly before installing Koha.
-
-1.4.1 The Linux system is it configured to use UNICODE?
-
-For more information:
-  HYPERLINK "http://wiki.koha-community.org/wiki/Encoding_and_Character_Sets_in_Koha" http://wiki.koha-community.org/wiki/Encoding_and_Character_Sets_in_Koha
-
-To check, open a terminal window and type the locale.
-You must obtain:
-LANG = en_GB.UTF-8
-...
-
-1.4.2 The web server Apache 2 is it configured to use UNICODE?
-
-To verify, using a text editor, open the httpd.conf file located
-in /etc/httpd/conf and look if it contains the directive:
-
-AddDefaultCharset UTF-8
-
-1.4.3 The MySQL server is it configured to use UNICODE?
-
-NB: mysqld service must be started.
-In a Terminal window, type the command mysql, then an SQL
-to display variables content server configuration.
-Text of query:
-
-show where variable_name variables like 'char%';
-
-******************************************************************
-Screenshot
-mysql> show where variable_name variables like 'char%';
-+--------------------------+----------------------------+
-| Variable_name            | Value |
-+--------------------------+----------------------------+
-| Character_set_client     | latin1 |
-| Character_set_connection | latin1 |
-| Character_set_database   | latin1 |
-| Character_set_filesystem | Binary |
-| Character_set_results    | latin1 |
-| Character_set_server     | latin1 |
-| Character_set_system     | utf8   |
-| Character_sets_dir       | /usr/share/mysql/charsets/ |
-+--------------------------+----------------------------+
-8 rows in set (0.00 sec)
-******************************************************************
-
-Some variables are not properly configured (latin1), so we have to
-change the configuration file server MySQL.
-Leaving the mysql client by the command quit.
-
-Using a text editor, open the file my.cnf located in the directory /
-etc and add these 3 lines in the section [mysqld]:
-
-default-character-set = utf8
-character-set-server = utf8
-skip-character-set-client-handshake
-
-To ensure that this change is taken into account, restart the server
-Mysql using the following command in a terminal window:
-mysqld restart service
-
-Check that changing the parameters was taken into account by reconnecting
-the MySQL server with the command mysql, then typing the query:
-
-show where variable_name variables like 'char%';
-The variables contain well utf8 /
-Quit MySQL by the command quit
-
-******************************************************************
-Screenshot
-  MySQL
-Welcome to the MySQL monitor. Commands end with; or \g.
-Your MySQL connection id is 2
-Server version: 5.0.45 Source distribution
-
-Type 'help,' or '\h' for help. Type '\c' to clear the buffer.
-
-mysql> show where variable_name variables like 'char%';
-+--------------------------+----------------------------+
-| Variable_name            | Value |
-+--------------------------+----------------------------+
-| Character_set_client     | utf8   |
-| Character_set_connection | utf8   |
-| Character_set_database   | utf8   |
-| Character_set_filesystem | Binary |
-| Character_set_results    | utf8   |
-| Character_set_server     | utf8   |
-| Character_set_system     | utf8   |
-| Character_sets_dir       | /usr/share/mysql/charsets/ |
-+--------------------------+----------------------------+
-8 rows in set (0.00 sec)
-
-MySQL> quit
-Bye
-******************************************************************
-
-Some information for the use of MySQL here: HYPERLINK "http://doc.ubuntu-fr.org/mysql" http://doc.ubuntu-fr.org/mysql
-
-2 INSTALLATION OF ZEBRA SERVER INDEXING
-
-For libraries that must manage several tens of thousands of bib records
-it is recommended that you install the server indexing ZEBRA. Otherwise
-(far fewer records to manage), it is not necessary to install ZEBRA.
-
-The software installation ZEBRA requires prior installation of software
-modules YAZ client and server Z3950.
-
-The installation is as administrator (root).
-
-NB: the creation of files yaz and zebra is only necessary if you use
-the graphical
-
-Website for downloads: HYPERLINK "http://www.indexdata.dk/software/" http://www.indexdata.dk/software/
-
-
-2.1 Installation of the software YAZ
-
-Creating a file needed for the installation of Yaz
-Create files redhat in the directory /usr/src
-SOURCES Create a folder in the directory /usr/src/redhat
-NB: redhat lowercase and uppercase SOURCES.
-
-Installing Yaz by the command:
-rpm-ivh ftp://ftp.indexdata.dk/pub/yaz/redhat/fc6/ *- 3.0.24 *.*. rpm
-Check the final published version and replace -3.0.24 by the number
-of the current version.
-
-Check the installation by the command:
-rpm-q libyaz3 libyaz3-devel yaz yaz-debuginfo yaz-icu-yaz illclient yaz-3.0.24-1.src
-
-
-2.2 Installation of the software ZEBRA
-
-To install packages from the version 2.0.26-1:
-rpm-ivh ftp://ftp.indexdata.dk/pub/zebra/redhat/fc6/ *- 2.0.26-1 .*. rpm
-Check dernère published version and replace -2.0.26-1 by the
-number of the current version.
-
-Check the installation by the command:
-rpm-q libidzebra-2.0-2.0-libidzebra modules idzebra-2.0 idzebra-2.0-debuginfo libidzebra-2.0-devel idzebra-2.0
-
-3 INSTALLATION OF KOHA 3.0
-
-Important Reminder:
-Make sure, BEFORE you install koha, that the system Linux, the MySQL
-server and the Apache server are configured to use the Unicode
-format (cf. 1.4).
-
-
-Download koha here: HYPERLINK "http://download.koha-community.org/koha-3.00.00-beta2.tar.gz" http://download.koha-community.org/koha-3.00.00-beta2.tar.gz
-
-3.1 Decompression of the archive koha 3.0
-
-Save the file in the directory /usr/share.
-Opening a window Terminal, and placing himself in the directory /usr/share by the command:
-cd /usr/share
-verify the presence of compressed file koha by the command:
-ls-l * Koha
-Unzip the file with the command tar:
-tar-xvf koha-3.00.00-beta2.tar.gz
-You get a folder koha-3.00.00-beta2, which contains folders and files needed for the installation of software koha.
-
-NB: the installation procedure is described in the text files "INSTALL"
-and "INSTALL debian", the second is more complete.
-
-
-3.2 Protect access to the database server MySQL
-
-Update the password root server MySQL (by default, unprotected access to databases)
-In a Terminal window:
-sudo password mysqladmin Koha
-
-3.3 Creation of a database MySQL test
-
-The basic test is immediately under Fedora. We must remove the existing basic
-test and then create a basic test MySQL provisional, which will be deleted
-after installing koha.
-
-mysql-u root-p
-Enter password: kohakoha (eg)
-
-mysql> drop test database;
-Query OK, 0 rows affected (0.06 sec)
-
-mysql> create database test;
-Query OK, 1 row affected (0.00 sec)
-
-mysql> grant all on test .* to 'test' @ 'localhost' identified by 'test';
-Query OK, 0 rows affected (0.00 sec)
-
-MySQL> flush privileges;
-Query OK, 0 rows affected (0.00 sec)
-
-MySQL> quit
-Bye
-
-
-3.4 Creation of the MySQL database koha
-
-Creation of the database, a user kohaadmin with password and defining its
-privileges.
-
-In a Terminal window:
-mysql-u root-p
-Enter password: type kohakoha (eg a password for root)
-Create Database Koha;
-grant all on koha .* to 'kohaadmin' @ 'localhost' identified by 'kohakoha';
-flush privileges;
-quit;
-
-3.5 Configuration CPAN
-
-The koha software is written in Perl. You have access to deposits modules
-written in perl (CPAN) to download some libraries on your system. The Perl
-language of origin is installed on most Linux distributions, but some modules
-must be installed.
-During the first use of cpan, you must configure.
-
-Open a terminal window and type the command cpan
-
-During the installation of modules, validate the additions of modules when
-necessary. Indicate the continent and the country. Select 3 or 4 CPAN deposits
-in the proposed list.
-
-It is possible to force the installation of a module. In this case, in a
-Terminal window, type:
-
-cpan
-then force install NomDuModule
-then quit
-
-******************************************************************
-Screenshot:
-/usr/lib/perl5/5.8.8/CPAN/Config.pm initialized.
-
-
-CPAN is the world-wide archive of perl resources. It consists of about
-100 sites that all replicate the same contents all around the globe.
-Many countries have at least one CPAN site already. The resources
-found on CPAN are easily accessible with the CPAN.pm module. If you
-want to use CPAN.pm, you have to configure it properly.
-
-If you do not want to enter a dialog now, you can answer 'no' to this
-question and I'll try to autoconfigure. (Note: you can revisit this
-dialog anytime later by typing 'o conf init' at the cpan prompt.)
-
-Are you ready for manual configuration? [yes]
-
-
-The following questions are intended to help you with the
-configuration. The CPAN module needs a directory of its own to cache
-important index files and maybe keep a temporary mirror of CPAN files.
-This may be a site-wide directory or a personal directory.
-
-
-
-First of all, I'd like to create this directory. Where?
-
-CPAN build and cache directory? [/ root/.cpan]
-
-
-If you want, I can keep the source files after a build in the cpan
-Home directory. If you choose so then future builds will take the
-files from there. If you do not want to keep them, answer to the 0
-Next question.
-
-
-
-How big should the disk cache be for keeping the build directories
-with all the intermediate files?
-
-Cache size for build directory (in MB)? [10]
-
-
-By default, each time the CPAN module is started, scanning cache
-is performed to keep the cache size in sync. To prevent from this,
-disable the cache scanning with 'never'.
-
-Perform cache scanning (atstart or never)? [atstart]
-
-
-To considerably speed up the initial CPAN shell startup, it is
-Storable possible to use to create a cache of metadata. If Storable
-is not available, the normal index mechanism will be used.
-
-Cache metadata (yes/no)? [yes]
-
-
-The next option deals with the charset your terminal supports. In
-general CPAN is English speaking territory, thus the charset does not
-matter much, but some of the aliens out there who upload their
-software to CPAN bear names that are outside the ASCII range. If your
-terminal supports UTF-8, you say no to the next question, if it
-supports ISO-8859-1 (also known as LATIN1) then you say yes, and if it
-neither supports nor, your answer does not matter, you will not be
-able to read the names of some authors anyway. If you answer no, names
-will be output in UTF-8.
-Your terminal expects iso-8859-1 (yes/no) [yes]
-
-If you have one of the readline packages (Term: ReadLine: Perl,
-Term: ReadLine: Gnu, possibly others) installed, the interactive CPAN
-Shell will have history support. The next two questions deal with the
-filename of the history file and with its size. If you do not want to
-set this variable, please hit SPACE RETURN to the following question.
-
-File to save your history? [/root/.cpan/histfile]
-Number of lines to save? [100]
-
-
-The CPAN module can detect when a module that which you are trying to
-build depends on prerequisites. If this happens, it can build the
-prerequisites for you automatically ('follow'), ask you for
-confirmation ('ask'), or just ignore them ('ignore'). Please set your
-policy to one of the three values.
-
-Policy on building prerequisites (follow, ask or ignore)? [ask]
-
-
-The CPAN module will need a few external programs to work properly.
-Please correct me, if I guess the wrong path for a program. Do not
-panic if you do not have some of them, just press ENTER for those. To
-disable the use of a download program, you can type a space followed
-by ENTER.
-
-
-Where is your gzip program?          [/bin/gzip]
-Where is your tar program?           [/bin/tar]
-Where is your unzip program?         [/usr/bin/unzip]
-Where is your make program?          [/usr/bin/make]
-Where is your links program?         [/usr/bin/links]
-Where is your wget program?          [/usr/bin/wget]
-Where is your ncftpget program?      [/usr/bin/ncftpget]
-Where is your ftp program?           [/usr/bin/ftp]
-Where is your gpg program?           [/usr/bin/gpg]
-What is your favorite pager program? [/usr/bin/less]
-What is your favorite shell?         [/bin/bash]
-
-
-Every Makefile.PL is run by perl in a separate process. Likewise we
-run 'make' and 'make install' in processes. If you have any
-parameters (eg PREFIX, LIB, UNINST or the like) you want to pass
-to the calls, please specify them here.
-
-If you do not understand this question, just press ENTER.
-
-Parameters for the 'perl Makefile.PL' command?
-Typical frequently used settings:
-
-     PREFIX = ~/perl non-root users (please see manual for more hints)
-
-
-Every Makefile.PL is run by perl in a separate process. Likewise we
-run 'make' and 'make install' in processes. If you have any
-parameters (eg PREFIX, LIB, UNINST or the like) you want to pass
-to the calls, please specify them here.
-
-If you do not understand this question, just press ENTER.
-
-Parameters for the 'perl Makefile.PL' command?
-Typical frequently used settings:
-
-     PREFIX = ~/perl non-root users (please see manual for more hints)
-
-Your choice: []
-Parameters for the 'make' command?
-Typical frequently used setting:
-
-     J3 dual-processor system
-
-Your choice: []
-Parameters for the 'make install' command?
-Typical frequently used setting:
-
-     UNINST = 1 to always uninstall potentially conflicting files
-
-Your choice: []
-
-
-Sometimes you may wish to leave the processes run by CPAN alone
-without caring about them. As sometimes contains the Makefile.PL
-question you're expected to answer, you can set a timer that will
-kill a 'perl Makefile.PL' process after the specified time in seconds.
-
-If you set this value to 0, these processes will wait forever. This is
-the default and recommended setting.
-
-
-Timeout for inactivity during Makefile.PL? [0]
-
-
-If you're accessing the net via proxies, you can specify them in the
-CPAN configuration or via environment variables. The variable in
-the $ CPAN:: Config takes precedence.
-
-Your ftp_proxy?
-Your http_proxy?
-Your no_proxy?
-You have no/root/.cpan/sources/MIRRORED.BY
-   I'm trying to fetch one
-CPAN: LWP:: UserAgent loaded ok
-Fetching with LWP:
-   ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
-Fetching with LWP:
-   ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz
-Fetching with Net: FTP:
-   ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
-
-
-Now we need to know where your favorite CPAN sites are located. Push
-a few sites onto the array (just in case the first on the array will not
-work). If you are mirroring CPAN to your local workstation, specify a
-file: URL.
-
-First, pick a nearby continent and country (you can pick several of
-each, separated by spaces, or none if you just want to keep your
-existing selections). Then, you will be presented with a list of URLs
-CPAN of mirrors in the countries you selected, along with previously
-selected URLs. Select some of those URLs, or just keep the old list.
-Finally, you will be prompted for any extra URLs - file:, ftp:, or
-http:-- that host a CPAN mirror.
-
-(1) Africa
-(2) Asia
-(3) Central America
-(4) Europe
-(5) North America
-(6) Oceania
-(7) South America
-Select your continent (or several nearby continents) [] 4
-Sorry! since you do not have any existing picks, you must make a
-Geographic selection.
-
-(1) Austria
-(2) Belgium
-(3) Bosnia and Herzegovina
-(4) Bulgaria
-(5) Croatia
-(6) Czech Republic
-(7) Denmark
-(8) Finland
-(9) France
-(10) Germany
-(11) Greece
-(12) Hungary
-(13) Iceland
-(14) Ireland
-(15) Italy
-(16) Latvia
-15 more items, hit SPACE RETURN to show them
-Select your country (or several nearby countries) [] 9
-Sorry! since you do not have any existing picks, you must make a
-Geographic selection.
-
-(1) ftp://cpan.cict.fr/pub/CPAN/
-(2) ftp://cpan.mirrors.easynet.fr/pub/ftp.cpan.org/
-(3) ftp://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/cpan/
-(4) ftp://ftp.crihan.fr/mirrors/ftp.cpan.org/
-(5) ftp://ftp.erasme.org/pub/CPAN/
-(6) ftp://ftp.inria.fr/pub/CPAN/
-(7) ftp://ftp.oleane.net/pub/CPAN/
-(8) ftp://ftp.pasteur.fr/pub/computing/CPAN/
-(9) ftp://ftp.u-strasbg.fr/CPAN
-(10) ftp://mir1.ovh.net/ftp.cpan.org
-(11) ftp://miroir-francais.fr/pub/cpan/
-(12) http://cpan.ebsd.net/
-(13) http://cpan.enstimac.fr/
-(14) http://cpan.univ-paris.com
-Select URLs as many as you like (by number),
-put them on one line, separated by blanks, e.g. '1 4 5 [] 1 2 4 10
-
-Enter another URL or RETURN to quit: []
-New set of picks:
-   ftp://cpan.cict.fr/pub/CPAN/
-   ftp://cpan.mirrors.easynet.fr/pub/ftp.cpan.org/
-   ftp://ftp.crihan.fr/mirrors/ftp.cpan.org/
-   ftp://mir1.ovh.net/ftp.cpan.org
-
-
-commit: wrote /usr/lib/perl5/5.8.8/CPAN/Config.pm
-Terminal does not support AddHistory.
-
-cpan shell - CPAN exploration and modules installation (v1.7602)
-ReadLine support available (try 'install Bundle: CPAN')
-
-cpan> quit
-************************************************** ****************
-
-Type quit to break cpan
-
-
-
-3.6 Installation of additional modules from CPAN
-
-3.6.1 modules installation
-
-Install Command: cpan NomDuModule to install and validate the default
-choice for each question.
-
-List of modules required to koha need to install:
-Class::Accessor
-XML::SAX
-XML::RSS
-XML::LibXML::SAX
-MARC::Record
-MARC::Charset
-MARC::Charset::Constants
-MARC::File::XML
-MARC::Crosswalk::DublinCore
-Net::Z3950::ZOOM
-Net::LDAP::Filter
-HTML::Template::Pro
-Data::ICal
-GD::Barcode::UPCE
-Algorithm::CheckDigits::M43_001
-Biblio::EndnoteStyle
-Schedule::At
-Barcode::Code128
-CGI::Session
-Class::Factory::Util
-Date::ICal
-Date::Manip
-Lingua::Stem
-List::MoreUtils
-PDF::Reuse
-PDF::Reuse::Barcode
-PDF::API2
-PDF::API2::Util
-Text::CSV
-Text::CSV_XS
-XML::Dumper
-XML::LibXSLT
-XML::Simple
-YAML::Syck
-Unix::Syslog
-POE
-Date::Calc
-
-
-3.6.2 Installation of modules - Cases difficult
-
-In some cases, we must force the installation of modules. The two
-modules (and sometimes others) need to force the installation.
-Type the command cpan, then:
-
-force install Mail: Sendmail ======= force install ok For this unit
-should be Ctrl + C, when he attempted to send an e-mail.
-force install Net:: LDAP ======= force install ok
-
-
-
-3.6.3 Installing module access MySQL DBMS
-
-Installation of the connector DBD::mysql for perl
-
-We will have to rebuild this module because koha requires the latest version.
-
-In a window Terminal:
-cpan
-cpan> o conf makepl_arg
-     (search parameters for the CPAN)
-
-cpan> o conf makepl_arg "- testdb = test - testuser = test - testpass = test"
-
-cpan> install DBD:: mysql
-
-cpan> o conf makepl_arg''
-     (clean to avoid interference with future installations modules).
-
-cpan> quit
-
-
-Destruction of the basis of test MySQL
-
-In a terminal window
-mysql-u root-p
-Enter password: kohakoha
-Database drop test;
-quit
-
-
-3.7 Test SAX Parser
-
-In a Terminal window, go to the installation directory koha.
-CD /usr/share/koha-3.00.00-alpha/misc
-launch the script sax_parser_print.pl
-./sax_parser_print.pl
-which returns: XML::LibXML::SAX = HASH (0x895a3fc)
-
-The file /usr/lib/perl5/site_perl/5.8.8/XML/SAX/ParserDetails.ini should be amended to
-contain the final (save the other lines to comment or delete):
-[XML::LibXML::SAX::Parser]
-Http://xml.org/sax/features/namespaces = 1
-
-
-3.8 Installation of Koha
-
-Opening a window Terminal and placed in the directory koha
-CD /usr/share/koha-3.00.00-alpha
-launch the script Makefile.PL
-perl Makefile.PL
-
-Most options are to be validated by default. The data to information are
-password based koha, format Marc (Marc21 or Unimarc), language indexing
-Zebra (or en). It should be noted that the three ports will be open:
-3306, 9998, 9999.
-
-************************************************** ****************
-Screenshot
-By default, Koha can be installed in one of three ways:
-
-Standard: Install files in conformance with the Filesystem
-           Hierarchy Standard (FHS). This is the default mode
-           and should be used when installing a production
-           Koha system. On Unix systems, root access is
-           needed to complete a standard installation.
-
-single: Install files under a single directory. This option
-           is useful for installing Koha without root access, eg,
-           on a web host that allows CGI scripts and MySQL databases
-           but requires the user to keep all files under the user's
-           HOME directory.
-
-dev: Create a set of symbolic links and configuration files to
-           Koha allow to run directly from the source distribution.
-           This mode is useful for developers who want to run
-           Koha from a git clone.
-
-Installation mode (dev, single, standard) [standard]
-
-Please specify the directory under which most Koha files
-will be installed.
-
-Note that if you are planning in installing more than
-one instance of Koha, you may want to modify the last
-component of the directory path, which will be used
-as the package name in the FHS layout.
-
-Base installation directory [/usr/share/koha]
-
-Since you are using the 'standard' install
-mode, you should run 'make install' as root.
-However, it is recommended that a non-root
-user (on Unix and Linux platforms) have
-ownership of Koha's files, including the
-Zebra indexes if applicable.
-
-Please specify a user account. This
-user account does not need to exist
-right now, but it needs to exist
-before you run 'make install'. Please
-note that for security reasons, this
-user should not be the same as the user
-account Apache runs under.
-
-User account [koha]
-
-Please specify the group that should own
-Koha's files. As above, this group need
-not exist right now, but should be created
-before you run 'make install'.
-
-Group [koha]
-
-Please specify which database engine you will use
-to store data in Koha. The choices are MySQL and
-PostgreSQL; please note that at the moment
-PostgreSQL support is highly experimental.
-
-DBMS to use (Pg, mysql) [mysql]
-
-Please specify the name or address of your
-database server. Note that the database
-does not have to exist at this point, it
-can be created after running 'make install'
-and before you try using Koha for the first time.
-
-Database server [localhost]
-
-Please specify the port used to connect to the
-DMBS [3306]
-
-Please specify the name of the database to be
-used by Koha [koha]
-
-Please specify the user that owns the database to be
-used by Koha [kohaadmin]
-
-Please specify the password of the user that owns the
-database to be used by Koha [katikoan] kohakoha
-
-Koha can use the Zebra search engine for high-performance
-searching of bibliographic and authority records. If you
-have installed the Zebra software and would like to use it,
-please answer 'yes' to the following question. Otherwise,
-Koha will default to using its internal search engine.
-
-Please note that if you choose *NOT* to install Zebra,
-koha-conf.xml will still contain some references to Zebra
-settings. Those references will be ignored by Koha.
-
-
-Install the Zebra configuration files? (no, yes) [yes]
-
-Since you've chosen to use Zebra with Koha,
-you must specify the primary MARC format of the
-records to be indexed by Zebra.
-
-Koha provides Zebra configuration files for MARC 21
-and UNIMARC.
-
-MARC format for Zebra indexing (marc21, unimarc) [marc21] unimarc
-
-Koha supplies Zebra configuration files tuned for
-searching either English (en) or French (fr) MARC
-records.
-
-
-Primary language for Zebra indexing (en, fr) [en] fr
-
-Please specify Zebra database user [kohauser]
-
-Please specify the Zebra database password [zebrastripes]
-
-Since you've chosen to use Zebra, you can enable the SRU/
-Z39.50 Server if you so choose, but you must specify a
-few configuration options for it.
-
-Please note that if you choose *NOT* to configure SRU,
-koha-conf.xml will still contain some references to SRU
-settings. Those references will be ignored by Koha.
-
-
-Install the SRU configuration files? (no, yes) [yes]
-
-SRU Database host? [localhost]
-
-SRU port for bibliographic data? [9998]
-
-SRU port for authority data? [9999]
-
-
-
-
-Koha will be installed with the following configuration parameters:
-
-DB_HOST localhost
-DB_NAME koha
-DB_PASS koha
-DB_PORT 3306
-DB_TYPE mysql
-DB_USER kohaadmin
-INSTALL_BASE /usr/share/koha
-INSTALL_MODE standard
-INSTALL_SRU yes
-INSTALL_ZEBRA yes
-KOHA_GROUP koha
-KOHA_USER koha
-ZEBRA_LANGUAGE fr
-ZEBRA_MARC_FORMAT unimarc
-ZEBRA_PASS zebrastripes
-ZEBRA_SRU_AUTHORITIES_POR9999
-ZEBRA_SRU_BIBLIOS_PORT 9998
-ZEBRA_SRU_HOST localhost
-ZEBRA_USER kohauser
-
-and in the following directories:
-
-DOC_DIR /usr/share/koha/doc
-INTRANET_CGI_DIR /usr/share/koha/intranet/cgi-bin
-INTRANET_TMPL_DIR /usr/share/koha/intranet/htdocs/intranet-tmpl
-INTRANET_WWW_DIR /usr/share/koha/intranet/htdocs
-KOHA_CONF_DIR /etc/koha
-LOG_DIR /var/log/koha
-MAN_DIR /usr/share/koha/man
-MISC_DIR /usr/share/koha/misc
-OPAC_CGI_DIR /usr/share/koha/opac/cgi-bin
-OPAC_TMPL_DIR /usr/share/koha/opac/htdocs/opac-tmpl
-OPAC_WWW_DIR /usr/share/koha/opac/htdocs
-PERL_MODULE_DIR /usr/share/koha/lib
-SCRIPT_DIR /usr/share/koha/bin
-ZEBRA_CONF_DIR /etc/koha/zebradb
-ZEBRA_DATA_DIR /var/lib/koha/zebradb
-ZEBRA_LOCK_DIR /var/lock/koha/zebradb
-ZEBRA_RUN_DIR /var/run/koha/zebradb
-
-
-To change any configuration setting, please run
-perl Makefile.PL again. To override one of the target
-directories, you can do so on the command line like this:
-
-perl Makefile.PL PERL_MODULE_DIR=/usr/share/perl/5.8
-
-You can also set different default values for parameters
-or override directory locations by using environment variables.
-
-For example:
-
-export DB_USER=my_koha
-perl Makefile.PL
-
-or
-
-DB_USER=my_koha DOC_DIR=/usr/local/info perl Makefile.PL
-
-Checking if your kit is complete...
-Looks good
-Writing Makefile for koha
-************************************************** ****************
-
-Taper la commande make
-
-Taper la commande make test (ne pas tenir compte des erreurs listées)
-
-Taper la commande make install
-
-
-
-4 CONFIGURATION POST INSTALLATION
-
-.1 Saving environment variables
-
-As indicated at the end of the installation (see screen shot), we must add two environment variables:
-
-Entering the two lines below a window in Terminal:
-export KOHA_CONF=/etc/koha/koha-conf.xml
-export PERL5LIB=/usr/share/koha/lib
-
-Seizures of this event, both variables are recorded on a temporary basis. If these variables are definitely enr
-egistrées we must add these two lines in the file. bash_profile or. bashrc users root and koha.
-
-
-4.2 Creation of the database
-The base is not created. It is a bug, we must launch a script to recreate it. In a Terminal window, type:
-mysql -user=kohaadmin -password=kohakoha koha </usr/share/koha-3.00.00-alpha/installer/data/mysql/kohastructure.sql;
-
-Explanation:
-mysql è launches client mysql
--- user = kohaadmin è behalf of the user base
--- password = kohakoha è password for this user
-koha è the name of the database
-<È means setting the result of a script (here, the base koha)
-/usr/share/koha-3.00.00-alpha/installer/data/mysql/kohastructure.sql è address sql script to execute
-Do not forget the sign at the end of the investigation.
-
-To check if the base is well rebuilt: mysql-u-p kohaadmin
-Enter password: kohakoha
-
-
-******************************************************************
-Screenshot
-Welcome to the MySQL monitor. Commands end with; or \g.
-Your MySQL connection id is 51
-Server version: 5.0.45 Source distribution
-
-Type 'help,' or '\h' for help. Type '\c' to clear the buffer.
-
-MySQL> use Koha;
-Reading table information for completion of table and column names
-You can turn off this feature to get a quicker startup with A -
-
-Database changed
-MySQL> show tables;
-+----------------------------+
-| Tables_in_koha |
-+----------------------------+
-| accountlines |
-| accountoffsets |
-| action_logs |
-| alert |
-| aqbasket |
-| aqbookfund |
-| aqbooksellers |
-| aqbudget |
-| aqorderbreakdown |
-| aqorderdelivery |
-| aqorders |
-| auth_header |
-| auth_subfield_structure |
-| auth_tag_structure |
-| auth_types |
-| authorised_values |
-| biblio |
-| biblio_framework |
-| biblioitems |
-| borrowers |
-| branchcategories |
-| branches |
-| branchrelations |
-| branchtransfers |
-| browser |
-| categories |
-| cities |
-| class_sort_rules |
-| class_sources |
-| currency |
-| deletedbiblio |
-| deletedbiblioitems |
-| deletedborrowers |
-| deleteditems |
-| ethnicity |
-| import_batches |
-| import_biblios |
-| import_items |
-| import_record_matches |
-| import_records |
-| issues |
-| issuingrules |
-| items |
-| itemtypes |
-| labels |
-| labels_conf |
-| labels_templates |
-| language_descriptions |
-| language_rfc4646_to_iso639 |
-| language_script_bidi |
-| language_script_mapping |
-| language_subtag_registry |
-| letter |
-| marc_matchers |
-| marc_subfield_structure |
-| marc_tag_structure |
-| matchchecks |
-| matcher_matchpoints |
-| matchpoint_component_norms |
-| matchpoint_components |
-| matchpoints |
-| notifys |
-| nozebra |
-| opac_news |
-| overduerules |
-| printers |
-| repeatable_holidays |
-| reports_dictionary |
-| reserveconstraints |
-| reserves |
-| reviews |
-| roadtype |
-| saved_reports |
-| saved_sql |
-| serial |
-| services_throttle |
-| sessions |
-| special_holidays |
-| statistics |
-| stopwords |
-| subscription |
-| subscriptionhistory |
-| subscriptionroutinglist |
-| suggestions |
-| systempreferences |
-| tags |
-| userflags |
-| virtualshelfcontents |
-| virtualshelves |
-| z3950servers |
-| zebraqueue |
-+----------------------------+
-94 rows in set (0.00 sec)
-
-mysql> quit
-******************************************************************
-
-4.3 Changing the configuration of the Apache server
-
-Create a link koha in the directory /etc/httpd/conf.d/ pointing to the configuration file of koha for apache.
-Open /etc/koha/koha-httpd.conf and paste the contents of this file at the end of /etc/httpd/conf/httpd.conf
-
-Editing httpd.conf located in the directory /etc/httpd/conf, so the Apache web server is reachable on port 8
-0 (standard) and also on port 8080.
-Find string Listen 80 and add a new line below with the string Listen 8080
-Restarting the service httpd. On a Terminal window, type service httpd restart.
-
-Lancer Zebra Server
-zebrasrv east /usr/bin
-with the name zebrasrv-2.0
-go to the directory /usr/bin
-cd /usr/bin
-koha become user by typing the command su:
-su Koha
-zebra start the server by the command:
-./zebrasrv-2.0-f /etc/koha/koha-conf.xml
-
-Starting the daemon Zebraqueue
-zebraqueue_daemon.pl is in /usr/share/koha/bin
-go in /usr/share/koha/bin
-cd /usr/share/koha/bin
-and launch the script zebraqueue_daemon.pl
-. /zebraqueue_daemon.pl
-
-
-4.4 loading data for tests
-
-This step helps to have some input in Koha for testing purposes (table cataloguing default, etc.).
-
-Disable temporarily SElinux
-SE-LINUX blocking access to KOHA.
-Menu K Hotel è è SElinux
-Then turn off Selinux and relaunch the service iptables
-
-Unlocking ports
-It must grant access to ports 3306, 9998 and 9999
-Menu K Hotel è è Firewall and SElinux
-Other ports and click Add button.
-When the 3 ports are added, click Apply, then click the button.
-
-Using the Web installer
-We must move the fr located in /usr/share/koha/intranet/cgi-bin/data/mysql en-US (installer points to the directory
-en-ing and not en).
-
-Connect to Koha: HYPERLINK "http://localhost:8080/" http://localhost:8080 and use the Web installer french (en-US).
-
--- Validate Step 1 (dependencies);
--- Step 2 (settings of the database on two screens);
--- A Phase 3, click on Install the basic settings (screen 1), select the declination Marc (Unimarc_complet in our
-Where Unimarc_lecture_pub; screen 2), select default settings and then click on Import (only settings obligat
-oires are checked by default; screen 3);
--- The screen 4 summarizes what has been imported, while low demand to opt for a configuration Zebra (our choice) or NoZebra;
--- Finally, the screen 5 indicates the end of the installation; then you just have to click Finish.
-
-Complements
-Connect to PhPMyadmin: HYPERLINK "http://localhost/phpmyadmin" http://localhost/phpmyadmin
-Connect to interface professional Koha: HYPERLINK "http://localhost:8080/" http://localhost:8080
-Connect to online catalogue Koha: HYPERLINK "http://localhost:80/" http://localhost:80
-
-Zebra is in /etc/koha
-The files perl Koha professional can be found in /usr/share/koha/intranet/cgi-bin (then a large repertoire by fonctionnal
-ities of SIGB)
-The files perl Koha public are in /usr/share/koha/koha/cgi-bin
diff --git a/INSTALL.opensuse b/INSTALL.opensuse
deleted file mode 100644
index 2ffb2fc..0000000
--- a/INSTALL.opensuse
+++ /dev/null
@@ -1,2894 +0,0 @@
-====== Installation Guide for Installing Koha 3 on openSUSE 11 ======
-
-Original version created by Ricardo Dias Marques - koha at ricmarques.net
-
-No liability for the contents of this document can be accepted.
-
-Feedback/bug reports: Koha Developer's List: 
-
-http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
-
-This document last modified: 02 December 2008
-
-
-===== Installation Instructions =====
-
-This document was prepared in order to help you discover (or test) Koha (Integrated Library System).
-
-The installation of Linux system described below is a basic, it is not designed for a production server (e.g., security, load balancing ... are not described).
-
-This document describes the different stages of installing the software Koha 3 on the openSUSE 11 Linux distribution 
-in a "new" computer, that is, a computer that will have its hard disk contents COMPLETELY ERASED to install openSUSE and Koha!
-
-In this example, it's assumed that your server gets an IP address by DHCP that will be later changed to 192.168.0.2. 
-
-You'll have to change this to the real IP address that your machine should get (or use DHCP, if that's the case).
-
-This tutorial assumes a Koha installation that does NOT use Zebra ("Zebra is a high-performance, general-purpose structured text indexing and retrieval engine" - http://www.indexdata.dk/zebra/). Additional steps would be required to set up Zebra for Koha.
-
-==== LINUX System Installation ====
-
-
-Download openSUSE 11 DVD at: 
-http://software.opensuse.org/
-
-Place the DVD in the drive and restart the machine.
-
-
-After the "Welcome" screen, you'll get a First menu, with the following options:
-
-----
-Boot from Hard Disk 
-
-Installation
-
-Repair Installed System
-
-Rescue System
-
-Firmware Test 
-
-Memory Test
-----
-
-Choose "Installation" (second command)
-
-
-=== "Initializing" screen ===
-
-(Dialog box appears saying "Probing Mouse")
-
-
-=== "Welcome" screen ===
-
-You'll see two Dropdown Lists: "Language" and "Keyboard Layout"
-
-This depends of your place and preference, naturally. 
-I live in Portugal, so I want a Portuguese Keyboard Layout but I prefer an Operating System in English. 
-So I leave the default option selected for "Language" (English (US)) 
-and change "Keyboard Layout" to "Portuguese".
-
-Check the "I Agree to the License Terms" checkbox (under the "License Agreement" textbox).
-
-Click the "Next" button.
-
-
-
-=== "System Probing" screen ===
-
-
-[just watch it...]
-
-
-
-=== "Installation Mode" screen ===
-
-
-Leave "New Installation" radio button checked
-
-Click the "Next" button
-
-
-=== "Initializing" screen ===
-
-
-[just watch it...]
-
-
-
-
-=== "Clock and Time Zone" screen ===
-
-
-Again, I live in Portugal, so I select the following options:
-
-"Region" listbox: click on "Europe"
-
-"Time Zone" listbox: click on "Portugal"
-
-I leave the "Hardware Clock Set To UTC" checkbox checked.
-
-Click the "Next" button
-
-
-=== "Desktop Selection" screen ===
-
-
-You should see four radio buttons: "GNOME", "KDE 4.0", "KDE 3.5" and "Other".
-
-Click on the "Other" radio button.
-
-Three radio buttons should become visible then:
-
-"XFCE Desktop"
-
-"Minimal X Window"
-
-"Minimal Server Selection (Text Mode)"
-
-click on this last "Minimal Server Selection (Text Mode)" radio button.
-
-Click the "Next" button
-
-
-
-=== "Suggested Partitioning" screen ===
-
-
-Partitioning choices are really up to you. In this example, I will create a 9 GB / ("root") partition and a 712 Swap Megs partition.
-
-So, to do this I click on the "Create Partition Setup..." button.
-
-=== "Preparing Hard Disk: Step 1" screen ===
-
-
-I click on the first radio button:
-"1: 1.IDE 10.0 GB,/dev/sda"
-
-I click the "Next" button
-
-
-=== "Preparing Hard Disk: Step 2" screen ===
-
-
-I uncheck the "Propose separate Home Partition" checkbox.
-
-I click the "Next" button.
-
-This takes me back to the Suggested Partitioning screen.
-
-
-=== "Suggested Partitioning" screen ===
-
-
-In my case, I now have this:
-
-- Create swap partition /dev/sda1 (760.8 MB)
-
-- Create root partition /dev/sda2 (9.2 GB with ext3)
-
-I click the "Next" button.
-
-
-=== "Create New User" screen ===
-
-
-I use this screen to create a regular user.
-
-User's full name: Your Full name (e.g: John Smith)
-
-Username: Your preferred username (e.g.: jsmith)
-
-Password:
-
-Confirm Password:
-
-I uncheck the "Use this password for System Administrator" checkbox.
-
-I uncheck the "Automatic Login" checkbox.
-
-I click the "Next" button (you may be "nagged" with a dialog box by the YAST2 installer warning that you selected a password that it considers to be too simple. Click "Yes" to keep the password you chose, or "No" to change it).
-
-
-
-
-
-=== Password for the System Administrator "root" screen ===
-
-
-Enter your password (in the "Password for root User" text box) and repeat it (in the "Confirm Password" text box).
-
-Click the "Accept" button to return to the "Installation Settings" screen.
-
-
-=== "Installation Settings" screen ===
-
-
-Click on the "Software" link
-
-
-=== "Software Selection and System Tasks" screen ===
-
-
-Scroll down the listbox (that begins with the "Base Technologies" group) until you find the "Server Functions" group.
-
-In that "Server Functions" group click on the "Web and LAMP Server" checkbox (to check it)
-
-Click on the "OK" button to return to "Installation Settings"
-
-
-
-=== "Installation Settings" screen ===
-
-
-Click on the "Install" button (placed in the same place where usually appear the "Accept" or "Next" button).
-
-You should see a "Confirm Installation" dialog box. Click on the "Install" button of that dialog box.
-
-
-=== "Preparing Your Hard Disk" screen ===
-
-
-[just watch it...]
-
-
-=== "Deploying Installation Images" screen ===
-
-
-[just watch it... ]
-
-
-
-=== "Package Installation" screen ===
-
-
-
-[just watch it... or click on the "Details" tab if you want to see what packages are being installed.]
-
-
-=== "Finishing Basic Installation" screen ===
-
-
-[just watch it... ]
-
-After some time you'll see a dialog box warning that the system will reboot in 10 seconds.
-
-
-
-=== After reboot ===
-
-
-Leave "Boot from Hard Disk" selected and click ENTER
-
-You'll have to wait a while (or press ESC to see what the operating system is "doing"). After some moments, you'll 
-be taken to the "Yast2 - installation @ Linux" screen (a text installer).
-
-
-=== "Writing the System Configuration" screen ===
-
-
-[just watch it... ]
-
-After a while you'll see a prompt:
-|--------------------
-Welcome to openSUSE 11.0 (i586) - Kernel 2.6.25.4-8-default (tty1)
-
-linux-3r10 login:
-|--------------------
-
-You may now login with your "root" user.
-
-
-
-
-==== Changing the Hostname and Domain Name ====
- 
-
-I want to change my hostname, domain name and switch from DHCP to a Static IP address.
-
-So, the first thing I do, is to run yast (the setup tool) by entering the yast command in the command prompt:
-|--------------------
-linux-3r10:~ # yast
-|--------------------
-
-Yast should appear.
-
-On the listbox of the left hand side select "Network Devices" (press TAB to turn focus on that listbox, and press the down arrow key several times to reach it). Then, on the listbox of the right hand side, select "Network Settings" (you'll have again to press TAB to turn focus on that listbox, and press the down arrow key several times to reach it).
-
-Press the ENTER key.
-
-
-=== "Initializing Network Configuration" screen ===
-
-
-[just watch it...]
-
-=== "Network Settings" screen ===
-
-
-I want to disable IPv6, so I first go to the "Global Options" section (by pushing the key combination ALT+G to press the "G" letter in Global Options that is highlighted). In the next screen, I push ALT+E to uncheck the "Enable IPv6" checkbox. I'll get a dialog box with a Warning saying that "To apply this change a reboot is needed.". I just press ENTER on that dialog box, but I do NOT reboot (at least not yet). 
-
-Then I press Alt+O to go to the "Overview" (still in "Network Settings"). Then I press ALT+i to "Edit" the information for this Network Card.
-
-=== "Network Card Setup" screen ===
-
-
-I check the "Statically assigned IP Address" checkbox, and enter the following info for "IP Address", "Subnet Mask" and "Hostname" (you should use the values defined by your network administrator):
-
-IP Address: 192.168.0.2
-Subnet Mask: 255.255.255.0
-Hostname: myhost
-
-Then I press ALT+N to click the "Next" button. After a few seconds, I will be taken again to the "Network Settings" screen.
-
-
-=== "Network Settings" screen ===
-
-
-I press ALT+s to go to the "Hostname/DNS" screen.
-
-I check the "Change /etc/resolv.conf manually" checkbox and enter the IP Address of my DNS Server in the "Name Server 1" text box:
-
-
-Name Server 1: 192.168.0.1
-
-Then I press ALT+u to go to the "Routing" configuration.
-
-=== "Routing" screen ===
-
-
-In the "Default Gateway" text box, I enter the IP Address of my Default Gateway:
-
-Default Gateway: 192.168.0.1
-
-Then I press ALT+F to Finish
-
-
-
-=== "Saving Network Configuration" screen ===
-
-
-[just watch it...]
-
-
-After a few seconds, you should be taken back to the "YaST2 Control Center" screen.
-
-
-
-
-==== Enabling access to SSH (Secure Shell) and Apache2 (Web Server) ====
-
-I want to administer remotely this server with a SSH (Secure Shell) client. So, while still in the "YaST2 Control Center, I will enable SSH in the Firewall (running by default). In the listbox of the left hand side, I select "Security and Users" and then, on the listbox of the right side, I select "Firewall" (first option) and press the ENTER key.
-
-=== "yast2 - firewall" screen ===
-
-In the list box of the left side, I select "Allowed Services" and press ENTER.
-
-Then, on the "Service to Allow" dropdown list (on the right side), I leave the "Apache 2" option selected and press "ALt+A" to add it. After adding Apache, I'll press "Alt+S" to see the available services to add. Then, I use the down key in that list until I see "Secure Shell Server" and press ENTER to select it. This will close that list and put "Secure Shell Server" as the selected option. I'll press Alt+A again to add it.
-
-Then I click on ALT+N click on the "Next" button.
-
-
-=== "Firewall Configuration: Summary" screen ===
-
-
-Click on the "Finish" button.
-
-When you get sent back to the "YaST2 Control Center" screen, press ALT+Q to Quit Yast.
-
-
-This time seems to be a good time to reboot your server:
-|--------------------
-linux-3r10:~ # reboot
-|--------------------
-After rebooting the machine, if you wish, you may go to another machine and connect to your newly created server using a SSH (Secure Shell) client. In Windows, I like to use putty to do ssh sessions to my Linux servers.
-
-
-==== Configure Software Repositories ===
-
-After the system has rebooted, log in as root.
-
-Later on, you will need to add some software packages from the openSUSE 11 Distribution. Some of those packages are NOT available in the openSUSE 11.0 DVD (libyaz-devel is one of those packages). So, we'll now set up openSUSE to add the "Official openSUSE 11.0 OSS (Open Source Software) Repository" using yast.
-
-First, run the yast command in the Linux command line (shell):
-
-|--------------------
-# yast
-|--------------------
-
-Inside yast, select Software -> Software Repositories
-
-
-=== "Configured Software Repositories" screen ===
-
-If on this screen, you already see a table that has: 
-
-  * as configured repositories (in the "Name" column) - "openSUSE-DVD 11.0", "openSUSE-11.0-Non.Oss", "openSUSE-11.0-Debug" and "openSUSE-11.0-Oss" ... 
-  * ... and, at least "openSUSE-DVD 11.0" and "openSUSE-11.0-Oss" have an "x" in the "Enabled" column ... 
-  * ... then you may leave yast, as the required repositories have already been configured.
-
-If not, you'll have to add the "openSUSE-11.0-Oss" repository. Click on the "Add" button.
-
-=== "Media type" screen ===
-
-
-Click on the Specify URL... radio button.
-
-Click on the "Next" button.
-
-
-=== "Repository URL" screen ===
-
-
-In the "Repository Name" textbox enter some descriptive text like:
-openSUSE 11.0 Official OSS Repository
-
-In the "URL" textbox enter:
-http://download.opensuse.org/distribution/11.0/repo/oss/
-
-
-Click on the "Next" button.
-
-
-=== "License Agreement" screen ===
-
-
-Check the "Yes, I Agree to the License Agreement" radio button.
-
-Click on the "Next" button to return to the "Configured Software Repositories" screen.
-
-
-=== "Configured Software Repositories" screen ===
-
-
-You should see now the "openSUSE 11 Official OSS Repository" listed as an entry.
-
-Click on the "Finish" button.
-
-When you get sent back to the "Yast Control Center" click on the "Quit" button (to return to the shell).
-
-
-==== Install some useful / necessary programs ===
-
-By this time, I'll install some of the programs I regularly use, by using yast:
-
-
-  * To install locate:
-|--------------------
-# yast -i findutils-locate
-|--------------------
-A YaST screen may appear saying:
-|--------------------
-Starting the Package Manager.
-|--------------------
-If that screen appears, it will download some information from http://download.opensuse.org (and set several Software Repositories "behind the scenes)
-
-
-  * To install ncftp (command-line ftp client):
-|--------------------
-# yast -i ncftp
-|--------------------
-
-
-Install some packages that are needed to install Koha:
-
-  * To install make :
-|--------------------
-# yast -i make
-|--------------------
-
-  * To install gcc :
-|--------------------
-# yast -i gcc
-|--------------------
-(this will also install some packages that gcc depend on, like glibc-devel).
-
-
-==== Download Koha ====
-
-|--------------------
-# wget http://download.koha-community.org/koha-3.00.00.tar.gz
-|--------------------
-
-[FIXME: Check what will be the exact URL of the .tar.gz file for Koha 3]
-
-
-==== Extract Koha ====
-
-|--------------------
-# tar -xzvf koha-3.00.00.tar.gz
-|--------------------
-
-
-==== Set up Locale for root user ====
-
-If you run the locale command, you'll probably get this output:
-|--------------------
-# locale
-LANG=POSIX
-LC_CTYPE=en_US.UTF-8
-LC_NUMERIC="POSIX"
-LC_TIME="POSIX"
-LC_COLLATE="POSIX"
-LC_MONETARY="POSIX"
-LC_MESSAGES="POSIX"
-LC_PAPER="POSIX"
-LC_NAME="POSIX"
-LC_ADDRESS="POSIX"
-LC_TELEPHONE="POSIX"
-LC_MEASUREMENT="POSIX"
-LC_IDENTIFICATION="POSIX"
-LC_ALL=
-|--------------------
-
-We want to have en_US.UTF-8 in all LC_* variables. So, we'll do the following:
-|--------------------
-# yast
-|--------------------
-System -> Language
-
-The "Languages" screen should appear. 
-
-In the first section (Primary Language Settings):
-
-Leave "English (US)" selected as the option for Primary Language
-
-
-Click on the "Details..." link
-
-Change the Locale Settings for user root from the default option ("ctype Only") to "Yes"
-
-Make sure the "Use UTF-8 Encoding" checkbox is checked (it should already be).
-
-Leave the "Detailed Locale Setting" en_US selected
-
-Click on the OK button to return to the "Languages" screen
-
-Click on the "Accept" button.
-
-
-
-When you get back to the "Yast2 Control Center" screen, click on the "Quit" button
-
-
-
-==== Putty configuration to use Unicode (UTF-8 encoding) ====
-
-If you use Putty, set up Putty to use UTF-8 encoding. To do this, click on the upper left corner of the PuTTy window, 
-to expand the menu. Scroll down until you find the "Change Settings..." command and click on it.
-
-This should open the "PuTTy Reconfiguration" screen. Here expand the "Window" category and click on "Translation"
-
-When you do this, you'll see that the "Received data assumed to be in which character set" dropdown list probably reads:
-
-"ISO-8859-1:1998 (Latin-1, West Europe)
-
-change it to: "UTF-8"
-
-Click on the "Apply" button
-
-
-Now, it's a good time to SAVE this PuTTy session. To do this, click again on the upper left corner of the PuTTy window, to expand the menu, and click on the "Change Settings..." command like you did before.
-
-This should open the "PuTTy Reconfiguration" screen. Go to the right hand side of that screen and type a name in the "Saved Sessions" textbox (e.g: koha). Then click on the "Save" button and, after doing that, click on the "Apply" button.
-
-
-IMPORTANT!!! Now it's the time to EXIT the login shell, by typing the exit command:
-|--------------------
-# exit
-|--------------------
-
-Now you'll reopen PuTTy, but when you do that, open the Saved Session that you have created in order to use the "UTF-8" configuration you have done.
-
-
-After logging in again with the root user, type the locale command again. Now it should read like the following:
-
-|--------------------
-# locale
-LANG=en_US.UTF-8
-LC_CTYPE="en_US.UTF-8"
-LC_NUMERIC="en_US.UTF-8"
-LC_TIME="en_US.UTF-8"
-LC_COLLATE="en_US.UTF-8"
-LC_MONETARY="en_US.UTF-8"
-LC_MESSAGES="en_US.UTF-8"
-LC_PAPER="en_US.UTF-8"
-LC_NAME="en_US.UTF-8"
-LC_ADDRESS="en_US.UTF-8"
-LC_TELEPHONE="en_US.UTF-8"
-LC_MEASUREMENT="en_US.UTF-8"
-LC_IDENTIFICATION="en_US.UTF-8"
-LC_ALL=
-|--------------------
-
-
-==== Apache configuration (for UTF-8) ====
-
-Create a file called /etc/apache2/httpd.conf.local with vim (or your preferred text editor):
-|--------------------
-myhost:~ # vim /etc/apache2/httpd.conf.local
-|--------------------
-Add this line:
-|--------------------
-AddDefaultCharset UTF-8
-|--------------------
-
-
-==== Configure Apache to start at boot time and start the service ====
-|--------------------
-# chkconfig apache2 on
-
-# service apache2 start
-Starting httpd2 (prefork)                                            done
-|--------------------
-
-Go to a browser and type:
-
-http://192.168.0.2
-
-You should see a page that reads:
-
-"It works!"
-
-
-
-==== MySQL configuration ====
-
-1 - Configure MySQL to start at boot time and start the service:
-|--------------------
-# chkconfig mysql on
-
-# service mysql start
-|--------------------
-
-2 - Change the password for the "root" user of MySQL:
-|--------------------
-# /usr/bin/mysqladmin -u root password 'chosenpassword'
-|--------------------
-
-3 - Check the encoding variables of MySQL
-
-To check the encoding variables of MySQL, will type the 
-show variables like 'char%'; command in a mysql prompt:
-|--------------------
-# mysql -p
-Enter password:
-Welcome to the MySQL monitor.  Commands end with ; or \g.
-Your MySQL connection id is 7
-Server version: 5.0.51a SUSE MySQL RPM
-
-
-Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
-
-mysql> show variables like 'char%';
-+--------------------------+----------------------------+
-| Variable_name            | Value                      |
-+--------------------------+----------------------------+
-| character_set_client     | latin1                     |
-| character_set_connection | latin1                     |
-| character_set_database   | latin1                     |
-| character_set_filesystem | binary                     |
-| character_set_results    | latin1                     |
-| character_set_server     | latin1                     |
-| character_set_system     | utf8                       |
-| character_sets_dir       | /usr/share/mysql/charsets/ |
-+--------------------------+----------------------------+
-8 rows in set (0.00 sec)
-
-mysql> quit
-Bye
-|--------------------
-
-We want to have utf8 in the above character_set_* variables above (and NOT latin1)!
-
-In order to do this:
-
-1 - Create a backup of the MySQL configuration file (my.cnf):
-|--------------------
-# cd /etc
-myhost:/etc # cp my.cnf my.cnf.ORIG
-|--------------------
-
-2 - Use vim to add these 3 lines in the section [mysqld] of the my.cnf file:
-|--------------------
-default-character-set = utf8
-character-set-server = utf8
-skip-character-set-client-handshake
-|--------------------
-
-3 - Restart MySQL:
-|--------------------
-myhost:/etc # service mysql restart
-Restarting service MySQL
-Shutting down service MySQL                                           done
-Starting service MySQL                                                done
-|--------------------
-
-Now, let's type again the show variables like 'char%' mysql command to see if 
-the character_set_variables have changed from latin1 to utf8 (character_set_filesystem 
-will still read "binary" but I think that's OK:
-|--------------------
-myhost:/etc # mysql -p
-Enter password:
-Welcome to the MySQL monitor.  Commands end with ; or \g.
-Your MySQL connection id is 1
-Server version: 5.0.51a SUSE MySQL RPM
-
-
-Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
-
-mysql> show variables like 'char%';
-+--------------------------+----------------------------+
-| Variable_name            | Value                      |
-+--------------------------+----------------------------+
-| character_set_client     | utf8                       |
-| character_set_connection | utf8                       |
-| character_set_database   | utf8                       |
-| character_set_filesystem | binary                     |
-| character_set_results    | utf8                       |
-| character_set_server     | utf8                       |
-| character_set_system     | utf8                       |
-| character_sets_dir       | /usr/share/mysql/charsets/ |
-+--------------------------+----------------------------+
-8 rows in set (0.01 sec)
-
-mysql> quit
-Bye
-|--------------------
-
-==== Create the Koha database ====
-
-=== Create the koha database and user with associated privileges ===
-|--------------------
-# mysqladmin -uroot create koha -p 
-|--------------------
-(you may name the koha database something different from koha)
-
-
-=== Grant privileges to a MySQL user to the koha database === 
-
-Assuming that you want to have a MySQL user called "kohaadmin" to administer a database called "koha" with the password "kohapassword", you'd enter this:
-|--------------------
-myhost:~ # mysql -p
-Enter password:
-Welcome to the MySQL monitor.  Commands end with ; or \g.
-Your MySQL connection id is 3
-Server version: 5.0.51a SUSE MySQL RPM
-
-Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
-
-mysql> grant all on koha.* to 'kohaadmin'@'localhost' identified by 'kohapassword';
-Query OK, 0 rows affected (0.00 sec)
-
-mysql> flush privileges;
-Query OK, 0 rows affected (0.08 sec)
-
-mysql> quit
-Bye
-|--------------------
-
-
-==== Test your SAX Parser and correct where necessary ====
-
-
-  * Install the XML::SAX and XML::LibXML perl Modules:
-|--------------------
-# yast -i perl-XML-SAX 
-
-# yast -i perl-XML-LibXML
-|--------------------
-
-You must be sure you're using the XML::LibXML SAX parser, not Expat or PurePerl, both of which have outstanding bugs with pre-composed characters. You can test your SAX parser by running:
-|--------------------
-# cd /root/koha-3.00.00/
-
-myhost:~/koha-3.00.00 # misc/sax_parser_print.pl 
-|--------------------
-
-You will probably see this:
-|--------------------
-XML::SAX::PurePerl=HASH(0x8356a4c)
-|--------------------
-
-If you're using PurePerl (you probably are) or Expat, you'll need to edit your ParserDetails.ini file to use the LibXML Parser. 
-To find the ParserDetails.ini file, you may use locate. To do this, first update the locate database by running the updatedb command:
-|--------------------
-# updatedb
-|--------------------
-
-Then find ParserDetails.ini using locate:
-|--------------------
-# locate ParserDetails.ini
-/usr/lib/perl5/vendor_perl/5.10.0/XML/SAX/ParserDetails.ini
-|--------------------
-
-OK. So, let's first do a backup of this ini file:
-|--------------------
- # cd /usr/lib/perl5/vendor_perl/5.10.0/XML/SAX/
-
-myhost:/usr/lib/perl5/vendor_perl/5.10.0/XML/SAX # cp ParserDetails.ini ParserDetails.ini.ORIG
-|--------------------
-
-Edit this ParserDetails.ini file (with vim or other editor)
-
-See if the first line contains this:
-|--------------------
-[XML::SAX::PurePerl]
-|--------------------
-If it does, replace this first line by the following:
-|--------------------
-[XML::LibXML::SAX::Parser]
-|--------------------
-
-Run the /root/koha-3.00.00/misc/sax_parser_print.pl command again. This time, you should get the following output:
-|--------------------
-XML::LibXML::SAX::Parser=HASH(0x8356e0c)
-|--------------------
-
-
-
-
-
-
-==== Run Koha's perl installer ====
-|--------------------
-myhost:/usr/lib/perl5/vendor_perl/5.10.0/XML/SAX # cd /root/koha-3.00.00
-|--------------------
-We will now run perl Makefile.PL to run the installer. 
-
-My installation is a UNIMARC installation, so I'm answering unimarc to the "MARC format for Zebra indexing (marc21, unimarc) [marc21]" question below. If your Library uses the MARC21 format instead of UNIMARC, you should press ENTER to accept the default (which is marc21). 
-
-Because my bibliographic catalog will have mainly records in Portuguese, and Portuguese is more similar to French than to English, I'm answering "fr" (French) to the "Primary language for Zebra indexing (en, fr) [en]" question below.
-
-Although I'm NOT using Zebra, I'm answering "yes" (the default choice) to the "Install the Zebra configuration files? (no, yes) [yes]" so I can set up Zebra later, if I decide to.
-
-OK. So here's the result of running the  perl Makefile.PL  command (including my answers to the several questions):
-
-|--------------------
-myhost:~/koha-3.00.00 # perl Makefile.PL
-
-By default, Koha can be installed in one of three ways:
-
-standard: Install files in conformance with the Filesystem
-          Hierarchy Standard (FHS).  This is the default mode
-          and should be used when installing a production
-          Koha system.  On Unix systems, root access is
-          needed to complete a standard installation.
-
-single:   Install files under a single directory.  This option
-          is useful for installing Koha without root access, e.g.,
-          on a web host that allows CGI scripts and MySQL databases
-          but requires the user to keep all files under the user's
-          HOME directory.
-
-dev:      Create a set of symbolic links and configuration files to
-          allow Koha to run directly from the source distribution.
-          This mode is useful for developers who want to run
-          Koha from a git clone.
-
-Installation mode (dev, single, standard) [standard]
-
-Please specify the directory under which most Koha files
-will be installed.
-
-Note that if you are planning in installing more than
-one instance of Koha, you may want to modify the last
-component of the directory path, which will be used
-as the package name in the FHS layout.
-
-Base installation directory [/usr/share/koha]
-
-Since you are using the 'standard' install
-mode, you should run 'make install' as root.
-However, it is recommended that a non-root
-user (on Unix and Linux platforms) have
-ownership of Koha's files, including the
-Zebra indexes if applicable.
-
-Please specify a user account.  This
-user account does not need to exist
-right now, but it needs to exist
-before you run 'make install'.  Please
-note that for security reasons, this
-user should not be the same as the user
-account Apache runs under.
-
-User account [koha]
-
-Please specify the group that should own
-Koha's files.  As above, this group need
-not exist right now, but should be created
-before you run 'make install'.
-
-Group [koha]
-
-Please specify which database engine you will use
-to store data in Koha.  The choices are MySQL and
-PostgreSQL; please note that at the moment
-PostgreSQL support is highly experimental.
-
-DBMS to use (Pg, mysql) [mysql]
-
-Please specify the name or address of your
-database server.  Note that the database
-does not have to exist at this point, it
-can be created after running 'make install'
-and before you try using Koha for the first time.
-
-Database server [localhost]
-
-Please specify the port used to connect to the
-DMBS [3306]
-
-Please specify the name of the database to be
-used by Koha [koha]
-
-Please specify the user that owns the database to be
-used by Koha [kohaadmin]
-
-Please specify the password of the user that owns the
-database to be used by Koha [katikoan] kohapassword
-
-Koha can use the Zebra search engine for high-performance
-searching of bibliographic and authority records.  If you
-have installed the Zebra software and would like to use it,
-please answer 'yes' to the following question.  Otherwise,
-Koha will default to using its internal search engine.
-
-Please note that if you choose *NOT* to install Zebra,
-koha-conf.xml will still contain some references to Zebra
-settings.  Those references will be ignored by Koha.
-
-Install the Zebra configuration files? (no, yes) [yes]
-
-Unable to find the Zebra programs 'zebrasrv' and 'zebraidx'
-in your PATH or in some of the usual places.  If you haven't
-installed Zebra yet, please do so and run Makefile.PL again.
-
-
-Since you've chosen to use Zebra with Koha,
-you must specify the primary MARC format of the
-records to be indexed by Zebra.
-
-Koha provides Zebra configuration files for MARC 21
-and UNIMARC.
-
-MARC format for Zebra indexing (marc21, unimarc) [marc21] unimarc
-
-Koha supplies Zebra configuration files tuned for
-searching either English (en) or French (fr) MARC
-records.
-
-Primary language for Zebra indexing (en, fr) [en] fr
-
-Koha can use one of  two different indexing modes
-for the MARC authorities records:
-
-grs1 - uses the Zebra GRS-1 filter, available
-       for legacy support
-dom  - uses the DOM XML filter; offers improved
-       functionality.
-
-Authorities indexing mode (dom, grs1) [grs1] dom
-
-Please specify Zebra database user [kohauser]
-
-Please specify the Zebra database password [zebrastripes] zebrapassword
-
-Since you've chosen to use Zebra, you can enable the SRU/
-Z39.50 Server if you so choose, but you must specify a
-few configuration options for it.
-
-Please note that if you choose *NOT* to configure SRU,
-koha-conf.xml will still contain some references to SRU
-settings.  Those references will be ignored by Koha.
-
-Install the SRU configuration files? (no, yes) [yes] no
-
-Since you've chosen to use Zebra, you can also choose to
-install PazPar2, which is a metasearch tool.  With PazPar2,
-Koha can perform on-the-fly merging of bibliographic
-records during searching, allowing for FRBRization of
-the results list.
-
-Install the PazPar2 configuration files? [no] no
-
-Would you like to run the database-dependent test suite? (no, yes) [no]
-
-
-
-
-Koha will be installed with the following configuration parameters:
-
-AUTH_INDEX_MODE          dom
-DB_HOST                  localhost
-DB_NAME                  koha
-DB_PASS                  kohapassword
-DB_PORT                  3306
-DB_TYPE                  mysql
-DB_USER                  kohaadmin
-INSTALL_BASE             /usr/share/koha
-INSTALL_MODE             standard
-INSTALL_PAZPAR2          no
-INSTALL_SRU              no
-INSTALL_ZEBRA            yes
-KOHA_GROUP               koha
-KOHA_INSTALLED_VERSION   3.00.00.096
-KOHA_USER                koha
-RUN_DATABASE_TESTS       no
-ZEBRA_LANGUAGE           fr
-ZEBRA_MARC_FORMAT        unimarc
-ZEBRA_PASS               zebrapassword
-ZEBRA_USER               kohauser
-
-and in the following directories:
-
-DOC_DIR                  /usr/share/koha/doc
-INTRANET_CGI_DIR         /usr/share/koha/intranet/cgi-bin
-INTRANET_TMPL_DIR        /usr/share/koha/intranet/htdocs/intranet-tmpl
-INTRANET_WWW_DIR         /usr/share/koha/intranet/htdocs
-KOHA_CONF_DIR            /etc/koha
-LOG_DIR                  /var/log/koha
-MAN_DIR                  /usr/share/koha/man
-MISC_DIR                 /usr/share/koha/misc
-OPAC_CGI_DIR             /usr/share/koha/opac/cgi-bin
-OPAC_TMPL_DIR            /usr/share/koha/opac/htdocs/opac-tmpl
-OPAC_WWW_DIR             /usr/share/koha/opac/htdocs
-PAZPAR2_CONF_DIR         /etc/koha/pazpar2
-PERL_MODULE_DIR          /usr/share/koha/lib
-SCRIPT_DIR               /usr/share/koha/bin
-SCRIPT_NONDEV_DIR        /usr/share/koha/bin
-ZEBRA_CONF_DIR           /etc/koha/zebradb
-ZEBRA_DATA_DIR           /var/lib/koha/zebradb
-ZEBRA_LOCK_DIR           /var/lock/koha/zebradb
-ZEBRA_RUN_DIR            /var/run/koha/zebradb
-
-
-To change any configuration setting, please run
-perl Makefile.PL again.  To override one of the target
-directories, you can do so on the command line like this:
-
-perl Makefile.PL PERL_MODULE_DIR=/usr/share/perl/5.8
-
-You can also set different default values for parameters
-or override directory locations by using environment variables.
-
-For example:
-
-export DB_USER=my_koha
-perl Makefile.PL
-
-or
-
-DB_USER=my_koha DOC_DIR=/usr/local/info perl Makefile.PL
-
-If installing on a Win32 platform, be sure to use:
-'dmake -x MAXLINELENGTH=300000'
-
-Checking if your kit is complete...
-Looks good
-Warning: prerequisite Algorithm::CheckDigits 0.5 not found.
-Warning: prerequisite Biblio::EndnoteStyle 0.05 not found.
-[Tue Oct 14 23:40:25 2008] Makefile.PL: Warning: prerequisite CGI::Session 4.10 not found.
-[Tue Oct 14 23:40:25 2008] Makefile.PL: Warning: prerequisite Class::Accessor 0.3 not found.
-[Tue Oct 14 23:40:25 2008] Makefile.PL: Warning: prerequisite Class::Factory::Util 1.6 not found.
-[Tue Oct 14 23:40:25 2008] Makefile.PL: Warning: prerequisite DBD::mysql 4.004 not found.
-[Tue Oct 14 23:40:25 2008] Makefile.PL: Warning: prerequisite Data::ICal 0.13 not found.
-[Tue Oct 14 23:40:25 2008] Makefile.PL: Warning: prerequisite Date::Calc 5.4 not found.
-[Tue Oct 14 23:40:25 2008] Makefile.PL: Warning: prerequisite Date::ICal 1.72 not found.
-[Tue Oct 14 23:40:25 2008] Makefile.PL: Warning: prerequisite Date::Manip 5.44 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite Email::Date 1.103 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite GD 2.39 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite GD::Barcode::UPCE 1.1 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite HTML::Scrubber 0.08 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite HTML::Template::Pro 0.69 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite Lingua::Stem 0.82 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite List::MoreUtils 0.21 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite MARC::Charset 0.98 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite MARC::Crosswalk::DublinCore 0.02 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite MARC::File::XML 0.88 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite MARC::Record 2 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite MIME::Lite 3 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite Mail::Sendmail 0.79 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite Net::LDAP 0.33 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite Net::LDAP::Filter 0.14 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite Net::Z3950::ZOOM 1.16 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite PDF::API2 2 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite PDF::API2::Page 2 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite PDF::API2::Util 2 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite PDF::Reuse 0.33 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite PDF::Reuse::Barcode 0.05 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite POE 0.9999 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite SMS::Send 0.05 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite Schedule::At 1.06 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite Text::CSV 0.01 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite Text::CSV_XS 0.32 not found.
-[Tue Oct 14 23:40:26 2008] Makefile.PL: Warning: prerequisite Text::Iconv 1.7 not found.
-[Tue Oct 14 23:40:27 2008] Makefile.PL: Warning: prerequisite XML::Dumper 0.81 not found.
-[Tue Oct 14 23:40:27 2008] Makefile.PL: Warning: prerequisite XML::LibXSLT 1.59 not found.
-[Tue Oct 14 23:40:27 2008] Makefile.PL: Warning: prerequisite XML::RSS 1.31 not found.
-[Tue Oct 14 23:40:27 2008] Makefile.PL: Warning: prerequisite YAML::Syck 0.71 not found.
-Writing Makefile for koha
-
-
-myhost:~/koha-3.00.00 #
-|--------------------
-
-OK... Lots of missing dependencies (Perl Modules). Let's build some of these modules in CPAN to fix this:
-
-
-==== CPAN Configuration ====
-If you don't already know, "CPAN is the Comprehensive Perl Archive Network, a large collection of Perl software and documentation". For additional info, you may browse the official CPAN web site is at http://www.cpan.org/
-
-Enter the "cpan" command to configure CPAN:
-|--------------------
-myhost:~/koha-3.00.00 # cpan
-
-
-CPAN is the world-wide archive of perl resources. It consists of about
-300 sites that all replicate the same contents around the globe. Many
-countries have at least one CPAN site already. The resources found on
-CPAN are easily accessible with the CPAN.pm module. If you want to use
-CPAN.pm, lots of things have to be configured. Fortunately, most of
-them can be determined automatically. If you prefer the automatic
-configuration, answer 'yes' below.
-
-If you prefer to enter a dialog instead, you can answer 'no' to this
-question and I'll let you configure in small steps one thing after the
-other. (Note: you can revisit this dialog anytime later by typing 'o
-conf init' at the cpan prompt.)
-Would you like me to configure as much as possible automatically? [yes]
-|--------------------
-
-[Just press ENTER here to set all CPAN settings to the default values. 
-After doing this CPAN will scroll lots of messages with questions that 
-it will automatically answer]
-
-[Let's now set up CPAN for Internet access to enable it to download packages. 
-Because I live in Portugal, I'm choosing Portuguese mirrors here. Choose the 
-mirrors that are nearer to you:]
-
-|--------------------
-cpan[2]> o conf init urllist
-You have no /root/.cpan/sources/MIRRORED.BY
-  I'm trying to fetch one
-CPAN: LWP::UserAgent loaded ok (v5.810)
-
-I would like to connect to one of the following sites to get 'MIRRORED.BY':
-
- http://www.perl.org/CPAN/
- ftp://ftp.perl.org/pub/CPAN/
-
-Is it OK to try to connect to the Internet? [yes]
-Fetching with LWP:
-  http://www.perl.org/CPAN/MIRRORED.BY
-
-
-Now we need to know where your favorite CPAN sites are located. Push
-a few sites onto the array (just in case the first on the array won't
-work). If you are mirroring CPAN to your local workstation, specify a
-file: URL.
-
-First, pick a nearby continent and country by typing in the number(s)
-in front of the item(s) you want to select. You can pick several of
-each, separated by spaces. Then, you will be presented with a list of
-URLs of CPAN mirrors in the countries you selected, along with
-previously selected URLs. Select some of those URLs, or just keep the
-old list. Finally, you will be prompted for any extra URLs -- file:,
-ftp:, or http: -- that host a CPAN mirror.
-
-(1) Africa
-(2) Asia
-(3) Central America
-(4) Europe
-(5) North America
-(6) Oceania
-(7) South America
-Select your continent (or several nearby continents) [] 4
-
-(1) Austria
-(2) Belgium
-(3) Bosnia and Herzegovina
-(4) Bulgaria
-(5) Croatia
-(6) Czech Republic
-(7) Denmark
-(8) Finland
-(9) France
-(10) Germany
-(11) Greece
-(12) Hungary
-(13) Iceland
-(14) Ireland
-(15) Italy
-(16) Latvia
-15 more items, hit RETURN to show them
-Select your country (or several nearby countries) []
-Sorry! since you don't have any existing picks, you must make a
-geographic selection.
-
-(17) Lithuania
-(18) Malta
-(19) Netherlands
-(20) Norway
-(21) Poland
-(22) Portugal
-(23) Romania
-(24) Russia
-(25) Slovakia
-(26) Slovenia
-(27) Spain
-(28) Sweden
-(29) Switzerland
-(30) Ukraine
-(31) United Kingdom
-Select your country (or several nearby countries) [] 22
-
-(1) ftp://cpan.ip.pt/pub/cpan/
-(2) ftp://ftp.dei.uc.pt/pub/CPAN
-(3) ftp://ftp.isr.ist.utl.pt/pub/CPAN/
-(4) ftp://ftp.nfsi.pt/pub/cpan/
-(5) ftp://neacm.fe.up.pt/pub/CPAN/
-(6) ftp://perl.di.uminho.pt/pub/CPAN/
-(7) http://cpan.dcc.fc.up.pt/
-Select as many URLs as you like (by number),
-put them on one line, separated by blanks, hyphenated ranges allowed
- e.g. '1 4 5' or '7 1-4 8' [] 3 2 6 4 5 7 1
-
-Enter another URL or RETURN to quit: []
-New set of picks:
-  ftp://ftp.isr.ist.utl.pt/pub/CPAN/
-  ftp://ftp.dei.uc.pt/pub/CPAN
-  ftp://perl.di.uminho.pt/pub/CPAN/
-  ftp://ftp.nfsi.pt/pub/cpan/
-  ftp://neacm.fe.up.pt/pub/CPAN/
-  http://cpan.dcc.fc.up.pt/
-  ftp://cpan.ip.pt/pub/cpan/
-
-
-Please remember to call 'o conf commit' to make the config permanent!
-
-
-cpan[3]> o conf commit
-commit: wrote '/usr/lib/perl5/5.10.0/CPAN/Config.pm'
-
-cpan[4]> quit
-Lockfile removed.
-|--------------------
-
-==== Installing Prerequisite Modules ====
-|--------------------
-myhost:~/koha-3.00.00 # cpan
-CPAN: File::HomeDir loaded ok (v0.69)
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-|--------------------
-
-=== Install Algorithm::CheckDigits ===
-[Let's install the first package called "Algorithm::CheckDigits". Here I will leave the complete output. For the next installations, I will only show the prompts for dependencies and snip out the remaining output]:
-|--------------------
-cpan[1]> install Algorithm::CheckDigits
-CPAN: Storable loaded ok (v2.18)
-CPAN: LWP::UserAgent loaded ok (v5.810)
-CPAN: Time::HiRes loaded ok (v1.9711)
-Fetching with LWP:
-  ftp://ftp.isr.ist.utl.pt/pub/CPAN/authors/01mailrc.txt.gz
-Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
-CPAN: Compress::Zlib loaded ok (v2.008)
-............................................................................DONE
-Fetching with LWP:
-  ftp://ftp.isr.ist.utl.pt/pub/CPAN/modules/02packages.details.txt.gz
-Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
-  Database was generated on Mon, 07 Jul 2008 04:02:45 GMT
-............................................................................DONE
-Fetching with LWP:
-  ftp://ftp.isr.ist.utl.pt/pub/CPAN/modules/03modlist.data.gz
-Going to read /root/.cpan/sources/modules/03modlist.data.gz
-............................................................................DONE
-Going to write /root/.cpan/Metadata
-Running install for module 'Algorithm::CheckDigits'
-CPAN: Data::Dumper loaded ok (v2.121_14)
-'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
-Running make for M/MA/MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
-Fetching with LWP:
-  ftp://ftp.isr.ist.utl.pt/pub/CPAN/authors/id/M/MA/MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
-CPAN: Digest::SHA loaded ok (v5.45)
-Fetching with LWP:
-  ftp://ftp.isr.ist.utl.pt/pub/CPAN/authors/id/M/MA/MAMAWE/CHECKSUMS
-Checksum for /root/.cpan/sources/authors/id/M/MA/MAMAWE/Algorithm-CheckDigits-0.50.tar.gz ok
-Scanning cache /root/.cpan/build for sizes
-DONE
-Algorithm-CheckDigits-0.50/
-Algorithm-CheckDigits-0.50/t/
-Algorithm-CheckDigits-0.50/t/valid.data
-Algorithm-CheckDigits-0.50/t/valid.t
-Algorithm-CheckDigits-0.50/t/iban.t
-Algorithm-CheckDigits-0.50/t/isbn13.t
-Algorithm-CheckDigits-0.50/t/ecno.t
-Algorithm-CheckDigits-0.50/t/upc.t
-Algorithm-CheckDigits-0.50/t/imei.t
-Algorithm-CheckDigits-0.50/t/pod-coverage.t
-Algorithm-CheckDigits-0.50/t/pod.t
-Algorithm-CheckDigits-0.50/t/checkdigits.t
-Algorithm-CheckDigits-0.50/CheckDigits.pm
-Algorithm-CheckDigits-0.50/Changes
-Algorithm-CheckDigits-0.50/CheckDigits/
-Algorithm-CheckDigits-0.50/CheckDigits/MXX_005.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M10_005.pm
-Algorithm-CheckDigits-0.50/CheckDigits/MBase_002.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M97_001.pm
-Algorithm-CheckDigits-0.50/CheckDigits/MBase_003.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M10_006.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_012.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M10_010.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_015.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M07_001.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M10_002.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_008.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M23_001.pm
-Algorithm-CheckDigits-0.50/CheckDigits/MXX_004.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_001.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_003.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_013.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_009.pm
-Algorithm-CheckDigits-0.50/CheckDigits/MXX_002.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M10_001.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M09_001.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_006.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M16_001.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M10_003.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M10_008.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_002.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_016.pm
-Algorithm-CheckDigits-0.50/CheckDigits/MXX_003.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_011.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M23_002.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M43_001.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_017.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_007.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M10_011.pm
-Algorithm-CheckDigits-0.50/CheckDigits/MXX_006.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M89_001.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M10_004.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M97_002.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_004.pm
-Algorithm-CheckDigits-0.50/CheckDigits/MBase_001.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M11_010.pm
-Algorithm-CheckDigits-0.50/CheckDigits/M10_009.pm
-Algorithm-CheckDigits-0.50/CheckDigits/MXX_001.pm
-Algorithm-CheckDigits-0.50/META.yml
-Algorithm-CheckDigits-0.50/.perltidyrc
-Algorithm-CheckDigits-0.50/README
-Algorithm-CheckDigits-0.50/MANIFEST
-Algorithm-CheckDigits-0.50/Makefile.PL
-CPAN: File::Temp loaded ok (v0.18)
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-
-  CPAN.pm: Going to build M/MA/MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
-
-Checking if your kit is complete...
-Looks good
-Writing Makefile for Algorithm::CheckDigits
-Could not read '/root/.cpan/build/Algorithm-CheckDigits-0.50-mL1o1L/META.yml'. Falling back to other methods to determine prerequisites
-cp CheckDigits/M11_001.pm blib/lib/Algorithm/CheckDigits/M11_001.pm
-cp CheckDigits/M11_010.pm blib/lib/Algorithm/CheckDigits/M11_010.pm
-cp CheckDigits/M97_002.pm blib/lib/Algorithm/CheckDigits/M97_002.pm
-cp CheckDigits/M23_001.pm blib/lib/Algorithm/CheckDigits/M23_001.pm
-cp CheckDigits/M97_001.pm blib/lib/Algorithm/CheckDigits/M97_001.pm
-cp CheckDigits/M16_001.pm blib/lib/Algorithm/CheckDigits/M16_001.pm
-cp CheckDigits/M10_006.pm blib/lib/Algorithm/CheckDigits/M10_006.pm
-cp CheckDigits/M11_013.pm blib/lib/Algorithm/CheckDigits/M11_013.pm
-cp CheckDigits/M07_001.pm blib/lib/Algorithm/CheckDigits/M07_001.pm
-cp CheckDigits/MXX_006.pm blib/lib/Algorithm/CheckDigits/MXX_006.pm
-cp CheckDigits/M10_008.pm blib/lib/Algorithm/CheckDigits/M10_008.pm
-cp CheckDigits/M11_017.pm blib/lib/Algorithm/CheckDigits/M11_017.pm
-cp CheckDigits/M10_003.pm blib/lib/Algorithm/CheckDigits/M10_003.pm
-cp CheckDigits/M11_016.pm blib/lib/Algorithm/CheckDigits/M11_016.pm
-cp CheckDigits/M11_003.pm blib/lib/Algorithm/CheckDigits/M11_003.pm
-cp CheckDigits/MXX_002.pm blib/lib/Algorithm/CheckDigits/MXX_002.pm
-cp CheckDigits/M10_001.pm blib/lib/Algorithm/CheckDigits/M10_001.pm
-cp CheckDigits/M10_004.pm blib/lib/Algorithm/CheckDigits/M10_004.pm
-cp CheckDigits/MXX_004.pm blib/lib/Algorithm/CheckDigits/MXX_004.pm
-cp CheckDigits/MBase_003.pm blib/lib/Algorithm/CheckDigits/MBase_003.pm
-cp CheckDigits/M43_001.pm blib/lib/Algorithm/CheckDigits/M43_001.pm
-cp CheckDigits/M10_005.pm blib/lib/Algorithm/CheckDigits/M10_005.pm
-cp CheckDigits/MXX_005.pm blib/lib/Algorithm/CheckDigits/MXX_005.pm
-cp CheckDigits/M11_006.pm blib/lib/Algorithm/CheckDigits/M11_006.pm
-cp CheckDigits/M11_004.pm blib/lib/Algorithm/CheckDigits/M11_004.pm
-cp CheckDigits/M11_012.pm blib/lib/Algorithm/CheckDigits/M11_012.pm
-cp CheckDigits/M09_001.pm blib/lib/Algorithm/CheckDigits/M09_001.pm
-cp CheckDigits/MXX_003.pm blib/lib/Algorithm/CheckDigits/MXX_003.pm
-cp CheckDigits/M11_008.pm blib/lib/Algorithm/CheckDigits/M11_008.pm
-cp CheckDigits/M89_001.pm blib/lib/Algorithm/CheckDigits/M89_001.pm
-cp CheckDigits/MBase_002.pm blib/lib/Algorithm/CheckDigits/MBase_002.pm
-cp CheckDigits/M11_011.pm blib/lib/Algorithm/CheckDigits/M11_011.pm
-cp CheckDigits/MBase_001.pm blib/lib/Algorithm/CheckDigits/MBase_001.pm
-cp CheckDigits/M10_009.pm blib/lib/Algorithm/CheckDigits/M10_009.pm
-cp CheckDigits/M11_002.pm blib/lib/Algorithm/CheckDigits/M11_002.pm
-cp CheckDigits.pm blib/lib/Algorithm/CheckDigits.pm
-cp CheckDigits/MXX_001.pm blib/lib/Algorithm/CheckDigits/MXX_001.pm
-cp CheckDigits/M10_011.pm blib/lib/Algorithm/CheckDigits/M10_011.pm
-cp CheckDigits/M11_007.pm blib/lib/Algorithm/CheckDigits/M11_007.pm
-cp CheckDigits/M11_015.pm blib/lib/Algorithm/CheckDigits/M11_015.pm
-cp CheckDigits/M23_002.pm blib/lib/Algorithm/CheckDigits/M23_002.pm
-cp CheckDigits/M10_002.pm blib/lib/Algorithm/CheckDigits/M10_002.pm
-cp CheckDigits/M11_009.pm blib/lib/Algorithm/CheckDigits/M11_009.pm
-cp CheckDigits/M10_010.pm blib/lib/Algorithm/CheckDigits/M10_010.pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_001.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_010.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M97_002.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M23_001.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M97_001.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M16_001.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M10_006.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_013.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M07_001.3pm
-Manifying blib/man3/Algorithm::CheckDigits::MXX_006.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M10_008.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_017.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M10_003.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_016.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_003.3pm
-Manifying blib/man3/Algorithm::CheckDigits::MXX_002.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M10_001.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M10_004.3pm
-Manifying blib/man3/Algorithm::CheckDigits::MXX_004.3pm
-Manifying blib/man3/Algorithm::CheckDigits::MBase_003.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M43_001.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M10_005.3pm
-Manifying blib/man3/Algorithm::CheckDigits::MXX_005.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_006.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_004.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_012.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M09_001.3pm
-Manifying blib/man3/Algorithm::CheckDigits::MXX_003.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_008.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M89_001.3pm
-Manifying blib/man3/Algorithm::CheckDigits::MBase_002.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_011.3pm
-Manifying blib/man3/Algorithm::CheckDigits::MBase_001.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M10_009.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M10_011.3pm
-Manifying blib/man3/Algorithm::CheckDigits::MXX_001.3pm
-Manifying blib/man3/Algorithm::CheckDigits.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_002.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_007.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_015.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M11_009.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M10_002.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M23_002.3pm
-Manifying blib/man3/Algorithm::CheckDigits::M10_010.3pm
-  MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
-  /usr/bin/make -- OK
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-Running make test
-PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
-t/checkdigits.....ok
-t/ecno............ok
-t/iban............ok
-t/imei............ok
-t/isbn13..........ok
-t/pod-coverage....skipped
-        all skipped: Test::Pod::Coverage 1.00 required for testing POD coverage
-t/pod.............skipped
-        all skipped: Test::Pod 1.00 required for testing POD
-t/upc.............ok
-t/valid...........ok
-All tests successful, 2 tests skipped.
-Files=9, Tests=448,  2 wallclock secs ( 0.35 cusr +  0.80 csys =  1.15 CPU)
-  MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
-  /usr/bin/make test -- OK
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-Running make install
-Prepending /root/.cpan/build/Algorithm-CheckDigits-0.50-mL1o1L/blib/arch /root/.cpan/build/Algorithm-CheckDigits-0.50-mL1o1L/blib/lib to PERL5LIB for 'install'
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_011.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MBase_002.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MXX_005.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_009.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_002.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MXX_001.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MXX_004.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M43_001.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_010.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_004.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_003.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MBase_003.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MXX_002.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_004.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_010.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_006.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M23_002.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M09_001.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_013.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_008.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_002.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M07_001.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_003.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M23_001.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MBase_001.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_016.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_017.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_001.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M97_001.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_007.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_006.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_008.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_001.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_015.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M16_001.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MXX_003.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_011.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_005.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M89_001.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M10_009.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/MXX_006.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M97_002.pm
-Installing /usr/lib/perl5/site_perl/5.10.0/Algorithm/CheckDigits/M11_012.pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_016.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_002.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_003.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::MBase_002.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_001.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_006.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::MBase_001.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_009.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_004.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_015.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_001.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_011.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M09_001.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_002.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_013.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_006.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_010.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::MBase_003.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_017.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M97_001.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_005.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M23_001.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_003.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_008.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_009.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_006.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M23_002.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M43_001.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M07_001.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_003.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M16_001.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_011.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_002.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_005.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_008.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_007.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_010.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M89_001.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_012.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M11_001.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M10_004.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::M97_002.3pm
-Installing /usr/share/man/man3/Algorithm::CheckDigits::MXX_004.3pm
-Writing /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi/auto/Algorithm/CheckDigits/.packlist
-Appending installation info to /usr/lib/perl5/5.10.0/i586-linux-thread-multi/perllocal.pod
-  MAMAWE/Algorithm-CheckDigits-0.50.tar.gz
-  /usr/bin/make install  -- OK
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-|--------------------
-
-
-=== Install Biblio::EndnoteStyle ===
-|--------------------
-cpan[2]> install Biblio::EndnoteStyle
-|--------------------
-
-
-
-
-=== Install the "CGI::Session::Serialize::yaml" Perl Module ===
-
-[Install CGI::Session::Serialize::yaml "instead" of CGI::Session to avoid problems related to JSON::Syck when installing CGI::Session. Don't worry: by installing CGI::Session::Serialize::yaml you are also installing CGI::Session]:
-|--------------------
-cpan[3]> install CGI::Session::Serialize::yaml
-
-[...]
-CGI-Session-Serialize-yaml-4.24/README
-CGI-Session-Serialize-yaml-4.24/Build.PL
-CGI-Session-Serialize-yaml-4.24/Makefile.PL
-CPAN: File::Temp loaded ok (v0.18)
-CPAN: Module::Build loaded ok (v0.280801)
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-
-  CPAN.pm: Going to build R/RS/RSAVAGE/CGI-Session-Serialize-yaml-4.24.tgz
-
-Checking whether your kit is complete...
-Looks good
-
-Checking prerequisites...
- - ERROR: Test::Pod is not installed
- - ERROR: CGI::Session is not installed
- - ERROR: CGI::Session::ErrorHandler is not installed
-
-ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
-of the modules indicated above before proceeding with this installation
-
-Creating new 'Build' script for 'CGI-Session-Serialize-yaml' version '4.24'
-Could not read '/root/.cpan/build/CGI-Session-Serialize-yaml-4.24-YmsZPx/META.yml'. Falling back to other methods to determine prerequisites
-----   Unsatisfied dependencies detected during  ----
----- RSAVAGE/CGI-Session-Serialize-yaml-4.24.tgz ----
-    CGI::Session [requires]
-    CGI::Session::ErrorHandler [requires]
-    Test::Pod [build_requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-[...]
-
-Checking prerequisites...
- - ERROR: Test::Pod is not installed
-
-ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
-of the modules indicated above before proceeding with this installation
-
-Creating new 'Build' script for 'CGI-Session' version '4.38'
-Could not read '/root/.cpan/build/CGI-Session-4.38-RYliaM/META.yml'. Falling back to other methods to determine prerequisites
----- Unsatisfied dependencies detected during ----
-----     MARKSTOS/CGI-Session-4.38.tar.gz     ----
-    Test::Pod [build_requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-[...]
-All tests successful, 1 test skipped.
-Files=11, Tests=19,  2 wallclock secs ( 0.83 cusr +  1.08 csys =  1.91 CPU)
-  PETDANCE/Test-Pod-1.26.tar.gz
-  /usr/bin/make test -- OK
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-Running make install
-P/PE/PETDANCE/Test-Pod-1.26.tar.gz is just needed temporarily during building or testing. Do you want to install it permanently? (Y/n) [yes]
-
-cpan[4]> quit
-Lockfile removed.
-|--------------------
-
-
-=== Install some "Class" Perl Modules ===
-To install the Class::Accessor Perl Module we'll use the available software package in openSUSE 11.0 (using yast) instead of downloading it from CPAN:
-|--------------------
-myhost:~/Koha-3.00.00 # yast -i perl-Class-Accessor
-|--------------------
-
-[this will also install a dependency: perl-Carp-Assert]
-
-|--------------------
-myhost:~/Koha-3.00.00 # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install Class::Factory::Util
-
-cpan[2]> quit
-Lockfile removed.
-|--------------------
-
-
-
-=== Install DBD::MySQL ===
-|--------------------
-myhost:~/koha-3.00.00 # yast -i perl-DBD-mysql
-|--------------------
-[this will also install a dependency: perl-Data-Showtable]
-
-=== Install some "Data" Perl Modules ===
-|--------------------
-myhost:~/koha-3.00.00 # cpan
-CPAN: File::HomeDir loaded ok (v0.69)
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install Data::ICal
-
-CPAN: File::Temp loaded ok (v0.18)
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-
-  CPAN.pm: Going to build J/JE/JESSE/Data-ICal-0.13.tar.gz
-
-*** Module::AutoInstall version 1.03
-*** Checking for Perl dependencies...
-[Core Features]
-- Test::More          ...loaded. (0.72)
-- Test::Warn          ...missing.
-- Test::NoWarnings    ...missing.
-- Test::LongString    ...missing.
-- Class::Accessor     ...loaded. (0.31)
-- Text::vFile::asData ...missing.
-- MIME::QuotedPrint   ...loaded. (3.07)
-- Class::ReturnValue  ...missing.
-==> Auto-install the 5 mandatory module(s) from CPAN? [y]
-
-*** Since we're running under CPANPLUS, I'll just let it take care
-    of the dependency's installation later.
-*** Module::AutoInstall configuration finished.
-Checking if your kit is complete...
-Looks good
-Warning: prerequisite Class::ReturnValue 0 not found.
-Warning: prerequisite Test::LongString 0 not found.
-Warning: prerequisite Test::NoWarnings 0 not found.
-Warning: prerequisite Test::Warn 0 not found.
-Warning: prerequisite Text::vFile::asData 0 not found.
-Writing Makefile for Data::ICal
-Could not read '/root/.cpan/build/Data-ICal-0.13-X1jsxc/META.yml'. Falling back to other methods to determine prerequisites
----- Unsatisfied dependencies detected during ----
-----        JESSE/Data-ICal-0.13.tar.gz       ----
-    Test::LongString [requires]
-    Class::ReturnValue [requires]
-    Test::NoWarnings [requires]
-    Text::vFile::asData [requires]
-    Test::Warn [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
----- Unsatisfied dependencies detected during ----
-----    JESSE/Class-ReturnValue-0.55.tar.gz   ----
-    Devel::StackTrace [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-Warning: prerequisite Test::Tester 0.103 not found.
-Writing Makefile for Test::NoWarnings
-Could not read '/root/.cpan/build/Test-NoWarnings-0.084-DMJBk3/META.yml'. Falling back to other methods to determine 
-
-prerequisites
----- Unsatisfied dependencies detected during ----
-----    FDALY/Test-NoWarnings-0.084.tar.gz    ----
-    Test::Tester [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-Running install for module 'Text::vFile::asData'
-'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
----- Unsatisfied dependencies detected during ----
-----   RCLAMP/Text-vFile-asData-0.05.tar.gz   ----
-    Class::Accessor::Chained [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-
-Warning: prerequisite Array::Compare 0 not found.
-Warning: prerequisite Sub::Uplevel 0.12 not found.
-Warning: prerequisite Test::Exception 0 not found.
-Warning: prerequisite Tree::DAG_Node 0 not found.
-Writing Makefile for Test::Warn
-Could not read '/root/.cpan/build/Test-Warn-0.10-9ekdi2/META.yml'. Falling back to other methods to determine prerequisites
----- Unsatisfied dependencies detected during ----
-----       CHORNY/Test-Warn-0.10.tar.gz       ----
-    Test::Exception [requires]
-    Sub::Uplevel [requires]
-    Array::Compare [requires]
-    Tree::DAG_Node [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-
----- Unsatisfied dependencies detected during ----
-----      ADIE/Test-Exception-0.27.tar.gz     ----
-    Sub::Uplevel [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-
-cpan[2]> quit
-Lockfile removed.
-|--------------------
-
-
-
-=== Install some "Date" Perl Modules ===
-|--------------------
-myhost:~/koha-3.00.00 # yast -i perl-Date-Calc
-|--------------------
-[This will also install 2 other dependencies: perl-Carp-Clan and perl-Bit-Vector]
-
-|--------------------
-myhost:~/koha-3.00.00 # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install Date::ICal
-
-
-Warning: prerequisite Date::Leapyear 1.03 not found.
-Writing Makefile for Date::ICal
----- Unsatisfied dependencies detected during ----
-----        RBOW/Date-ICal-1.72.tar.gz        ----
-    Date::Leapyear [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-
-cpan[2]> quit
-Lockfile removed.
-
-myhost:~/koha-3.00.00 # yast -i perl-DateManip
-|--------------------
-
-
-=== Install the "Email::Date" Perl Module ===
-|--------------------
-myhost:~/koha-3.00.00 # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install Email::Date
-
-
-Warning: prerequisite Email::Abstract 2.10 not found.
-Warning: prerequisite Email::Date::Format 1.000 not found.
-Writing Makefile for Email::Date
-Could not read '/root/.cpan/build/Email-Date-1.103-LsgMdE/META.yml'. Falling back to other methods to determine prerequisites
----- Unsatisfied dependencies detected during ----
-----       RJBS/Email-Date-1.103.tar.gz       ----
-    Email::Abstract [requires]
-    Email::Date::Format [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-Warning: prerequisite Email::Simple 1.91 not found.
-Writing Makefile for Email::Abstract
-Could not read '/root/.cpan/build/Email-Abstract-2.134-zLB1QI/META.yml'. Falling back to other methods to determine prerequisites
----- Unsatisfied dependencies detected during ----
-----     RJBS/Email-Abstract-2.134.tar.gz     ----
-    Email::Simple [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-cpan[2]> quit
-Lockfile removed.
-|--------------------
-
-=== Install the "GD" Perl Module ===
-|--------------------
-myhost:~/koha-3.00.00 # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install GD
-
-[many lines scroll by...] 
-
-**UNRECOVERABLE ERROR**
-Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher.
-If you want to try to compile anyway, please rerun this script with the option --ignore_missing_gd.
-Warning: No success on command[/usr/bin/perl Makefile.PL]
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-  LDS/GD-2.41.tar.gz
-  /usr/bin/perl Makefile.PL -- NOT OK
-Running make test
-  Make had some problems, won't test
-Running make install
-  Make had some problems, won't install
-Could not read '/root/.cpan/build/GD-2.41-4ZLPXP/META.yml'. Falling back to other methods to determine prerequisites
-Failed during this command:
- LDS/GD-2.41.tar.gz                           : writemakefile NO '/usr/bin/perl Makefile.PL' returned status 512
-
-cpan[2]> quit
-Lockfile removed.
-|--------------------
-
-OK. It seems that we need to install the GD software packages. Let's do that:
-
-|--------------------
-myhost:~/koha-3.00.00 # yast -i gd
-
-myhost:~/koha-3.00.00 # yast -i gd-devel
-|--------------------
-
-And now let's try again to install the "GD" Perl Module
-|--------------------
-myhost:~/koha-3.00.00 # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install GD
-
-[many lines scroll by...]
-
-/usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: cannot find -lXpm
-collect2: ld returned 1 exit status
-make: *** [blib/arch/auto/GD/GD.so] Error 1
-  LDS/GD-2.41.tar.gz
-  /usr/bin/make -- NOT OK
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-Running make test
-  Can't test without successful make
-Running make install
-  Make had returned bad status, install seems impossible
-Failed during this command:
- LDS/GD-2.41.tar.gz                           : make NO
-
-cpan[2]> quit
-Lockfile removed.
-|--------------------
-
-OK. We got another error, mentioning "-lXpm". Apparently, this is related to libXpm (the "X.Org Xpm Library"). Let's install the "xorg-x11-libXpm-devel" software package:
-
-|--------------------
-myhost:~/koha-3.00.00 # yast -i xorg-x11-libXpm-devel
-|--------------------
-
-[This will also install 9 other xorg-x11-....-devel software packages: xorg-x11-proto-devel, xorg-x11-xtrans-devel, xorg-x11-libXdmcp-devel ...]
-
-If you'd try now to install again the "GD" perl module, you'd get another error, now concerning "ljpeg" (and in other attempt to "lfontconfig"... and yet in another to "lpng12"). So, let's first install the "libjpeg-devel", "fontconfig-devel" and "libpng-devel" software packages:
-
-|--------------------
-myhost:~/koha-3.00.00 # yast -i libjpeg-devel
-
-myhost:~/koha-3.00.00 # yast -i fontconfig-devel
-
-myhost:~/koha-3.00.00 # yast -i libpng-devel
-|--------------------
-
-[Installing fontconfig-devel will also install some other dependencies: zlib-devel, libexpat-devel and freetype2-devel]
-
-And now, finally, we can install the "GD" Perl Module:
-|--------------------
-myhost:~/koha-3.00.00 # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install GD
-
-cpan[2]> quit
-Lockfile removed.
-|--------------------
-
-=== Install the "GD::Barcode::UPCE" Perl Module ===
-|--------------------
-myhost:~/Koha # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install GD::Barcode::UPCE
-|--------------------
-
-=== Install the "HTML::Template::Pro" Perl Module ===
-
-In the same CPAN prompt, type the following command:
-|--------------------
-cpan[2]> install HTML::Template::Pro
-
-cpan[3]> quit
-Lockfile removed.
-|--------------------
-
-
-
-
-
-=== Install the "Lingua::Stem" Perl Module ===
-|--------------------
-myhost:~ # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install Lingua::Stem
-
-
-Checking prerequisites...
- - ERROR: Lingua::PT::Stemmer is not installed
- - ERROR: Lingua::Stem::It is not installed
- - ERROR: Lingua::Stem::Snowball::No is not installed
- - ERROR: Text::German is not installed
- - ERROR: Lingua::Stem::Snowball::Se is not installed
- - ERROR: Lingua::Stem::Fr is not installed
- - ERROR: Lingua::GL::Stemmer is not installed
- - ERROR: Lingua::Stem::Snowball::Da is not installed
- - ERROR: Lingua::Stem::Ru is not installed
-
-ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
-of the modules indicated above before proceeding with this installation
-
-Creating new 'Build' script for 'Lingua-Stem' version '0.83'
-Could not read '/root/.cpan/build/Lingua-Stem-0.83-cmPLcK/META.yml'. Falling back to other methods to determine prerequisites
----- Unsatisfied dependencies detected during ----
-----     SNOWHARE/Lingua-Stem-0.83.tar.gz     ----
-    Lingua::PT::Stemmer [requires]
-    Lingua::Stem::It [requires]
-    Lingua::Stem::Snowball::No [requires]
-    Text::German [requires]
-    Lingua::Stem::Snowball::Se [requires]
-    Lingua::Stem::Fr [requires]
-    Lingua::GL::Stemmer [requires]
-    Lingua::Stem::Snowball::Da [requires]
-    Lingua::Stem::Ru [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-|--------------------
-
-
-=== Install the "HTML::Scrubber" Perl Module ===
-In the same CPAN prompt, type the following command:
-|--------------------
-cpan[2]> install HTML::Scrubber
-
-
-cpan[3]> quit
-Lockfile removed.
-|--------------------
-
-=== Install the "List::MoreUtils" Perl Module ===
-|--------------------
-myhost:~ # yast -i perl-List-MoreUtils
-|--------------------
-(If the above command does not work, you probably did not set up the "Official openSUSE 11.0 OSS Repository". See the "Configure Software Repositories" section earlier in this document that explains how you set up it inside yast).
-
-
-
-=== Install some "MARC" Perl Modules ===
-|--------------------
-myhost:~ # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install MARC::Charset
-MARC::Charset is up to date (1.0).
-
-cpan[2]> install MARC::Crosswalk::DublinCore
-
-
-Checking prerequisites...
- - ERROR: DublinCore::Record is not installed
- - ERROR: MARC::Record is not installed
-
-ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
-of the modules indicated above before proceeding with this installation
-
-Creating new 'Build' script for 'MARC-Crosswalk-DublinCore' version '0.02'
-Could not read '/root/.cpan/build/MARC-Crosswalk-DublinCore-0.02-xrMlqr/META.yml'. Falling back to other methods to determine 
-
-prerequisites
-----   Unsatisfied dependencies detected during   ----
----- BRICAS/MARC-Crosswalk-DublinCore-0.02.tar.gz ----
-    DublinCore::Record [requires]
-    MARC::Record [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-
-cpan[3]> install MARC::File::XML
-
-
-cpan[4]> install MARC::Record
-MARC::Record is up to date (2.0.0).
-
-
-cpan[3]> quit
-Lockfile removed.
-|--------------------
-
-
-=== Install the "MIME::Lite" Perl Module === 
-|--------------------
-myhost:~/Koha-3.00.00 # yast -i perl-MIME-Lite
-|--------------------
-
-=== Install the "Mail::Sendmail" Perl Module ===
-|--------------------
-myhost:~ # yast -i perl-Mail-Sendmail
-|--------------------
-(If the above command does not work, you probably did not set up the "Official openSUSE 11.0 OSS Repository". See the "Configure Software Repositories" section earlier in this document that explains how you set up it inside yast).
-
-
-=== Install some "Net" Perl Modules ===
-|--------------------
-myhost:~ # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install Net::LDAP
-
-
-*** Module::AutoInstall version 1.03
-*** Checking for Perl dependencies...
-[Core Features]
-- Convert::ASN1    ...missing. (would need 0.07)
-==> Auto-install the 1 mandatory module(s) from CPAN? [y]
-[SASL authentication]
-- Authen::SASL     ...missing. (would need 2.00)
-==> Auto-install the 1 optional module(s) from CPAN? [n]
-[LDAP URLs]
-- URI::ldap        ...loaded. (1.11 >= 1.1)
-[LDAPS]
-- IO::Socket::SSL  ...missing. (would need 0.81)
-==> Auto-install the 1 optional module(s) from CPAN? [n]
-[Read/Write DSML files]
-- MIME::Base64     ...loaded. (3.07_01)
-- XML::SAX::Writer ...missing.
-==> Auto-install the 1 optional module(s) from CPAN? [n]
-[Read/Write LDIF files]
-- MIME::Base64     ...loaded. (3.07_01)
-
-*** Since we're running under CPANPLUS, I'll just let it take care
-    of the dependency's installation later.
-*** Module::AutoInstall configuration finished.
-
-*** Since we're running under CPANPLUS, I'll just let it take care
-    of the dependency's installation later.
-Checking if your kit is complete...
-Looks good
-Warning: prerequisite Convert::ASN1 0.07 not found.
-Writing Makefile for Net::LDAP
-Could not read '/root/.cpan/build/perl-ldap-0.36-gUbl59/META.yml'. Falling back to other methods to determine prerequisites
----- Unsatisfied dependencies detected during ----
-----        GBARR/perl-ldap-0.36.tar.gz       ----
-    Convert::ASN1 [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-
-cpan[16]> install Net::LDAP::Filter
-Net::LDAP::Filter is up to date (0.15).
-
-
-cpan[7]> install Net::Z3950::ZOOM
-Running install for module 'Net::Z3950::ZOOM'
-'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
-Running make for M/MI/MIRK/Net-Z3950-ZOOM-1.21.tar.gz
-Fetching with LWP:
-  ftp://ftp.isr.ist.utl.pt/pub/CPAN/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.21.tar.gz
-Checksum for /root/.cpan/sources/authors/id/M/MI/MIRK/Net-Z3950-ZOOM-1.21.tar.gz ok
-Net-Z3950-ZOOM-1.21/
-Net-Z3950-ZOOM-1.21/samples/
-Net-Z3950-ZOOM-1.21/samples/zoom/
-Net-Z3950-ZOOM-1.21/samples/zoom/trivial-async.pl
-Net-Z3950-ZOOM-1.21/samples/zoom/zdump.pl
-Net-Z3950-ZOOM-1.21/samples/zoom/async.pl
-Net-Z3950-ZOOM-1.21/samples/zoom/zoomscan.pl
-Net-Z3950-ZOOM-1.21/samples/zoom/zhello.pl
-Net-Z3950-ZOOM-1.21/samples/zoom/zoomtst1.pl
-Net-Z3950-ZOOM-1.21/samples/zoom/zselect
-Net-Z3950-ZOOM-1.21/samples/zoom/update.pl
-Net-Z3950-ZOOM-1.21/samples/zoom/zoomtst3.pl
-Net-Z3950-ZOOM-1.21/samples/README
-Net-Z3950-ZOOM-1.21/samples/net-z3950/
-Net-Z3950-ZOOM-1.21/samples/net-z3950/zoomtst1.pl
-Net-Z3950-ZOOM-1.21/samples/records/
-Net-Z3950-ZOOM-1.21/samples/records/esdd0006.grs
-Net-Z3950-ZOOM-1.21/samples/ccl/
-Net-Z3950-ZOOM-1.21/samples/ccl/default.bib
-Net-Z3950-ZOOM-1.21/samples/cql/
-Net-Z3950-ZOOM-1.21/samples/cql/pqf.properties
-Net-Z3950-ZOOM-1.21/samples/net-z3950-zoom/
-Net-Z3950-ZOOM-1.21/samples/net-z3950-zoom/async.pl
-Net-Z3950-ZOOM-1.21/samples/net-z3950-zoom/zoomtst1.pl
-Net-Z3950-ZOOM-1.21/samples/net-z3950-zoom/zoomtst3.pl
-Net-Z3950-ZOOM-1.21/README
-Net-Z3950-ZOOM-1.21/Changes
-Net-Z3950-ZOOM-1.21/META.yml
-Net-Z3950-ZOOM-1.21/MANIFEST
-Net-Z3950-ZOOM-1.21/ZOOM.xs
-Net-Z3950-ZOOM-1.21/MANIFEST.SKIP
-Net-Z3950-ZOOM-1.21/Makefile.PL
-Net-Z3950-ZOOM-1.21/t/
-Net-Z3950-ZOOM-1.21/t/29-events.t
-Net-Z3950-ZOOM-1.21/t/11-option-callback.t
-Net-Z3950-ZOOM-1.21/t/15-scan.t
-Net-Z3950-ZOOM-1.21/t/16-packages.t
-Net-Z3950-ZOOM-1.21/t/13-resultset.t
-Net-Z3950-ZOOM-1.21/t/24-sorting.t
-Net-Z3950-ZOOM-1.21/t/17-logging.t
-Net-Z3950-ZOOM-1.21/t/20-options.t
-Net-Z3950-ZOOM-1.21/t/12-query.t
-Net-Z3950-ZOOM-1.21/t/10-options.t
-Net-Z3950-ZOOM-1.21/t/1-Net-Z3950-ZOOM.t
-Net-Z3950-ZOOM-1.21/t/22-query.t
-Net-Z3950-ZOOM-1.21/t/27-logging.t
-Net-Z3950-ZOOM-1.21/t/25-scan.t
-Net-Z3950-ZOOM-1.21/t/19-events.t
-Net-Z3950-ZOOM-1.21/t/14-sorting.t
-Net-Z3950-ZOOM-1.21/t/28-charset.t
-Net-Z3950-ZOOM-1.21/t/23-resultset.t
-Net-Z3950-ZOOM-1.21/t/26-packages.t
-Net-Z3950-ZOOM-1.21/t/18-charset.t
-Net-Z3950-ZOOM-1.21/t/2-ZOOM.t
-Net-Z3950-ZOOM-1.21/t/21-option-callback.t
-Net-Z3950-ZOOM-1.21/typemap
-Net-Z3950-ZOOM-1.21/lib/
-Net-Z3950-ZOOM-1.21/lib/ZOOM.pm
-Net-Z3950-ZOOM-1.21/lib/ZOOM.pod
-Net-Z3950-ZOOM-1.21/lib/Net/
-Net-Z3950-ZOOM-1.21/lib/Net/Z3950/
-Net-Z3950-ZOOM-1.21/lib/Net/Z3950/ZOOM.pm
-Net-Z3950-ZOOM-1.21/lib/Net/Z3950.pm
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-
-  CPAN.pm: Going to build M/MI/MIRK/Net-Z3950-ZOOM-1.21.tar.gz
-
-ERROR: Unable to call script: yaz-config
-If you are using a YAZ installation from the Debian package "yaz", you
-will also need to install "libyaz-dev" in order to build this module.
-Warning: No success on command[/usr/bin/perl Makefile.PL]
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-  MIRK/Net-Z3950-ZOOM-1.21.tar.gz
-  /usr/bin/perl Makefile.PL -- NOT OK
-Running make test
-  Make had some problems, won't test
-Running make install
-  Make had some problems, won't install
-Could not read '/root/.cpan/build/Net-Z3950-ZOOM-1.21-gHBrEl/META.yml'. Falling back to other methods to determine 
-
-prerequisites
-Failed during this command:
- MIRK/Net-Z3950-ZOOM-1.21.tar.gz              : writemakefile NO '/usr/bin/perl Makefile.PL' returned status 512
-|--------------------
-
-== Installing libyaz, libyaz-devel and yaz for Net::Z3950::ZOOM ==
-
-OK... So we ran through a problem with a missing "yaz-config" while installing Net::Z3950::ZOOM. To solve this, let's first install the libyaz package:
-
-  * Install the libyaz package:
-|--------------------
-# yast -i libyaz
-|--------------------
-[This will also install 1 dependency: libxslt]
-
-We also have to install another package:libyaz-devel. libyaz-devel is NOT available in the openSUSE 11 DVD but it is available in the Official openSUSE 11 OSS Repository. If you have skipped that step, add that repository in yast first.
-
-  * Install the libyaz-devel package:
-|--------------------
-# yast -i libyaz-devel
-|--------------------
-(If the above command does not work, you probably did not set up the "Official openSUSE 11.0 OSS Repository". See the "Configure Software Repositories" section earlier in this document that explains how you set up it inside yast).
-
-Installing libyaz-devel will also add some other packages that libyaz-devel depends on, namely: 
-zlib-devel, tcpd-devel, tack, libgpg-error-devel, ncurses-devel, libopenssl-devel, libgcrypt-devel, readline-devel, libxml2-devel and libxslt-devel.
-
-  * Install the yaz package:
-|--------------------
-# yast -i yaz
-|--------------------
-
-(//15-Jul-2008: Thanks to Bob Ewart for catching this missing step of installing yaz//)
-
-
-Let's now install the Net::Z3950::ZOOM Perl Module:
-
-|--------------------
-myhost:~ # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install Net::Z3950::ZOOM
-cpan[2]> quit
-Lockfile removed.
-|--------------------
-
-
-
-
-=== Install some "PDF" Perl Modules ===
-
-|--------------------
-myhost:~ # yast -i perl-PDF-API2
-
-myhost:~ # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install PDF::API2::Page
-PDF::API2::Page is up to date (2.001).
-
-cpan[2]> install PDF::API2::Util
-PDF::API2::Util is up to date (2.000).
-
-
-cpan[3]> install PDF::Reuse
-
-Warning: prerequisite Font::TTF 0 not found.
-Warning: prerequisite Text::PDF::TTFont0 0 not found.
-Writing Makefile for PDF::Reuse
-Could not read '/root/.cpan/build/PDF-Reuse-0.35-rBhjys/META.yml'. Falling back to other methods to determine prerequisites
----- Unsatisfied dependencies detected during ----
-----      LARSLUND/PDF-Reuse-0.35.tar.gz      ----
-    Text::PDF::TTFont0 [requires]
-    Font::TTF [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-
-cpan[4]> install PDF::Reuse::Barcode
-
-Warning: prerequisite Barcode::Code128 0 not found.
-Writing Makefile for PDF::Reuse::Barcode
----- Unsatisfied dependencies detected during ----
-----  LARSLUND/PDF-Reuse-Barcode-0.05.tar.gz  ----
-    Barcode::Code128 [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-[...]
-
-Barcode-Code128-2.01/lib/Barcode/
-Barcode-Code128-2.01/lib/Barcode/Code128.pm
-Barcode-Code128-2.01/META.yml
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-
-  CPAN.pm: Going to build W/WR/WRW/Barcode-Code128-2.01.tar.gz
-
-Checking if your kit is complete...
-Looks good
-Writing Makefile for Barcode::Code128
-Could not read '/root/.cpan/build/Barcode-Code128-2.01-1g3s6u/META.yml'. Falling back to other methods to determine prerequisites
-cp lib/Barcode/Code128.pm blib/lib/Barcode/Code128.pm
-Manifying blib/man3/Barcode::Code128.3pm
-  WRW/Barcode-Code128-2.01.tar.gz
-  /usr/bin/make -- OK
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-Running make test
-PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
-t/barcode....ok
-t/gif........ok 1/0skipped
-        all skipped: no reason given
-t/png........FAILED test 2
-        Failed 1/2 tests, 50.00% okay
-Failed Test Stat Wstat Total Fail  List of Failed
--------------------------------------------------------------------------------
-t/png.t                    2    1  2
-1 test skipped.
-Failed 1/3 test scripts. 0/4 subtests failed.
-Files=3, Tests=4,  1 wallclock secs ( 0.17 cusr +  0.27 csys =  0.44 CPU)
-Failed 1/3 test programs. 0/4 subtests failed.
-make: *** [test_dynamic] Error 255
-  WRW/Barcode-Code128-2.01.tar.gz
-  /usr/bin/make test -- NOT OK
-//hint// to see the cpan-testers results for installing this module, try:
-  reports WRW/Barcode-Code128-2.01.tar.gz
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-Running make install
-  make test had returned bad status, won't install without force
-Running make for L/LA/LARSLUND/PDF-Reuse-Barcode-0.05.tar.gz
-  Has already been unwrapped into directory /root/.cpan/build/PDF-Reuse-Barcode-0.05-xyOb8t
-
-  CPAN.pm: Going to build L/LA/LARSLUND/PDF-Reuse-Barcode-0.05.tar.gz
-
-Warning: Prerequisite 'Barcode::Code128 => 0' for 'L/LA/LARSLUND/PDF-Reuse-Barcode-0.05.tar.gz' failed when processing 'W/WR/WRW/Barcode-Code128-2.01.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
-cp Barcode.pm blib/lib/PDF/Reuse/Barcode.pm
-Manifying blib/man3/PDF::Reuse::Barcode.3pm
-  LARSLUND/PDF-Reuse-Barcode-0.05.tar.gz
-  /usr/bin/make -- OK
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-Running make test
-PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
-1..15
-# Running under perl version 5.010000 for linux
-# Current time local: Mon Dec  1 23:33:14 2008
-# Current time GMT:   Mon Dec  1 23:33:14 2008
-# Using Test.pm version 1.25
-ok 1
-ok 2
-ok 3
-ok 4
-ok 5
-ok 6
-ok 7
-ok 8
-ok 9
-ok 10
-ok 11
-ok 12
-ok 13
-Can't find Barcode::Code128 - can't produce those barcodes
-not ok 14
-# Failed test 14 in test.pl at line 18
-#  test.pl line 18 is: ok(find('Barcode::Code128'));
-ok 15
-  LARSLUND/PDF-Reuse-Barcode-0.05.tar.gz
-Tests succeeded but one dependency not OK (Barcode::Code128)
-Warning (usually harmless): 'YAML' not installed, will not store persistent state
-  LARSLUND/PDF-Reuse-Barcode-0.05.tar.gz
-  [dependencies] -- NA
-Running make install
-  make test had returned bad status, won't install without force
-Failed during this command:
- WRW/Barcode-Code128-2.01.tar.gz              : make_test NO
- LARSLUND/PDF-Reuse-Barcode-0.05.tar.gz       : make_test NO one dependency not OK (Barcode::Code128)
-
-|--------------------
-
-
-**01-Dec-2008**: Oh well... So, it seems that the installation of PDF::Reuse::Barcode failed due to a Perl Module dependency - "Barcode::Code128" - that, in turn, fails to install when doing some PNG related tests. According to Galen Charlton (from LibLime) - http://lists.katipo.co.nz/public/koha/2007-December/012843.html - "There seem to be various problems with Barcode::Code128 on various platforms, particularly with its test suite. The barcode generation functionality is used in only a couple places in Koha, so for quick-and-dirty testing, doing a force install of that module should be OK."
-
-On a related note, this "Barcode::Code128" installation bug is being tracked at:
-
-#28369: test result negative maybe due to library skew 
- http://rt.cpan.org/Public/Bug/Display.html?id=28369
-
-OK. So, let's do then a "force install" of the Barcode::Code128 Perl Module in the same CPAN prompt:
-
-|--------------------
-cpan[5]> force install "Barcode::Code128"
-|--------------------
-
-And still in the same CPAN prompt, let's now try again to install "PDF::Reuse::Barcode":
-|--------------------
-cpan[6]> install PDF::Reuse::Barcode
-|--------------------
-
-=== Install the "POE" Perl Module ===
-In the same CPAN prompt, type the following command:
-|--------------------
-cpan[5]> install POE
-
-
-Some of POE's tests require a functional network.
-You can skip these tests if you'd like.
-
-Would you like to skip the network tests? [n]
-
-*** Some optional features may not be available:
-***   Curses 1.08 could not be loaded.
-***   Event 1 could not be loaded.
-***   Gtk 0.7009 could not be loaded.
-***   IO::Pty 1.02 could not be loaded.
-***   Socket6 0.14 could not be loaded.
-***   Tk 800.027 could not be loaded.
-Checking if your kit is complete...
-Looks good
-Warning: prerequisite POE::Test::Loops 1.002 not found.
-Writing Makefile for POE
-Could not read '/root/.cpan/build/POE-1.003-0euNum/META.yml'. Falling back to other methods to determine prerequisites
----- Unsatisfied dependencies detected during ----
-----         RCAPUTO/POE-1.003.tar.gz         ----
-    POE::Test::Loops [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-|--------------------
-
-
-=== Install the "SMS::Send" Perl Module ===
-
-In the same CPAN prompt, type the following command:
-|--------------------
-cpan[6]> install SMS::Send
-
-Checking if your kit is complete...
-Looks good
-Warning: prerequisite Class::Adapter 1.00 not found.
-Warning: prerequisite Params::Util 0.14 not found.
-Writing Makefile for SMS::Send
-Could not read '/root/.cpan/build/SMS-Send-0.05-xGdd7H/META.yml'. Falling back to other methods to determine prerequisites
----- Unsatisfied dependencies detected during ----
-----        ADAMK/SMS-Send-0.05.tar.gz        ----
-    Params::Util [requires]
-    Class::Adapter [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-cpan[7]> quit
-Lockfile removed.
-
-|--------------------
-
-=== Install the "Schedule::At" Perl Module ===
-
-  * Install "at":
-|--------------------
-# yast -i at
-|--------------------
-  * Install the Schedule::At Perl module:
-|--------------------
-myhost:~ # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-cpan[1]> install Schedule::At
-|--------------------
-
-=== Install some "Text" Perl Modules ===
-In the same CPAN prompt, type the following command:
-|--------------------
-cpan[2]> install Text::CSV
-
-
-cpan[3]> install Text::CSV_XS
-
-
-cpan[4]> install Text::Iconv
-
-cpan[5]> quit
-Lockfile removed.
-|--------------------
-
-
-
-=== Install some "XML" Perl Modules ===
-|--------------------
-myhost:~ # yast -i perl-XML-Dumper
-
-myhost:~ # yast -i perl-XML-LibXSLT
-
-
-myhost:~ # cpan
-
-cpan shell -- CPAN exploration and modules installation (v1.9205)
-ReadLine support enabled
-
-
-cpan[1]> install XML::RSS
-
-Warning: prerequisite DateTime 0 not found.
-Warning: prerequisite DateTime::Format::Mail 0 not found.
-Warning: prerequisite DateTime::Format::W3CDTF 0 not found.
-Warning: prerequisite Test::Manifest 0.9 not found.
-Writing Makefile for XML::RSS
-Could not read '/root/.cpan/build/XML-RSS-1.32-7BXl7q/META.yml'. Falling back to other methods to determine prerequisites
----- Unsatisfied dependencies detected during ----
-----        SHLOMIF/XML-RSS-1.32.tar.gz       ----
-    DateTime [requires]
-    DateTime::Format::W3CDTF [requires]
-    Test::Manifest [requires]
-    DateTime::Format::Mail [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-Warning: prerequisite DateTime::Locale 0.4 not found.
-Warning: prerequisite DateTime::TimeZone 0.59 not found.
-Warning: prerequisite Params::Validate 0.76 not found.
-Writing Makefile for DateTime
-Could not read '/root/.cpan/build/DateTime-0.4302-YXqzkk/META.yml'. Falling back to other methods to determine prerequisites
----- Unsatisfied dependencies detected during ----
-----      DROLSKY/DateTime-0.4302.tar.gz      ----
-    DateTime::Locale [requires]
-    DateTime::TimeZone [requires]
-    Params::Validate [requires]
-    Time::y2038 [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-
-Checking prerequisites...
- - ERROR: Params::Validate is not installed
-
-ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
-of the modules indicated above before proceeding with this installation
-
-Creating new 'Build' script for 'DateTime-Locale' version '0.4001'
-Could not read '/root/.cpan/build/DateTime-Locale-0.4001-ThLGMW/META.yml'. Falling back to other methods to determine 
-
-prerequisites
----- Unsatisfied dependencies detected during ----
-----   DROLSKY/DateTime-Locale-0.4001.tar.gz  ----
-    Params::Validate [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-
-Checking prerequisites...
- - ERROR: Class::Singleton is not installed
-
-ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
-of the modules indicated above before proceeding with this installation
-
-Creating new 'Build' script for 'DateTime-TimeZone' version '0.77'
-Could not read '/root/.cpan/build/DateTime-TimeZone-0.77-MPrKnn/META.yml'. Falling back to other methods to determine 
-
-prerequisites
----- Unsatisfied dependencies detected during ----
-----   DROLSKY/DateTime-TimeZone-0.77.tar.gz  ----
-    Class::Singleton [requires]
-Shall I follow them and prepend them to the queue
-of modules we are processing right now? [yes]
-
-[...]
-
-B/BD/BDFOY/Test-Manifest-1.22.tar.gz is just needed temporarily during building or testing. Do you want to install it permanently? (Y/n) [yes]
-
-cpan[2]> quit
-Lockfile removed.
-|--------------------
-
-=== Install the "YAML::Syck" Perl Module ===
-|--------------------
-myhost:~ # yast -i perl-YAML-Syck
-|--------------------
-
-
-==== Create the Koha User and Group ====
-
-|--------------------
-# useradd koha
-
-# passwd koha
-Changing password for koha.
-New Password:
-Reenter New Password:
-Password changed.
-
-# groupadd koha
-|--------------------
-
-
-
-==== Run make test ====
-|--------------------
-myhost:~/Koha # make test
-cp koha-tmpl/opac-tmpl/prog/famfamfam/silk/error_go.png blib/OPAC_TMPL_DIR/prog/famfamfam/silk/error_go.png
-cp opac/opac-changelanguage.pl blib/OPAC_CGI_DIR/opac/opac-changelanguage.pl
-cp koha-tmpl/intranet-tmpl/prog/img/itemtypeimg/liblime-kids/card.gif 
-
-blib/INTRANET_TMPL_DIR/prog/img/itemtypeimg/liblime-kids/card.gif
-cp koha-tmpl/opac-tmpl/prog/famfamfam/mini/note.gif blib/OPAC_TMPL_DIR/prog/famfamfam/mini/note.gif
-|--------------------
-[many more lines beginning with "cp" should appear...]
-
-|--------------------
-t/Amazon....................ok
-t/Barcodes_PrinterConfig....ok
-t/Bookfund..................ok
-t/Bookseller................ok
-t/Boolean...................ok
-t/Branch....................ok
-t/Calendar..................ok
-t/Charset...................ok
-t/Debug.....................# BEFORE use:     $debug is not defined
-# BEFORE use: $cgi_debug is not defined
-t/Debug.....................ok 1/3#  AFTER use:     $debug is 0
-#  AFTER use: $cgi_debug is 0
-# Done.
-t/Debug.....................ok
-t/dummy.....................ok
-t/Input.....................ok
-t/Koha......................ok
-t/Languages.................ok
-t/Maintainance..............ok
-t/Output....................ok
-t/Record....................ok
-t/Review....................ok
-t/Scrubber..................ok 1/10# Note: scrubber test output will have whitespace collapsed for readability
-# done.
-t/Scrubber..................ok
-t/Stats.....................ok
-All tests successful.
-Files=19, Tests=47, 21 wallclock secs ( 4.82 cusr +  5.55 csys = 10.37 CPU)
-|--------------------
-
-
-=== Run "make install" ===
-
-Now, we will run make install:
-
-|--------------------
-myhost:~/Koha # make install
-|--------------------
-[Several lines starting with "Manifying" and many lines starting with "Installing" will scroll by...]
-|--------------------
-Installing /usr/share/koha/man/man3/reports::catalogue_out.3pm
-Installing /usr/share/koha/man/man3/reports::dictionary.3pm
-Installing /usr/share/koha/man/man3/C4::Search::PazPar2.3pm
-Installing /usr/share/koha/man/man3/C4::Scrubber.3pm
-Installing /usr/share/koha/man/man3/reports::itemslost.3pm
-Installing /usr/share/koha/man/man3/C4::Barcodes::PrinterConfig.3pm
-
-Koha's files have now been installed.
-
-In order to use Koha's command-line batch jobs,
-you should set the following environment variables:
-
-export KOHA_CONF=/etc/koha/koha-conf.xml
-export PERL5LIB=/usr/share/koha/lib
-
-For other post-installation tasks, please consult the README.
-
-# cd /etc
-myhost:/etc #
-|--------------------
-
-==== Create /etc/bash.bashrc.local ====
-Create a file called bash.bashrc.local in the /etc directory:
-|--------------------
-myhost:/etc # vim /etc/bash.bashrc.local
-|--------------------
-add these 2 lines in the file:
-|--------------------
-export KOHA_CONF=/etc/koha/koha-conf.xml
-export PERL5LIB=/usr/share/koha/lib
-|--------------------
-
-- EXIT THE SHELL AND LOG BACK IN.
-|--------------------
-myhost:/etc # exit
-|--------------------
-After logging back in, type the following commands to check if 
-the KOHA_CONF and PERL5LIB environment variables have been correctly set:
-|--------------------
-myhost:~ # env | grep KOHA
-KOHA_CONF=/etc/koha/koha-conf.xml
-
-myhost:~ # env | grep PERL5LIB
-PERL5LIB=/usr/share/koha/lib
-|--------------------
-
-=== Koha's Web Installer ===
-
-Access Koha's web installer at:
-
-http://192.168.0.2:8080/
-
-Your browser will probably say that:
-|--------------------
-" The server at 192.168.0.2 is taking too long to respond."
-|--------------------
-OK... It seems that we have to do some things yet.
-
-
-== Create a symbolic link to /etc/koha/koha-httpd.conf ==
-
-Let's create a symbolic link to the /etc/koha/koha-httpd.conf file in the /etc/apache2/vhosts.d directory:
-|--------------------
-myhost:~ # cd /etc/apache2/vhosts.d/
-
-myhost:/etc/apache2/vhosts.d # ln -s /etc/koha/koha-httpd.conf koha-httpd.conf
-|--------------------
-
-  * Restart Apache
-|--------------------
-myhost:/etc/apache2/conf.d # service apache2 restart
-Syntax error on line 28 of /etc/apache2/conf.d/koha-httpd.conf:
-Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
-|--------------------
-
-
-
-== Enable the mod_rewrite and mod_deflate Apache modules ==
-
-OK... It seems that we need to enable the mod_rewrite and the mod_deflate Apache module:
-|--------------------
-myhost:/etc/sysconfig # a2enmod rewrite deflate
-|--------------------
-[If the above command seems NOT to work, for some reason, do this - edit /etc/sysconfig/apache2 and add the words "rewrite" -and "deflate"- (without the quotes) at the end of the APACHE_MODULES line, right before the right quote]
-|--------------------
-myhost:/etc/sysconfig # service apache2 restart
-Syntax OK
-Shutting down httpd2 (waiting for all children to terminate)         done
-Starting httpd2 (prefork)                                            done
-|--------------------
-
-
-== Change koha-httpd.conf ==
-
-If you browsed again to http://192.168.0.2:8080 you would still get no answer. This is because we still have to do some changes to the koha-httpd.conf file.
-
-First, let's create a backup of this file:
-|--------------------
-myhost:/etc/apache2/vhosts.d # cp koha-httpd.conf koha-httpd.conf.ORIG
-
-
-myhost:/etc/koha # vim koha-httpd.conf
-|--------------------
-
-At the beginning of the koha-httpd.conf file, under the commented NameVirtualHost line, add the following line:
-|--------------------
-Listen 8080
-|--------------------
-In that file, you should find two VirtualHost sections: one for the OPAC area of Koha and the other one for the Intranet. 
-If the two virtualHost directives - the lines that start with <nowiki><VirtualHost</nowiki> - in that file are set for the IP Address 127.0.0.2, replace them by the correct IP address of your server.
-
-That file will have 2 ServerName directives (one for each of the 2 VirtualHosts). In those directives, you should have the IP of your server -or- the FQDN of your server (example: ServerName www.koha.test).
-
-Now, restart again Apache:
-|--------------------
-myhost:/etc/koha # service apache2 restart
-Syntax OK
-Shutting down httpd2 (waiting for all children to terminate)         done
-Starting httpd2 (prefork)                                            done
-|--------------------
-
-
-Try to access the web page:
-
-http://192.168.0.2/
-
-If you get again the "It Works!" web page, you'll probably have to Refresh/Reload the page in your browser (press the F5 key).
-
-After reloading the page, you should get the following error:
-|--------------------
-Forbidden
-
-You don't have permission to access / on this server.
-
-Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
-Apache/2.2.4 (Linux/SUSE) Server at 192.168.0.2 Port 8080
-|--------------------
-
-OK. Let's add then the following directive at the end of the koha-httpd.conf file:
-|--------------------
-<Directory /usr/share/koha>
-        Order allow,deny
-        Allow from all
-</Directory>
-|--------------------
-
-Restart Apache:
-|--------------------
-myhost:/etc/apache2/vhosts.d # service apache2 restart
-Syntax OK
-Shutting down httpd2 (waiting for all children to terminate)         done
-Starting httpd2 (prefork)                                            done
-|--------------------
-
-OK. Load again the following page in your web browser:
-
-http://192.168.0.2
-
-After some seconds you should be redirected to:
-
-http://192.168.0.2/cgi-bin/koha/maintenance.pl
-
-
-and see a Koha page saying:
-|--------------------
-"System Maintenance ... we'll be back soon! If you have any questions, please contact the Site Administrator"
-|--------------------
-
-This is actually GOOD NEWS!  :)  It's now time to set up Koha in the Intranet interface.
-
-
-To do that, browse to:
-
-
-http://192.168.0.2:8080
-
-
-== Enable port 8080 in the firewall ==
-
-After a while the page will probably time out. This is because we now have to allow the 8080 port in the firewall.
-
-Let's run yast and do that:
-|--------------------
-myhost:/etc/apache2/vhosts.d # yast
-|--------------------
-Inside yast, go to "Security and Users" -> "Firewall"
-
-Scroll down to "Allowed Services" on the left side and press ENTER
-
-Press TAB several times until you reach the "Apache2" allowed service on the right side. When you do that, 
-press Alt+d to click the "Advanced..." button.
-
-A new window should open. Press Alt+T to go to the "TCP Ports" text box and enter the following values in that box:
-80 8080
-
-Press Alt+O to click the OK button. That will send you back to the "Firewall Configuration:Allowed Services" 
-screen. Press Alt+N to click the "Next" button. 
-
-You should now be in the "Firewall Configuration: Summary" screen. Press "Alt+F" to Finish.
-
-You should now be again in the "YaST Control Center" screen. Press "Alt+Q" to quit yast.
-
-
-Go again to:
-
-http://192.168.0.2:8080/
-
-... you should get redirected to:
-
-http://192.168.0.2:8080/cgi-bin/koha/installer/install.pl
-
-... and see a page with the Koha Logo and the heading: "Welcome to the Koha Web Installer"!  :)
-
-
-You may now login with your koha administrator username and password and reply to the several questions you will be asked.
-
diff --git a/INSTALL.ubuntu b/INSTALL.ubuntu
deleted file mode 100644
index 033cf31..0000000
--- a/INSTALL.ubuntu
+++ /dev/null
@@ -1,439 +0,0 @@
-=============================
-Installation Guide for Installing Koha on Ubuntu Jaunty (9.04) with MySQL 5
-=============================
-
-Copyright (C) 2007, 2008 LibLime (http://liblime.com)
-Some parts copyright 2010 Chris Nighswonger
-
-Original author: Joshua Ferraro
-Modified for Ubuntu by: Chris Nighswonger (cnighswonger AT foundations DOT edu)
-
-Feedback/bug reports: Koha Developer's List:
-http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
-
-This document last modified: 19 May 2010
-
-Installation Instructions
-=============================
-
-All commands can be performed as a system user with sudo privileges,
-as indicated or by running the command directly as root.
-
-1. Prepare System and Install Dependencies
-
-1.1 Install Ubuntu Jaunty via CD
-
-See http://www.ubuntu.com/getubuntu/download
-
-1.2 Set up your locale
-
-Your locale should be set to UTF-8, as should Apache2 and MySQL 5.
-This step is VERY IMPORTANT for a UNICODE compliant system. Please
-read over the following document carefully:
-
-http://wiki.koha-community.org/wiki/Encoding_and_Character_Sets_in_Koha
-
-You can verify your system locale by typing the following command:
-
-    $ locale
-
-IMPORTANT:  You _MUST_ follow all the steps outlined there for
-            Apache2, MySQL 5, etc. BEFORE you install Koha.
-
-1.3 Install the Yaz and Zebra packages
-
-Run the following command to update your system:
-
-    $ sudo apt-get update
-    $ sudo apt-get install yaz idzebra-2.0 idzebra-2.0-doc
-
-1.4 Get Koha
-
-1.4.1 Option A: Download Koha via Git (optional)
-
-    $ sudo apt-get install git-core git-email
-    $ git clone git://git.koha-community.org/koha.git kohaclone
-    $ cd kohaclone
-    $ git checkout -b myinstall origin
-
-Note: for more information about Git, please see the Koha Git Usage Guide:
-
-    http://wiki.koha-community.org/wiki/Version_Control_Using_Git
-
-1.4.2 Option B: Download Koha from http://download.koha-community.org
-
-    $ wget http://download.koha-community.org/koha-3.00.02.tar.gz
-    ( Note: use the latest stable version)
-
-1.5 Install additional Ubuntu dependencies
-
-IMPORTANT:  You should only use CPAN for Perl dependencies which are NOT
-            available from the package maintainer. You have been warned!
-
-Using the ubuntu.packages file included in the Koha source tree,
-run the following:
-
-    $ sudo dpkg --set-selections < install_misc/ubuntu.packages
-
-Now start dselect (you may need to 'sudo apt-get install dselect'):
-
-    $ sudo dselect
-
-Choose [I]nstall and accept packages to be installed (hit return)
-
-(may take a while)
-
-Choose [C]onfigure, [R]emove and [Q]uit until dselect has completed.
-
-1.6 Install Perl dependencies that aren't packaged into Ubuntu Jaunty
-sources
-
-Run the following command:
-
-    $ sudo cpan MARC::Crosswalk::DublinCore GD GD::Barcode::UPCE Email::Date \
-                HTML::Scrubber Algorithm::CheckDigits::M43_001 Biblio::EndnoteStyle \
-                Locale::Currency::Format
-
-Note: you may need to run CPAN initialization if you've not run cpan
-before:
-
-    /etc/perl/CPAN/Config.pm initialized.
-
-    CPAN is the world-wide archive of perl resources. It consists of about
-    100 sites that all replicate the same contents all around the globe.
-    Many countries have at least one CPAN site already. The resources
-    found on CPAN are easily accessible with the CPAN.pm module. If you
-    want to use CPAN.pm, you have to configure it properly.
-
-    If you do not want to enter a dialog now, you can answer 'no' to this
-    question and I'll try to autoconfigure. (Note: you can revisit this
-    dialog anytime later by typing 'o conf init' at the cpan prompt.)
-
-    Are you ready for manual configuration? [yes]
-
-When the configuration is completed CPAN will install the Perl modules.
-
-2. Configuration of dependencies
-
-2.1 Update root MySQL password (if dselect didn't do it for you already)
-
-    $ sudo mysqladmin password <password>
-
-2.2 Create the Koha database
-
-    Create the database and user with associated privileges:
-
-    $ mysqladmin -uroot -p<password> create <kohadatabasename>
-    $ mysql -uroot -p<password>
-
-    Welcome to the MySQL monitor.  Commands end with ; or \g.
-    Your MySQL connection id is 22
-    Server version: 5.0.32-Debian_7etch3-log Debian etch distribution
-
-    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
-
-    mysql> grant all on <kohadatabasename>.* to '<kohadatabaseuser>'@'localhost' identified by '<kohadatabaseuserpassword>';
-    Query OK, 0 rows affected (0.00 sec)
-
-    mysql> flush privileges;
-    Query OK, 0 rows affected (0.00 sec)
-
-    mysql> quit
-
-2.3 Test your SAX Parser and correct where necessary
-
-    You must be sure you're using the XML::LibXML SAX parser, not Expat or PurePerl, both of which have outstanding bugs with pre-composed characters. You can test your SAX parser by running:
-
-    $ cd koha
-    $ misc/sax_parser_print.pl
-
-    You should see something like::
-
-    XML::LibXML::SAX::Parser=HASH(0x81fe220)
-
-    If you're using PurePerl or Expat, you'll need to edit your
-    ini file, typically located at:
-
-    /etc/perl/XML/SAX/ParserDetails.ini
-
-    You will need to move the entire section for '[XML::LibXML::SAX::Parser]' to the bottom of the ini file.
-
-2.4 Install DBD::mysql Perl module
-
-In order to handle UTF-8 correctly, Koha requires at least version 4.004
-of the DBD::mysql Perl module. However, Debian Etch has a stable package
-only for version 3.0008, so it is necessary to install the module  from CPAN.
-DBD::mysql's test suite needs to use a MySQL 'test' DB which doesn't exist
-anymore. So there are two options to install DBD::mysql:
-
-  (1) install without test suite,
-  (2) install with test suite requiring a test MySQL DB creation.
-
-2.4.1 Install without test suite
-
-Force install DBD::mysql:
-
-    $ sudo cpan
-    cpan> force install DBD::mysql
-
-2.4.2 Create test database in order to install DBD::mysql
-
-Because of DBD::mysql's test suite, it is necessary to temporarily create a
-test database and user:
-
-    $ mysql -uroot -p<password>
-
-    Create the database and user with associated privileges:
-
-    Welcome to the MySQL monitor.  Commands end with ; or \g.
-    Your MySQL connection id is 22
-    Server version: 5.0.32-Debian_7etch3-log Debian etch distribution
-
-    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
-
-    mysql> create database test;
-    Query OK, 1 row affected (0.00 sec)
-
-    mysql> grant all on test.* to 'test'@'localhost' identified by 'test';
-    Query OK, 0 rows affected (0.00 sec)
-    (test database, user, and password can be different if need be)
-
-    mysql> flush privileges;
-    Query OK, 0 rows affected (0.00 sec)
-
-    mysql> quit
-
-Next install DBD::mysql:
-
-    $ sudo cpan
-
-    cpan> o conf makepl_arg
-    (get current value of this CPAN parameter)
-
-    cpan> o conf makepl_arg "--testdb=test --testuser=test --testpass=test"
-
-    cpan> install DBD::mysql
-
-    cpan> o conf makepl_arg ''
-
-    OR
-
-    cpan> o conf makepl_arg '<old setting>'
-
-    (restore this setting so as to not interfere with future CPAN installs).
-
-
-Finally, remove the test database:
-
-    $ mysql -uroot -p<password>
-
-    mysql> drop database test;
-    Query OK, 1 row affected (0.00 sec)
-
-    mysql> exit
-    Bye
-
-3. Run the Koha installer
-
-    $ perl Makefile.PL
-    ( answer questions )
-    $ make
-    $ make test
-    $ sudo make install
-
-4. Configure and start Apache
-    $ sudo ln -s /etc/koha/koha-httpd.conf /etc/apache2/sites-available/koha
-    (note that the path to koha-httpd.conf may be different depending on your
-    installation choices)
-
-Add the following lines to /etc/apache2/ports.conf:
-
-    Listen 80
-    Listen 8080
-
-If not running named virtual hosts (The default koha installation does not use named virtual hosts.), comment out the following line:
-
-    NameVirtualHost *:80
-
-Run the following commands:
-
-    $ sudo a2enmod rewrite deflate
-    $ sudo a2ensite koha
-    $ sudo apache2ctl restart
-
-Note: you may still see the usual Apache default site if your VirtualHost
-configuration isn't correct.  The command "sudo a2dissite default" may be a
-quick fix, but may have side-effects.  See the Apache HTTPD manual section on
-virtual hosts for full instructions.
-
-5. Configure and start Zebra
-
-Note: it's recommended that you daemonize the Zebra process and add it to your
-startup profile. For a non-production test/development installation, running
-Zebra from the command line can be useful. Pick from the two available options
-below, or roll your own :-)
-
-Note: it's also recommended that you create a Koha system user, which you will
-have specified during the install process. Alternatively, Zebra can be
-configured to run as the root user.
-
-To add a user do:
-
-    $ sudo adduser koha
-
-Option 1: run the Zebra processes from the command line:
-
-1.1 Zebra Search Server
-
-This process send responses to search requests sent by Koha or
-Z39.50/SRU/SRW clients.
-
-    $ sudo -u ${KOHA_USER} zebrasrv -f /etc/koha/koha-conf.xml
-    (note that the path to koha-conf.xml may be different depending on your
-    installation choices)
-
-Note: the user you run Zebra as will be the only user with write permission
-      on the Zebra index; in development mode, you may wish to use your
-      system user.
-
-1.2 Zebra Indexer
-
-Added/updated/deleted records in Koha MySQL database must be indexed
-into Zebra. A specific script must be launched each time a bibliographic
-or an authority record is edited.
-
-    $ sudo -u ${KOHA_USER} misc/migration_tools/rebuild_zebra -z -b -a
-    NOTE: This script should be run as the kohauser (the default is 'koha').
-
-Option 2: run the Zebra process as a daemon, and add to startup process:
-
-Note that references to $SCRIPT_DIR refer to the directory where
-Koha's command-line scripts are installed, e.g., /usr/share/koha/bin.
-
-1.1 Zebra Search Server
-
-    $ sudo ln -s ${SCRIPT_DIR}/koha-zebra-ctl.sh  /etc/init.d/koha-zebra-daemon
-    (Note: ${SCRIPT_DIR} is /usr/share/koha/bin/ by default in a standard install)
-    $ sudo update-rc.d koha-zebra-daemon defaults
-    ( Note: see man chkconfig(8) on other distros )
-
-    $ sudo ${SCRIPT_DIR}/koha-zebra-ctl.sh start
-
-1.2 Zebra Indexer
-
-Add an entry in Koha user crontab to scheduled added/updated/deleted records
-indexing by Zebra with this command:
-
-  <path/to/koha>/misc/migration_tools/rebuild_zebra -z -b -a
-
-See check misc/cronjobs/crontab.example for usage examples.
-NOTE: This job should be setup under the kohauser (the default is 'koha').
-
-6. Run the Web Installer, populate the database, initial configuration of settings
-
-    Point your browser to http://<servername>:8080/
-
-    It should redirect you to the Web Installer where you can continue the setup.
-    You can install the sample data for libraries, patrons, etc. via the Web Installer
-
-7. What next?
-
-    Once the installer has completed, you can import and index MARC records from the
-    command line thusly (Note: you can also use the 'Stage MARC records for import' from
-    the Tools area of Koha's Staff Client to import a batch of MARC records):
-
-    $ export KOHA_CONF=/usr/share/koha/etc/koha-conf.xml
-      (note: use the correct path to your koha-conf.xml)
-
-7.1 Import:
-    Bibliographic data in MARC21 format
-    $ misc/migration_tools/bulkmarcimport.pl -file /path/to/marc.iso2709
-    Authority data in MARC21 format
-    $ misc/migration_tools/bulkauthimport.pl -file /path/to/auth.iso2709
-
-7.2 Fast Index:
-    $ misc/migration_tools/rebuild_zebra.pl -b -w
-
-    Once the indexing has completed, you will be able to search for records in your system.
-    NOTE: This script should be run as the kohauser (the default is 'koha').
-
-7.3 Schedule regular index updates
-
-    You need to run rebuild_zebra.pl -b -a -z as a regular cron job in orde to pick up new bibs
-    and items as you add them. Check misc/cronjobs/crontab.example for usage examples. See 7.0 above.
-    NOTE: This job should be setup under the kohauser (the default is 'koha').
-
-7.4 To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and
-    change the <listen> options to listen on a TCP port; then restart the zebra daemon.
-
-UPGRADE
-=======
-If you are upgrading from a previous installation of Koha 3.x, you can
-use the following:
-
- ./koha_perl_deps.pl -u -m # to identify new Perl dependencies
-
-Install any missing modules
-IMPORTANT: Koha 3.4.x uses Template::Toolkit, this must be installed
-before the webinstaller can run
-
- sudo apt-get install libtemplate-perl
-
- perl Makefile.PL --prev-install-log /path/to/koha-install-log
- make
- make test
- sudo make upgrade
-
-Koha 3.4.x no longer stores items in biblio records so as part of the
-upgrade you will need to do the following two steps, they can take a
-long time (several hours) to complete for large databases
-
- misc/maintenance/remove_items_from_biblioitems.pl --run
- misc/migration_tools/rebuild_zebra.pl -b -r
-
-Uninstall Instructions
-=============================
-1) Stop Services:
-   $ sudo a2dissite koha
-   $ sudo rm /etc/apache2/sites-available/koha
-   $ sudo apache2ctl restart
-
-   $ sudo update-rc.d koha-zebra-daemon remove
-   $ sudo rm /etc/init.d/koha-zebra-daemon
-
-2) Remove Database and Indexes
-
-   # MySQL
-   $ mysql -u<kohauser> -p<kohapassword>
-   > drop database koha;
-
-   # Zebra Indexes
-   $ zebraidx -c <prefix>/etc/zebradb/zebra-biblios.cfg -g iso2709 -d biblios init
-   $ zebraidx -c <prefix>/etc/zebradb/zebra-authorities.cfg -g iso2709 -d authorities init
-
-3) Remove Koha Install Directories and Configuration Files
-   Don't forget about any crontab entries
-
-Tested on the following operating environments
-==============================================
-- Ubuntu Jaunty Jackalope 9.04
-
-Installer Bug reports
-=====================
-Please log any installer bug reports at http://bugs.koha-community.org
-
-Other Notes
-=====================
-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.
diff --git a/INSTALL.ubuntu.lucid b/INSTALL.ubuntu.lucid
deleted file mode 100644
index 861f1ab..0000000
--- a/INSTALL.ubuntu.lucid
+++ /dev/null
@@ -1,368 +0,0 @@
-=============================
-Installation Guide for Installing Koha on Ubuntu Lucid Lynx (10.04 LTS) with MySQL 5
-=============================
-
-Copyright (C) 2007, 2008 LibLime (http://liblime.com)
-Some parts copyright 2010 Chris Nighswonger
-
-Original author: Joshua Ferraro
-Modified for Ubuntu by: Chris Nighswonger (cnighswonger AT foundations DOT edu)
-
-Feedback/bug reports: Koha Developer's List:
-http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
-
-This document last modified: 11 Sep 2010
-
-Installation Instructions
-=============================
-
-All commands can be performed as a system user with sudo privileges,
-as indicated or by running the command directly as root.
-
-1. Prepare System and Install Dependencies
-
-1.1 Install Ubuntu Lucid Lynx via CD
-
-See http://www.ubuntu.com/getubuntu/download
-
-1.2 Set up your locale
-
-Your locale should be set to UTF-8, as should Apache2 and MySQL 5.
-This step is VERY IMPORTANT for a UNICODE compliant system. Please
-read over the following document carefully:
-
-http://wiki.koha-community.org/wiki/Encoding_and_Character_Sets_in_Koha
-
-You can verify your system locale by typing the following command:
-
-    $ locale
-
-IMPORTANT:  You _MUST_ follow all the steps outlined there for
-            Apache2, MySQL 5, etc. BEFORE you install Koha.
-
-1.3 Get Koha
-
-1.3.1 Option A: Download Koha via Git (optional)
-
-    $ sudo apt-get install git-core git-email
-    $ git clone git://git.koha-community.org/koha.git kohaclone
-    $ cd kohaclone
-    $ git checkout -b myinstall origin
-
-Note: for more information about Git, please see the Koha Git Usage Guide:
-
-    http://wiki.koha-community.org/wiki/Version_Control_Using_Git
-
-1.3.2 Option B: Download Koha from http://download.koha-community.org
-
-    $ wget http://download.koha-community.org/koha-3.02.00.tar.gz
-    ( Note: use the latest stable version)
-
-1.4 Install additional Ubuntu dependencies
-
-IMPORTANT:  You should only use CPAN for Perl dependencies which are NOT
-            available from the package maintainer. You have been warned!
-
-Using the ubuntu.packages file included in the Koha source tree,
-run the following:
-
-    $ sudo dpkg --set-selections < install_misc/ubuntu.packages
-
-Now start dselect (you may need to 'sudo apt-get install dselect'):
-
-    $ sudo dselect
-
-Choose [I]nstall and accept packages to be installed (hit return)
-
-(may take a while)
-
-Choose [C]onfigure, [R]emove and [Q]uit until dselect has completed.
-
-Note: If you are installing on an older version of Ubuntu, not all of the
-      packages listed in ubuntu.packages may be available as packages.  You
-      will want to verify which ones are installed and which ones not.
-      This can be done by running the following command:
-
-    $ install_misc/ubuntu-pkg-check.sh | grep none
-
-When tracking down any "(none)" results, note that sometimes Ubuntu does the
-right thing and installs a later, differently named version of the package in
-place.  To see if this is happening, it is useful to run a command like:
-
-    $ dpkg --get-selections | grep [base_package_name]
-
-1.5 Install Perl dependencies that aren't packaged into Ubuntu Lucid Lynx
-sources
-
-Run the following command:
-
-    $ sudo cpan HTTP::OAI Locale::Currency::Format Memoize::Memcached \
-                PDF::API2::Simple Storable Text::CSV::Encoded
-
-Note: you may need to run CPAN initialization if you've not run cpan
-before:
-
-    /etc/perl/CPAN/Config.pm initialized.
-
-    CPAN is the world-wide archive of perl resources. It consists of about
-    100 sites that all replicate the same contents all around the globe.
-    Many countries have at least one CPAN site already. The resources
-    found on CPAN are easily accessible with the CPAN.pm module. If you
-    want to use CPAN.pm, you have to configure it properly.
-
-    If you do not want to enter a dialog now, you can answer 'no' to this
-    question and I'll try to autoconfigure. (Note: you can revisit this
-    dialog anytime later by typing 'o conf init' at the cpan prompt.)
-
-    Are you ready for manual configuration? [yes]
-
-When the configuration is completed CPAN will install the Perl modules.
-
-2. Configuration of dependencies
-
-2.1 Update root MySQL password (if dselect didn't do it for you already)
-
-    $ sudo mysqladmin password <password>
-
-2.2 Create the Koha database
-
-    Create the database and user with associated privileges:
-
-    $ mysqladmin -uroot -p<password> create <kohadatabasename>
-    $ mysql -uroot -p<password>
-
-    Welcome to the MySQL monitor.  Commands end with ; or \g.
-    Your MySQL connection id is 22
-    Server version: 5.0.32-Debian_7etch3-log Debian etch distribution
-
-    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
-
-    mysql> grant all on <kohadatabasename>.* to '<kohadatabaseuser>'@'localhost' identified by '<kohadatabaseuserpassword>';
-    Query OK, 0 rows affected (0.00 sec)
-
-    mysql> flush privileges;
-    Query OK, 0 rows affected (0.00 sec)
-
-    mysql> quit
-
-2.3 Test your SAX Parser and correct where necessary
-
-    You must be sure you're using the XML::LibXML SAX parser, not Expat or
-    PurePerl, both of which have outstanding bugs with pre-composed
-    characters. You can test your SAX parser by running:
-
-    $ cd koha
-    $ misc/sax_parser_print.pl
-
-    You should see something like::
-
-    XML::LibXML::SAX::Parser=HASH(0x81fe220)
-
-    If you're using PurePerl or Expat, you'll need to edit your
-    ini file, typically located at:
-
-    /etc/perl/XML/SAX/ParserDetails.ini
-
-    You will need to move the entire section for '[XML::LibXML::SAX::Parser]'
-    to the bottom of the ini file.
-
-3. Run the Koha installer
-
-    $ perl Makefile.PL
-    ( answer questions )
-    $ make
-    $ make test
-    $ sudo make install
-
-4. Configure and start Apache
-    $ sudo ln -s /etc/koha/koha-httpd.conf /etc/apache2/sites-available/koha
-    (note that the path to koha-httpd.conf may be different depending on your
-    installation choices)
-
-Add the following lines to /etc/apache2/ports.conf:
-
-    Listen 80
-    Listen 8080
-
-If not running named virtual hosts (The default koha installation does not use
-named virtual hosts.), comment out the following line:
-
-    NameVirtualHost *:80
-
-Run the following commands:
-
-    $ sudo a2enmod rewrite deflate
-    $ sudo a2ensite koha
-    $ sudo apache2ctl restart
-
-Note: you may still see the usual Apache default site if your VirtualHost
-configuration isn't correct.  The command "sudo a2dissite default" may be a
-quick fix, but may have side-effects.  See the Apache HTTPD manual section on
-virtual hosts for full instructions.
-
-5. Configure and start Zebra
-
-Note: it's recommended that you daemonize the Zebra process and add it to your
-startup profile. For a non-production test/development installation, running
-Zebra from the command line can be useful. Pick from the two available options
-below, or roll your own :-)
-
-Note: it's also recommended that you create a Koha system user, which you will
-have specified during the install process. Alternatively, Zebra can be
-configured to run as the root user.
-
-To add a user do:
-
-    $ sudo adduser koha
-
-Option 1: run the Zebra processes from the command line:
-
-1.1 Zebra Search Server
-
-This process send responses to search requests sent by Koha or
-Z39.50/SRU/SRW clients.
-
-    $ sudo -u ${KOHA_USER} zebrasrv -f /etc/koha/koha-conf.xml
-    (note that the path to koha-conf.xml may be different depending on your
-    installation choices)
-
-Note: the user you run Zebra as will be the only user with write permission
-      on the Zebra index; in development mode, you may wish to use your
-      system user.
-
-1.2 Zebra Indexer
-
-Added/updated/deleted records in Koha MySQL database must be indexed
-into Zebra. A specific script must be launched each time a bibliographic
-or an authority record is edited.
-
-    $ sudo -u ${KOHA_USER} misc/migration_tools/rebuild_zebra -z -b -a
-    NOTE: This script should be run as the kohauser (the default is 'koha').
-
-Option 2: run the Zebra process as a daemon, and add to startup process:
-
-Note that references to $SCRIPT_DIR refer to the directory where
-Koha's command-line scripts are installed, e.g., /usr/share/koha/bin.
-
-1.1 Zebra Search Server
-
-    $ sudo ln -s ${SCRIPT_DIR}/koha-zebra-ctl.sh  /etc/init.d/koha-zebra-daemon
-    (Note: ${SCRIPT_DIR} is /usr/share/koha/bin/ by default in a standard install)
-    $ sudo update-rc.d koha-zebra-daemon defaults
-    ( Note: see man chkconfig(8) on other distros )
-
-    $ sudo ${SCRIPT_DIR}/koha-zebra-ctl.sh start
-
-1.2 Zebra Indexer
-
-Add an entry in Koha user crontab to scheduled added/updated/deleted records
-indexing by Zebra with this command:
-
-  <path/to/koha>/misc/migration_tools/rebuild_zebra -z -b -a
-
-See check misc/cronjobs/crontab.example for usage examples.
-NOTE: This job should be setup under the kohauser (the default is 'koha').
-
-6. Run the Web Installer, populate the database, initial configuration of settings
-
-    Point your browser to http://<servername>:8080/
-
-    It should redirect you to the Web Installer where you can continue the setup.
-    You can install the sample data for libraries, patrons, etc. via the Web Installer
-
-7. What next?
-
-    Once the installer has completed, you can import and index MARC records from the
-    command line thusly (Note: you can also use the 'Stage MARC records for import' from
-    the Tools area of Koha's Staff Client to import a batch of MARC records):
-
-    $ export KOHA_CONF=/usr/share/koha/etc/koha-conf.xml
-      (note: use the correct path to your koha-conf.xml)
-
-7.1 Import:
-    Bibliographic data in MARC21 format
-    $ misc/migration_tools/bulkmarcimport.pl -file /path/to/marc.iso2709
-    Authority data in MARC21 format
-    $ misc/migration_tools/bulkauthimport.pl -file /path/to/auth.iso2709
-
-7.2 Fast Index:
-    $ misc/migration_tools/rebuild_zebra.pl -b -w
-
-    Once the indexing has completed, you will be able to search for records in your system.
-    NOTE: This script should be run as the kohauser (the default is 'koha').
-
-7.3 Schedule regular index updates
-
-    You need to run rebuild_zebra.pl -b -a -z as a regular cron job in orde to pick up new bibs
-    and items as you add them. Check misc/cronjobs/crontab.example for usage examples. See 7.0 above.
-    NOTE: This job should be setup under the kohauser (the default is 'koha').
-
-7.4 To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and
-    change the <listen> options to listen on a TCP port; then restart the zebra daemon.
-
-UPGRADE
-=======
-If you are upgrading from a previous installation of Koha 3.x, you can
-use the following:
-
- ./koha_perl_deps.pl -u -m # to identify new Perl dependencies
-
-Install any missing modules
-IMPORTANT: Koha 3.4.x uses Template::Toolkit, this must be installed
-before the webinstaller can run
-
- sudo apt-get install libtemplate-perl
-
-Koha 3.4.x no longer stores items in biblio records so as part of the
-upgrade you will need to do the following two steps, they can take a
-long time (several hours) to complete for large databases
-
- misc/maintenance/remove_items_from_biblioitems.pl --run
- misc/migration_tools/rebuild_zebra.pl -b -r
-
-Uninstall Instructions
-=============================
-1) Stop Services:
-   $ sudo a2dissite koha
-   $ sudo rm /etc/apache2/sites-available/koha
-   $ sudo apache2ctl restart
-
-   $ sudo update-rc.d koha-zebra-daemon remove
-   $ sudo rm /etc/init.d/koha-zebra-daemon
-
-2) Remove Database and Indexes
-
-   # MySQL
-   $ mysql -u<kohauser> -p<kohapassword>
-   > drop database koha;
-
-   # Zebra Indexes
-   $ zebraidx -c <prefix>/etc/zebradb/zebra-biblios.cfg -g iso2709 -d biblios init
-   $ zebraidx -c <prefix>/etc/zebradb/zebra-authorities.cfg -g iso2709 -d authorities init
-
-3) Remove Koha Install Directories and Configuration Files
-   Don't forget about any crontab entries
-
-Tested on the following operating environments
-==============================================
-- Ubuntu Jaunty Jackalope 9.04
-
-Installer Bug reports
-=====================
-Please log any installer bug reports at http://bugs.koha-community.org
-
-Other Notes
-=====================
-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.
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index d511905..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,339 +0,0 @@
-		    GNU GENERAL PUBLIC LICENSE
-		       Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-			    Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Lesser General Public License instead.)  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary.  To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-		    GNU GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License.  The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language.  (Hereinafter, translation is included without limitation in
-the term "modification".)  Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
-  1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
-  2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) You must cause the modified files to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    b) You must cause any work that you distribute or publish, that in
-    whole or in part contains or is derived from the Program or any
-    part thereof, to be licensed as a whole at no charge to all third
-    parties under the terms of this License.
-
-    c) If the modified program normally reads commands interactively
-    when run, you must cause it, when started running for such
-    interactive use in the most ordinary way, to print or display an
-    announcement including an appropriate copyright notice and a
-    notice that there is no warranty (or else, saying that you provide
-    a warranty) and that users may redistribute the program under
-    these conditions, and telling the user how to view a copy of this
-    License.  (Exception: if the Program itself is interactive but
-    does not normally print such an announcement, your work based on
-    the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
-    a) Accompany it with the complete corresponding machine-readable
-    source code, which must be distributed under the terms of Sections
-    1 and 2 above on a medium customarily used for software interchange; or,
-
-    b) Accompany it with a written offer, valid for at least three
-    years, to give any third party, for a charge no more than your
-    cost of physically performing source distribution, a complete
-    machine-readable copy of the corresponding source code, to be
-    distributed under the terms of Sections 1 and 2 above on a medium
-    customarily used for software interchange; or,
-
-    c) Accompany it with the information you received as to the offer
-    to distribute corresponding source code.  (This alternative is
-    allowed only for noncommercial distribution and only if you
-    received the program in object code or executable form with such
-    an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it.  For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable.  However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
-  4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License.  Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
-  5. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Program or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
-  6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
-  7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
-  8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded.  In such case, this License incorporates
-the limitation as if written in the body of this License.
-
-  9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation.  If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
-  10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission.  For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this.  Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
-			    NO WARRANTY
-
-  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
-  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
-		     END OF TERMS AND CONDITIONS
-
-	    How to Apply These Terms to Your New Programs
-
-  If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
-  To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the program's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    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.
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
-    Gnomovision version 69, Copyright (C) year name of author
-    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-    This is free software, and you are welcome to redistribute it
-    under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License.  Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary.  Here is a sample; alter the names:
-
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
-  `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
-  <signature of Ty Coon>, 1 April 1989
-  Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs.  If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library.  If this is what you want to do, use the GNU Lesser General
-Public License instead of this License.
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
deleted file mode 100644
index acfb338..0000000
--- a/MANIFEST.SKIP
+++ /dev/null
@@ -1,12 +0,0 @@
-Makefile$
-release_notes_2
-release_notes_1
-\bCVS/
-~$
-\.patch$
-\.orig$
-\.old$
-\.bak$
-[ 	]
-\.git/
-MANIFEST.bak
diff --git a/Makefile.PL b/Makefile.PL
deleted file mode 100644
index 664f50f..0000000
--- a/Makefile.PL
+++ /dev/null
@@ -1,1583 +0,0 @@
-# Copyright 2007 MJ Ray
-#
-# 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.
-#
-# Current maintainer MJR http://mjr.towers.org.uk/
-#
-
-use strict;
-use warnings;
-use ExtUtils::MakeMaker;
-use POSIX;
-use File::Spec;
-use Getopt::Long;
-use FindBin; # we need to enforce which C4::Installer::PerlModule is used in case more than one is installed
-
-use lib $FindBin::Bin;
-
-use C4::Installer;
-
-my $koha_pm = C4::Installer::PerlModules->new;
-
-my $DEBUG = 0;
-die "perl 5.8.8 or later required" unless ($] >= 5.008008);
-
-# Hash up directory structure & files beginning with the directory we were called from (should be the base of koha)...
-
-my $dirtree = hashdir('.');
-my %result = ();
-
-=head1 NAME
-
-Makefile.PL - Koha packager and installer
-
-=head1 SYNOPSIS
-
-=head2 BASIC INSTALLATION
-
-    perl Makefile.PL
-    make
-    make test
-    sudo make install
-
-=head2 UPGRADE INSTALLATION
-
-    NOTE: This option is only available if koha-install-log exists.
-
-    perl Makefile.PL --prev-install-log /path/to/koha-install-log
-
-    make
-    make test
-    sudo make upgrade
-
-=head2 PACKAGING RELEASE TARBALLS
-
-    make manifest tardist
-    make manifest zipdist
-
-=head2 CLEANING UP
-
-	make clean
-
-=head1 DESCRIPTION
-
-This is a packager and installer that uses
-ExtUtils::MakeMaker, which is fairly common
-on perl systems.
-As well as building tar or zip files
-and installing with the above commands,
-it allows us to check pre-requisites
-and generate configuration files.
-
-=head1 VARIABLES
-
-=head2 NAME, VERSION_FROM, ABSTRACT, AUTHOR
-
-Basic metadata about this software.
-
-=head2 NO_META
-
-Suppress generation of META.yml file.
-
-=head2 PREREQ_PM
-
-Hash of perl modules and versions required.
-
-=head2 PM
-
-Hash of file mappings
-
-=head2 PL_FILES
-
-This is a hash of PL scripts to run after installation and
-the files to ask them to generate.
-Maybe use the values from CONFIGURE
-to generate initial configuration files in future.
-
-=cut
-
-=head2 target_map
-
-This is a hash mapping directories and files in the
-source tree to installation target directories.  The rules
-for this mapping are:
-
-=over 4
-
-=item If a directory or file is specified, it and its
-contents will be copied to the installation target directory.
-
-=item If a subdirectory of a mapped directory is specified,
-its target overrides the parent's target for that subdirectory.
-
-=item The value of each map entry may either be a scalar containing
-one target or a reference to a hash containing 'target' and 'trimdir'
-keys.
-
-=item Any files at the top level of the source tree that are
-not included in the map will not be installed.
-
-=item Any directories at the top level of the source tree
-that are not included in the map will be installed in
-INTRANET_CGI_DIR.  This is a sensible default given the
-current organization of the source tree, but (FIXME) it
-would be better to reorganize the source tree to better
-match the installation system, to allow adding new directories
-without having to adjust Makefile.PL each time.  The idea
-is to make the C<$target_map> hash as minimal as possible.
-
-=back
-
-The permitted installation targets are:
-
-=over 4
-
-=item INTRANET_CGI_DIR
-
-CGI scripts for intranet (staff) interface.
-
-=item INTRANET_TMPL_DIR
-
-HTML templates for the intranet interface.
-
-=item INTRANET_WWW_DIR
-
-HTML files, images, etc. for DocumentRoot for the intranet interface.
-
-=item OPAC_CGI_DIR
-
-CGI scripts for OPAC (public) interface.
-
-=item OPAC_TMPL_DIR
-
-HTML templates for the OPAC interface.
-
-=item OPAC_WWW_DIR
-
-HTML files, images, etc. for DocumentRoot for the OPAC interface.
-
-=item PERL_MODULE_DIR
-
-Perl modules (at present just the C4 modules) that are intimately
-tied to Koha.  Depending on the installation options, these
-may or may not be installed one of the standard directories
-in Perl's default @LIB.
-
-=item KOHA_CONF_DIR
-
-Directory for Koha configuration files.
-
-=item ZEBRA_CONF_DIR
-
-Directory for Zebra configuration files.
-
-=item ZEBRA_LOCK_DIR
-
-Directory for Zebra's lock files.
-
-=item ZEBRA_DATA_DIR
-
-Directory for Zebra's data files.
-
-=item ZEBRA_RUN_DIR
-
-Directory for Zebra's UNIX-domain sockets.
-
-=item MISC_DIR
-
-Directory for for miscellaenous scripts, among other
-things the translation toolkit and RSS feed tools.
-
-=item SCRIPT_DIR
-
-Directory for command-line scripts and daemons to
-be set up all for installation modes.
-
-=item SCRIPT_NONDEV_DIR
-
-Directory for command-line scripts that should
-be installed in the same directory as the
-SCRIPT_DIR target except 'dev' installs.
-
-=item MAN_DIR
-
-Directory for man pages created from POD -- will mostly
-contain information of interest to Koha developers.
-
-=item DOC_DIR
-
-Directory for Koha documentation accessed from the
-command-line, e.g., READMEs.
-
-=item LOG_DIR
-
-Directory for Apache and Zebra logs produced by Koha.
-
-=item PAZPAR2_CONF_DIR
-
-Directory for PazPar2 configuration files.
-
-=item NONE
-
-This is a dummy target used to explicitly state
-that a given file or directory is not to be installed.
-This is used either for parts of the installer itself
-or for development tools that are not applicable to a
-production installation.
-
-=back
-
-=cut
-
-my $target_map = {
-  './about.pl'                  => 'INTRANET_CGI_DIR',
-  './acqui'                     => 'INTRANET_CGI_DIR',
-  './admin'                     => 'INTRANET_CGI_DIR',
-  './authorities'               => 'INTRANET_CGI_DIR',
-  './basket'                    => 'INTRANET_CGI_DIR',
-  './C4'                        => 'PERL_MODULE_DIR',
-  './C4/SIP/t'                  => 'NONE',
-  './C4/SIP/koha_test'          => 'NONE',
-  './C4/tests'                  => 'NONE',
-  './catalogue'                 => 'INTRANET_CGI_DIR',
-  './cataloguing'               => 'INTRANET_CGI_DIR',
-  './changelanguage.pl'         => 'INTRANET_CGI_DIR',
-  './check_sysprefs.pl'         => 'NONE',
-  './circ'                      => 'INTRANET_CGI_DIR',
-  './offline_circ'		=> 'INTRANET_CGI_DIR',
-  './edithelp.pl'               => 'INTRANET_CGI_DIR',
-  './etc'                       => { target => 'KOHA_CONF_DIR', trimdir => -1 },
-  './etc/zebradb'               => { target => 'ZEBRA_CONF_DIR', trimdir => -1 },
-  './etc/pazpar2'               => { target => 'PAZPAR2_CONF_DIR', trimdir => -1 },
-  './help.pl'                   => 'INTRANET_CGI_DIR',
-  './installer-CPAN.pl'         => 'NONE',
-  './installer'                 => 'INTRANET_CGI_DIR',
-  './errors'                    => {target => 'INTRANET_CGI_DIR'},
-  './koha-tmpl/intranet-tmpl'   => {target => 'INTRANET_TMPL_DIR', trimdir => -1},
-  './koha-tmpl/opac-tmpl'       => {target => 'OPAC_TMPL_DIR', trimdir => -1},
-  './kohaversion.pl'            => 'INTRANET_CGI_DIR', 
-  './labels'                    => 'INTRANET_CGI_DIR',
-  './mainpage.pl'               => 'INTRANET_CGI_DIR',
-  './Makefile.PL'               => 'NONE',
-  './MANIFEST.SKIP'             => 'NONE',
-  './members'                   => 'INTRANET_CGI_DIR',
-  './misc'                      => { target => 'SCRIPT_NONDEV_DIR', trimdir => -1 },
-  './misc/bin'                  => { target => 'SCRIPT_DIR', trimdir => -1 },
-  './misc/release_notes'        => { target => 'DOC_DIR', trimdir => 2 },
-  './misc/translator'           => { target => 'MISC_DIR', trimdir => 2 },
-  './misc/koha-install-log'     => { target => 'MISC_DIR', trimdir => -1 },
-  './misc/installer_devel_notes' => 'NONE',
-  './opac'                      => 'OPAC_CGI_DIR',
-  './README.txt'                => 'NONE',
-  './patroncards'               => 'INTRANET_CGI_DIR',
-  './reports'                   => 'INTRANET_CGI_DIR',
-  './reserve'                   => 'INTRANET_CGI_DIR',
-  './reviews'                   => 'INTRANET_CGI_DIR',
-  './rewrite-config.PL'         => 'NONE',
-  './reviews'                   => 'INTRANET_CGI_DIR',
-  './serials'                   => 'INTRANET_CGI_DIR',
-  './skel'                      => 'NONE',
-  './skel/var/log/koha'         => { target => 'LOG_DIR', trimdir => -1 },
-  './skel/var/run/koha/zebradb' => { target => 'ZEBRA_RUN_DIR', trimdir => -1 },
-  './skel/var/lock/koha/zebradb/authorities' => { target => 'ZEBRA_LOCK_DIR', trimdir => 6 },
-  './skel/var/lib/koha/zebradb/authorities/key'  => { target => 'ZEBRA_DATA_DIR', trimdir => 6 },
-  './skel/var/lib/koha/zebradb/authorities/register'  => { target => 'ZEBRA_DATA_DIR', trimdir => 6 },
-  './skel/var/lib/koha/zebradb/authorities/shadow'  => { target => 'ZEBRA_DATA_DIR', trimdir => 6 },
-  './skel/var/lib/koha/zebradb/authorities/tmp'  => { target => 'ZEBRA_DATA_DIR', trimdir => 6 },
-  './skel/var/lock/koha/zebradb/biblios' => { target => 'ZEBRA_LOCK_DIR', trimdir => 6 },
-  './skel/var/lib/koha/zebradb/biblios/key'  => { target => 'ZEBRA_DATA_DIR', trimdir => 6 },
-  './skel/var/lib/koha/zebradb/biblios/register'  => { target => 'ZEBRA_DATA_DIR', trimdir => 6 },
-  './skel/var/lib/koha/zebradb/biblios/shadow'  => { target => 'ZEBRA_DATA_DIR', trimdir => 6 },
-  './skel/var/lib/koha/zebradb/biblios/tmp'  => { target => 'ZEBRA_DATA_DIR', trimdir => 6 },
-  './sms'                       => 'INTRANET_CGI_DIR',
-  './suggestion'                => 'INTRANET_CGI_DIR',
-  './svc'                       => 'INTRANET_CGI_DIR',
-  './t'                         => 'NONE',
-  './tags'                      => 'INTRANET_CGI_DIR',
-  './tmp'                       => 'NONE', # FIXME need to determine whether
-                                           # Koha generates any persistent temp files
-                                           # that should go in /var/tmp/koha
-  './tools'                     => 'INTRANET_CGI_DIR',
-  './virtualshelves'            => 'INTRANET_CGI_DIR',
-  './xml_sax.pl'                => 'PERL_MODULE_DIR',
-  # ignore files and directories created by the install itself
-  './pm_to_blib'                => 'NONE',
-  './blib'                      => 'NONE',
-};
-
-=head1 CONFIGURATION OPTIONS
-
-The following configuration options are used by the installer.
-
-=over 4
-
-=item INSTALL_MODE
-
-Specifies whether installation will be FHS-compliant (default,
-assumes user has root), put everything under
-a single directory (for users installing on a web host
-that allows CGI scripts and a MySQL database but not root
-access), or development (for a developer who wants to run
-Koha from a git clone with no fuss).
-
-=item INSTALL_BASE
-
-Directory under which most components will go.  Default
-value will vary depending on INSTALL_MODE.
-
-=item DB_TYPE
-
-Type of DBMS (e.g., mysql or Pg).
-
-=item DB_HOST
-
-Name of DBMS server.
-
-=item DB_PORT
-
-Port that DBMS server is listening on.
-
-=item DB_NAME
-
-Name of the DBMS database for Koha.
-
-=item DB_USER
-
-Name of DBMS user account for Koha's database.
-
-=item DB_PASS
-
-Pasword of DMBS user account for Koha's database.
-
-=item INSTALL_ZEBRA
-
-Whether to install Zebra configuration files and data
-directories.
-
-=item ZEBRA_MARC_FORMAT
-
-Specifies format of MARC records to be indexed by Zebra.
-
-=item ZEBRA_LANGUAGE
-
-Specifies primary language of records that will be
-indexed by Zebra.
-
-=item ZEBRA_USER
-
-Internal Zebra user account for the index.
-
-=item ZEBRA_PASS
-
-Internal Zebra user account's password.
-
-=item KOHA_USER
-
-System user account that will own Koha's files.
-
-=item KOHA_GROUP
-
-System group that will own Koha's files.
-
-=back
-
-=cut
-
-# default configuration options
-my %config_defaults = (
-  'DB_TYPE'           => 'mysql',
-  'DB_HOST'           => 'localhost',
-  'DB_NAME'           => 'koha',
-  'DB_USER'           => 'kohaadmin',
-  'DB_PASS'           => 'katikoan',
-  'INSTALL_ZEBRA'     => 'yes',
-  'INSTALL_SRU'       => 'yes',
-  'INSTALL_PAZPAR2'   => 'no',
-  'AUTH_INDEX_MODE'   => 'dom',
-  'ZEBRA_MARC_FORMAT' => 'marc21',
-  'ZEBRA_LANGUAGE'    => 'en',
-  'ZEBRA_USER'        => 'kohauser',
-  'ZEBRA_PASS'        => 'zebrastripes',
-  'ZEBRA_SRU_HOST'    => 'localhost',
-  'ZEBRA_SRU_BIBLIOS_PORT'    => '9998',
-  'ZEBRA_SRU_AUTHORITIES_PORT'    => '9999',
-  'KOHA_USER'         => 'koha',
-  'KOHA_GROUP'        => 'koha',
-  'MERGE_SERVER_HOST' => 'localhost',
-  'MERGE_SERVER_PORT' => '11001',
-  'PAZPAR2_HOST' => 'localhost',
-  'PAZPAR2_PORT' => '11002',
-  'RUN_DATABASE_TESTS' => 'no',
-  'PATH_TO_ZEBRA' => '',
-  'USE_MEMCACHED'     => 'no',
-  'MEMCACHED_SERVERS' => '127.0.0.1:11211',
-  'MEMCACHED_NAMESPACE' => 'KOHA'
-);
-
-# set some default configuration options based on OS
-# more conditions need to be added for other OS's
-# this should probably also incorporate usage of Win32::GetOSName() and/or Win32::GetOSVersion()
-# to allow for more granular decisions based on which Win32 platform
-
-warn "Your platform appears to be $^O.\n" if $DEBUG;
-
-if ( $^O eq 'MSWin32' ) {
-	# Most Unix2Win32 ports seem to poke everything into the Program Files directory
-	# this could be changed to put some files (ie. libraries) into system32, etc.
-	$config_defaults{'INSTALL_MODE'} = 'single';
-	$config_defaults{'INSTALL_BASE'} = 'c:/progra~1/koha';	# Use 8.3 names to be safe...
-}
-elsif ( $^O eq 'cygwin' ) {
-	# Most Unix2Win32 ports seem to poke everything into the Program Files directory
-	# this could be changed to put some files (ie. libraries) into system32, etc.
-	$config_defaults{'INSTALL_MODE'} = 'single';
-	$config_defaults{'INSTALL_BASE'} = 'c:/progra~1/koha';	# Use 8.3 names to be safe...
-}
-else {
-	$config_defaults{'INSTALL_MODE'} = 'standard';
-	$config_defaults{'INSTALL_BASE'} = '/usr/share/koha';
-}
-
-# valid values for certain configuration options
-my %valid_config_values = (
-  'INSTALL_MODE'  => { 'standard' => 1, 'single' => 1, 'dev' => 1 },
-  'DB_TYPE' => { 'mysql' => 1, 'Pg' => 1 },
-  'INSTALL_ZEBRA' => { 'yes' => 1, 'no' => 1 },
-  'INSTALL_SRU' => { 'yes' => 1, 'no' => 1 },
-  'AUTH_INDEX_MODE' => { 'grs1' => 1, 'dom' => 1 },
-  'ZEBRA_MARC_FORMAT' => { 'marc21' => 1, 'normarc' => 1, 'unimarc' => 1 }, # FIXME should generate from contents of distributation
-  'ZEBRA_LANGUAGE'    => { 'en' => 1, 'fr' => 1, 'nb' => 1 }, # FIXME should generate from contents of distribution
-  'RUN_DATABASE_TESTS' => { 'yes' => 1, 'no' => 1 },
-  'USE_MEMCACHED'      => { 'yes' => 1, 'no' => 1 },
-);
-
-# get settings from command-line
-my $koha_install_log = "";
-Getopt::Long::Configure('pass_through');
-my $results = GetOptions(
-    "prev-install-log=s" => \$koha_install_log
-);
-
-my %install_log_values = ();
-if ($koha_install_log ne "") {
-    get_install_log_values($koha_install_log, \%install_log_values);
-}
-
-my %config = get_configuration(\%config_defaults, \%valid_config_values, \%install_log_values);
-my ($target_directories, $skip_directories) = get_target_directories(\%config);
-display_configuration(\%config, $target_directories);
-my $file_map = {};
-get_file_map($target_map, $dirtree, $file_map, $config{'INSTALL_ZEBRA'} eq "yes" ? 1: 0);
-
-my $pl_files = {
-      'rewrite-config.PL' => [
-         'blib/KOHA_CONF_DIR/koha-conf.xml',
-         'blib/KOHA_CONF_DIR/koha-httpd.conf',
-         'blib/MISC_DIR/koha-install-log'
-         ],
-	  'fix-perl-path.PL' => [	# this script ensures the correct shebang line for the platform installed on...
-		 'blib'
-		 ]
-};
-
-if ($config{'INSTALL_ZEBRA'} eq "yes") {
-    push @{ $pl_files->{'rewrite-config.PL'} }, (
-        'blib/ZEBRA_CONF_DIR/etc/passwd',
-        'blib/ZEBRA_CONF_DIR/zebra-biblios.cfg',
-        'blib/ZEBRA_CONF_DIR/zebra-authorities.cfg',
-        'blib/ZEBRA_CONF_DIR/zebra-authorities-dom.cfg',
-        'blib/ZEBRA_CONF_DIR/explain-authorities.xml',
-        'blib/ZEBRA_CONF_DIR/explain-biblios.xml',
-        'blib/ZEBRA_CONF_DIR/retrieval-info-auth-grs1.xml',
-        'blib/ZEBRA_CONF_DIR/retrieval-info-auth-dom.xml',
-    );
-    push @{ $pl_files->{'rewrite-config.PL'} }, (
-        'blib/SCRIPT_DIR/koha-zebra-ctl.sh',
-        'blib/SCRIPT_DIR/koha-pazpar2-ctl.sh',
-        'blib/SCRIPT_DIR/koha-zebraqueue-ctl.sh',
-    );
-    if ($config{'INSTALL_PAZPAR2'} eq 'yes') {
-        push @{ $pl_files->{'rewrite-config.PL'} }, (
-            'blib/PAZPAR2_CONF_DIR/koha-biblios.xml',
-            'blib/PAZPAR2_CONF_DIR/pazpar2.xml'
-        );
-    }
-    $config{'ZEBRA_AUTH_CFG'} = $config{'AUTH_INDEX_MODE'} eq 'dom' ? 'zebra-authorities-dom.cfg' : 'zebra-authorities.cfg';
-    $config{'AUTH_RETRIEVAL_CFG'} =
-        $config{'AUTH_INDEX_MODE'} eq 'dom' ? 'retrieval-info-auth-dom.xml' : 'retrieval-info-auth-grs1.xml';
-}
-
-if ($config{'INSTALL_MODE'} ne "dev") {
-    push @{ $pl_files->{'rewrite-config.PL'} }, (
-        'blib/PERL_MODULE_DIR/C4/Context.pm',
-        'blib/SCRIPT_NONDEV_DIR/kohalib.pl'
-    );
-}
-
-my %test_suite_override_dirs = (
-    KOHA_CONF_DIR  => ['etc'],
-    ZEBRA_CONF_DIR => ['etc', 'zebradb'],
-    LOG_DIR        => ['var', 'log'],
-    SCRIPT_DIR     => ['bin'],
-    ZEBRA_LOCK_DIR => ['var', 'lock', 'zebradb'],
-    ZEBRA_DATA_DIR => ['var', 'lib', 'zebradb'],
-    ZEBRA_RUN_DIR  => ['var', 'run', 'zebradb'],
-);
-
-WriteMakefile(
-              NAME         => 'koha',
-              #VERSION     => strftime('2.9.%Y%m%d%H',gmtime),
-              VERSION_FROM => 'kohaversion.pl',
-              ABSTRACT     => 'Award-winning integrated library system (ILS) and Web OPAC',
-              AUTHOR       => 'Koha Contributors <http://koha-community.org/>',
-              NO_META      => 1,
-              PREREQ_PM    => $koha_pm->prereq_pm,
-
-              # File tree mapping
-              PM => $file_map,
-
-              # Man pages generated from POD
-	      # ExtUtils::MakeMaker already manage $(DESTDIR)
-              INSTALLMAN1DIR => File::Spec->catdir(_strip_destdir($target_directories->{'MAN_DIR'}), 'man1'),
-              INSTALLMAN3DIR => File::Spec->catdir(_strip_destdir($target_directories->{'MAN_DIR'}), 'man3'),
-
-              PL_FILES => $pl_files,
-);
-
-=head1 FUNCTIONS
-
-=head2 hashdir
-
-This function recurses through the directory structure and builds
-a hash of hashes containing the structure with arrays holding filenames.
-This directory hashing routine was taken from BrowserUK @ http://www.perlmonks.org/?node_id=219919
-
-=cut
-
-sub hashdir{
-    my $dir = shift;
-    opendir my $dh, $dir or die $!;
-    my $tree = {}->{$dir} = {};
-    while( my $file = readdir($dh) ) {
-        next if $file =~ m/^\.{1,2}/ and $file !~ /^\.htaccess/; # .htaccess is a special case
-        my $path = $dir .'/' . $file;
-        $tree->{$file} = hashdir($path), next if -d $path;
-        push @{$tree->{'.'}}, $file;
-    }
-    return $tree;
-}
-
-=head2 get_file_map
-
-This function combines the target_map and file hash to
-map each source file to its destination relative to
-the set of installation targets.
-
-Output will be a hash mapping from each source file
-to its destination value, like this:
-
-'mainpage.pl' => '$(INTRANET_CGI_DIR)/mainpage.pl'
-
-=cut
-
-sub get_file_map {
-    my $target_map = shift;
-    my $dirtree = shift;
-    my $file_map = shift;
-    my $install_zebra = shift;
-    my $curr_path = @_ ? shift : ['.'];
-
-    # Traverse the directory tree.
-    # For each file or directory, identify the
-    # most specific match in the target_map
-    foreach my $dir (sort keys %{ $dirtree }) {
-        if ($dir eq '.') {
-            # deal with files in directory
-            foreach my $file (sort @{ $dirtree->{$dir} }) {
-                my $targetdir = undef;
-                my $matchlevel = undef;
-                # first, see if there is a match on this specific
-                # file in the target map
-                my $filepath = join("/", @$curr_path, $file);
-                if (exists $target_map->{$filepath}) {
-                    $targetdir = $target_map->{$filepath};
-                    $matchlevel = scalar(@$curr_path) + 1;
-                } else {
-                    # no match on the specific file; look for
-                    # a directory match
-                    for (my $i = scalar(@$curr_path) - 1; $i >= 0; $i--)  {
-                        my $dirpath = join("/", @$curr_path[0..$i]);
-                        if (exists $target_map->{$dirpath}) {
-                            $targetdir = $target_map->{$dirpath};
-                            $matchlevel = $i + 1;
-                            last;
-                        }
-                    }
-                }
-                if (defined $targetdir) {
-                     _add_to_file_map($file_map, $targetdir, $curr_path, $file, $matchlevel, $install_zebra);
-                } else {
-                    my $path = join("/", @$curr_path);
-                    print "failed to map: $path/$file\n" if $DEBUG;
-                }
-            }
-        } else {
-            # dealing with subdirectory
-            push @$curr_path, $dir;
-            get_file_map($target_map, $dirtree->{$dir}, $file_map, $install_zebra, $curr_path);
-            pop @$curr_path;
-        }
-    }
-}
-
-sub _add_to_file_map {
-    my $file_map = shift;
-    my $targetdir = shift;
-    my $curr_path = shift;
-    my $file = shift;
-    my $matchlevel = shift;
-    my $install_zebra = shift;
-    my $dest_path = @_ ? shift : $curr_path;
-
-    # The target can be one of the following:
-    # 1. scalar representing target symbol
-    # 2. hash ref containing target and trimdir keys
-    #
-    # Consequently, this routine traverses this structure,
-    # calling itself recursively, until it deals with
-    # all of the scalar target symbols.
-    if (ref $targetdir eq 'HASH') {
-        my $subtarget = $targetdir->{target};
-        if (exists $targetdir->{trimdir}) {
-            # if we get here, we've specified that
-            # rather than installing the file to
-            # $(TARGET)/matching/dirs/subdirs/file,
-            # we want to install it to
-            # $(TARGET)/subdirs/file
-            #
-            # Note that this the only place where
-            # $matchlevel is used.
-            my @new_dest_path = @$dest_path;
-            if ($targetdir->{trimdir} == -1)  {
-                splice @new_dest_path, 0, $matchlevel;
-            } else {
-                splice @new_dest_path, 0, $targetdir->{trimdir};
-            }
-            _add_to_file_map($file_map, $subtarget, $curr_path, $file, $matchlevel, $install_zebra, \@new_dest_path);
-        } else {
-            # actually getting here means that the
-            # target was unnecessarily listed
-            # as a hash, but we'll forgive that
-            _add_to_file_map($file_map, $subtarget, $curr_path, $file, $matchlevel, $install_zebra);
-        }
-    } elsif ($targetdir ne 'NONE' and $targetdir ne '') {
-        my $source = File::Spec->catfile(@$curr_path, $file);
-        my $destination = File::Spec->catfile('blib', $targetdir, @$dest_path, $file);
-        #print "$source => $destination\n"; # DEBUG
-        # quote spaces in file names
-        # FIXME: this is of questionable portability and
-        # probably depends on user's make recognizing this
-        # quoting syntax -- probably better to remove
-        # spaces and shell metacharacters from all file names
-        $source =~ s/ /\\ /g;
-        $destination =~ s/ /\\ /g;
-
-        $file_map->{$source} = $destination unless (!$install_zebra and $targetdir =~ /ZEBRA/);
-    }
-}
-
-=head2 get_install_log_values
-
-Reads value from the Koha install log specified by
---prev-install-log
-
-=cut
-
-sub get_install_log_values {
-    my $install_log = shift;
-    my $values = shift;
-
-    open LOG, "<$install_log" or die "Cannot open install log $install_log: $!\n";
-    while (<LOG>) {
-        chomp;
-        next if /^#/ or /^\s*$/;
-        next if /^=/;
-        next unless m/=/;
-        s/\s+$//g;
-        my ($key, $value) = split /=/, $_, 2;
-        $values->{$key} = $value;
-    }
-    close LOG;
-
-    print <<_EXPLAIN_INSTALL_LOG_;
-Reading values from install log $install_log.  You
-will be prompted only for settings that have been
-added since the last time you installed Koha.  To
-be prompted for all settings, run 'perl Makefile.PL'
-without the --prev-install-log option.
-_EXPLAIN_INSTALL_LOG_
-}
-
-=head2 get_configuration
-
-This prompts the user for various configuration options.
-
-=cut
-
-sub get_configuration {
-  my $defaults = shift;
-  my $valid_values = shift;
-  my $install_log_values = shift;
-  my %config = ();
-
-  my $msg = q(
-By default, Koha can be installed in one of three ways:
-
-standard: Install files in conformance with the Filesystem
-          Hierarchy Standard (FHS).  This is the default mode
-          and should be used when installing a production
-          Koha system.  On Unix systems, root access is
-          needed to complete a standard installation.
-
-single:   Install files under a single directory.  This option
-          is useful for installing Koha without root access, e.g.,
-          on a web host that allows CGI scripts and MySQL databases
-          but requires the user to keep all files under the user's
-          HOME directory.
-
-dev:      Create a set of symbolic links and configuration files to
-          allow Koha to run directly from the source distribution.
-          This mode is useful for developers who want to run
-          Koha from a git clone.
-
-Installation mode);
-    $msg .= _add_valid_values_disp('INSTALL_MODE', $valid_values);
-    $config{'INSTALL_MODE'} = _get_value('INSTALL_MODE', $msg, $defaults->{'INSTALL_MODE'}, $valid_values, $install_log_values);
-
-    # set message and default value for INSTALL_BASE
-    # depending on value of INSTALL_MODE
-    my $install_base_default = $defaults->{'INSTALL_BASE'};
-    if ($config{'INSTALL_MODE'} eq 'dev') {
-        $msg = q(
-Please specify the directory in which to install Koha's
-active configuration files and (if applicable) the
-Zebra database.  Koha's CGI scripts and templates will
-be run from the current directory.
-
-Configuration directory:);
-        # FIXME - home directory portability consideration apply
-        $install_base_default =
-	    $ENV{DESTDIR}
-	    || ( exists $ENV{HOME} ? "$ENV{HOME}/koha-dev" : "$defaults->{'INSTALL_BASE'}-dev" )
-	;
-    } elsif ($config{'INSTALL_MODE'} eq 'single') {
-        $msg = "\nPlease specify the directory in which to install Koha";
-        # FIXME -- we're assuming under a 'single' mode install
-        # that user will likely want to install under the home
-        # directory.  This is OK in and of itself, but we should
-        # use File::HomeDir to locate the home directory portably.
-        # This is deferred for now because File::HomeDir is not yet
-        # core.
-		# --we must also keep this portable to the major OS's -fbcit
-        $install_base_default = (exists $ENV{'HOME'}) ? "$ENV{'HOME'}/koha" : $defaults->{'INSTALL_BASE'};
-    } else {
-        # must be standard
-        $msg = q(
-Please specify the directory under which most Koha files
-will be installed.
-
-Note that if you are planning in installing more than
-one instance of Koha, you may want to modify the last
-component of the directory path, which will be used
-as the package name in the FHS layout.
-
-Base installation directory);
-    }
-    $config{'INSTALL_BASE'} = _get_value('INSTALL_BASE', $msg, $install_base_default, $valid_values, $install_log_values);
-
-    $config{'INSTALL_BASE'} = File::Spec->rel2abs($config{'INSTALL_BASE'});
-	print "INSTALL_BASE=$config{'INSTALL_BASE'}\r\n" if $DEBUG;
-    if ($config{'INSTALL_MODE'} eq "standard") {
-        $msg = q(
-Since you are using the 'standard' install
-mode, you should run 'make install' as root.
-However, it is recommended that a non-root
-user (on Unix and Linux platforms) have
-ownership of Koha's files, including the
-Zebra indexes if applicable.
-
-Please specify a user account.  This
-user account does not need to exist
-right now, but it needs to exist
-before you run 'make install'.  Please
-note that for security reasons, this
-user should not be the same as the user
-account Apache runs under.
-
-User account);
-        $config{'KOHA_USER'} = _get_value('KOHA_USER', $msg, $defaults->{'KOHA_USER'}, $valid_values, $install_log_values);
-
-        $msg = q(
-Please specify the group that should own
-Koha's files.  As above, this group need
-not exist right now, but should be created
-before you run 'make install'.
-
-Group);
-        $config{'KOHA_GROUP'} = _get_value('KOHA_GROUP', $msg, $defaults->{'KOHA_GROUP'}, $valid_values, $install_log_values);
-    }
-
-    $msg = q(
-Please specify which database engine you will use
-to store data in Koha.  The choices are MySQL and
-PostgreSQL; please note that at the moment
-PostgreSQL support is highly experimental.
-
-DBMS to use);
-    $msg .= _add_valid_values_disp('DB_TYPE', $valid_values);
-    $config{'DB_TYPE'} = _get_value('DB_TYPE', $msg, $defaults->{'DB_TYPE'}, $valid_values, $install_log_values);
-
-    $msg = q(
-Please specify the name or address of your
-database server.  Note that the database
-does not have to exist at this point, it
-can be created after running 'make install'
-and before you try using Koha for the first time.
-
-Database server);
-    $config{'DB_HOST'} = _get_value('DB_HOST', $msg, $defaults->{'DB_HOST'}, $valid_values, $install_log_values);
-
-    $msg = q(
-Please specify the port used to connect to the
-DMBS);
-    my $db_port_default = $config{'DB_TYPE'} eq 'mysql' ? '3306' : '5432';
-    $config{'DB_PORT'} = _get_value('DB_PORT', $msg, $db_port_default, $valid_values, $install_log_values);
-
-    $msg = q(
-Please specify the name of the database to be
-used by Koha);
-    $config{'DB_NAME'} = _get_value('DB_NAME', $msg, $defaults->{'DB_NAME'}, $valid_values, $install_log_values);
-
-    $msg = q(
-Please specify the user that owns the database to be
-used by Koha);
-    $config{'DB_USER'} = _get_value('DB_USER', $msg, $defaults->{'DB_USER'}, $valid_values, $install_log_values);
-
-    $msg = q(
-Please specify the password of the user that owns the
-database to be used by Koha);
-    $config{'DB_PASS'} = _get_value('DB_PASS', $msg, $defaults->{'DB_PASS'}, $valid_values, $install_log_values);
-
-    $msg = q(
-Koha can use the Zebra search engine for high-performance
-searching of bibliographic and authority records.  If you
-have installed the Zebra software and would like to use it,
-please answer 'yes' to the following question.  Otherwise,
-Koha will default to using its internal search engine.
-
-Please note that if you choose *NOT* to install Zebra,
-koha-conf.xml will still contain some references to Zebra
-settings.  Those references will be ignored by Koha.
-
-Install the Zebra configuration files?);
-    $msg .= _add_valid_values_disp('INSTALL_ZEBRA', $valid_values);
-    $config{'INSTALL_ZEBRA'} = _get_value('INSTALL_ZEBRA', $msg, $defaults->{'INSTALL_ZEBRA'}, $valid_values, $install_log_values);
-
-    if ($config{'INSTALL_ZEBRA'} eq 'yes') {
-
-        if (defined(my $zebra_path = find_zebra())) {
-            $config{'PATH_TO_ZEBRA'} = $zebra_path;
-            print qq(
-Found 'zebrasrv' and 'zebraidx' in $zebra_path.
-);
-        } else {
-            print q(
-Unable to find the Zebra programs 'zebrasrv' and 'zebraidx'
-in your PATH or in some of the usual places.  If you haven't
-installed Zebra yet, please do so and run Makefile.PL again.
-
-);
-        }
-
-        $msg = q(
-Since you've chosen to use Zebra with Koha,
-you must specify the primary MARC format of the
-records to be indexed by Zebra.
-
-Koha provides Zebra configuration files for MARC 21
-and UNIMARC.
-
-MARC format for Zebra indexing);
-        $msg .= _add_valid_values_disp('ZEBRA_MARC_FORMAT', $valid_values);
-        $config{'ZEBRA_MARC_FORMAT'} = _get_value('ZEBRA_MARC_FORMAT', $msg, $defaults->{'ZEBRA_MARC_FORMAT'}, $valid_values, $install_log_values);
-        $msg = q(
-Koha supplies Zebra configuration files tuned for
-searching either English (en) or French (fr) MARC
-records.
-
-Primary language for Zebra indexing);
-        $msg .= _add_valid_values_disp('ZEBRA_LANGUAGE', $valid_values);
-        $config{'ZEBRA_LANGUAGE'} = _get_value('ZEBRA_LANGUAGE', $msg, $defaults->{'ZEBRA_LANGUAGE'}, $valid_values, $install_log_values);
-
-        $msg = q(
-Koha can use one of  two different indexing modes
-for the MARC authorities records:
-
-grs1 - uses the Zebra GRS-1 filter, available
-       for legacy support
-dom  - uses the DOM XML filter; offers improved
-       functionality.
-
-Authorities indexing mode);
-        $msg .= _add_valid_values_disp('AUTH_INDEX_MODE', $valid_values);
-        $config{'AUTH_INDEX_MODE'} = _get_value('AUTH_INDEX_MODE', $msg, $defaults->{'AUTH_INDEX_MODE'}, $valid_values, $install_log_values);
-
-        $msg = q(
-Please specify Zebra database user);
-        $config{'ZEBRA_USER'} = _get_value('ZEBRA_USER', $msg, $defaults->{'ZEBRA_USER'}, $valid_values, $install_log_values);
-
-        $msg = q(
-Please specify the Zebra database password);
-        $config{'ZEBRA_PASS'} = _get_value('ZEBRA_PASS', $msg, $defaults->{'ZEBRA_PASS'}, $valid_values, $install_log_values);
-
-        $msg = q(
-Since you've chosen to use Zebra, you can enable the SRU/
-Z39.50 Server if you so choose, but you must specify a
-few configuration options for it.
-
-Please note that if you choose *NOT* to configure SRU,
-koha-conf.xml will still contain some references to SRU
-settings.  Those references will be ignored by Koha.
-
-Install the SRU configuration files?);
-        $msg .= _add_valid_values_disp('INSTALL_SRU', $valid_values);
-        $config{'INSTALL_SRU'} = _get_value('INSTALL_SRU', $msg, $defaults->{'INSTALL_SRU'}, $valid_values, $install_log_values);
-
-        if ($config{'INSTALL_SRU'} eq 'yes') {
-            $msg = q(
-Since you've chosen to configure SRU, you must
-specify the host and port(s) that the SRU
-Servers (bibliographic and authority) should run on.
-);
-            $msg = q(
-SRU Database host?);
-            $config{'ZEBRA_SRU_HOST'} = _get_value('ZEBRA_SRU_HOST', $msg, $defaults->{'ZEBRA_SRU_HOST'}, $valid_values, $install_log_values);
-
-            $msg = q(
-SRU port for bibliographic data?);
-            $config{'ZEBRA_SRU_BIBLIOS_PORT'} = _get_value('ZEBRA_SRU_BIBLIOS_PORT', $msg, $defaults->{'ZEBRA_SRU_BIBLIOS_PORT'}, $valid_values, $install_log_values);
-
-            $msg = q(
-SRU port for authority data?);
-            $config{'ZEBRA_SRU_AUTHORITIES_PORT'} = _get_value('ZEBRA_SRU_AUTHORITIES_PORT', $msg, $defaults->{'ZEBRA_SRU_AUTHORITIES_PORT'}, $valid_values, $install_log_values);
-
-        }
-
-        $msg = q(
-Since you've chosen to use Zebra, you can also choose to
-install PazPar2, which is a metasearch tool.  With PazPar2,
-Koha can perform on-the-fly merging of bibliographic
-records during searching, allowing for FRBRization of
-the results list.
-
-Install the PazPar2 configuration files?);
-        $msg .= _add_valid_values_disp('INSTALL_PAZPAR2', $valid_values);
-        $config{'INSTALL_PAZPAR2'} = _get_value('INSTALL_PAZPAR2', $msg, $defaults->{'INSTALL_PAZPAR2'}, $valid_values, $install_log_values);
-
-        if ($config{'INSTALL_PAZPAR2'} eq 'yes') {
-            $msg = q(
-Since you've chosen to configure PazPar2, you must
-specify the host and port(s) that PazPar2
-uses:
-);
-            $msg = q(
-Zebra bibliographic server host?);
-            $config{'MERGE_SERVER_HOST'} = _get_value('MERGE_SERVER_HOST', $msg, $defaults->{'MERGE_SERVER_HOST'}, $valid_values, $install_log_values);
-
-            $msg = q(
-Zebra bibliographic port for PazPar2 to use?);
-            $config{'MERGE_SERVER_PORT'} = _get_value('MERGE_SERVER_PORT', $msg, $defaults->{'MERGE_SERVER_PORT'}, $valid_values, $install_log_values);
-
-            $msg = q(
-PazPar2 host?);
-            $config{'PAZPAR2_HOST'} = _get_value('PAZPAR2_HOST', $msg, $defaults->{'PAZPAR2_HOST'}, $valid_values, $install_log_values);
-
-            $msg = q(
-PazPar2 port?);
-            $config{'PAZPAR2_PORT'} = _get_value('PAZPAR2_PORT', $msg, $defaults->{'PAZPAR2_PORT'}, $valid_values, $install_log_values);
-
-        }
-    }
-  $msg = q(
-Use memcached and memoize to cache the results of some function calls?
-This provides a signficant performance improvement.
-You will need a Memcached server running.);
-  $msg .= _add_valid_values_disp('USE_MEMCACHED', $valid_values);
-  $config{'USE_MEMCACHED'} = _get_value('USE_MEMCACHED', $msg, $defaults->{'USE_MEMCACHED'}, $valid_values, $install_log_values);
-  if ($config{'USE_MEMCACHED'} eq 'yes'){
-      $msg = q(
-Since you've chosen to use caching, you must specify the memcached servers and the namespace to use:
-);
-      $msg = q(
-Memcached server address?);
-      $config{'MEMCACHED_SERVERS'} = _get_value('MEMCACHED_SERVERS', $msg, $defaults->{'MEMCACHED_SERVERS'}, $valid_values, $install_log_values);
-
-      $msg = q(
-Memcached namespace?);
-      $config{'MEMCACHED_NAMESPACE'} = _get_value('MEMCACHED_NAMESPACE', $msg, $defaults->{'MEMCACHED_NAMESPACE'}, $valid_values, $install_log_values);
-  }
-
-
-
-  $msg = q(
-Would you like to run the database-dependent test suite?);
-  $msg .= _add_valid_values_disp( 'RUN_DATABASE_TESTS', $valid_values );
-    $config{'RUN_DATABASE_TESTS'} = _get_value( 'RUN_DATABASE_TESTS', $msg, $defaults->{'RUN_DATABASE_TESTS'}, $valid_values, $install_log_values );
-
-  if ( $config{'RUN_DATABASE_TESTS'} eq 'yes' ) {
-      $config{'TEST_DB_TYPE'} = $config{'DB_TYPE'};
-      $config{'TEST_DB_HOST'} = $config{'DB_HOST'};
-      $msg = q(TEST DATABASE
-
-THE DATA IN THIS DATABASE WILL BE DESTROYED during the process of
-testing. Please don't do this on your production database. It is not
-reversable.
-
-YOU WILL SUFFER DATA LOSS if you run this test suite on your test
-database. You are better off not running this optional test suite than
-doing it in a database that you don't want to lose.
-
-Please specify the name of the test database to be
-used by Koha);
-
-      $config{'TEST_DB_NAME'} = _get_value('TEST_DB_NAME', $msg, $defaults->{'TEST_DB_NAME'}, $valid_values, $install_log_values);
-      while ( $config{'TEST_DB_NAME'} eq $config{'DB_NAME'} ) {
-          $msg = q(Please do not use the same database for testing as you do for production. You run the severe risk of data loss.);
-          $config{'TEST_DB_NAME'} = _get_value('TEST_DB_NAME', $msg, $defaults->{'TEST_DB_NAME'}, $valid_values, $install_log_values);
-      }
-
-      $msg = q(
-Please specify the user that owns the database to be
-used by Koha);
-    $config{'TEST_DB_USER'} = _get_value('TEST_DB_USER', $msg, $defaults->{'TEST_DB_USER'}, $valid_values, $install_log_values);
-
-      $msg = q(
-Please specify the password of the user that owns the
-database to be used by Koha);
-      $config{'TEST_DB_PASS'} = _get_value('TEST_DB_PASS', $msg, $defaults->{'TEST_DB_PASS'}, $valid_values, $install_log_values);
-  }
-
-    print "\n\n";
-
-    # add version number
-    my $version = "no_version_found";
-    eval {
-        require 'kohaversion.pl';
-        $version = kohaversion();
-    };
-    $config{'KOHA_INSTALLED_VERSION'} = $version;
-
-    return %config;
-}
-
-sub _add_valid_values_disp {
-    my $key = shift;
-    my $valid_values = shift;
-
-    my $disp = "";
-    if (exists $valid_values->{$key}) {
-        $disp = " (" . join(", ", sort keys %{ $valid_values->{$key} }) . ")";
-    }
-    return $disp;
-}
-
-sub _get_value {
-    my $key = shift;
-    my $msg = shift;
-    my $default = shift;
-    my $valid_values = shift;
-    my $install_log_values = shift;
-
-    # take value from install log if present
-    if (exists $install_log_values{$key}) {
-        $install_log_values{$key} =~ s/\$/\$\$/g;
-        return $install_log_values{$key};
-    }
-
-    # override default value from environment
-    if (exists $ENV{$key}) {
-        $default = $ENV{$key};
-        $msg .= " (default from environment)";
-    }
-
-    my $val = prompt($msg, $default);
-
-    while (exists $valid_values->{$key} and
-           $val ne $default and
-           not exists $valid_values->{$key}->{$val}) {
-        my $retry_msg = "Value '$val' is not a valid option.\n";
-        $retry_msg .= "Please enter a value";
-        $retry_msg .= _add_valid_values_disp($key, $valid_values);
-        $val = prompt($retry_msg, $default);
-    }
-    $val =~ s/\$/\$\$/g;
-    return $val;
-}
-
-=head2 get_target_directories
-
-Creates a hash mapping from symbols for installation target
-directories to actual directory paths.
-
-Also returns a hash indicating targets for which
-files need not be copied -- this is used for the 'dev'
-mode installation, where some files are installed in place.
-
-=cut
-
-sub get_target_directories {
-    my $config = shift;
-
-    my $base = $config->{'INSTALL_BASE'};
-    my $mode = $config->{'INSTALL_MODE'};
-
-    # get last component of install base directory
-    # to treat as package name
-    my ($volume, $directories, $file) = File::Spec->splitpath($base, 1);
-
-    my @basedir = File::Spec->splitdir($directories);
-
-	# for Win32 we need to prepend the volume to the directory path
-	if ( $^O eq 'MSWin32' ) { shift @basedir; unshift @basedir, $volume; }
-	elsif ( $^O eq 'cygwin' ) { shift @basedir; unshift @basedir, 'c:'; }   # in a cygwin environment, $volume is returned empty
-
-    my $package = pop @basedir;
-
-
-    my %dirmap = ();
-    my %skipdirs = ();
-    if ($mode eq 'single') {
-        $dirmap{'INTRANET_CGI_DIR'} = File::Spec->catdir(@basedir, $package, 'intranet', 'cgi-bin');
-        $dirmap{'INTRANET_TMPL_DIR'} = File::Spec->catdir(@basedir, $package, 'intranet', 'htdocs', 'intranet-tmpl');
-        $dirmap{'INTRANET_WWW_DIR'} = File::Spec->catdir(@basedir, $package, 'intranet', 'htdocs');
-        $dirmap{'OPAC_CGI_DIR'} = File::Spec->catdir(@basedir, $package, 'opac', 'cgi-bin');
-        $dirmap{'OPAC_TMPL_DIR'} = File::Spec->catdir(@basedir, $package, 'opac', 'htdocs', 'opac-tmpl');
-        $dirmap{'OPAC_WWW_DIR'} = File::Spec->catdir(@basedir, $package, 'opac', 'htdocs');
-        $dirmap{'PERL_MODULE_DIR'} = File::Spec->catdir(@basedir, $package, 'lib');
-        $dirmap{'KOHA_CONF_DIR'} = File::Spec->catdir(@basedir, $package, 'etc');
-        $dirmap{'ZEBRA_CONF_DIR'} = File::Spec->catdir(@basedir, $package, 'etc', 'zebradb');
-        $dirmap{'PAZPAR2_CONF_DIR'} = File::Spec->catdir(@basedir, $package, 'etc', 'pazpar2');
-        $dirmap{'MISC_DIR'} = File::Spec->catdir(@basedir, $package, 'misc');
-        $dirmap{'SCRIPT_DIR'} = File::Spec->catdir(@basedir, $package, 'bin');
-        $dirmap{'SCRIPT_NONDEV_DIR'} = $dirmap{'SCRIPT_DIR'};
-        $dirmap{'MAN_DIR'} = File::Spec->catdir(@basedir, $package, 'man');
-        $dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc');
-        $dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb');
-        $dirmap{'LOG_DIR'} =  File::Spec->catdir(@basedir, $package, 'var', 'log');
-        $dirmap{'ZEBRA_DATA_DIR'} =  File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb');
-        $dirmap{'ZEBRA_RUN_DIR'} =  File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb');
-    } elsif ($mode eq 'dev') {
-        my $curdir = File::Spec->rel2abs(File::Spec->curdir());
-        $dirmap{'INTRANET_CGI_DIR'} = File::Spec->catdir($curdir);
-        $skipdirs{'INTRANET_CGI_DIR'} = 1;
-        $dirmap{'INTRANET_TMPL_DIR'} = File::Spec->catdir($curdir, 'koha-tmpl', 'intranet-tmpl');
-        $skipdirs{'INTRANET_TMPL_DIR'} = 1;
-        $dirmap{'INTRANET_WWW_DIR'} = File::Spec->catdir($curdir, 'koha-tmpl');
-        $skipdirs{'INTRANET_WWW_DIR'} = 1;
-        $dirmap{'OPAC_CGI_DIR'} = File::Spec->catdir($curdir);
-        $skipdirs{'OPAC_CGI_DIR'} = 1;
-        $dirmap{'OPAC_TMPL_DIR'} = File::Spec->catdir($curdir, 'koha-tmpl', 'opac-tmpl');
-        $skipdirs{'OPAC_TMPL_DIR'} = 1;
-        $dirmap{'OPAC_WWW_DIR'} = File::Spec->catdir($curdir, 'koha-tmpl');
-        $skipdirs{'OPAC_WWW_DIR'} = 1;
-        $dirmap{'PERL_MODULE_DIR'} = File::Spec->catdir($curdir);
-        $skipdirs{'PERL_MODULE_DIR'} = 1;
-        $dirmap{'KOHA_CONF_DIR'} = File::Spec->catdir(@basedir, $package, 'etc');
-        $dirmap{'ZEBRA_CONF_DIR'} = File::Spec->catdir(@basedir, $package, 'etc', 'zebradb');
-        $dirmap{'PAZPAR2_CONF_DIR'} = File::Spec->catdir(@basedir, $package, 'etc', 'pazpar2');
-        $dirmap{'MISC_DIR'} = File::Spec->catdir(@basedir, $package, 'misc');
-        $dirmap{'SCRIPT_DIR'} = File::Spec->catdir(@basedir, $package, 'bin');
-        $dirmap{'SCRIPT_NONDEV_DIR'} = $dirmap{'SCRIPT_DIR'};
-        $skipdirs{'SCRIPT_NONDEV_DIR'} = 1;
-        $dirmap{'MAN_DIR'} = File::Spec->catdir(@basedir, $package, 'man');
-        $dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc');
-        $dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb');
-        $dirmap{'LOG_DIR'} =  File::Spec->catdir(@basedir, $package, 'var', 'log');
-        $dirmap{'ZEBRA_DATA_DIR'} =  File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb');
-        $dirmap{'ZEBRA_RUN_DIR'} =  File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb');
-    } else {
-        # mode is standard, i.e., 'fhs'
-        $dirmap{'INTRANET_CGI_DIR'} = File::Spec->catdir(@basedir, $package, 'intranet', 'cgi-bin');
-        $dirmap{'INTRANET_TMPL_DIR'} = File::Spec->catdir(@basedir, $package, 'intranet', 'htdocs', 'intranet-tmpl');
-        $dirmap{'INTRANET_WWW_DIR'} = File::Spec->catdir(@basedir, $package, 'intranet', 'htdocs');
-        $dirmap{'OPAC_CGI_DIR'} = File::Spec->catdir(@basedir, $package, 'opac', 'cgi-bin');
-        $dirmap{'OPAC_TMPL_DIR'} = File::Spec->catdir(@basedir, $package, 'opac', 'htdocs', 'opac-tmpl');
-        $dirmap{'OPAC_WWW_DIR'} = File::Spec->catdir(@basedir, $package, 'opac', 'htdocs');
-        $dirmap{'PERL_MODULE_DIR'} = File::Spec->catdir(@basedir, $package, 'lib');
-        $dirmap{'KOHA_CONF_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'etc', $package);
-        $dirmap{'ZEBRA_CONF_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'etc', $package, 'zebradb');
-        $dirmap{'PAZPAR2_CONF_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'etc', $package, 'pazpar2');
-        $dirmap{'MISC_DIR'} = File::Spec->catdir(@basedir, $package, 'misc');
-        $dirmap{'SCRIPT_DIR'} = File::Spec->catdir(@basedir, $package, 'bin');
-        $dirmap{'SCRIPT_NONDEV_DIR'} = $dirmap{'SCRIPT_DIR'};
-        $dirmap{'MAN_DIR'} = File::Spec->catdir(@basedir, $package, 'man');
-        $dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc');
-        $dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lock', $package, 'zebradb');
-        $dirmap{'LOG_DIR'} =  File::Spec->catdir(File::Spec->rootdir(), 'var', 'log', $package);
-        $dirmap{'ZEBRA_DATA_DIR'} =  File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'zebradb');
-        $dirmap{'ZEBRA_RUN_DIR'} =  File::Spec->catdir(File::Spec->rootdir(), 'var', 'run', $package, 'zebradb');
-    }
-
-    _get_env_overrides(\%dirmap);
-    _get_argv_overrides(\%dirmap);
-    _add_destdir(\%dirmap) unless ($^O eq 'MSWin32');
-
-    return \%dirmap, \%skipdirs;
-}
-
-=head2 get_test_dir
-
-Map a directory target to the corresponding path for
-the test suite.
-
-=cut
-
-sub get_test_dir {
-    my ($dirname) = @_;
-
-    my @basedir = (File::Spec->rel2abs(File::Spec->curdir()), 't', 'run');
-    if (exists $test_suite_override_dirs{$dirname}) {
-        return File::Spec->catdir(@basedir, @{ $test_suite_override_dirs{$dirname} });
-    } else {
-        return;
-    }
-
-}
-
-sub _get_env_overrides {
-    my $dirmap = shift;
-
-    foreach my $key (keys %$dirmap) {
-        if (exists $ENV{$key}) {
-            $dirmap->{$key} = $ENV{$key};
-            print "Setting $key from environment\n";
-        }
-    }
-}
-
-sub _get_argv_overrides {
-    my $dirmap = shift;
-
-    my @new_argv = ();
-    for (my $i = 0; $i <= $#ARGV; $i++) {
-        if ($ARGV[$i] =~ /^([^=]+)=([^=]+)$/ and exists $dirmap->{$1}) {
-            $dirmap->{$1} = $2;
-        } else {
-            push @new_argv, $ARGV[$i];
-        }
-    }
-    @ARGV = @new_argv;
-}
-
-sub _strip_destdir {
-    my $dir = shift;
-    $dir =~ s/^\$\(DESTDIR\)//;
-    return $dir;
-}
-
-sub _add_destdir {
-    my $dirmap = shift;
-
-    foreach my $key (keys %$dirmap) {
-        $dirmap->{$key} = '$(DESTDIR)'.$dirmap->{$key};
-    }
-}
-
-sub display_configuration {
-    my $config = shift;
-    my $dirmap = shift;
-    print "\n\nKoha will be installed with the following configuration parameters:\n\n";
-    foreach my $key (sort keys %$config) {
-        print sprintf("%-25.25s%s\n", $key, $config->{$key});
-    }
-
-    print "\nand in the following directories:\n\n";
-    foreach my $key (sort keys %$dirmap) {
-        print sprintf("%-25.25s%s\n", $key, $dirmap->{$key});
-    }
-    print "\n\nTo change any configuration setting, please run\n";
-    print "perl Makefile.PL again.  To override one of the target\n";
-    print "directories, you can do so on the command line like this:\n";
-    print "\nperl Makefile.PL PERL_MODULE_DIR=/usr/share/perl/5.8\n\n";
-    print "You can also set different default values for parameters\n";
-    print "or override directory locations by using environment variables.\n";
-    print "\nFor example:\n\n";
-    print "export DB_USER=my_koha\n";
-    print "perl Makefile.PL\n";
-    print "\nor\n\n";
-    print "DB_USER=my_koha DOC_DIR=/usr/local/info perl Makefile.PL\n\n";
-    print "If installing on a Win32 platform, be sure to use:\n";
-    print "'dmake -x MAXLINELENGTH=300000'\n\n";
-}
-
-=head2 find_zebra
-
-Attempt to find Zebra - check user's PATH and
-a few other directories for zebrasrv and zebraidx.
-
-FIXME: doesn't handle Win32
-
-=cut
-
-sub find_zebra {
-    my @search_dirs = map {
-                            my $abs = File::Spec->rel2abs($_);
-                            my ($toss, $directories);
-                            ($toss, $directories, $toss) = File::Spec->splitpath($abs, 1);
-                            $directories;
-                        }  split /:/, $ENV{PATH};
-    push @search_dirs, qw(/usr/local/bin /opt/local/bin /usr/bin);
-    my @zebrasrv_dirs = grep { -x File::Spec->catpath('', $_, 'zebrasrv') } @search_dirs;
-    return unless @zebrasrv_dirs;
-    # verify that directory that contains zebrasrv also contains zebraidx
-    foreach my $dir (@zebrasrv_dirs) {
-        return $dir if -x File::Spec->catpath('', $dir, 'zebraidx');
-    }
-    return;
-}
-
-package MY;
-
-# This will have to be reworked in order to accommodate Win32...
-
-sub test {
-    my $self = shift;
-    my $test = $self->SUPER::test(@_);
-    $test =~ s!\$\(INST_LIB\)!blib/PERL_MODULE_DIR!g;
-
-    # set KOHA_CONF
-    $test =~ s!\$\(FULLPERLRUN\)!KOHA_CONF=blib/KOHA_CONF_DIR/koha-conf.xml \$(FULLPERLRUN)!g;
-    return $test;
-}
-
-sub install {
-    my $self = shift;
-    my $install = "";
-    # NOTE: we're *not* doing this: my $install = $self->SUPER::install(@_);
-    # This means that we're completely overriding EU::MM's default
-    # installation and uninstallation targets.
-
-# If installation is on Win32, we need to do permissions different from *nix
-    if ( $^O =~ /darwin|linux|cygwin|freebsd|solaris/ ) { # this value needs to be verified for each platform and modified accordingly
-	    foreach my $key (sort keys %$target_directories) {
-		    $install .= qq(
-KOHA_INST_$key = blib/$key
-KOHA_DEST_$key = $target_directories->{$key}
-)			unless ($config{'INSTALL_ZEBRA'} ne "yes" and $key =~ /ZEBRA/) or exists $skip_directories->{$key};
-		}
-		$install .= qq(
-install :: all install_koha set_koha_ownership set_koha_permissions warn_koha_env_vars
-\t\$(NOECHO) \$(NOOP)
-);
-			$install .= "install_koha ::\n";
-			$install .= "\t\$(NOECHO) umask 022; \$(MOD_INSTALL) \\\n";
-			foreach my $key (sort keys %$target_directories) {
-				$install .= "\t\t\$(KOHA_INST_$key) \$(KOHA_DEST_$key) \\\n"
-					unless ($config{'INSTALL_ZEBRA'} ne "yes" and $key =~ /ZEBRA/) or exists $skip_directories->{$key};
-			}
-			$install .= "\t\t\$(INST_MAN1DIR) \$(DESTINSTALLMAN1DIR) \\\n";
-			$install .= "\t\t\$(INST_MAN3DIR) \$(DESTINSTALLMAN3DIR)\n";
-
-			$install .= "\n";
-			$install .= "set_koha_ownership ::\n";
-# Do not try to change ownership if DESTDIR is set
-			if ($config{'INSTALL_MODE'} eq 'standard' and $config{'KOHA_USER'} ne "root") {
-				foreach my $key (sort keys %$target_directories) {
-					$install .= "\t\$(NOECHO) if test -z \"\$(DESTDIR)\"; then chown -R $config{'KOHA_USER'}:$config{'KOHA_GROUP'} \$(KOHA_DEST_$key); fi\n"
-						unless ($config{'INSTALL_ZEBRA'} ne "yes" and $key =~ /ZEBRA/) or exists $skip_directories->{$key};
-				}
-			} else {
-				$install .= "\t\t\$(NOECHO) \$(NOOP)\n\n";
-			}
-
-			$install .= "\n";
-			$install .= "set_koha_permissions ::\n";
-			# This is necessary because EU::MM installs files
-			# as either 0444 or 0555, and we want the owner
-			# of Koha's files to have write permission by default.
-			foreach my $key (sort keys %$target_directories) {
-				$install .= "\t\$(NOECHO) chmod -R u+w \$(KOHA_DEST_$key)\n"
-					unless ($config{'INSTALL_ZEBRA'} ne "yes" and $key =~ /ZEBRA/) or exists $skip_directories->{$key};
-			}
-	}
-	elsif ($^O eq 'MSWin32' ) {	# On Win32, the install probably needs to be done under the user account koha will be running as...
-								# We can attempt some creative things with command line utils such as CACLS which allows permission
-								# management from Win32 cmd.exe, but permissions really only apply to NTFS.
-	    foreach my $key (sort keys %$target_directories) {
-		    $install .= qq(
-KOHA_INST_$key = blib/$key
-KOHA_DEST_$key = $target_directories->{$key}
-)			unless ($config{'INSTALL_ZEBRA'} ne "yes" and $key =~ /ZEBRA/) or exists $skip_directories->{$key};
-		}
-		$install .= qq(
-install :: all install_koha warn_koha_env_vars
-\t\$(NOECHO) \$(NOOP)
-);
-		$install .= "install_koha ::\n";
-		$install .= "\t\$(MOD_INSTALL) \\\n";
-		foreach my $key (sort keys %$target_directories) {
-			$install .= "\t\t\$(KOHA_INST_$key) \$(KOHA_DEST_$key) \\\n"
-				unless ($config{'INSTALL_ZEBRA'} ne "yes" and $key =~ /ZEBRA/) or exists $skip_directories->{$key};
-		}
-	}
-	$install .= "\n";
-
-    $install .= "warn_koha_env_vars ::\n";
-    $install .= "\t\$(NOECHO) \$(ECHO)\n";
-    $install .= "\t\$(NOECHO) \$(ECHO) Koha\\'s files have now been installed. \n";
-    $install .= "\t\$(NOECHO) \$(ECHO)\n";
-    $install .= "\t\$(NOECHO) \$(ECHO) In order to use Koha\\'s command-line batch jobs,\n";
-    $install .= "\t\$(NOECHO) \$(ECHO) you should set the following environment variables:\n";
-    $install .= "\t\$(NOECHO) \$(ECHO)\n";
-    $install .= "\t\$(NOECHO) \$(ECHO) export KOHA_CONF=\$(KOHA_DEST_KOHA_CONF_DIR)/koha-conf.xml\n";
-    $install .= "\t\$(NOECHO) \$(ECHO) export PERL5LIB=$target_directories->{'PERL_MODULE_DIR'}\n";
-    $install .= "\t\$(NOECHO) \$(ECHO)\n";
-    $install .= "\t\$(NOECHO) \$(ECHO) For other post-installation tasks, please consult the README.\n";
-    $install .= "\t\$(NOECHO) \$(ECHO)\n";
-
-    if ($config{'INSTALL_ZEBRA'} eq "yes") {
-        $install .= _update_zebra_conf_target();
-    }
-
-    $install .= upgrade();
-
-    return $install;
-}
-
-=head2 _update_zebra_conf_target
-
-Add an installation target for updating
-Zebra's configuration files.
-
-=cut
-
-sub _update_zebra_conf_target {
-
-    my $target = "\nupdate_zebra_conf ::\n";
-    $target .= "\tumask 022; \$(MOD_INSTALL) \\\n";
-    $target .= "\t\t\$(KOHA_INST_ZEBRA_CONF_DIR) \$(KOHA_DEST_ZEBRA_CONF_DIR) \n";
-    $target .= "\t\$(NOECHO) chmod -R u+w \$(KOHA_DEST_ZEBRA_CONF_DIR)\n" unless $^O eq "MSWin32";
-    $target .= "\tumask 022; \$(MOD_INSTALL) \\\n";
-    $target .= "\t\t\$(KOHA_INST_PAZPAR2_CONF_DIR) \$(KOHA_DEST_PAZPAR2_CONF_DIR) \n";
-    $target .= "\t\$(NOECHO) chmod -R u+w \$(KOHA_DEST_PAZPAR2_CONF_DIR)\n" unless $^O eq "MSWin32";
-
-    return $target;
-}
-
-sub upgrade {
-    my $upgrade = "";
-
-    my $backup_suffix;
-    if (exists $install_log_values{'KOHA_INSTALLED_VERSION'}) {
-        my $version = $install_log_values{'KOHA_INSTALLED_VERSION'};
-        $version =~ s/\./_/g;
-        $backup_suffix = "_koha_$version";
-    } else {
-        $backup_suffix = "_upgrade_backup";
-    }
-
-    $upgrade .= qq/
-MOD_BACKUP = \$(ABSPERLRUN) -Minstall_misc::UpgradeBackup -e 'backup_changed_files({\@ARGV}, '$backup_suffix', '\''\$(VERBINST)'\'', '\''\$(UNINST)'\'');' --
-
-upgrade :: make_upgrade_backup install
-\t\$(NOECHO) \$(NOOP)
-make_upgrade_backup ::
-\t\$(NOECHO) umask 022; \$(MOD_BACKUP) \\
-/;
-    foreach my $key (qw/KOHA_CONF_DIR INTRANET_TMPL_DIR INTRANET_WWW_DIR OPAC_TMPL_DIR OPAC_WWW_DIR
-                     PAZPAR2_CONF_DIR ZEBRA_CONF_DIR/) {
-    	$upgrade .= "\t\t\$(KOHA_INST_$key) \$(KOHA_DEST_$key) \\\n"
-            unless ($config{'INSTALL_ZEBRA'} ne "yes" and $key =~ /ZEBRA/) or
-                   exists $skip_directories->{$key} or
-                   not exists $target_directories->{$key};
-    }
-    $upgrade =~ s/\\\n$/\n/;
-
-    return $upgrade;
-}
-
-sub postamble {
-    # put directory mappings into Makefile
-    # so that Make will export as environment
-    # variables -- this is for the use of
-    # rewrite-confg.PL
-
-    my $env;
-	# Hereagain, we must alter syntax per platform...
-	if ( $^O eq 'MSWin32' ) {
-		# NOTE: it is imperative that there be no whitespaces in ENV=value...
-		$env = join("\n", map { "__${_}__=$target_directories->{$_}" } keys %$target_directories);
-		$env .= "\n\n";
-		$env .= join("\n", map { "__${_}__=$config{$_}" } keys %config);
-	}
-    else {
-		$env = join("\n", map { "export __${_}__ := $target_directories->{$_}" } keys %$target_directories);
-		$env .= "\n\n";
-		$env .= join("\n", map { "export __${_}__ := $config{$_}" } keys %config);
-	}
-
-    if ( $config{'RUN_DATABASE_TESTS'} eq 'yes' ) {
-        if ( open( my $confhandle, '>', 't/test-config.txt' ) ) {
-            print $confhandle "# This configuration file lets the t/Makefile prepare a test koha-conf.xml file.\n";
-            print $confhandle "# It is generated by the top-level Makefile.PL.\n";
-            print $confhandle "# It is separate from the standard koha-conf.xml so that you can edit this by hand and test with different configurations.\n";
-
-            # these directories will be relocated to the 't' directory
-            foreach my $dirname ( keys %$target_directories ) {
-                my $dir = main::_strip_destdir( $target_directories->{$dirname} );
-                if ( exists $test_suite_override_dirs{$dirname} ) {
-                    $dir = main::get_test_dir($dirname);
-                }
-                print $confhandle "$dirname = $dir\n"
-            }
-            print $confhandle "\n";
-
-            print $confhandle join( "\n", map { "$_ = $config{$_}" } keys( %config ) ), "\n";
-            close( $confhandle );
-        } else {
-            warn 'unable to open conf file for database dependent tests: $!';
-        }
-
-    }
-    return "$env\n";
-}
-
-
-__END__
-
-
-=head1 SEE ALSO
-
-ExtUtils::MakeMaker(3)
-
-=head1 AUTHORS
-
-MJ Ray mjr at phonecoop.coop
-Galen Charlton galen.charlton at liblime.com
-
-=cut
-
-FIXME: deal with .htaccess
diff --git a/README b/README
deleted file mode 100644
index beb937a..0000000
--- a/README
+++ /dev/null
@@ -1,11 +0,0 @@
-Koha is a free software integrated library system.
-
-Koha is distributed under the GNU GPL version 2 or later.
-Please read the file LICENSE for more details.
-
-To install or upgrade Koha, please see the INSTALL file appropriate
-to your platform.
-
-Report bugs at http://bugs.koha-community.org/
-
-Visit the Koha Project website at http://www.koha-community.org/
diff --git a/README.robots b/README.robots
deleted file mode 100644
index a08371d..0000000
--- a/README.robots
+++ /dev/null
@@ -1,18 +0,0 @@
-The robots.txt file.
-
-Search engines, when looking for sites to show in search results, will first
-look for the file /robots.txt.  If this file is found and has lines that apply
-to them they will do as instructed.  A very basic robots.txt follow as an
-example:
-
-# go away
-User-agent: *
-Disallow: /
-
-This tells every search engine that cares (User-agent: *) to not index the site
-(Disallow everything past /).
-
-If you have installed Koha to /usr/local/koha3 then this file would be placed
-in the directory /usr/local/koha3/opac/htdocs/.  This should prevent search
-engines from browsing every biblio record, and every view of each record, on
-your Koha install periodically.
diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl
index c26f3a9..c7c7387 100755
--- a/admin/authorised_values.pl
+++ b/admin/authorised_values.pl
@@ -191,6 +191,7 @@ exit 0;
 sub default_form {
 	# build categories list
 	my $sth = $dbh->prepare("select distinct category from authorised_values");
+	my $ownbranch = C4::Branch->mybranch();
 	$sth->execute;
 	my @category_list;
 	my %categories;     # a hash, to check that some hardcoded categories exist.
@@ -219,6 +220,9 @@ sub default_form {
     my $count = scalar(@$results);
 	my @loop_data = ();
 	# builds value list
+	
+	
+	
 	for (my $i=0; $i < $count; $i++){
 		my %row_data;  # get a fresh hash for the row data
 		$row_data{category}              = $results->[$i]{'category'};
@@ -228,8 +232,18 @@ sub default_form {
 		$row_data{imageurl}              = getitemtypeimagelocation( 'intranet', $results->[$i]{'imageurl'} );
 		$row_data{edit}                  = "$script_name?op=add_form&amp;id=".$results->[$i]{'id'}."&amp;offset=$offset";
 		$row_data{delete}                = "$script_name?op=delete_confirm&amp;searchfield=$searchfield&amp;id=".$results->[$i]{'id'}."&amp;offset=$offset";
-		push(@loop_data, \%row_data);
+ if ( C4::Context->preference("searchMyLibraryOnly")  )
+           {
+		   if (substr($row_data{authorised_value},0,4) eq $ownbranch . '.')
+		   {
+		     push(@loop_data, \%row_data);
+	           }
+            }
+            else {
+                     push(@loop_data, \%row_data);		
+	         }
 	}
+	
 
 	$template->param( loop     => \@loop_data,
                           tab_list => $tab_list,
diff --git a/admin/branches.pl b/admin/branches.pl
index 5c71b0c..9687c24 100755
--- a/admin/branches.pl
+++ b/admin/branches.pl
@@ -310,6 +310,7 @@ sub branchinfotable {
 
     my ($branchcode,$innertemplate) = @_;
     my $branchinfo = $branchcode ? GetBranchInfo($branchcode) : GetBranchInfo();
+    my $ownbranch = C4::Branch->mybranch();
     my @loop_data = ();
     foreach my $branch (@$branchinfo) {
         #
@@ -369,7 +370,18 @@ sub branchinfotable {
         $row{'branch_code'} = $branch->{'branchcode'};
         $row{'value'}       = $branch->{'branchcode'};
 
-        push @loop_data, \%row;
+           if ( C4::Context->preference("searchMyLibraryOnly")  )
+           {
+                   if ($branch->{'branchcode'} eq $ownbranch)
+                   {
+                     push @loop_data, \%row;
+                   }
+           }
+             else
+             {
+               push @loop_data, \%row;
+             }
+          
     }
     my @branchcategories = ();
 	for my $ctype ( GetCategoryTypes() ) {
diff --git a/admin/categorie.pl b/admin/categorie.pl
index 576d7ca..2178f90 100755
--- a/admin/categorie.pl
+++ b/admin/categorie.pl
@@ -67,7 +67,6 @@ my $searchfield=$input->param('description');
 my $script_name="/cgi-bin/koha/admin/categorie.pl";
 my $categorycode=$input->param('categorycode');
 my $op = $input->param('op');
-
 my ($template, $loggedinuser, $cookie)
     = get_template_and_user({template_name => "admin/categorie.tmpl",
 			     query => $input,
@@ -194,6 +193,8 @@ if ($op eq 'add_form') {
 } else { # DEFAULT
 	$template->param(else => 1);
 	my @loop;
+	my $ownbranch = C4::Branch->mybranch();
+	    
 	my ($count,$results)=StringSearch($searchfield,'web');
 	for (my $i=0; $i < $count; $i++){
 		my %row = (
@@ -214,7 +215,16 @@ if ($op eq 'add_form') {
             my $brief_prefs = _get_brief_messaging_prefs($results->[$i]{'categorycode'});
             $row{messaging_prefs} = $brief_prefs if @$brief_prefs;
         }
-		push @loop, \%row;
+            
+             if ( C4::Context->preference("searchMyLibraryOnly")  )
+             {
+		      if (substr($row{'categorycode'},0,4) eq $ownbranch . '.')
+		      {
+            	        push @loop, \%row;
+	              }
+             }
+             else { push @loop, \%row; }
+	
 	}
 	$template->param(loop => \@loop);
 	# check that I (institution) and C (child) exists. otherwise => warning to the user
diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl
index 1a33a21..5797d12 100755
--- a/admin/itemtypes.pl
+++ b/admin/itemtypes.pl
@@ -55,12 +55,28 @@ use C4::Output;
 sub StringSearch {
     my ( $searchstring, $type ) = @_;
     my $dbh = C4::Context->dbh;
+    my $ownbranch = C4::Branch->mybranch();
     $searchstring =~ s/\'/\\\'/g;
     my @data = split( ' ', $searchstring );
-    my $sth = $dbh->prepare(
-        "SELECT * FROM itemtypes WHERE (description LIKE ?) ORDER BY itemtype"
+    my $sth;
+    
+    
+     if ( C4::Context->preference("searchMyLibraryOnly")  )
+           {
+            $sth = $dbh->prepare(
+                   "SELECT * FROM itemtypes WHERE (itemtype LIKE ?) ORDER BY itemtype"
 	);
-    $sth->execute("$data[0]%");
+	    
+    $sth->execute("$ownbranch%");
+           }
+           else {
+                   $sth = $dbh->prepare(
+                   "SELECT * FROM itemtypes WHERE (description LIKE ?) ORDER BY itemtype"
+	        );
+	    
+               $sth->execute("$data[0]%");
+               
+                 }
     return $sth->fetchall_arrayref({});		# return ref-to-array of ref-to-hashes
 								# like [ fetchrow_hashref(), fetchrow_hashref() ... ]
 }
diff --git a/catalogue/detail.pl b/catalogue/detail.pl
index 03271b4..18d7e8b 100755
--- a/catalogue/detail.pl
+++ b/catalogue/detail.pl
@@ -37,9 +37,10 @@ use C4::External::Amazon;
 use C4::Search;		# enabled_staff_search_views
 use C4::VirtualShelves;
 use C4::XSLT;
-
+use Data::Dumper::Simple;
 # use Smart::Comments;
 
+
 my $query = CGI->new();
 my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
     {
@@ -159,9 +160,11 @@ my (@itemloop, %itemfields);
 my $norequests = 1;
 my $authvalcode_items_itemlost = GetAuthValCode('items.itemlost',$fw);
 my $authvalcode_items_damaged  = GetAuthValCode('items.damaged', $fw);
+my $ownbranch = C4::Branch->mybranch();
+
 foreach my $item (@items) {
 
-    $item->{homebranch}        = GetBranchName($item->{homebranch});
+    $item->{homebranch}        = GetBranchName($item->{branchcode});
 
     # can place holds defaults to yes
     $norequests = 0 unless ( ( $item->{'notforloan'} > 0 ) || ( $item->{'itemnotforloan'} > 0 ) );
@@ -224,7 +227,16 @@ foreach my $item (@items) {
         $item->{waitingdate} = format_date($wait_hashref->{waitingdate});
     }
 
-    push @itemloop, $item;
+
+    if ( C4::Context->preference("searchMyLibraryOnly")  )
+           {
+	       if ($item->{holdingbranch} eq C4::Branch->mybranch())
+	       {
+                 push @itemloop, $item;
+                }
+          } 
+else { push @itemloop, $item;
+}
 }
 
 $template->param( norequests => $norequests );
@@ -282,6 +294,9 @@ foreach ( keys %{$dat} ) {
 # does not work: my %views_enabled = map { $_ => 1 } $template->query(loop => 'EnableViews');
 # method query not found?!?!
 
+
+
+  
 $template->param(
     itemloop        => \@itemloop,
     biblionumber        => $biblionumber,
@@ -289,8 +304,12 @@ $template->param(
     subscriptions       => \@subs,
     subscriptionsnumber => $subscriptionsnumber,
     subscriptiontitle   => $dat->{title},
+   
 );
-
+       
+ 
+	
+  
 # $debug and $template->param(debug_display => 1);
 
 # Lists
@@ -354,3 +373,5 @@ if (C4::Context->preference('OPACBaseURL')){
 }
 
 output_html_with_http_headers $query, $cookie, $template->output;
+
+
diff --git a/catalogue/search.pl b/catalogue/search.pl
index e1e9a98..8c35011 100755
--- a/catalogue/search.pl
+++ b/catalogue/search.pl
@@ -150,6 +150,7 @@ use C4::Members qw(GetMember);
 use C4::VirtualShelves qw(GetRecentShelves);
 use POSIX qw(ceil floor);
 use C4::Branch; # GetBranches
+use Data::Dumper::Simple;
 
 my $DisplayMultiPlaceHold = C4::Context->preference("DisplayMultiPlaceHold");
 # create a new CGI object
@@ -247,7 +248,7 @@ my @itemtypesloop;
 my $selected=1;
 my $cnt;
 my $advanced_search_types = C4::Context->preference("AdvancedSearchTypes");
-
+my @newresults1;
 if (!$advanced_search_types or $advanced_search_types eq 'itemtypes') {                                                                 foreach my $thisitemtype ( sort {$itemtypes->{$a}->{'description'} cmp $itemtypes->{$b}->{'description'} } keys %$itemtypes ) {
     my %row =(  number=>$cnt++,
                 ccl => qq($itype_or_itemtype,phr),
@@ -539,6 +540,9 @@ for (my $i=0;$i<@servers;$i++) {
         my $page = $cgi->param('page') || 0;
         my @newresults = searchResults('intranet', $query_desc, $hits, $results_per_page, $offset, $scan,
                                        @{$results_hashref->{$server}->{"RECORDS"}});
+                                       
+                                       
+                                       
         $total = $total + $results_hashref->{$server}->{"hits"};
         ## If there's just one result, redirect to the detail page
         if ($total == 1) {         
@@ -575,7 +579,21 @@ for (my $i=0;$i<@servers;$i++) {
             }
             $template->param(stopwords_removed => "@$stopwords_removed") if $stopwords_removed;
             $template->param(results_per_page =>  $results_per_page);
-            $template->param(SEARCH_RESULTS => \@newresults);
+            
+my $i;           
+for  $i (0..scalar @newresults)
+{
+    
+    if (substr($newresults[$i]->{holdingbranch},0,3) eq C4::Branch->mybranch())
+    {
+       push @newresults1,$newresults[$i]; 
+      #print 'Holding Branch: ' . $newresults1[$i]->{holdingbranch} . '<br>Mu Branch:' . C4::Branch->mybranch(). '<hr>';
+    }  
+}
+
+           # $total = scalar @newresults1;
+            $template->param(SEARCH_RESULTS => \@newresults1);
+            #@newresults1 = @newresults;
 
             ## FIXME: add a global function for this, it's better than the current global one
             ## Build the page numbers on the bottom of the page
@@ -689,3 +707,17 @@ if (@{$barshelves}) {
 
 
 output_html_with_http_headers $cgi, $cookie, $template->output;
+
+#print Dumper(@newresults1);
+
+print scalar @newresults1;
+my @nr;
+my $i;
+for  $i (0..scalar @newresults1)
+{
+    
+    if (substr($newresults1[$i]->{holdingbranch},0,3) eq C4::Branch->mybranch())
+    {
+      print 'Holding Branch: ' . $newresults1[$i]->{holdingbranch} . '<br>Mu Branch:' . C4::Branch->mybranch(). '<hr>';
+    }  
+}
diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl
index faa9a0a..9950f41 100755
--- a/cataloguing/additem.pl
+++ b/cataloguing/additem.pl
@@ -34,7 +34,7 @@ use C4::Dates;
 use List::MoreUtils qw/any/;
 
 use MARC::File::XML;
-
+use Data::Dumper::Simple;
 my $dbh = C4::Context->dbh;
 
 sub find_value {
@@ -545,14 +545,29 @@ my ($holdingbrtagf,$holdingbrtagsubf) = &GetMarcFromKohaField("items.holdingbran
 # First, the existing items for display
 my @item_value_loop;
 my @header_value_loop;
+my $itemloc;
+my $ownbranch = C4::Branch->mybranch();
 for my $row ( @big_array ) {
     my %row_data;
-    my @item_fields = map +{ field => $_ || '' }, @$row{ sort keys(%witness) };
+    my @item_fields = map +{ field => $_ || '' }, @$row{ sort keys(%witness) };    
     $row_data{item_value} = [ @item_fields ];
     $row_data{itemnumber} = $row->{itemnumber};
+    $itemloc = GetItem( $itemnumber );
+    $row_data{location} = $itemloc->{location};    
     #reporting this_row values
     $row_data{'nomod'} = $row->{'nomod'};
-    push(@item_value_loop,\%row_data);
+
+        if ( C4::Context->preference("searchMyLibraryOnly")  )
+           {
+               $itemloc = C4::Branch::homeBranchFromItem($row_data{itemnumber});
+              
+             
+               if ($itemloc eq $ownbranch)
+               {
+             push(@item_value_loop,\%row_data);
+         }
+           }
+           else { push(@item_value_loop,\%row_data); }
 }
 foreach my $subfield_code (sort keys(%witness)) {
     my %header_value;
@@ -570,6 +585,12 @@ my $onlymine = C4::Context->preference('IndependantBranches') &&
                C4::Context->userenv                           && 
                C4::Context->userenv->{flags}!=1               && 
                C4::Context->userenv->{branch};
+               
+ 
+        if ( C4::Context->preference("searchMyLibraryOnly")  )
+           {
+               $onlymine = 1;
+            }                 
 my $branches = GetBranchesLoop(C4::Context->userenv->{branch},$onlymine);  # build once ahead of time, instead of multiple times later.
 
 # We generate form, from actuel record
@@ -634,3 +655,5 @@ foreach my $error (@errors) {
     $template->param($error => 1);
 }
 output_html_with_http_headers $input, $cookie, $template->output;
+
+#print Dumper(@loop_data);
diff --git a/fix-perl-path.PL b/fix-perl-path.PL
deleted file mode 100644
index f810840..0000000
--- a/fix-perl-path.PL
+++ /dev/null
@@ -1,117 +0,0 @@
-#!/usr/bin/perl
-# 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., 59 Temple Place,
-# Suite 330, Boston, MA  02111-1307 USA
-#
-
-use strict;
-use ExtUtils::MakeMaker::Config;
-use Tie::File;
-
-my $basedir = (shift);
-my $DEBUG = exists $ENV{'DEBUG'} ? $ENV{'DEBUG'} : 0;
-
-$DEBUG = 1 if $basedir eq 'test';
-
-my $bindir = $Config{installbin};
-$bindir =~ s!\\!/!g;	# make all directory separators uniform since Win32 does not care and *nix does...
-my $shebang = "#!$bindir\/perl";
-
-warn "Perl binary located in $bindir on this system.\n" if $DEBUG;
-warn "The shebang line for this sytems should be $shebang\n\n" if $DEBUG;
-
-die if $basedir eq 'test';
-
-=head1 NAME
-
-fix-perl-path.PL - A script to correct the shebang line to match the current platform
-
-=head1 SYNOPSIS
-
-=head2 BASIC USAGE
-
-    perl fix-perl-path.PL /absolute/path/to/foo
-
-=head1 DESCRIPTION
-
-This script should be run from the base of the directory
-structure which contains the file(s) that need the
-shebang line corrected. It will recurse through all
-directories below the one called from and modify all
-.pl files.
-
-=head2 fixshebang
-
-This sub will recurse through a given directory and its subdirectories checking for the existence of a shebang
-line in .pl files and replacing it with the correct line for the current OS if needed. It should be called
-in a manner similar to 'fixshebang (foodir)' but may be supplied with any directory.
-
-=cut
-
-sub fixshebang{
-	my $dir = shift;
-    opendir my $dh, $dir or die $!;
-	warn "Reading $dir contents.\n" if $DEBUG;
-    while( my $file = readdir($dh) ) {
-		# this may be used to exclude any desired files from the scan
-        # if ( $file =~ /foo/ ) { next; }
-		# handle files... other extensions could be substituted/added if needed
-		if ( $file =~ /\.pl$/ ) {
-            my @filearray;
-			my $pathfile =$dir . '/' . $file;
-			warn "Found a perl script named $pathfile\n" if $DEBUG;
-
-            # At this point, file is in 'blib' and by default
-            # has mode a-w.  Therefore, must change permission
-            # to make it writable.  Note that stat and chmod
-            # (the Perl functions) should work on Win32
-            my $old_perm;
-            $old_perm = (stat $pathfile)[2] & 07777;
-            my $new_perm = $old_perm | 0200;
-            chmod $new_perm, $pathfile;
-
-            # tie the file -- note that we're explicitly setting the line (record)
-            # separator to hex 0A (the Unix newline) because that's what
-            # the files copied to blib are using, regardless of whether the install
-            # is under a Unix variant or Windows.
-            tie @filearray, 'Tie::File', $pathfile, recsep => "\x0a" or die $!;
-
-            warn "First line of $file is $filearray[0]\n\n" if $DEBUG;
-			if ( ( $filearray[0] =~ /#!.*perl/ ) && ( $filearray[0] !~ /$shebang|"$shebang -w"/ ) ) {
-				warn "\n\tRe-writing shebang line for $pathfile\n" if $DEBUG;
-                warn "\tOriginal shebang line: $filearray[0]\n" if $DEBUG;
-                $filearray[0] =~ /-w$/ ? $filearray[0] = "$shebang -w" : $filearray[0] = $shebang;
-                warn "\tNew shebang line is: $filearray[0]\n\n" if $DEBUG;
-			}
-            elsif ( $filearray[0] =~ /$shebang|"$shebang -w"/ ) {
-                warn "\n\tShebang line is correct.\n\n" if $DEBUG;
-            }
-			else {
-                warn "\n\tNo shebang line found in $pathfile\n\n" if $DEBUG;
-			}
-            untie @filearray;
-            chmod $old_perm, $pathfile;
-		}
-		# handle directories
-		elsif ( -d ($dir . '/' . $file) && $file !~ /^\.{1,2}/ ) {
-			my $dirpath = $dir . '/' . $file;
-			warn "Found a subdir named $dirpath\n" if $DEBUG;
-			fixshebang ($dirpath);
-		}
-	}
-	closedir $dh;
-}
-
-fixshebang ($basedir);
-
diff --git a/install-CPAN.pl b/install-CPAN.pl
deleted file mode 100644
index 7b775fe..0000000
--- a/install-CPAN.pl
+++ /dev/null
@@ -1,45 +0,0 @@
-# cpan_install.pl - Install prerequisites from CPAN then Koha
-
-($ARGV[0] =~ /koha-.*z/) || die "
- Run this as the CPAN-owning user (usually root) with:
-   perl $0 path/to/koha.tgz
-";
-
-# Copyright 2007 MJ Ray
-#
-# 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.
-#
-# Current maintainer MJR http://mjr.towers.org.uk/
-
-# Create a fake CPAN location for koha
-use CPAN;
-CPAN::Config->load;
-$cpan = $CPAN::Config->{cpan_home};
-mkdir $cpan.'/sources/authors/id';
-mkdir $cpan.'/sources/authors/id/K';
-mkdir $cpan.'/sources/authors/id/K/KO';
-mkdir $cpan.'/sources/authors/id/K/KO/KOHA';
-
-# Move the tarball to it
-$koha = $ARGV[0];
-( rename $koha,$cpan.'/sources/authors/id/K/KO/KOHA/'.$koha ) ||
-die 'Cannot move koha distribution into position.
-This may be due to an unconfigured CPAN or running as the wrong user.
-To configure cpan, try perl -MCPAN -e shell
-Installation aborted';
-
-# Start the main CPAN install routine
-CPAN::install('KOHA/'.$koha);
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
index a2ecc5c..09b696a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
@@ -95,3 +95,14 @@ Administration:
         -
             - The CAS Authentication Server can be found at
             - pref: casServerUrl           
+            
+    Search My Library Only:
+        -
+            - pref: searchMyLibraryOnly
+              default: 1
+              choices:
+                  yes: Use
+                  no: "Don't use"
+            - Filter Data based on Library.
+  
+            
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
index 456cacf..95a1c9a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
@@ -429,7 +429,7 @@ YAHOO.util.Event.onContentReady("searchheader", function () {
                                 <input type="checkbox" class="selection" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" style="display:none" />
                             </td>
                             <td>
-                                <p>[% SEARCH_RESULT.result_number %].
+                                <p><!--[% SEARCH_RESULT.result_number %]-->
                                  [% biblionumber = SEARCH_RESULT.biblionumber %]
 
 				[% INCLUDE 'biblio-default-view.inc' %]
diff --git a/koha_perl_deps.pl b/koha_perl_deps.pl
deleted file mode 100755
index 934dea5..0000000
--- a/koha_perl_deps.pl
+++ /dev/null
@@ -1,150 +0,0 @@
-#!/usr/bin/perl
-
-use Getopt::Long;
-use Pod::Usage;
-use Term::ANSIColor;
-use FindBin; # we need to enforce which C4::Installer is used in case more than one is installed
-
-use lib $FindBin::Bin;
-
-use C4::Installer::PerlModules;
-
-use strict;
-use warnings;
-
-my $help = 0;
-my $missing = 0;
-my $installed = 0;
-my $upgrade = 0;
-my $all = 0;
-my $color = 0;
-
-GetOptions(
-            'h|help|?'    => \$help,
-            'm|missing'   => \$missing,
-            'i|installed' => \$installed,
-            'u|upgrade'   => \$upgrade,
-            'a|all'       => \$all,
-            'c|color'     => \$color,
-          );
-
-pod2usage(1) if $help || (!$missing && !$installed && !$upgrade && !$all);
-
-my $koha_pm = C4::Installer::PerlModules->new;
-$koha_pm->version_info(all => 1);
-
-my @pm = ();
-
-push @pm, 'missing_pm' if $missing || $all;
-push @pm, 'upgrade_pm' if $upgrade || $all;
-push @pm, 'current_pm' if $installed || $all;
-
-print color 'bold white' if $color;
-print"
-Module Name                                 Current Version                       Required Version         Module Required
---------------------------------------------------------------------------------------------------------------------------
-";
-
-my $count = 0;
-foreach my $type (@pm) {
-    my $mod_type = $type;
-    $mod_type =~ s/_pm$//;
-    my $pm = $koha_pm->get_attr($type);
-    foreach (@$pm) {
-        foreach my $pm (keys(%$_)) {
-            print color 'yellow' if $type eq 'upgrade_pm' && $color;
-            print color 'red' if $type eq 'missing_pm' && $color;
-            print color 'green' if $type eq 'current_pm' && $color;
-            $count++;
-            my $required = ($_->{$pm}->{'required'}?'Yes':'No');
-            my $current_version = ($color ? $_->{$pm}->{'cur_ver'} :
-                                   $type eq 'missing_pm' || $type eq 'upgrade_pm' ? $_->{$pm}->{'cur_ver'}." *" : $_->{$pm}->{'cur_ver'});
-format =
-@<<<<<<<<<<<<<<<<<<<<<<<<<                  @<<<<<<<<<<                           @<<<<<<<<<<              @<<<<<
-$pm,                                        $current_version,                     $_->{$pm}->{'min_ver'},  $required
-.
-write;
-        }
-    }
-}
-print color 'bold white' if $color;
-my $footer = "
---------------------------------------------------------------------------------------------------------------------------
-Total modules reported: $count                                                     ";
-
-if ($color) {
-    $footer .= "\n\n";
-}
-else {
-    $footer .= "* Module is missing or requires an upgrade.\n\n";
-}
-
-print $footer;
-
-1;
-
-__END__
-
-=head1 NAME
-
-koha_perl_deps.pl
-
-=head1 SYNOPSIS
-
-./koha_perl_deps.pl -m
-
-=head1 OPTIONS
-
-=over 8
-
-=item B<-m|--missing>
-
-lists all missing perl modules
-
-=item B<-i|--installed>
-
-lists all installed perl modules
-
-=item B<-u|--upgrade>
-
-lists all perl modules needing to be upgraded relative to Koha
-
-=item B<-a|--all>
-
-lists all koha perl dependencies
-
-=item B<-c|--color>
-
-formats the output in color; red = module is missing, yellow = module requires upgrading, green = module is installed and current
-
-=item B<-h|--help|?>
-
-prints this help text
-
-=back
-
-=head1 AUTHOR
-
-Chris Nighswonger <cnighswonger AT foundations DOT edu>
-
-=head1 COPYRIGHT
-
-Copyright 2010 Foundations Bible College.
-
-=head1 LICENSE
-
-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.
-
-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 DISCLAIMER OF WARRANTY
-
-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.
-
-=cut
diff --git a/members/member.pl b/members/member.pl
index 2be45bc..d453ac6 100755
--- a/members/member.pl
+++ b/members/member.pl
@@ -32,7 +32,7 @@ use C4::Members;
 use C4::Branch;
 use C4::Category;
 use File::Basename;
-
+use Data::Dumper::Simple;
 my $input = new CGI;
 my $quicksearch = $input->param('quicksearch');
 my $startfrom = $input->param('startfrom')||1;
@@ -118,6 +118,7 @@ if ($results) {
 my @resultsdata;
 $to=($count>$to?$to:$count);
 my $index=$from;
+       
 foreach my $borrower(@$results[$from..$to-1]){
   #find out stats
   my ($od,$issue,$fines)=GetMemberIssuesAndFines($$borrower{'borrowernumber'});
@@ -133,8 +134,20 @@ foreach my $borrower(@$results[$from..$to-1]){
     odissue => "$od/$issue",
     fines =>  sprintf("%.2f",$fines),
     );
+  
+           if ( C4::Context->preference("searchMyLibraryOnly")  )
+           {
+  if (%row->{branchcode} eq C4::Branch->mybranch())
+  {
   push(@resultsdata, \%row);
-}
+   }               
+ }                
+ else {
+  push(@resultsdata, \%row);	
+ }
+               }
+           
+
 
 if ($$patron{categorycode}){
 	foreach my $category (grep{$_->{categorycode} eq $$patron{categorycode}}@categories){
@@ -155,6 +168,7 @@ my $base_url =
 
 my @letters = map { {letter => $_} } ( 'A' .. 'Z');
 
+
 $template->param(
     letters => \@letters,
     paginationbar => pagination_bar(
@@ -177,3 +191,4 @@ $template->param(
             );
 
 output_html_with_http_headers $input, $cookie, $template->output;
+
diff --git a/members/memberentry.pl b/members/memberentry.pl
index a8e764c..eae3f5d 100755
--- a/members/memberentry.pl
+++ b/members/memberentry.pl
@@ -422,9 +422,18 @@ if ($ethnicitycategoriescount>=0) {
 
 my @typeloop;
 my $no_categories = 1;
-my $no_add;
+my ($action,$no_add);
+my $ownbranch = C4::Branch->mybranch();
+
 foreach (qw(C A S P I X)) {
-    my $action="WHERE category_type=?";
+        
+           if ( C4::Context->preference("searchMyLibraryOnly")  )
+           {
+            $action="WHERE category_type=? and categorycode like '$ownbranch%'";
+          }
+          else {
+                $action="WHERE category_type=?";  
+          }
 	($categories,$labels)=GetborCatFromCatType($_,$action);
     if(scalar(@$categories) > 0){ $no_categories = 0; }
 	my @categoryloop;
@@ -540,8 +549,19 @@ my $onlymine=(C4::Context->preference('IndependantBranches') &&
 my $branches=GetBranches($onlymine);
 my $default;
 my $CGIbranch;
+my $ownbranch = C4::Branch->mybranch();
+
 for my $branch (sort { $branches->{$a}->{branchname} cmp $branches->{$b}->{branchname} } keys %$branches) {
+           if ( C4::Context->preference("searchMyLibraryOnly")  )
+           { 
+                   if ($branch eq $ownbranch)
+                   {
     push @select_branch,$branch;
+                   }
+    }
+    else {
+                push @select_branch,$branch;
+    }
     $select_branches{$branch} = $branches->{$branch}->{'branchname'};
     $default = C4::Context->userenv->{'branch'} if (C4::Context->userenv && C4::Context->userenv->{'branch'});
 }
diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example
index b43d377..a316f0c 100644
--- a/misc/cronjobs/crontab.example
+++ b/misc/cronjobs/crontab.example
@@ -22,7 +22,7 @@ PERL5LIB=/usr/share/koha/lib
 KOHA_CONF=/etc/koha/koha-conf.xml
 
 # Some additional variables to save you typing
-KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs
+KOHA_CRON_PATH = /home/peter/kohaclone/bin/cronjobs
 #
 # MULTIPLE KOHA SUPPORT:
 # You can still run jobs for this user's additional koha installs, 
diff --git a/rewrite-config.PL b/rewrite-config.PL
deleted file mode 100644
index 7817f91..0000000
--- a/rewrite-config.PL
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 2007 MJ Ray
-#
-# 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.
-#
-# Current maintainer MJR http://mjr.towers.org.uk/
-# 
-# 2007/11/12	Added DB_PORT and changed other keywords to reflect multi-dbms support.	-fbcit
-
-use Sys::Hostname;
-use Socket;
-
-=head1 NAME
-
-rewrite-config.PL - helper for the Koha packager and installer
-
-=head1 SYNOPSIS
-
-	perl rewrite-config.PL configurationfile
-
-=head1 DESCRIPTION
-
-This helper script replaces keywords in the
-configuration files with value either supplied through
-the environment (with export, or by putting them on
-the start of the make command line) or with reasonable
-guesses worked out by the script.
-
-=head2 KEYWORDS
-
-The following configuration keywords are available:
-
-PREFIX,
-BASE_DIR, CGI_DIR, LOG_DIR, INSTALL_BASE,
-DB_TYPE, DB_HOST, DB_PORT, DB_NAME, DB_PASS, DB_USER, WEBMASTER_EMAIL, WEBSERVER_DOMAIN,
-WEBSERVER_HOST, WEBSERVER_IP, WEBSERVER_PORT, WEBSERVER_PORT_LIBRARIAN, ZEBRA_PASS, ZEBRA_USER
-
-=head1 EXAMPLES
-
-To override the guessed hostname and email address, run:
-
-	WEBSERVER_HOST=mysecrethostname.com.invalid \
-	WEBMASTER_EMAIL=webmaster at publichost.com make install
-
-Note that if WEBSERVER_HOST does not resolve to an IP address, you will
-also need to override WEBSERVER_IP.
-
-=cut
-
-if ( $myhost = $ENV{WEBSERVER_HOST} || hostname ) {
-    ( $mydomain = $myhost ) =~ s/.*?\.//;
-} else {
-    $myhost   = 'localhost';
-    $mydomain = 'localdomain';
-}
-
-unless ( $myip = $ENV{WEBSERVER_IP} ) {
-    my $byname = gethostbyname( $myhost )
-	or die "Could not get the IP address of $myhost, DNS fault? ($!)";
-    $myip = inet_ntoa $byname
-	or die "can't inet_ntoa ($!)";
-}
-
-
-$prefix = $ENV{'INSTALL_BASE'} || "/usr";
-
-# These are our configuration guesses
-# Keys were extracted by
-# <grep -o '__.*__' etc/* | cut -f2 -d: | sort -u | sed -e 's/^/  "/;s/$/" => "",/'
-%configuration = (
-  "__KOHA_INSTALLED_VERSION__" => "no_version_found",
-  "__LOG_DIR__" => "/var/log",
-  "__DB_TYPE__" => "mysql",
-  "__DB_NAME__" => "koha",
-  "__DB_HOST__" => $myhost,
-  "__DB_PORT__" => "3306",
-  "__DB_USER__" => "kohaadmin",
-  "__DB_PASS__" => "katikoan",
-  "__WEBMASTER_EMAIL__" => 'webmaster@'.$mydomain,
-  "__WEBSERVER_DOMAIN__" => $mydomain,
-  "__WEBSERVER_HOST__" => $myhost,
-  "__WEBSERVER_IP__" => $myip,
-  "__WEBSERVER_PORT__" => "80",
-  "__WEBSERVER_PORT_LIBRARIAN__" => "8080",
-  "__ZEBRA_SRU_HOST__" => $myhost,
-  "__ZEBRA_SRU_BIBLIOS_PORT__" => "9998",
-  "__ZEBRA_SRU_AUTHORITIES_PORT__" => "9999",
-  "__KOHA_USER__" => "koha",
-  "__KOHA_GROUP__" => "koha",
-  "__ZEBRA_PASS__" => "zebrastripes",
-  "__ZEBRA_USER__" => "kohauser",
-  '__INTRANET_CGI_DIR__' => "$prefix/intranet/cgi-bin",
-  '__INTRANET_TMPL_DIR__' => "$prefix/intranet/templates",
-  '__INTRANET_WWW_DIR__' => "$prefix/intranet/www",
-  '__OPAC_CGI_DIR__' => "$prefix/opac/cgi-bin",
-  '__OPAC_TMPL_DIR__' => "$prefix/opac/templates",
-  '__OPAC_WWW_DIR__' => "$prefix/opac/www",
-  '__PERL_MODULE_DIR__' =>  ($ENV{'INSTALLSITELIB'} || sprintf($prefix."/lib/perl5/site_perl/%vd",$^V))."/koha",
-  '__KOHA_CONF_DIR__' => "$prefix/etc/koha",
-  '__ZEBRA_CONF_DIR__' => "$prefix/etc/koha/zebradb",
-  '__PAZPAR2_CONF_DIR__' => "$prefix/etc/koha/pazpar2",
-  '__MISC_DIR__' => "$prefix/misc",
-  '__SCRIPT_DIR__' => "$prefix/bin",
-  '__MAN_DIR__' => "$prefix/man",
-  '__DOC_DIR__' => "$prefix/doc",
-  '__ZEBRA_LOCK_DIR__' => "$prefix/var/lock/zebradb",
-  '__ZEBRA_DATA_DIR__' => "$prefix/var/lib/zebradb",
-  '__ZEBRA_RUN_DIR__' => "$prefix/var/run/zebradb",
-  '__ZEBRA_MARC_FORMAT__' => 'marc21',
-  '__ZEBRA_LANGUAGE__' => 'en',
-  '__ZEBRA_AUTH_CFG__' => 'zebra-authorities.cfg',
-  '__AUTH_RETRIEVAL_CFG__' => 'retrieval-info-auth-grs1.xml',
-  "__MERGE_SERVER_HOST__" => $myhost,
-  "__MERGE_SERVER_PORT__" => '11001',
-  "__PAZPAR2_HOST__" => $myhost,
-  "__PAZPAR2_PORT__" => '11002',
-  "__INSTALL_MODE__" => 'standard',
-  "__INSTALL_BASE__" => '/usr/share/koha',
-  "__INSTALL_ZEBRA__" => 'yes',
-  "__INSTALL_SRU__" => 'yes',
-  "__INSTALL_PAZPAR2__" => 'no',
-  "__PAZPAR2_TOGGLE_XML_PRE__" => '<!--',
-  "__PAZPAR2_TOGGLE_XML_POST__" => '-->',
-  "__AUTH_INDEX_MODE__" => 'grs1',
-  "__RUN_DATABASE_TESTS__" => 'no',
-  "__PATH_TO_ZEBRA__" => "",
-  "__USE_MEMCACHED__" => 'no',
-  "__MEMCACHED_SERVERS__" => "",
-  "__MEMCACHED_NAMESPACE__" => "",
-);
-
-# Override configuration from the environment
-foreach $key (keys %configuration) {
-  if (defined($ENV{$key})) {
-    $configuration{$key} = $ENV{$key};
-  }
-}
-
-# munge commenting out the PazPar2 mergeserver
-# entry in koha-conf.xml if necessary
-if ($configuration{'__INSTALL_PAZPAR2__'} eq 'yes') {
-    $configuration{'__PAZPAR2_TOGGLE_XML_PRE__'} = '';
-    $configuration{'__PAZPAR2_TOGGLE_XML_POST__'} = '';
-}
-
-$fname = $ARGV[0];
-$file = &read_file($fname);
-$file =~ s/__.*?__/exists $configuration{$&} ? $configuration{$&} : $&/seg;
-
-# At this point, file is in 'blib' and by default
-# has mode a-w.  Therefore, must change permission
-# to make it writable.  Note that stat and chmod
-# (the Perl functions) should work on Win32
-my $old_perm;
-$old_perm = (stat $fname)[2] & 07777;
-my $new_perm = $old_perm | 0200;
-chmod $new_perm, $fname;
-
-open(OUTPUT,">$fname") || die "Can't open $fname for write: $!";
-print OUTPUT $file;
-close(OUTPUT);
-
-chmod $old_perm, $fname;
-
-# Idea taken from perlfaq5
-sub read_file($) {
-  local(*INPUT,$/);
-  open(INPUT,$_[0]) || die "Can't open $_[0] for read";
-  my $file = <INPUT>;
-  return $file;
-}
-
-__END__
-
-
-=head1 SEE ALSO
-
-Makefile.PL, ExtUtils::MakeMaker(3)
-
-=head1 AUTHOR
-
-MJ Ray mjr at phonecoop.coop
-
-=cut
-- 
1.7.4.1



More information about the Koha-patches mailing list