Koha-clms/debian
Robin Sheat e581785e64 Bug 10574 - mute the "upgrading from 3.2" message
New installs get the message about running a script if upgrading from
3.2. They shouldn't. This silences this message in all cases except when
you actually are upgrading from 3.2.

Test plan:

There are three scenarios to test:
1) A fresh install should not cause the prompt.
2) An upgrade with or without the debconf entry set should not cause the
   prompt.
3) An upgrade from a 3.2 release to this should cause the prompt.

To remove the debconf entry that says the prompt has been seen:

echo 'unregister koha-common/3.2-3.4-upgrade-notice' | sudo debconf-communicate koha-common

This should be run before every test to make debconf forget that it's
shown the prompt. To get its current state:

sudo debconf-show koha-common

To test against the 3.2 version, an empty package that claims to be Koha
3.2.2 is attached to the bug.

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 598a830af0)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit f6d1d5cd6c)
2013-10-11 21:14:16 -03:00
..
docs Bug 9247 - Add two more usage examples to the manpage for koha-mysql 2013-10-11 15:44:44 -03:00
scripts Bug 10379: silence zebra rebuild cron when no instances are enabled 2013-07-14 11:09:52 -03:00
source Switch to native source format. 2010-05-25 07:57:37 -04:00
templates Bug 8911: make sure history.txt gets installed where history.txt can see it 2013-08-04 16:34:55 -03:00
README.build Bug 5602: Changes to account for the version update. 2011-08-04 10:26:39 +12:00
bd-to-depends Add missing build-dependencies (python, python-debian). 2010-06-02 07:14:37 -04:00
build-git-snapshot Bug 9143 - changelog and build script updates 2013-02-09 12:52:41 +13:00
changelog Bug 9143 - changelog and build script updates 2013-02-09 12:52:41 +13:00
compat Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
control Bug 10524 - dependency updates 2013-07-16 08:37:33 -03:00
control.in Bug 10367 - [3.10] update the rules and control file for wheezy 2013-06-05 21:36:02 -03:00
copyright Update FSF address in debian/copyright. 2010-06-02 07:14:43 -04: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.config Bug 10574 - mute the "upgrading from 3.2" message 2013-10-11 21:14:16 -03:00
koha-common.cron.d Bug 10379: silence zebra rebuild cron when no instances are enabled 2013-07-14 11:09:52 -03:00
koha-common.cron.daily Bug 6275 - allow automated backups for packages 2011-08-11 12:45:53 +12:00
koha-common.cron.hourly Add koha-foreach, a script to run a command for each Koha instance. 2010-05-25 07:59:45 -04:00
koha-common.dirs Split off koha-common. 2010-05-25 07:58:56 -04:00
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 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-09 21:24:10 +12:00
koha-common.install Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-09 21:24:10 +12:00
koha-common.logrotate Split off koha-common. 2010-05-25 07:58:56 -04:00
koha-common.postinst Bug 6361 - make the packages work with koha 3.4 2011-06-03 11:06:31 +12: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 Add koha-post-install-setup, a script to be run by sysadmin post-install. 2010-05-25 07:59:19 -04:00
koha.README.Debian Bug 5550 - correct filename referenced in docs 2011-01-01 07:43:30 +13:00
koha.apache-ports Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
koha.config Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
koha.dirs Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
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 Bug 4817: Point to README.Debian in koha package description, postinst output. 2010-05-27 05:19:03 -04:00
koha.postrm When purging, remove /var/log/koha. 2010-04-22 06:15:31 -04:00
koha.prerm Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
list-deps Bug 9592 - update dependencies, allow blacklisting 2013-02-16 18:34:17 +13:00
rules Bug 10367 - [3.10] update the rules and control file for wheezy 2013-06-05 21:36:02 -03:00
unavailable.html Add koha-disable, a script to disable a Koha instance. 2010-05-25 07:59:29 -04:00
update-control Add tools to update debian/control's build dependencies. 2010-06-02 07:14:36 -04:00

README.build

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.