Package: kxd / 0.12-4

Metadata

Package Version Patches format
kxd 0.12-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
upstream_scripts Fix kxd add client key missing fi and wrong .patch | (download)

scripts/kxd-add-client-key | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 [patch] scripts: fix kxd-add-client-key missing "fi" and wrong
 variable

Somehow, scripts/kxd-add-client-key is missing a "fi" to close the "if"
statement, and uses $SERVER instead of $CLIENT in a couple of places.

This patch fixes that.

Thanks to Maximiliano Curia for reporting the issue.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

upstream_tests Use LOGNAME instead of os.getlogin.patch | (download)

tests/run_tests | 8 6 + 2 - 0 !
1 file changed, 6 insertions(+), 2 deletions(-)

 [patch] tests: use $logname instead of os.getlogin()

The tests use os.getlogin() to get the user they're running under, which is
used just for informational names to make troubleshooting easier.

However, that function fails when the controlling terminal isn't a tty; this
is triggered for example by the Debian automated build process, which is how
this bug was originally reported (http://bugs.debian.org/755036).

To fix that, we can just try to get $LOGNAME from the environment, and fall
back to "unknown" if missing, which is harmless.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

upstream_tests assert negociated | (download)

tests/run_tests | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

---
upstream_tests_fix_ssl_validation_in_test_tricky | (download)

tests/run_tests | 23 19 + 4 - 0 !
1 file changed, 19 insertions(+), 4 deletions(-)

---