]> git.plutz.net Git - blast/commitdiff
include debian-security urls for different releases
authorPaul Hänsch <paul@plutz.net>
Thu, 27 Jan 2022 15:10:34 +0000 (16:10 +0100)
committerPaul Hänsch <paul@plutz.net>
Thu, 27 Jan 2022 15:10:34 +0000 (16:10 +0100)
Makefile

index eb822cd416bc1121e54494fed08a98bbb5e20fab..e11557ba4d019671f3da77ef9f3107556c6855a5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -41,10 +41,17 @@ KEYRING := keys/debian-archive-${release}-automatic.gpg
 # KEYRING := keys/debian-archive-${release}-security-automatic.gpg
 
 ifndef SOURCES
-define SOURCES := 
-deb    http://cdn.debian.net/debian ${release} main
-deb     http://security.debian.org/ ${release}/updates main
-endef
+  ifdef $(filter stretch jessie buster, ${release})
+    define SOURCES := 
+    deb        http://cdn.debian.net/debian    ${release}      main
+    deb        https://deb.debian.org/debian-security/ ${release}/updates      main
+    endef
+  else
+    define SOURCES := 
+    deb        http://cdn.debian.net/debian    ${release}      main
+    deb        https://deb.debian.org/debian-security/ ${release}-security     main
+    endef
+  endif
 endif
 
 ifdef disk