$ git clone -n https://gitee.com/renping000/iputils.git /var/lib/mock/dist-an7_9-updates-build-187981-60696/root/chroot_tmpdir/scmroot/iputils Cloning into '/var/lib/mock/dist-an7_9-updates-build-187981-60696/root/chroot_tmpdir/scmroot/iputils'... $ git fetch origin 2b9ce7c9f68a0900605aaab8f2ef69065b0dc376:KOJI_FETCH_HEAD From https://gitee.com/renping000/iputils * [new ref] 2b9ce7c9f68a0900605aaab8f2ef69065b0dc376 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2b9ce7c use extern in header files when declaring global variables $ wget -O ifenslave.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/ifenslave.tar.gz.6702c58e970e6a73fc8d9b7c9b63af35 --2022-12-27 17:02:05-- http://build.openanolis.cn/kojifiles/upstream-source/ifenslave.tar.gz.6702c58e970e6a73fc8d9b7c9b63af35 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: 42304 (41K) [application/x-gzip] Saving to: ‘ifenslave.tar.gz’ 0K .......... .......... .......... .......... . 100% 312M=0s 2022-12-27 17:02:05 (312 MB/s) - ‘ifenslave.tar.gz’ saved [42304/42304] $ wget -O iputils-s20180629.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/iputils-s20180629.tar.gz.866547f2ffb17b67049472c770703c83 --2022-12-27 17:02:09-- http://build.openanolis.cn/kojifiles/upstream-source/iputils-s20180629.tar.gz.866547f2ffb17b67049472c770703c83 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: 195094 (191K) [application/x-gzip] Saving to: ‘iputils-s20180629.tar.gz’ 0K .......... .......... .......... .......... .......... 26% 334M 0s 50K .......... .......... .......... .......... .......... 52% 423M 0s 100K .......... .......... .......... .......... .......... 78% 450M 0s 150K .......... .......... .......... .......... 100% 444M=0s 2022-12-27 17:02:09 (405 MB/s) - ‘iputils-s20180629.tar.gz’ saved [195094/195094]