diff -Nru snapd-2.45.2/debian/changelog snapd-2.45.2/debian/changelog --- snapd-2.45.2/debian/changelog 2020-07-10 18:06:29.000000000 +0000 +++ snapd-2.45.2/debian/changelog 2020-07-26 03:50:20.000000000 +0000 @@ -1,3 +1,12 @@ +snapd (2.45.2-1+rpi1) bullseye-staging; urgency=medium + + [changes brought forward from 2.27.2-2+rpi1 by Peter Michael Green at Thu, 24 Aug 2017 17:53:18 +0000] + * Treat unknown derivatives the same as Debian. + * Disable testsuite. + * Fix clean target. + + -- Raspbian forward porter Sun, 26 Jul 2020 03:50:20 +0000 + snapd (2.45.2-1) unstable; urgency=high * SECURITY UPDATE: sandbox escape vulnerability on snapctl xdg-open diff -Nru snapd-2.45.2/debian/rules snapd-2.45.2/debian/rules --- snapd-2.45.2/debian/rules 2020-07-10 18:06:29.000000000 +0000 +++ snapd-2.45.2/debian/rules 2020-07-26 03:50:20.000000000 +0000 @@ -89,12 +89,8 @@ endif BUILT_USING_PACKAGES=libcap-dev libapparmor-dev libseccomp-dev else -ifeq ($(shell dpkg-vendor --query Vendor),Debian) VENDOR_ARGS=--enable-nvidia-multiarch BUILT_USING_PACKAGES=libcap-dev -else - VENDOR_ARGS=--disable-apparmor -endif endif BUILT_USING=$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W $(BUILT_USING_PACKAGES)) @@ -184,7 +180,7 @@ $(MAKE) -C data all override_dh_auto_test: - dh_auto_test -- $(BUILDFLAGS) -tags "$(TAGS)" $(GCCGOFLAGS) + #dh_auto_test -- $(BUILDFLAGS) -tags "$(TAGS)" $(GCCGOFLAGS) # a tested default (production) build should have no test keys ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) # check that only the main trusted account-keys are included @@ -201,7 +197,7 @@ endif ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) # run the snap-confine tests - $(MAKE) -C cmd check + #$(MAKE) -C cmd check endif override_dh_install-indep: @@ -271,6 +267,8 @@ override_dh_auto_clean: dh_auto_clean -O--buildsystem=golang rm -vf snap.8 + rm -rf share + rm -f cmd/Makefile.in cmd/VERSION cmd/aclocal.m4 cmd/compile cmd/config.guess cmd/config.h.in cmd/config.sub cmd/configure cmd/depcomp cmd/install-sh cmd/missing cmd/test-driver cmd/version_generated.go data/info po/snappy.pot override_dh_gencontrol: dh_gencontrol -- -VBuilt-Using="$(BUILT_USING)"