| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c5e4aa7 commit 1ca116a
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,18 +42,19 @@ cleanup () { | |||
| 42 | 42 | trap cleanup INT TERM EXIT | |
| 43 | 43 | ||
| 44 | 44 | NGHTTP2_REF="v$NEW_VERSION" | |
| 45 | - NGHTTP2_TARBALL="nghttp2-$NEW_VERSION.tar.gz" | ||
| 45 | + NGHTTP2_TARBALL="nghttp2-$NEW_VERSION.tar.xz" | ||
| 46 | 46 | ||
| 47 | 47 | cd "$WORKSPACE" | |
| 48 | 48 | ||
| 49 | 49 | echo "Fetching nghttp2 source archive" | |
| 50 | 50 | curl -sL -o "$NGHTTP2_TARBALL" "https://github.com/nghttp2/nghttp2/releases/download/$NGHTTP2_REF/$NGHTTP2_TARBALL" | |
| 51 | 51 | ||
| 52 | - DEPOSITED_CHECKSUM=$(curl -sL "https://github.com/nghttp2/nghttp2/releases/download/$NGHTTP2_REF/checksums.txt" | grep "$NGHTTP2_TARBALL") | ||
| 52 | + echo "Verifying PGP signature" | ||
| 53 | + curl -sL "https://github.com/nghttp2/nghttp2/releases/download/${NGHTTP2_REF}/${NGHTTP2_TARBALL}.asc" \ | ||
| 54 | + | gpgv --keyring "$BASE_DIR/tools/dep_updaters/nghttp.kbx" "$NGHTTP2_TARBALL" | ||
| 53 | 55 | ||
| 54 | - log_and_verify_sha256sum "nghttp2" "$NGHTTP2_TARBALL" "$DEPOSITED_CHECKSUM" | ||
| 55 | - | ||
| 56 | - gzip -dc "$NGHTTP2_TARBALL" | tar xf - | ||
| 56 | + echo "Unpacking archive" | ||
| 57 | + tar xJf "$NGHTTP2_TARBALL" | ||
| 57 | 58 | rm "$NGHTTP2_TARBALL" | |
| 58 | 59 | mv "nghttp2-$NEW_VERSION" nghttp2 | |
| 59 | 60 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -48,8 +48,12 @@ cd "$WORKSPACE" | |||
| 48 | 48 | ||
| 49 | 49 | echo "Fetching nghttp3 source archive..." | |
| 50 | 50 | curl -sL -o "$ARCHIVE_BASENAME.tar.xz" "https://github.com/ngtcp2/nghttp3/releases/download/${NGHTTP3_REF}/${ARCHIVE_BASENAME}.tar.xz" | |
| 51 | - SHA256="$(curl -sL "https://github.com/ngtcp2/nghttp3/releases/download/${NGHTTP3_REF}/checksums.txt" | grep 'tar.xz$')" | ||
| 52 | - log_and_verify_sha256sum "nghttp3" "$ARCHIVE_BASENAME.tar.xz" "$SHA256" | ||
| 51 | + | ||
| 52 | + echo "Verifying PGP signature..." | ||
| 53 | + curl -sL "https://github.com/ngtcp2/nghttp3/releases/download/${NGHTTP3_REF}/${ARCHIVE_BASENAME}.tar.xz.asc" \ | ||
| 54 | + | gpgv --keyring "$BASE_DIR/tools/dep_updaters/nghttp.kbx" - "$ARCHIVE_BASENAME.tar.xz" | ||
| 55 | + | ||
| 56 | + echo "Unpacking archive..." | ||
| 53 | 57 | tar -xJf "$ARCHIVE_BASENAME.tar.xz" | |
| 54 | 58 | rm "$ARCHIVE_BASENAME.tar.xz" | |
| 55 | 59 | mv "$ARCHIVE_BASENAME" nghttp3 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments