Koha/debian
Tomas Cohen Arazi 242722e99d Bug 17336: Add api_secret_passphrase entry in packages setup
Bug 13799 introduced the api_secret_passphrase on source installs, but missed to do so on packages.

This patch introduces the entry on the template koha-conf-site.xml.in file, and
patches koha-create so it generates a randomized string (64 chars) to put in it.

To test:
- Apply the patch
- Grab the new template file:
  $ sudo cp kohaclone/debian/templates/koha-conf-site.xml.in \
            /etc/koha
- Create a new instance:
  $ kohaclone/debian/scripts/koha-create --create-db blah
=> SUCCESS: The script runs fine, /etc/koha/sites/blah/koha-conf.xml
   contains the api_secret_passphrase entry.
- Sign off :-D

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-09-25 13:07:23 +00:00
..
docs Bug 17266 - Update man page for koha-remove with -p 2016-09-15 13:46:10 +00:00
scripts Bug 17336: Add api_secret_passphrase entry in packages setup 2016-09-25 13:07:23 +00:00
source
templates Bug 17336: Add api_secret_passphrase entry in packages setup 2016-09-25 13:07:23 +00:00
bd-to-depends
build-git-snapshot Bug 17013 - build-git-snapshot: add basetgz parameter and update master version number 2016-08-08 13:13:24 +00:00
changelog Bug 17019 - debian/changelog update 2016-08-08 14:30:55 +00:00
compat
control Bug 17223 Follow-up: updated control file 2016-09-02 13:58:04 +00:00
control.in Bug 15200 - t/Creators.t fails when using build-git-snapshot 2016-08-16 16:44:44 +00:00
copyright
koha-common.bash-completion Bug 14727: koha-indexer tab completion in bash 2015-10-13 11:37:55 -03:00
koha-common.config
koha-common.cron.d Bug 16823 - Comment out koha-rebuild-zebra in koha-common.cron.d 2016-07-08 13:26:55 +00:00
koha-common.cron.daily Bug 11144: Fix sequence of cronjobs: automatic renewal - fines - overdue notices 2016-09-02 13:51:32 +00:00
koha-common.cron.hourly
koha-common.cron.monthly Bug 13585: Add a cronjob which send UsageStats monthly. 2015-09-07 10:47:06 -03:00
koha-common.default Bug 16830: Remove -x usage on koha-indexer 2016-08-04 19:41:41 +00:00
koha-common.dirs
koha-common.docs
koha-common.init Bug 16822: Make koha-common call koha-plack without --quiet 2016-09-09 09:27:45 +00:00
koha-common.install Bug 16016: Sitemap handling scripts for packages 2016-05-04 13:34:21 +00:00
koha-common.logrotate Bug 16138: Restart plack when rotating logfiles 2016-04-01 18:47:01 +00:00
koha-common.postinst
koha-common.preinst
koha-common.README.Debian
koha-common.templates
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 17043 - debian/list-deps fixes, master edition 2016-08-08 14:26:32 +00:00
README.build
rules
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.