Koha/debian
Robin Sheat aba36d26d9 Bug 8162: allow packages to work on Ubuntu Precise
The newer version of MySQL in Ubuntu 12.04 installs a default
'localhost' user with no username. Due to the way that MySQL looks up
user details when you connect, if you connect from localhost and the
user was only created with a wildcard host (%), the anonymous localhost
user will be found instead. This means that your username is lost for
the connection, and you have no privileges.

This patch creates a second user with a hostname of 'localhost'. This
will not work if your database is on a remote server, but you probably
know what you are doing if that's the case. Patches to determine this
server's name relative to the MySQL server are welcome (or even ideas on
how to do it.)

It also fixes up a couple of other small things:
* make koha-remove stop zebra properly
* stop the warning that the password file is missing on create

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Works as promised.
2012-08-29 13:46:04 +02:00
..
docs Bug 8008 - Fix typo in man page for koha-create 2012-05-07 23:15:47 +02:00
scripts Bug 8162: allow packages to work on Ubuntu Precise 2012-08-29 13:46:04 +02:00
source
templates Bug 8268 follow-up: incorporate QA comments 2012-07-12 17:40:22 +02:00
bd-to-depends Add missing build-dependencies (python, python-debian). 2010-06-02 07:14:37 -04:00
build-git-snapshot Bug 8020 [3.8.x/MASTER] - update git build script to 3.9 2012-05-07 22:06:02 +02:00
changelog Bug 8020 - [3.8.x] Update changelog for 3.8.0-1 2012-05-07 22:06:00 +02:00
compat
control Bug 8383: Add test to check that Perl scripts compile 2012-07-10 11:13:40 +02:00
control.in Bug 7968 : Create meta-packages to simplify installation of koha 2012-05-14 18:33:17 +02:00
copyright Update FSF address in debian/copyright. 2010-06-02 07:14:43 -04:00
koha-common.config Bug 6361 - make the packages work with koha 3.4 2011-06-03 11:06:31 +12:00
koha-common.cron.d Bug 5139 - packages now do email and other cron jobs 2010-10-06 08:12:14 -04:00
koha-common.cron.daily Bug 6275 - allow automated backups for packages 2011-08-11 12:45:53 +12:00
koha-common.cron.hourly
koha-common.dirs
koha-common.docs Bug 7197 - add a Spanish readme file to the packages 2011-12-14 15:38:04 +01:00
koha-common.init Bug 4873 - Ensure that the required directories exist on init 2011-07-28 14:05:58 +12:00
koha-common.install Bug 4877 [ENH] [SIGNED-OFF] install generated man pages with build process 2011-09-16 13:51:26 +12:00
koha-common.logrotate
koha-common.postinst Bug 6361 - make the packages work with koha 3.4 2011-06-03 11:06:31 +12:00
koha-common.README.Debian Bug 5139 - packages now do email and other cron jobs 2010-10-06 08:12:14 -04:00
koha-common.templates Bug 6361 - make the packages work with koha 3.4 2011-06-03 11:06:31 +12:00
koha-post-install-setup
koha.apache-ports
koha.config
koha.dirs
koha.install Bug 7818 : Following, fixing so the packages build Still need to update koha-create to make use of the new file 2012-07-06 11:17:19 +02:00
koha.postinst
koha.postrm
koha.prerm
koha.README.Debian Bug 5550 - correct filename referenced in docs 2011-01-01 07:43:30 +13:00
list-deps Bug 8235 - allow a whitelist of modules that aren't in Debian 2012-07-10 14:17:02 +02:00
README.build Bug 5602: Changes to account for the version update. 2011-08-04 10:26:39 +12:00
rules Bug 7238 - make packages deal with SIP config 2012-02-15 17:23:08 +01:00
unavailable.html
update-control

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.