Commit graph

42 commits

Author SHA1 Message Date
Lars Wirzenius
ef6854cb65 Install the admin scripts.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:25 +12:00
Lars Wirzenius
31179704b2 Make koha-create be able to handle manual database creation.
This is necessary if we do not have access to DB server with sufficient
permissions. The DB server is used for other things, that may well be
the case.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:25 +12:00
Lars Wirzenius
f12ff9e0c6 Add support for a remote mysql server.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:25 +12:00
Lars Wirzenius
d2985c6c92 Use /etc/mysql/koha-common.cnf instead of the Debian one.
koha-common.postinst now creates a symlink to the Debian one.
The sysadmin may replace that manually with something that allows
Koha to access a remote mysql server.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:24 +12:00
Lars Wirzenius
434b7dcfe4 Add koha-foreach, a script to run a command for each Koha instance.
Use script to enable the build_Holds_queue.pl cron job.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:24 +12:00
Lars Wirzenius
93e5975c15 Centralize creation of Koha instance dirs.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:24 +12:00
Lars Wirzenius
b8312cab08 Add scripts to start, stop, restart Zebra, and rebuild its indexes.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:24 +12:00
Lars Wirzenius
7c1dd79cb0 Add koha-upgrade-schema, a script to upgrade the database schema.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:24 +12:00
Lars Wirzenius
896048dd59 Add koha-dump-defaults, a script to dump a defaults file.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:23 +12:00
Lars Wirzenius
ff92354a60 Add koha-reset-passwd, a script for resetting a user's password.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:23 +12:00
Lars Wirzenius
c63946dd34 Add koha-enable, a script to re-enable a Koha instance.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:23 +12:00
Lars Wirzenius
0a3b9856da Add koha-disable, a script to disable a Koha instance.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:23 +12:00
Lars Wirzenius
ebd3231d1b Add koha-restore, a script to restore a Koha instance from a dump.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:22 +12:00
Lars Wirzenius
3302f949af Add koha-list, a script to list all Koha instances.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:22 +12:00
Lars Wirzenius
d9654972ac Add koha-dump, a script to dump a Koha site.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:22 +12:00
Lars Wirzenius
14c5540ab8 Add koha-remove, a script to remove a Koha instance.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:22 +12:00
Lars Wirzenius
42b948485a Add koha-create, a script to create a new Koha instance.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:22 +12:00
Lars Wirzenius
626c1dcb3a Add koha-post-install-setup, a script to be run by sysadmin post-install.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:22 +12:00
Lars Wirzenius
8c7ce82ad6 Replace dependencies on koha-dev-env with list of packages.
The dependencies are needed both at build time and at run time. Build
time needs them for running tests. To avoid duplicating the (long!)
list of dependencies, we do a little bit of trickery, and generate
a koha:Depends substvar, from all build dependencies (except debhelper),
and use ${koha:Depends} in the koha-common (not koha) Depends header.
A little bit tricky, but works.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:21 +12:00
Lars Wirzenius
2f4d57168d Split off koha-common.
koha-common will be suitable for hosts with multiple Koha instances,
or those that otherwise need to do thing differently from the main
koha package.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:21 +12:00
Lars Wirzenius
5d6857b8a6 Set version number in debian/changelog to indicate upcoming 3.2.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:21 +12:00
Lars Wirzenius
17a508e053 Convert debian/copyright file to the DEP5 format.
The DEP5 format is machine-parseable, which will help keep track of
things in the future.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:21 +12:00
Lars Wirzenius
eba54ae943 Switch to native source format.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:21 +12:00
Lars Wirzenius
7676570adc Bugfix: Install old yui stylesheets, since Koha needs them.
Also fix paths, since we can't install them where Koha expects them,
since that location is used by the Debian packaged yui.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:21 +12:00
Lars Wirzenius
9c019e607a Bugfix: Create the jquery.js symlink for opac to the right target.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:20 +12:00
Lars Wirzenius
95ead17bd9 Bugfix: Remove Debian packaging files remaining from old packaging effort.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-05-26 16:30:20 +12:00
Lars Wirzenius
1e035ce4ec When purging, remove /var/log/koha.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-04-22 06:15:31 -04:00
Lars Wirzenius
13e829e8b2 Remove generated /etc/koha/koha-conf.xml when package is purged.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-04-22 06:15:28 -04:00
Lars Wirzenius
24f7a68259 Remove now-unnecessary debian-specific patch.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-04-22 06:15:27 -04:00
Lars Wirzenius
97232eee15 Replace old, non-functional Debian packaging with a new one.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-04-16 00:41:54 -04:00
Lars Wirzenius
67a197ed1d Replace inline copy of GPL-2 with a reference to /usr/share/common/licenses.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-03-16 20:17:50 -04:00
3f7b539444 Fixing a couple of bugs in the package
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-12 19:47:58 -05:00
fd5f22a699 Working on preconfiguring for the package
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-12 19:47:58 -05:00
c5f8fd9e56 Bumping patch number, new package release
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-12 19:47:58 -05:00
f2b92fe4d6 Starting work on the postinst file
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-12 19:47:58 -05:00
b70b86f36d More work on packaging
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-12 19:47:57 -05:00
8dd1550c1d Fixing some bugs in the package, updating dependencies
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-12 19:47:57 -05:00
a6092a988f Bumping patch number
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-12 19:47:57 -05:00
e3fd1083f8 Still working
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-12 19:47:57 -05:00
214886f5ac Keeping on working on the packaging
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-12 19:47:57 -05:00
1becfc76eb More packaging work
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-12 19:47:57 -05:00
0e62b68473 Files needed for packaging
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-08-12 19:47:57 -05:00