diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-08-03 01:07:42 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2022-08-03 01:14:40 -0400 |
commit | ec3ea631d5ef3e74244c71f6af2388fea540d5cc (patch) | |
tree | 578d998ab912488f77252f295bdf89e638b86b56 /bin | |
parent | a2505b4184216adeafa5f4c29d6405a2aee20e61 (diff) |
define keyserver in parabola-hackers.yml
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pacman-make-keyring | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/pacman-make-keyring b/bin/pacman-make-keyring index 2d3e156..fa55892 100755 --- a/bin/pacman-make-keyring +++ b/bin/pacman-make-keyring @@ -23,6 +23,7 @@ KEYRING_NAME = parabola bin := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST)))) yamldir := $(shell ruby -e "load '$(bin)/common.rb'; print cfg['yamldir']") +keyserver := $(shell ruby -e "load '$(bin)/common.rb'; print cfg['keyring_keyserver']") cachedir := $(shell ruby -e "load '$(bin)/common.rb'; print cfg['keyring_cachedir']") outputdir = $(cachedir)/$(KEYRING_NAME)-keyring-$(V) @@ -31,9 +32,6 @@ ifeq ($(origin V),undefined) $(info Usage: pacman-make-keyring V=$$(date -u +%Y%m%d) [ keyserver=<HKP_URL> ]) $(info) $(error V= must be set in the environment, on the command line, etc) endif -ifeq ($(origin keyserver),undefined) - keyserver := hkp://pgp.cyberbits.eu:11371 -endif ifneq ($(findstring hkp://,${keyserver}),hkp://) $(error keyserver must be a valid hkp:// URL) endif |