Skip to content

Commit

Permalink
Verify signature on nginx tarballs
Browse files Browse the repository at this point in the history
Fixes #10
  • Loading branch information
jschaul committed May 16, 2017
1 parent 6cb6d5c commit 2f076ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion services/nginz/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,11 @@ $(DIST):
BUNDLE=nginx-$(VERSION).tar.gz

src: $(TMPDIR)/$(BUNDLE)
#Find keys on https://nginx.org/en/pgp_keys.html
gpg --verify $(TMPDIR)/$(BUNDLE).asc
tar zxf $(TMPDIR)/$(BUNDLE)
mv nginx-$(VERSION) src

$(TMPDIR)/$(BUNDLE):
(cd $(TMPDIR); curl -O http://nginx.org/download/$(BUNDLE))
(cd $(TMPDIR); curl -O https://nginx.org/download/$(BUNDLE).asc)
(cd $(TMPDIR); curl -O https://nginx.org/download/$(BUNDLE))

0 comments on commit 2f076ed

Please sign in to comment.