Univention Bugzilla – Bug 51203
Multiple bugs in univention-ssl.postinst
Last modified: 2023-12-12 11:34:36 CET
Setting up univention-ssl (13.0.0-7) ... ... skipped. SSL Certificate found in /etc/univention/ssl/ucsCA/certs ln: failed to create symbolic link '/usr/local/share/ca-certificates/ucsCA.crt': No such file or directory /var/lib/dpkg/info/univention-ssl.postinst: line 113: return: can only `return' from a function or sourced script /var/lib/dpkg/info/univention-ssl.postinst: line 114: update-ca-certificates: command not found /var/lib/dpkg/info/univention-ssl.postinst: line 114: return: can only `return' from a function or sourced script debian/univention-ssl.postinst 113 »···»···ln -snf "/etc/univention/ssl/ucsCA/CAcert.pem" "$SSL" || return $? 114 »···»···update-ca-certificates --fresh || return $? Patch: sed -i -e 's/return/exit/' debian/univention-ssl.postinst sed -i -e '/^Depends:/a\' -e ' ca-certificates,' debian/control
https://git.knut.univention.de/univention/ucs/-/merge_requests/763
[5.0-6] 0de41fb16b fix(ssl): Use only configures attributes base/univention-ssl/make-certificates.sh | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) [5.0-6] fd0d5307f1 fix(ssl): Handles IDs as string base/univention-ssl/debian/changelog | 1 + base/univention-ssl/make-certificates.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) [5.0-6] 8c3e0144d5 style(ssl): shell code base/univention-ssl/debian/univention-ssl.postinst | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) [5.0-6] 7e8b618cdf fix(ssl): Depend on ca-certificates base/univention-ssl/debian/changelog | 5 +++-- base/univention-ssl/debian/control | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) [5.0-6] 42d0f14a70 Bug #56832: UCS 5.0-6 version bump base/univention-ssl/debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) Package: univention-ssl Version: 14.0.5-1 Branch: ucs_5.0-0 Scope: ucs5.0-6