$ git clone -n https://gitee.com/src-anolis-os/nginx /var/lib/mock/module-nginx-1.20-8100020260515090918-3977c199-build-537259-82981/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/module-nginx-1.20-8100020260515090918-3977c199-build-537259-82981/root/chroot_tmpdir/scmroot/nginx'... $ git fetch origin 845adb70f346f26db4328122cfd86c929eea2356:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/nginx * [new ref] 845adb70f346f26db4328122cfd86c929eea2356 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 845adb7 add patch to fix CVE-2026-42945 $ wget -O nginx-1.20.1.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/nginx-1.20.1.tar.gz.8ca6edd5076bdfad30a69c9c9b41cc68 --2026-05-15 17:34:31-- http://build.openanolis.cn/kojifiles/upstream-source/nginx-1.20.1.tar.gz.8ca6edd5076bdfad30a69c9c9b41cc68 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: 1061461 (1.0M) [application/x-gzip] Saving to: ‘nginx-1.20.1.tar.gz’ 0K .......... .......... .......... .......... .......... 4% 7.68M 0s 50K .......... .......... .......... .......... .......... 9% 3.29M 0s 100K .......... .......... .......... .......... .......... 14% 5.09M 0s 150K .......... .......... .......... .......... .......... 19% 7.07M 0s 200K .......... .......... .......... .......... .......... 24% 2.60M 0s 250K .......... .......... .......... .......... .......... 28% 14.7M 0s 300K .......... .......... .......... .......... .......... 33% 8.71M 0s 350K .......... .......... .......... .......... .......... 38% 8.79M 0s 400K .......... .......... .......... .......... .......... 43% 7.82M 0s 450K .......... .......... .......... .......... .......... 48% 6.17M 0s 500K .......... .......... .......... .......... .......... 53% 10.7M 0s 550K .......... .......... .......... .......... .......... 57% 9.37M 0s 600K .......... .......... .......... .......... .......... 62% 17.3M 0s 650K .......... .......... .......... .......... .......... 67% 17.2M 0s 700K .......... .......... .......... .......... .......... 72% 18.0M 0s 750K .......... .......... .......... .......... .......... 77% 18.1M 0s 800K .......... .......... .......... .......... .......... 82% 17.5M 0s 850K .......... .......... .......... .......... .......... 86% 138M 0s 900K .......... .......... .......... .......... .......... 91% 9.61M 0s 950K .......... .......... .......... .......... .......... 96% 135M 0s 1000K .......... .......... .......... ...... 100% 13.8M=0.1s 2026-05-15 17:34:31 (8.64 MB/s) - ‘nginx-1.20.1.tar.gz’ saved [1061461/1061461]