$ git clone -n https://gitee.com/hongwei-qin/nginx.git /var/lib/mock/dist-an8.10-build-537215-82924/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/dist-an8.10-build-537215-82924/root/chroot_tmpdir/scmroot/nginx'... $ git fetch origin c451cf98fd612ae84bc805af84ac58e9f97c879d:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/nginx * [new ref] c451cf98fd612ae84bc805af84ac58e9f97c879d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c451cf9 add patch to fix CVE-2026-42945 $ wget -O nginx-1.22.1.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/nginx-1.22.1.tar.gz.8296d957561aeed0261d9be4d3decaec --2026-05-15 16:52:37-- http://build.openanolis.cn/kojifiles/upstream-source/nginx-1.22.1.tar.gz.8296d957561aeed0261d9be4d3decaec Resolving build.openanolis.cn (build.openanolis.cn)... 172.16.0.137 Connecting to build.openanolis.cn (build.openanolis.cn)|172.16.0.137|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1073948 (1.0M) [application/x-gzip] Saving to: ‘nginx-1.22.1.tar.gz’ 0K .......... .......... .......... .......... .......... 4% 10.1M 0s 50K .......... .......... .......... .......... .......... 9% 10.7M 0s 100K .......... .......... .......... .......... .......... 14% 15.5M 0s 150K .......... .......... .......... .......... .......... 19% 98.5M 0s 200K .......... .......... .......... .......... .......... 23% 2.05M 0s 250K .......... .......... .......... .......... .......... 28% 9.19M 0s 300K .......... .......... .......... .......... .......... 33% 31.7M 0s 350K .......... .......... .......... .......... .......... 38% 36.8M 0s 400K .......... .......... .......... .......... .......... 42% 55.9M 0s 450K .......... .......... .......... .......... .......... 47% 49.5M 0s 500K .......... .......... .......... .......... .......... 52% 76.1M 0s 550K .......... .......... .......... .......... .......... 57% 59.9M 0s 600K .......... .......... .......... .......... .......... 61% 64.7M 0s 650K .......... .......... .......... .......... .......... 66% 52.4M 0s 700K .......... .......... .......... .......... .......... 71% 154M 0s 750K .......... .......... .......... .......... .......... 76% 116M 0s 800K .......... .......... .......... .......... .......... 81% 137M 0s 850K .......... .......... .......... .......... .......... 85% 96.7M 0s 900K .......... .......... .......... .......... .......... 90% 128M 0s 950K .......... .......... .......... .......... .......... 95% 80.5M 0s 1000K .......... .......... .......... .......... ........ 100% 211M=0.05s 2026-05-15 16:52:37 (19.4 MB/s) - ‘nginx-1.22.1.tar.gz’ saved [1073948/1073948]