Koha/debian
Robin Sheat 1f5e92fec6 Bug 12312 - correctly upgrade under Apache 2.2
As the way we need to reference Apache instance names has now changed
between 2.2 and 2.4, we need to try it out both ways to make sure we get
it right.

This also allows koha-create/koha-disable to try the .conf version of
the name if the first one doesn't work.

To test:
* Create an instance on an Apache 2.2 system with koha < 3.16
* Upgrade to 3.16 with this patch, saying 'yes' to the renaming question
** Make sure you don't see the warning: Warning: problem enabling $site
   in Apache
* Do a 'service apache2 restart'
* Make sure you can still access the instance
* Make sure that /etc/apache2/sites-enabled/instance.conf exists as a link
  to /etc/apache2/sites-available/instance.conf
* Check that koha-create and koha-remove behave like you'd expect.

Note:
* If you need to make debconf forget that it asked you the question
  about renaming so that it'll do it again, then run:
  echo "unregister koha-common/rename-apache-vhost-files" | sudo debconf-communicate koha-common
* 'debconf-show koha-common' will show you the current debconf
  configuration.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-05-26 03:41:55 +00:00
..
docs Bug 10782 - Add a koha-mysqlcheck script 2014-04-23 12:30:06 +00:00
scripts Bug 12312 - correctly upgrade under Apache 2.2 2014-05-26 03:41:55 +00:00
source
templates Bug 10942: (follow-up) debconfing the update option 2014-04-24 12:49:32 +00:00
bd-to-depends
build-git-snapshot Bug 12234 - build script version update 2014-05-13 14:10:51 +00:00
changelog Bug 12234 - changelog updates from 3.14 series 2014-05-13 14:10:18 +00:00
compat
control Bug 12234 - dependency changes to allow master to build 2014-05-13 14:09:07 +00:00
control.in Bug 12234 - dependency changes to allow master to build 2014-05-13 14:09:07 +00:00
copyright
koha-common.bash-completion Bug 10003: bash-completion for koha-list and other scripts 2014-05-05 16:03:00 +00:00
koha-common.config Bug 11404: (follow-up) only ask user if there are instances needing upgrading 2014-05-19 21:51:33 +00:00
koha-common.cron.d
koha-common.cron.daily Bug 9032: (follow-up) restore documented intepretation of virtualshelfshares.sharedate 2014-04-20 22:52:21 +00:00
koha-common.cron.hourly
koha-common.default Bug 10942: (follow-up) create a /etc/koha/koha-common.conf 2014-04-24 12:48:36 +00:00
koha-common.dirs
koha-common.docs Bug 10802: make Debian package install history.txt 2013-09-16 15:27:16 +00:00
koha-common.init Bug 10624: add 'status' option switch for the packages init script 2013-10-09 04:53:42 +00:00
koha-common.install Bug 11404: Make the install process aware of the changes 2014-05-19 21:50:54 +00:00
koha-common.logrotate
koha-common.postinst Bug 12312 - correctly upgrade under Apache 2.2 2014-05-26 03:41:55 +00:00
koha-common.README.Debian
koha-common.templates Bug 11404: Make the install process aware of the changes 2014-05-19 21:50:54 +00:00
koha-post-install-setup
koha.apache-ports
koha.config
koha.dirs
koha.install
koha.postinst
koha.postrm
koha.prerm
koha.README.Debian
list-deps Bug 12234 - dependency changes to allow master to build 2014-05-13 14:09:07 +00:00
README.build
rules Bug 10003: bash-completion for koha-list and other scripts 2014-05-05 16:03:00 +00: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.