diff -Nru snapd-2.49/debian/changelog snapd-2.49/debian/changelog --- snapd-2.49/debian/changelog 2021-02-24 08:23:51.000000000 +0000 +++ snapd-2.49/debian/changelog 2021-03-06 20:36:56.000000000 +0000 @@ -1,3 +1,12 @@ +snapd (2.49-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 Sat, 06 Mar 2021 20:36:56 +0000 + snapd (2.49-1) unstable; urgency=high * New upstream release with security updates: diff -Nru snapd-2.49/debian/rules snapd-2.49/debian/rules --- snapd-2.49/debian/rules 2021-02-24 08:23:51.000000000 +0000 +++ snapd-2.49/debian/rules 2021-03-06 20:36:56.000000000 +0000 @@ -93,12 +93,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)) @@ -193,7 +189,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 @@ -210,7 +206,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: @@ -289,6 +285,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)"