diff options
author | Remi Collet <remi@remirepo.net> | 2024-12-20 09:52:24 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-12-20 09:52:24 +0100 |
commit | 06a269da8ec013fb0b7259d35ae34a5f1c18b314 (patch) | |
tree | 998142de2331ad02b01d50534be92a6679bbea4f /makedeps.sh | |
parent | 0eefe9825d5f97e63de2877236934ba5ce5aa61d (diff) |
re-license spec file to CECILL-2.1
enable otel support
fix build of tests with otel using patch from
https://github.com/nginx/unit/pull/1521
re-license spec file to CECILL-2.1
enable otel support
fix build of tests with otel using patch from
https://github.com/nginx/unit/pull/1521
Diffstat (limited to 'makedeps.sh')
-rwxr-xr-x | makedeps.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/makedeps.sh b/makedeps.sh new file mode 100755 index 0000000..3fd3c8c --- /dev/null +++ b/makedeps.sh @@ -0,0 +1,23 @@ +#!/bin/sh +EXT=unit + +if [ $# -lt 2 ]; then + echo usage $0 version commit + exit 0 +fi +if [ -f $EXT-$1-$2.tar.gz ]; then + echo "+ Unpack" + tar xf $EXT-$1-$2.tar.gz + + pushd $EXT-$2* + echo "+ Fetch" + pushd src/otel + cargo vendor ../../mycargo + popd + + echo "+ Pack" + tar czf ../$EXT-deps-$1.tgz mycargo + popd +else + echo $EXT-$1-$2.tar.gz missing +fi |