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>
|
||
|---|---|---|
| .. | ||
| koha-create | ||
| koha-create-dirs | ||
| koha-disable | ||
| koha-dump | ||
| koha-dump-defaults | ||
| koha-email-disable | ||
| koha-email-enable | ||
| koha-enable | ||
| koha-enable-sip | ||
| koha-foreach | ||
| koha-functions.sh | ||
| koha-indexer | ||
| koha-list | ||
| koha-mysql | ||
| koha-mysqlcheck | ||
| koha-passwd | ||
| koha-plack | ||
| koha-rebuild-zebra | ||
| koha-remove | ||
| koha-reset-passwd | ||
| koha-restart-zebra | ||
| koha-restore | ||
| koha-run-backups | ||
| koha-shell | ||
| koha-sitemap | ||
| koha-start-sip | ||
| koha-start-zebra | ||
| koha-stop-sip | ||
| koha-stop-zebra | ||
| koha-translate | ||
| koha-upgrade-schema | ||
| koha-upgrade-to-3.4 | ||