From 7fb4d7a790a68f03448bb3b02388955f58c4b0a2 Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso Date: Sat, 6 Jul 2019 15:39:19 +0200 Subject: Adjust dist directory on security archives for distribution Starting with bullseye the distribution/suite are switched to *-security instead of */updates for consistency through the Debian archives. See: https://lists.debian.org/debian-security/2019/06/msg00015.html for details and the intention to switch. Thanks: Ansgar Burchardt --- lib/debian-releases.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib') diff --git a/lib/debian-releases.mk b/lib/debian-releases.mk index 4fe8605914..64ac6ca213 100644 --- a/lib/debian-releases.mk +++ b/lib/debian-releases.mk @@ -17,9 +17,17 @@ endef $(foreach release,$(MAIN_RELEASES),$(eval $(call add_main_release,$(release)))) # Define the variables for the releases on security.debian.org +# https://lists.debian.org/debian-security/2019/06/msg00015.html +# $(1)_security_DIST contains special casing for releases starting +# with bullseye releases. After all of jessie, stretch and buster +# are not anymore supported the case can be removed. define add_security_release = $(1)_security_MIRROR = $$(SECURITY_MIRROR) +ifneq (,$(filter jessie stretch buster,$(1))) $(1)_security_DIST = $(1)/updates +else +$(1)_security_DIST = $(1)-security +endif $(1)_security_ARCHS = $$($(1)_ARCHS) $(1)_security_RELEASE = $(1) $(1)_security_SUBRELEASE = security -- cgit v1.2.3