Skip to content

Commit

Permalink
Ports: Use keyserver.ubuntu.com as .sig keyserver (SerenityOS#2535)
Browse files Browse the repository at this point in the history
Increases the number of successfully building ports from
27 to 36 (of 56) on my system.
  • Loading branch information
nico committed Jun 9, 2020
1 parent a855060 commit 33d6d64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Ports/.port_include.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ func_defined post_fetch || post_fetch() {
fetch() {
if [ "$auth_type" == "sig" ] && [ ! -z "${auth_import_key}" ]; then
# import gpg key if not existing locally
gpg --list-keys $auth_import_key || gpg --recv-key $auth_import_key
# The default keyserver keys.openpgp.org prints "new key but contains no user ID - skipped"
# and fails. Use a different key server.
gpg --list-keys $auth_import_key || gpg --keyserver hkps:https://keyserver.ubuntu.com --recv-key $auth_import_key
fi

OLDIFS=$IFS
Expand Down

0 comments on commit 33d6d64

Please sign in to comment.