# HG changeset patch # User Heiko Schlittermann (APT) # Date 1314954636 -7200 # Node ID dee62208947276f9c35f9e96853164f70d8220ec # Parent c183b8918cc78b9718ecb7bd97f33346ca6899b0 fixes diff -r c183b8918cc7 -r dee622089472 debian/littlebird-tc-core.config --- a/debian/littlebird-tc-core.config Fri Sep 02 10:07:48 2011 +0200 +++ b/debian/littlebird-tc-core.config Fri Sep 02 11:10:36 2011 +0200 @@ -14,7 +14,7 @@ db_set $prefix/web/serveradmin "$serveradmin" || true db_set $prefix/web/crt "/etc/ssl/certs/$servername-crt.pem" || true -db_set $prefix/web/key "/etc/ssl/key/$servername-key.pem" || true +db_set $prefix/web/key "/etc/ssl/private/$servername-key.pem" || true db_input medium $prefix/web/serveradmin || true db_input medium $prefix/web/crt || true diff -r c183b8918cc7 -r dee622089472 debian/littlebird-tc-core.postinst --- a/debian/littlebird-tc-core.postinst Fri Sep 02 10:07:48 2011 +0200 +++ b/debian/littlebird-tc-core.postinst Fri Sep 02 11:10:36 2011 +0200 @@ -94,6 +94,11 @@ db_go || true fi fi + # permissions for the cert + test "$key" && { + chown root: "$key" + chmod -v go= "$key" + } # tweak the config file, but just the lines following a magical # debconf line diff -r c183b8918cc7 -r dee622089472 debian/littlebird-tc-sql.templates --- a/debian/littlebird-tc-sql.templates Fri Sep 02 10:07:48 2011 +0200 +++ b/debian/littlebird-tc-sql.templates Fri Sep 02 11:10:36 2011 +0200 @@ -5,7 +5,7 @@ Template: littlebird-tc/db/have-admin Type: boolean Default: no -Description: Do you have the data to access your database server as admin? +Description: Do you know how to access your database server as *admin*? During the package configuration (postinst) we need to connect to your database server and setup the littlebird schema, install a littlebird user etcpp. If you can provide us the data to access