diff -Nru swtpm-0.6.3/debian/changelog swtpm-0.6.3/debian/changelog --- swtpm-0.6.3/debian/changelog 2022-11-16 20:54:54.000000000 +0000 +++ swtpm-0.6.3/debian/changelog 2023-04-26 22:06:00.000000000 +0000 @@ -1,3 +1,10 @@ +swtpm (0.6.3-0ubuntu3.2) jammy; urgency=medium + + * d/p/create-user-config-files-use-correct-swtpm-localca.patch: Fix the path + to swtpm-localca used in swtpm-create-user-config-files (LP: #2016744) + + -- Lena Voytek Wed, 26 Apr 2023 15:06:00 -0700 + swtpm (0.6.3-0ubuntu3.1) jammy; urgency=medium * d/usr.bin.swtpm: Update apparmor profile to match swtpm upstream diff -Nru swtpm-0.6.3/debian/patches/create-user-config-files-use-correct-swtpm-localca.patch swtpm-0.6.3/debian/patches/create-user-config-files-use-correct-swtpm-localca.patch --- swtpm-0.6.3/debian/patches/create-user-config-files-use-correct-swtpm-localca.patch 1970-01-01 00:00:00.000000000 +0000 +++ swtpm-0.6.3/debian/patches/create-user-config-files-use-correct-swtpm-localca.patch 2023-04-26 22:06:00.000000000 +0000 @@ -0,0 +1,23 @@ +Description: Use the correct directory of swtpm-localca in swtpm-create-user-config-files + With the location of swtpm-localca moved in + 0001-Install-swtpm-localca-to-the-correct-path.patch, match that location in + the swtpm-create-user-config-files script so it does not fail with cert + creation enabled. +Author: Lena Voytek +Bug: https://github.com/stefanberger/swtpm/issues/749 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/swtpm/+bug/2016744 +Forwarded: not-needed +Last-Update: 2023-04-26 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/samples/swtpm-create-user-config-files.in ++++ b/samples/swtpm-create-user-config-files.in +@@ -65,7 +65,7 @@ + + echo "Writing ${SWTPM_SETUP_CONF}." + cat <<_EOF_ > "${SWTPM_SETUP_CONF}" +-create_certs_tool = @DATAROOTDIR@/swtpm/swtpm-localca ++create_certs_tool = @LIBEXECDIR@/swtpm/swtpm-localca + create_certs_tool_config = ${SWTPM_LOCALCA_CONF} + create_certs_tool_options = ${SWTPM_LOCALCA_OPTIONS} + _EOF_ diff -Nru swtpm-0.6.3/debian/patches/series swtpm-0.6.3/debian/patches/series --- swtpm-0.6.3/debian/patches/series 2022-10-12 10:24:33.000000000 +0000 +++ swtpm-0.6.3/debian/patches/series 2023-04-26 22:06:00.000000000 +0000 @@ -1,3 +1,4 @@ 0001-Install-swtpm-localca-to-the-correct-path.patch no-autoconf-in-debian.patch openssl-not-certtool.patch +create-user-config-files-use-correct-swtpm-localca.patch