From 06a269da8ec013fb0b7259d35ae34a5f1c18b314 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 20 Dec 2024 09:52:24 +0100 Subject: 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 --- makedeps.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 makedeps.sh (limited to 'makedeps.sh') 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 -- cgit