Commit graph

252 commits

Author SHA1 Message Date
Galen Charlton
8d8eb29e59 dep change: Data::Dumper 2.121_08 => 2.121
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-21 11:18:03 -05:00
Chris Nighswonger
9a55637760 NOTE: REQUIRES INSTALLATION OF Image::Magick; Adding image scaling/resizing capability to picture-upload.pl
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-08 17:00:05 -05:00
Chris Nighswonger
710afb6251 Bumping HTML::Template::Pro version to the latest 0.69 release which includes <!-- TMPL_ELSIF --> tag
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-05 08:13:52 -06:00
Chris Nighswonger
981a345d22 Clairifying pod for upgrade and correcting dmake message for Win32
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-20 20:15:26 -06:00
Galen Charlton
f53d084c00 bug 1803 - fix error page handling
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-18 19:32:07 -06:00
Galen Charlton
1cd1a5abd3 install: tweaked 'make update'
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-15 08:30:53 -06:00
Galen Charlton
25e1b9e49c installer: added 'make upgrade' target
INTRANET_TMPL_DIR
INTRANET_WWW_DIR
OPAC_TMPL_DIR
OPAC_WWW_DIR
KOHA_CONF_DIR
OPAC_TMPL_DIR
OPAC_WWW_DIR
PAZPAR2_CONF_DIR
ZEBRA_CONF_DIR

For each directory on the list, if an existing file
installed file is different from the version
coming from the new package, it is copied to a backup file
whose name will have the suffix "_koha_<old_version_number>"
or "_upgrade_backup", depending on whether
the --prev-install-log option was used or not
during 'perl Makefile.PL'.

The directories whose files were backed up were
chosen because they contain configuration and
HTML files that a non-programmer Koha user
is likely to change.  Consequently, the backup
files produced by 'make upgrade' are not a substitute
for doing a complete backup of one's Koha
installation before upgrading.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-15 08:30:53 -06:00
Galen Charlton
20f1c41ca7 install: added --prev-install-log option to Makefile.PL
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-15 08:30:51 -06:00
Galen Charlton
82daf0a5bc installer: added install log
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-15 08:30:49 -06:00
Galen Charlton
70dccacee5 FRBR: configure PazPar2 during installation
Also added koha-pazpar2-ctl.sh to start and stop
PazPar2.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-11 16:35:18 -06:00
Galen Charlton
1c0401e867 authorities - enabled DOM indexing
All new authority features will be based on the DOM indexing.

To update an existing installation, do the following:

[1] run perl Makefile.PL
[2] make
[3] make update_zebra_conf
[4] copy the new koha-conf.xml to $KOHA_CONF

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-08 05:48:51 -06:00
Joe Atzberger
5d6cc9c3a3 Makefile.PL - trivial perldoc correction
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-06 23:19:28 -06:00
8d7c8419a3 Fix for bug #1806
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-30 07:51:42 -06:00
Paul POULAIN
521776bde0 hdl has added a Text::Iconv dependancy yesterday, checking it in installer
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-14 16:41:21 -06:00
Galen Charlton
6530b683f8 Makefile.PL - set KOHA_CONF for make test
KOHA_CONF now set to blib/KOHA_CONF_DIR/koha-conf.xml
for the purpose of running the test suite.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:07:55 -06:00
Galen Charlton
1b603d058e installer: added update_zebra_conf target
This target is meant to allow the easy updating
of the Zebra configuration files from an installation
package.

This has been tested for a 'dev' mode install, not
for the other types.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-04 18:40:33 -06:00
Joshua Ferraro
bbd043f155 adding three new variables for installation:
'ZEBRA_SRU_HOST'    => 'localhost',
  'ZEBRA_SRU_BIBLIOS_PORT'    => '9998',
  'ZEBRA_SRU_AUTHORITIES_PORT'    => '9999',

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-03 21:28:27 -06:00
Galen Charlton
8f82439e61 important: DBD::mysql 4.004 or later required
This version of DBD::mysql is required in order to have
proper handling of UTF8 strings.

Also bumped version of YAML::Syck down to 0.71 to
match Debian stable package.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-28 08:18:53 -06:00
Galen Charlton
a858e8a8b8 session management: use YAML::Syck for serialization
When using mysql and a sufficiently recent version
of DBD::mysql that actually respects the mysql_enable_utf8
option, setting the current branch to a name that
includes a diacritic causes the session to fail
and forces the user to the login screen upon
clicking another link.

This turned out to be due to the default (Data::Dumper)
serialization used by CGI::Session, which truncated the
session object at the diacritic.  By enabling
that module's YAML serialization option, the problem
was resolved.

