Backed out updated libcurl.
This commit is contained in:
@@ -1,28 +1,6 @@
|
||||
#! /bin/sh
|
||||
# Script to build release-archives with. Note that this requires a checkout
|
||||
# from git and you should first run ./buildconf and build curl once.
|
||||
# Script to build release-archives with
|
||||
#
|
||||
#***************************************************************************
|
||||
# _ _ ____ _
|
||||
# Project ___| | | | _ \| |
|
||||
# / __| | | | |_) | |
|
||||
# | (__| |_| | _ <| |___
|
||||
# \___|\___/|_| \_\_____|
|
||||
#
|
||||
# Copyright (C) 1998 - 2012, Daniel Stenberg, <[email protected]>, et al.
|
||||
#
|
||||
# This software is licensed as described in the file COPYING, which
|
||||
# you should have received as part of this distribution. The terms
|
||||
# are also available at http://curl.haxx.se/docs/copyright.html.
|
||||
#
|
||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||
# copies of the Software, and permit persons to whom the Software is
|
||||
# furnished to do so, under the terms of the COPYING file.
|
||||
#
|
||||
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||
# KIND, either express or implied.
|
||||
#
|
||||
###########################################################################
|
||||
|
||||
version=$1
|
||||
|
||||
@@ -43,7 +21,7 @@ patch=`echo $libversion |cut -d. -f3 | cut -d- -f1 | sed -e "s/[^0-9]//g"`
|
||||
numeric=`perl -e 'printf("%02x%02x%02x\n", '"$major, $minor, $patch);"`
|
||||
|
||||
HEADER=include/curl/curlver.h
|
||||
CHEADER=src/tool_version.h
|
||||
CHEADER=src/version.h
|
||||
|
||||
# requires a date command that knows -u for UTC time zone
|
||||
datestamp=`date -u`
|
||||
@@ -60,12 +38,10 @@ sed -e 's/^#define LIBCURL_VERSION .*/#define LIBCURL_VERSION "'$libversion'"/g'
|
||||
# Replace version number in header file:
|
||||
sed 's/#define CURL_VERSION .*/#define CURL_VERSION "'$curlversion'"/g' $CHEADER >$CHEADER.dist
|
||||
|
||||
# Generate VC8, VC9, and VC10 versions from the VC6 Makefile versions
|
||||
for ver in vc8 vc9 vc10; do
|
||||
make -f Makefile.dist $ver
|
||||
mv src/Makefile.$ver src/Makefile.$ver.dist
|
||||
mv lib/Makefile.$ver lib/Makefile.$ver.dist
|
||||
done
|
||||
echo "generate VC8 makefiles"
|
||||
# Generate VC8 versions from the VC6 Makefile versions
|
||||
perl -pe 's%/GX /DWIN32 /YX%/EHsc /DWIN32%;' -e 's%/GZ%/RTC1%;' -e 's%wsock32.lib%wsock32.lib bufferoverflowu.lib%g;' -e 's%(VC)6%${1}8%gi;' lib/Makefile.vc6 > lib/Makefile.vc8.dist
|
||||
perl -pe "s%/GX /DWIN32 /YX%/EHsc /DWIN32%;" -e 's%/GZ%/RTC1%;' -e 's%wsock32.lib%wsock32.lib bufferoverflowu.lib%g;' -e 's%(VC)6%${1}8%gi;' -e 's/^#MANIFESTTOOL/MANIFESTTOOL/' src/Makefile.vc6 > src/Makefile.vc8.dist
|
||||
|
||||
# Replace version number in plist file:
|
||||
PLIST=lib/libcurl.plist
|
||||
@@ -91,6 +67,9 @@ findprog()
|
||||
return 0
|
||||
}
|
||||
|
||||
echo "maketgz: cp lib/config.h.in src/config.h.in"
|
||||
cp lib/config.h.in src/config.h.in
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Enforce a rerun of configure (updates the VERSION)
|
||||
@@ -123,9 +102,6 @@ make -s html
|
||||
echo "make pdf"
|
||||
make -s pdf
|
||||
|
||||
echo "produce CHANGES"
|
||||
git log --pretty=fuller --no-color --date=short --decorate=full -1000 | ./log2changes.pl > CHANGES.dist
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Now run make dist to generate a tar.gz archive
|
||||
@@ -142,16 +118,7 @@ make -s dist VERSION=$version
|
||||
|
||||
bzip2="curl-$version.tar.bz2"
|
||||
echo "Generating $bzip2"
|
||||
gzip -dc $targz | bzip2 --best - > $bzip2
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Now make an lzma archive from the tar.gz original
|
||||
#
|
||||
|
||||
lzma="curl-$version.tar.lzma"
|
||||
echo "Generating $lzma"
|
||||
gzip -dc $targz | lzma --best - > $lzma
|
||||
gzip -dc $targz | bzip2 - > $bzip2
|
||||
|
||||
############################################################################
|
||||
#
|
||||
@@ -177,7 +144,9 @@ makezip
|
||||
echo "------------------"
|
||||
echo "maketgz report:"
|
||||
echo ""
|
||||
ls -l $targz $bzip2 $zip $lzma
|
||||
ls -l $targz $bzip2 $zip
|
||||
|
||||
md5sum $targz $bzip2 $zip
|
||||
|
||||
echo "Run this:"
|
||||
echo "gpg -b -a $targz && gpg -b -a $bzip2 && gpg -b -a $zip && gpg -b -a $lzma"
|
||||
echo "gpg -b -a $targz && gpg -b -a $bzip2 && gpg -b -a $zip"
|
||||
|
||||
Reference in New Issue
Block a user