mirror of
https://github.com/curl/curl.git
synced 2026-08-25 03:53:31 +03:00
tiny-curl: base and FreeRTOS support
This commit is contained in:
parent
9d954e49bc
commit
ceda8d10ea
17 changed files with 1430 additions and 67 deletions
20
maketgz
20
maketgz
|
|
@ -9,7 +9,7 @@
|
|||
# | (__| |_| | _ <| |___
|
||||
# \___|\___/|_| \_\_____|
|
||||
#
|
||||
# Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
#
|
||||
# This software is licensed as described in the file COPYING, which
|
||||
# you should have received as part of this distribution. The terms
|
||||
|
|
@ -24,6 +24,7 @@
|
|||
#
|
||||
###########################################################################
|
||||
|
||||
CURL="tiny-curl-0.11"
|
||||
version=$1
|
||||
|
||||
if [ -z "$version" ]; then
|
||||
|
|
@ -101,7 +102,7 @@ if test -n "$only"; then
|
|||
exit;
|
||||
fi
|
||||
|
||||
echo "curl version $curlversion"
|
||||
echo "$CURL version $curlversion"
|
||||
echo "libcurl version $libversion"
|
||||
echo "libcurl numerical $numeric"
|
||||
echo "datestamp $datestamp"
|
||||
|
|
@ -161,21 +162,24 @@ make -s vc-ide
|
|||
echo "produce CHANGES"
|
||||
git log --pretty=fuller --no-color --date=short --decorate=full -1000 | ./scripts/log2changes.pl > CHANGES.dist
|
||||
|
||||
echo "generate patch set"
|
||||
git diff origin/master >$CURL.patch.dist
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Now run make dist to generate a tar.gz archive
|
||||
#
|
||||
|
||||
echo "make dist"
|
||||
targz="curl-$version.tar.gz"
|
||||
make -sj dist VERSION=$version
|
||||
targz="$CURL-$version.tar.gz"
|
||||
make -sj dist VERSION=$version PACKAGE="$CURL"
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Now make a bz2 archive from the tar.gz original
|
||||
#
|
||||
|
||||
bzip2="curl-$version.tar.bz2"
|
||||
bzip2="$CURL-$version.tar.bz2"
|
||||
echo "Generating $bzip2"
|
||||
gzip -dc $targz | bzip2 --best > $bzip2
|
||||
|
||||
|
|
@ -184,7 +188,7 @@ gzip -dc $targz | bzip2 --best > $bzip2
|
|||
# Now make an xz archive from the tar.gz original
|
||||
#
|
||||
|
||||
xz="curl-$version.tar.xz"
|
||||
xz="$CURL-$version.tar.xz"
|
||||
echo "Generating $xz"
|
||||
gzip -dc $targz | xz -6e - > $xz
|
||||
|
||||
|
|
@ -203,13 +207,13 @@ makezip() {
|
|||
rm -rf $tempdir
|
||||
}
|
||||
|
||||
zip="curl-$version.zip"
|
||||
zip="$CURL-$version.zip"
|
||||
echo "Generating $zip"
|
||||
tempdir=".builddir"
|
||||
makezip
|
||||
|
||||
echo "------------------"
|
||||
echo "maketgz report:"
|
||||
echo "maketgz $CURL report:"
|
||||
echo ""
|
||||
ls -l $targz $bzip2 $zip $xz
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue