From 497d2af76200d40fdb964091c73b9ff9fd7b631e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 15 Jun 2018 20:53:24 -0300 Subject: Updates source checking instructions --- Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8da8402..458ab42 100644 --- a/Makefile +++ b/Makefile @@ -22,8 +22,14 @@ web: web_deploy: @rsync -avz --delete --exclude=keyring www/ debian:/var/sites/debian/www/ -keyring: - @rsync -az --progress keyring.debian.org::keyrings/ keyrings/ - @gpg --verify keyrings/sha512sums.txt - publish: web web_deploy + +keyring: + @rsync -az --progress keyring.debian.org::keyrings/ keyring/ + @gpg --verify keyring/sha512sums.txt + @cd keyring > /dev/null && sha512sum -c sha512sums.txt + @cd keyring > /dev/null && chmod 700 keyrings && ln -sf keyrings .gnupg #&& cd .gnupg && ln -sf debian-keyring.gpg trustedkeys.gpg + @cp .devscripts keyring/ + @gpg --no-default-keyring --keyring keyring/keyrings/debian-keyring.gpg --export | HOME=keyring/ gpg --import + @gpg --no-default-keyring --keyring keyring/keyrings/debian-maintainers.gpg --export | HOME=keyring/ gpg --import + @cd keyring/.gnupg && ln -sf pubring.kbx trustedkeys.kbx -- cgit v1.2.3