@@ -17,24 +17,24 @@ use flate2::read::GzDecoder;
1717use tar:: Archive ;
1818use which:: which;
1919
20- const UBUNTU_KEYSEVER : & str = "hkps://keyserver.ubuntu.com" ;
20+ const UBUNTU_KEYSERVER : & str = "hkps://keyserver.ubuntu.com" ;
2121/// The default version of zlib to use if the `ZLIB_VERSION` environment variable is not present
2222const ZLIB_DEFAULT_VERSION : & str = "1.3.1" ;
2323/// Key 1: Mark Adler's public key. For zlib 1.3.1 and earlier
24- const ZLIB_GPG_SERVER_AND_KEY_ID : ( & str , & str ) = ( UBUNTU_KEYSEVER , "5ED46A6721D365587791E2AA783FCD8E58BCAFBA" ) ;
24+ const ZLIB_GPG_SERVER_AND_KEY_ID : ( & str , & str ) = ( UBUNTU_KEYSERVER , "5ED46A6721D365587791E2AA783FCD8E58BCAFBA" ) ;
2525const ZLIB_DOWNLOAD_URL_PREFIX : & str = "https://github.com/madler/zlib/releases/download" ;
2626/// The default version of pcre to use if the `PCRE2_VERSION` environment variable is not present
2727const PCRE1_DEFAULT_VERSION : & str = "8.45" ;
2828const PCRE2_DEFAULT_VERSION : & str = "10.42" ;
2929/// Key 1: Phillip Hazel's public key. For PCRE2 10.42 and earlier
30- const PCRE2_GPG_SERVER_AND_KEY_ID : ( & str , & str ) = ( UBUNTU_KEYSEVER , "45F68D54BBE23FB3039B46E59766E084FB0F43D8" ) ;
30+ const PCRE2_GPG_SERVER_AND_KEY_ID : ( & str , & str ) = ( UBUNTU_KEYSERVER , "45F68D54BBE23FB3039B46E59766E084FB0F43D8" ) ;
3131const PCRE1_DOWNLOAD_URL_PREFIX : & str = "https://sourceforge.net/projects/pcre/files/pcre" ;
3232const PCRE2_DOWNLOAD_URL_PREFIX : & str = "https://github.com/PCRE2Project/pcre2/releases/download" ;
3333/// The default version of openssl to use if the `OPENSSL_VERSION` environment variable is not present
3434const OPENSSL1_DEFAULT_VERSION : & str = "1.1.1w" ;
3535const OPENSSL3_DEFAULT_VERSION : & str = "3.2.1" ;
3636const OPENSSL_GPG_SERVER_AND_KEY_IDS : ( & str , & str ) = (
37- UBUNTU_KEYSEVER ,
37+ UBUNTU_KEYSERVER ,
3838 "\
3939 EFC0A467D613CB83C7ED6D30D894E2CE8B3D79F5 \
4040 A21FAB74B0088AA361152586B8EF1A6BA9DA2D5C \
@@ -53,7 +53,7 @@ const NGX_DEFAULT_VERSION: &str = "1.24.0";
5353/// Key 2: Sergey Kandaurov's public key. For Nginx 1.25.4
5454/// Key 3: Maxim Dounin's public key. At least used for Nginx 1.18.0
5555const NGX_GPG_SERVER_AND_KEY_IDS : ( & str , & str ) = (
56- UBUNTU_KEYSEVER ,
56+ UBUNTU_KEYSERVER ,
5757 "\
5858 13C82A63B603576156E30A4EA0EA981B66B0D967 \
5959 D6786CE303D9A9022998DC6CC8464D549AF75C0A \
@@ -329,7 +329,7 @@ fn keys_indexed_by_key_server() -> HashMap<String, Vec<String>> {
329329 map
330330}
331331
332- /// Imports all the required GPG keys into the `.cache/.gnupu ` directory in order to
332+ /// Imports all the required GPG keys into the `.cache/.gnupg ` directory in order to
333333/// validate the integrity of the downloaded tarballs.
334334fn import_gpg_keys ( cache_dir : & Path ) -> Result < ( ) , Box < dyn StdError > > {
335335 if let Some ( gpg) = gpg_path ( ) {
0 commit comments