This patch introduces a dependency on the YAML::Syck
module.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-27 17:24:02 -06:00
Galen Charlton
e6ee69b4a3 various installer changes
[1] Map new directory misc/bin to SCRIPT_DIR
    instead of SCRIPT_DIR/bin.
[2] rewrite-config.PL no longer removes execute mode
[3] Add new Zebra startup script to rewrite-config.PL
    list.
[4] Added KOHA_USER and KOHA_GROUP to rewrite-config.PL

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-22 18:59:04 -06:00
Joshua Ferraro
09cdd82832 updating versions for debian etch packages
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-22 15:10:17 -06:00
Joshua Ferraro
5e5930b517 fixing version numbers in Makefile.PL, adding a
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-21 19:48:17 -06:00
Joshua Ferraro
167c355263 updating perl mod version 2007-12-20 22:03:32 -06:00
Galen Charlton
6d2da8857d bug 1664: added specific dep on Algorithm::CheckDigits::M43_001
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-20 19:20:00 -06:00
Daniel Bünzli
1c9088363b Fix new installer on macosx.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-20 17:41:03 -06:00
Galen Charlton
1dbc30ee4e bug 1676: fixed location of OPAC_CGI_DIR for 'dev' install 2007-12-19 14:43:23 -06:00
Galen Charlton
8342748377 installer: munge ZEBRA_PASS only when INSTALL_ZEBRA=yes 2007-12-19 14:29:38 -06:00
Galen Charlton
d18a80820a installer: adjusted conditional for setting exported variables
Now checks for win32, and assumes (for now) a default
for all other platforms.
2007-12-18 14:53:47 -06:00
Chris Nighswonger
4c991a42e9 Win32 support: Moved shebang sub to separate script to be called in pl_files
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2007-12-18 14:31:26 -06:00
Chris Nighswonger
118283b71f Initial work on adding Win32 support to installer.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2007-12-18 14:31:21 -06:00
Galen Charlton
32c72c495e installer: bug 1640: deal with '$' in passwords 2007-12-18 11:31:11 -06:00
Galen Charlton
2305d2d768 installer: added (in some cases back) module deps 2007-12-18 11:11:36 -06:00
Galen Charlton
3f5c71daa5 installer: always accept default value as valid 2007-12-17 09:13:54 -06:00
Galen Charlton
b8a58c4934 installer: command-line scripts improve finding C4 modules
Command-line scripts now use a new SCRIPT_DIR/kohalib.pl
to put installed location of Koha's Perl modules
into @INC.
2007-12-17 09:13:54 -06:00
Galen Charlton
c1004a7b48 installer: fix MARC::Crosswalk::DublinCore version 2007-12-17 09:13:54 -06:00
Galen Charlton
d6eba77869 installer: now can use env vars to set installation variables
* Set default value for named parameters, e.g., DB_USER
* Override directory targets, e.g., KOHA_CONF_DIR
2007-12-17 09:13:54 -06:00
Galen Charlton
dd7b1da0cf installer: made kohaversion.pl source for package version number
Version now taken from kohaversion.pl instead of
C4/Context.pm, aligning installer with the rest
of Koha's internal version checks.
2007-12-17 09:13:53 -06:00
Galen Charlton
f5903fbbb5 installer: location of koha-conf.xml
* rewrite-config.PL now puts in installed location
  of koha-conf.xml in C4/Context.pm so that
  correct config can be found even when
  KOHA_CONF is not set.  Note that setting KOHA_CONF
  will still override path set by installer.
* changed references from koha.xml to koha-conf.xml
2007-12-17 09:13:53 -06:00
Galen Charlton
b3b36095a4 installer: fixed *_WWW_DIR for 'dev' install mode 2007-12-17 09:13:53 -06:00
Galen Charlton
223f9493df installer: reverted to VERSION_FROM => 'C4/Context.pm' 2007-12-17 09:13:53 -06:00
Galen Charlton
1b71360c5c installer: various changes
* renamed EXAMPLE_DIR to MISC_DIR
* assigned installation targets for a couple more files
* changed ZOOM module dependency back to Net::Z3950::ZOOM
  (installing that module from CPAN will also install ZOOM,
   and ZOOM.pm does not export $VERSION for the dependency
   check).
* more work to make 'single' and 'dev' install modes function
* set permissions of installed files -- all files now
  writeable by the Koha user
