2f634f2862
New option koha-create --letsencrypt - installs the letsencrypt package if needed - creates <instance> - generates letsencrypt certificates for <instance> - sets up a https-only website for <instance> - redirects http to https for <instance> ! you need to enable jessie backports to install letsencrypt: add deb http://http.debian.net/debian jessie-backports main contrib non-free to your /etc/apt/sources.list ! this patch uses the letsencrypt staging server to create real certificates, apply thy "LE production server" patch Test plan: - build a debian package with patch applied - use apache mod_ssl sudo a2enmod ssl - make sure the machine is accessible on 80 (needed for letsencrypt) and 443 from the internet - install koha with your new package - Put your (existing) domain options in /etc/koha/koha-sites.conf - use koha-create with the new options: sudo koha-create --create-db --letsencrypt <instance> - if you do not have the letsencrypt package installed, you will be prompted to do that [ if there is no package available, a symlink to the git checkout will work: on your test server, get letsencrypt via git git clone https://github.com/letsencrypt/letsencrypt create a symlink from /usr/bin/letsencrypt to letsencrypt-auto sudo ln -s /path/to/letsencrypt/letsencrypt-auto /usr/bin/letsencrypt ] - wait until setup is finished, check that you got a working OPAC and staff client with certificates - check that http redirects to https Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
103 lines
2.8 KiB
Text
103 lines
2.8 KiB
Text
Source: koha
|
|
Maintainer: Galen Charlton <gmcharlt@gmail.com>
|
|
Section: web
|
|
Priority: optional
|
|
Standards-Version: 3.8.4
|
|
# WARNING: The "control" file is automatically generated from the "control.in" file.
|
|
# Do not manually edit "control" or your changes will be clobbered when you
|
|
# run update-control
|
|
# NOTA BENE: Build dependencies end up as runtime dependencies as well.
|
|
# See debian/rules, the override_dh_gencontrol rules.
|
|
# There are some exceptions.
|
|
Build-Depends:__AUTODEPENDS__,
|
|
debhelper (>= 7.0.50), gettext, xsltproc, docbook-xsl,
|
|
libxml2-utils, bash-completion, perl-modules (>= 5.14.2) | libtest-simple-perl (>= 0.98)
|
|
|
|
Package: koha-common
|
|
Architecture: all
|
|
Depends: ${misc:Depends}, ${koha:Depends},
|
|
apache2,
|
|
apache2-mpm-itk | libapache2-mpm-itk,
|
|
at,
|
|
cron-daemon,
|
|
daemon,
|
|
debconf,
|
|
idzebra-2.0,
|
|
libjs-jquery,
|
|
mysql-client | virtual-mysql-client,
|
|
perl-doc,
|
|
pwgen,
|
|
starman,
|
|
sudo,
|
|
tinymce,
|
|
ttf-dejavu,
|
|
unzip,
|
|
xmlstarlet,
|
|
yaz
|
|
Suggests: mysql-server | virtual-mysql-server,
|
|
memcached,
|
|
letsencrypt
|
|
Homepage: http://koha-community.org/
|
|
Description: integrated (physical) library management system
|
|
Koha is an Integrated Library Management system for real-world libraries
|
|
(the kinds with books).
|
|
.
|
|
This package contains everything needed to run Koha, except the site
|
|
specific configuration files. See the package koha for the rest.
|
|
|
|
Package: koha
|
|
Architecture: all
|
|
Depends: ${shlib:Depends}, ${misc:Depends},
|
|
koha-common,
|
|
dbconfig-common,
|
|
mysql-server | virtual-mysql-server
|
|
Homepage: http://koha-community.org/
|
|
Description: integrated (physical) library management system
|
|
Koha is an Integrated Library Management system for real-world libraries
|
|
(the kinds with books).
|
|
.
|
|
This package contains site-specific configuration files and sets up
|
|
the MySQL database for Koha. For simplicity, the database server is
|
|
assumed to run on the same host as Koha.
|
|
.
|
|
Please see /usr/share/doc/koha/README.Debian for instructions on how to
|
|
configure things after installing this package.
|
|
|
|
Package: koha-deps
|
|
Depends: ${misc:Depends},
|
|
apache2,
|
|
apache2-mpm-itk | libapache2-mpm-itk,
|
|
at,
|
|
cron-daemon,
|
|
daemon,
|
|
debconf,
|
|
idzebra-2.0,
|
|
libjs-jquery,
|
|
mysql-client | virtual-mysql-client,
|
|
mysql-server | virtual-mysql-server,
|
|
perl-doc,
|
|
pwgen,
|
|
starman,
|
|
sudo,
|
|
tinymce,
|
|
ttf-dejavu,
|
|
unzip,
|
|
xmlstarlet,
|
|
yaz
|
|
Architecture: all
|
|
Description: Other dep. for koha
|
|
Koha is an Integrated Library Management system for real-world libraries
|
|
(the kinds with books).
|
|
.
|
|
This meta-package contains general dependencies packages for koha (apache2,
|
|
daemon, debconf, etc.).
|
|
|
|
Package: koha-perldeps
|
|
Depends:__AUTODEPENDS__
|
|
Architecture: all
|
|
Description: Perl dep. for koha
|
|
Koha is an Integrated Library Management system for real-world libraries
|
|
(the kinds with books).
|
|
.
|
|
This meta-package contains perl dependencies packages for koha (all
|
|
perl lib).
|