/
niceSOFT
/
cmake
Обзор
Документация
Войти
/
niceSOFT
/
cmake
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Utilities/Scripts/update-nghttp2.bash
31 строка
842 B
Brad King
nghttp2: Update script to get nghttp2 1.68.0
13 фев 2026, 17:59
13 фев 2026, 17:59
c201fec
Код
Авторство
О чём код?
#!/usr/bin/env bash set -e set -x shopt -s dotglob readonly name="nghttp2" readonly ownership="nghttp2 upstream <kwrobot@kitware.com>" readonly subtree="Utilities/cmnghttp2" readonly repo="https://github.com/nghttp2/nghttp2.git" readonly tag="v1.68.0" # When updating, sync PACKAGE_VERSION below! readonly shortlog=false readonly exact_tree_match=false readonly paths=" COPYING lib/*.c lib/*.h lib/includes/nghttp2/nghttp2.h lib/includes/nghttp2/nghttp2ver.h.in " extract_source () { git_archive pushd "${extractdir}/${name}-reduced" echo "* -whitespace" > .gitattributes mv lib/includes/nghttp2/nghttp2ver.h.in lib/includes/nghttp2/nghttp2ver.h sed -i 's/@PACKAGE_VERSION@/1.68.0/;s/@PACKAGE_VERSION_NUM@/0x014400/' lib/includes/nghttp2/nghttp2ver.h popd } . "${BASH_SOURCE%/*}/update-third-party.bash"