2007-12-17 09:13:53 -06:00
Galen Charlton
ca8f75ee8b installer: KOHA_LOG_DIR => LOG_DIR 2007-12-17 09:13:53 -06:00
Galen Charlton
5044c06592 installer: fixed chown invocation; added skel for KOHA_LOG_DIR 2007-12-17 09:13:53 -06:00
Galen Charlton
be79314aea installer: start support for non-root file owner
Option to specify a non-root user and group to own
Koha's files applies only to INSTALL_MODE=standard; the
other two installation modes are not meant to have
'make install' run as root.
2007-12-17 09:13:53 -06:00
Galen Charlton
d7a09ca020 installer: modified wording of some questions 2007-12-17 09:13:53 -06:00
Galen Charlton
3b58e09b3c installer: now respects INSTALL_ZEBRA = no 2007-12-17 09:13:53 -06:00
Galen Charlton
190a7f404a installer: created skel directory
skel directory is for the installer only; contains
a directory structure and dummy READMEs used for
setting up the Zebra runtime and data directories.

Moved non-config files from etc/zebradb/* to
appropriate places under skel.
2007-12-17 09:13:52 -06:00
Galen Charlton
f3a868fbae installer: started on Zebra paths 2007-12-17 09:13:52 -06:00
Galen Charlton
bd0877f77c installer: prompt for more configuration parameters
Also now allows individual target directories to be
overridden from the command line.
2007-12-17 09:13:52 -06:00
Galen Charlton
c31b5c2481 installer: moved web template dirs; got rid of multi-targets
In target map, cannot specify that a file or directory
can be installed in more than one target directory,
as EU::MM does not support this.
2007-12-17 09:13:52 -06:00
Galen Charlton
61ca8a3e2d installer: use htdocs instead of www; handle .htaccess 2007-12-17 09:13:52 -06:00
Galen Charlton
742ff2f477 installer: removed disused unhashdir sub 2007-12-17 09:13:52 -06:00
Galen Charlton
eebd56b07f install: handle spaces in file names
As noted in the FIXME comment, it is probably better
all around to simply remove spaces from file names.
2007-12-17 09:13:52 -06:00
Galen Charlton
7f01995446 installer (part 3): enabled 'make test' 2007-12-17 09:13:52 -06:00
Galen Charlton
5befdd2cd3 installer (part 2): more work
* plain 'make' now stages everything to blib, leaving
  actual installation to 'make install'
* adjusted rewrite-config.PL and config files
  for new subtitution variables
* added default SetEnv Perl5Lib to
  koha-httpd.conf
2007-12-17 09:13:52 -06:00
Galen Charlton
44efd0fd78 installer (part 1): started major changes
* Started defining more destination directory
  targets.
* Added configuration options prompted for the user
  during perl Makefile.PL
2007-12-17 09:13:52 -06:00
Chris Nighswonger
faaf13a6b3 Cleaned up recursion routine a bit
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2007-12-17 09:13:52 -06:00
Chris Cormack
5baba50aed Shifted the opac out of koha so its now /usr/lib/cgi-bin/opac and /usr/lib/cgi-bin/koha by default, rewrite-config.PL and koha-httpd.conf updated
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2007-12-17 09:13:52 -06:00
Chris Cormack
dd4b8ce400 Continuing work on the installer
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2007-12-17 09:13:52 -06:00
Chris Cormack
b17840b95c Fix for if instead of while in the installer
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2007-12-17 09:13:52 -06:00
Chris Cormack
4b1d1329f0 More work on the installer, just have to fix make now
[Galen's note: adjusted prompting for MARC flavor and language]

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2007-12-17 09:13:52 -06:00
Chris Cormack
d1f9665665 Now using install_base instead of prefix
[Galen's note: during patch merge, ended up setting default
 INSTALL_BASE back to /usr instead of /usr/local.  This
 needs to be examined again to see if C4 perl modules
 should go under /usr/local/lib instead of /usr/lib
 in Debian.]

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2007-12-17 09:13:51 -06:00
Chris Cormack
677f10b597 Working on the installer setting up the right zebra config
Revision of Chris Cormack's original patch to deal with
previous moves of config files.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2007-12-17 09:13:51 -06:00
Paul POULAIN
b6421adda7 Adding Text::CSV_XS dependancy
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 09:09:16 -06:00
Galen Charlton
45d570e378 bumped up MARC Perl module requirements
MARC::File::XML => 0.88 as part of fixing bug 1504
in turn MARC::Charset => 0.98 and MARC::Record => 2.00.

Previous required version of MARC::Record was 1.38, but
since that is three years old, assuming that most Koha
3.0 dev and testing has been done with version 2.0.0.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 15:06:21 -06:00
Paul POULAIN
36d4b404f1 Adding Biblio::EndNote dep
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 17:03:21 -06:00
MJ Ray
ddde3a36b1 Updated name following email from Joshua Ferraro about ZOOM VERSION String
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-20 16:27:37 -06:00
Paul POULAIN
1bc2813531 adding 2 deps to export biblios in dc format
note that the result is really silly in unimarc

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-20 16:24:14 -06:00
Joshua Ferraro
df38d5c66f fixing facets, add cardview (XSLT), adding dependencies, save Record
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-17 10:49:31 -06:00
Chris Nighswonger
11df1040a9 Cleaned up regex's looking for defunct CVS files
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-13 17:33:11 -06:00
Chris Cormack
a740bcda76 Fixing typo Test::CSV should be Text::CSV
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-08 18:07:28 -06:00
Paul POULAIN
23325d3460 Adding Class::Factory::Util dep
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-08 17:20:29 -06:00
Joshua Ferraro
8fcd2a6070 fixing misplaced apostrophe
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-08 08:48:58 -06:00
Chris Nighswonger
781ad97272 Corrected Makefile.PL to move kohaversion.pl to cgi-bin/koha
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-06 06:26:14 -06:00
Chris Nighswonger
7d99474659 Corrected CGI copy to include entire 'installer' subdir structure
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-06 06:25:36 -06:00
Chris Nighswonger
89ab0becc9 corrected path to zebra passwd file
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-06 06:24:23 -06:00
Paul POULAIN
71c2d3a37a updating install dependancies
HTML::Template is not necessary anymore (replaced by H::T::Pro)
Net::Z3950, Net::Z3950 and ZOOM are the same. ZOOM being the preffered package name

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-31 19:40:58 -05:00
Paul POULAIN
310fdc3de6 adding missing dependancies (needed by scheduler & patron import)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-31 19:38:44 -05:00
Chris Cormack
791a45bc3d Event is no longer used
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:09:07 -05:00
MJ Ray
aeb17d6880 BUGFIX: Handle etc/zebradb tree
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-05 19:49:07 -05:00
Joshua Ferraro
ae34e8f45a changing the name of the zebra password file to passwd
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-01 23:14:47 -05:00
MJ Ray
9eab9f1bc3 Add more zebra configuration
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-01 15:34:16 -05:00
Paul POULAIN
f68b6d6cc9 Installer perl package checking
- Data::Random is not necessary. I don't have it & have no problems
- HTML::Tree was used in the 1st versions of the translator. I don't have it installed, it is useless now

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-18 15:05:33 -05:00
MJ Ray
243ec54e9a Move many files to more FHS-like paths
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-07 04:47:12 -05:00
MJ Ray
61190e9152 New installation instructions and release notes.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-06 17:14:48 -05:00
MJ Ray
28695e9166 Add missing auto_install features to new installer
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-06 17:14:45 -05:00
MJ Ray
e449c139ff Add configuration file helper to the installer
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-06 17:14:40 -05:00
MJ Ray
a5a419616d Disable tests
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-28 16:50:39 -05:00
Joshua Ferraro
6cdf0832e2 new virtual shelves changes, keyed by biblionumber
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 09:17:49 -05:00
tipaul
3ea77fd6a0 adding XML::RSS as mandatory package (to have RSS working) 2007-08-02 08:45:10 +00:00
slef
df38770099 Add more modules - listed in about.pl but not "use"d anywhere. 2007-07-18 08:14:32 +00:00
slef
d96ae001d0 ytpo fixes in description and variables 2007-07-05 21:03:04 +00:00
slef
d0cc4b29c7 New installer and exclusions file 2007-07-05 20:55:33 +00:00
tipaul
86e9db4e67 rel_3_0 moved to HEAD (removing useless file) 2007-03-09 15:22:00 +00:00
slef
c756f63b96 set XML::LibXML version as given in jmf email Tue, 20 Jun 2006 04:09:35 -0700 2006-09-12 21:51:06 +00:00
tgarip1957
7e52a5665c Clean up before final commits 2006-09-06 16:21:03 +00:00
slef
4a46a986e2 update PREREQ_PM with info from Joshua Ferraro Fri, 16 Jun 2006 13:51:16 -0700 2006-06-19 19:48:56 +00:00
slef
fa19e39d95 Clean up messages, fill in some blanks, add more notes, test CONFIGURE, add opac files 2005-07-19 02:39:45 +00:00
slef
b9d99bd798 Remove overlong PM mapping, use libscan() instead, ignore some troublemaker files - this one copies some files to seemingly-sane targets 2005-07-18 20:15:09 +00:00
slef
e3e9726fd9 First listing of dist tarball fiels; removed files with spaces in names for now 2005-07-18 18:15:07 +00:00
slef
0772a4447a PM mapping of files - first attempt 2005-07-18 17:59:06 +00:00
slef
f0fefb2ec0 Add start of 2.3 installer. Remove obsolete? files conflicting with 2.3 installer 2005-07-18 16:38:57 +00:00