$ git clone -n https://gitee.com/src-anolis-os/nginx /var/lib/mock/module-nginx-1.22-8100020260515091025-3977c199-build-537258-82980/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/module-nginx-1.22-8100020260515091025-3977c199-build-537258-82980/root/chroot_tmpdir/scmroot/nginx'... $ git fetch origin c451cf98fd612ae84bc805af84ac58e9f97c879d:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/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 17:34:30-- 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% 6.55M 0s 50K .......... .......... .......... .......... .......... 9% 7.65M 0s 100K .......... .......... .......... .......... .......... 14% 8.30M 0s 150K .......... .......... .......... .......... .......... 19% 10.6M 0s 200K .......... .......... .......... .......... .......... 23% 3.32M 0s 250K .......... .......... .......... .......... .......... 28% 12.6M 0s 300K .......... .......... .......... .......... .......... 33% 18.5M 0s 350K .......... .......... .......... .......... .......... 38% 8.68M 0s 400K .......... .......... .......... .......... .......... 42% 22.3M 0s 450K .......... .......... .......... .......... .......... 47% 11.2M 0s 500K .......... .......... .......... .......... .......... 52% 5.07M 0s 550K .......... .......... .......... .......... .......... 57% 7.07M 0s 600K .......... .......... .......... .......... .......... 61% 12.2M 0s 650K .......... .......... .......... .......... .......... 66% 18.0M 0s 700K .......... .......... .......... .......... .......... 71% 13.8M 0s 750K .......... .......... .......... .......... .......... 76% 17.8M 0s 800K .......... .......... .......... .......... .......... 81% 15.9M 0s 850K .......... .......... .......... .......... .......... 85% 16.2M 0s 900K .......... .......... .......... .......... .......... 90% 22.8M 0s 950K .......... .......... .......... .......... .......... 95% 22.9M 0s 1000K .......... .......... .......... .......... ........ 100% 22.5M=0.1s 2026-05-15 17:34:30 (10.3 MB/s) - ‘nginx-1.22.1.tar.gz’ saved [1073948/1073948]