Am 11.08.2010 23:50, schrieb Daniel Stenberg:
Hello friends,

I'm glad to yet again announce another release. curl and libcurl 7.21.1
was uploaded just a short while ago. Get it as usual from:

http://curl.haxx.se/
I've tried hard the last two days to fully automate my Win32 and NetWare release builds, and especially for the NetWare builds that was really tricky since I wanted to get the 'curl -V' output into a build.txt file while the whole build process is a cross compile on Win32 (or Linux) - in any case though not in NetWare itself where the curl binary needs to run in order to produce the output ... Anyway, I succeeded finally, and now I can build all release archives including checksums within 3 mins! Horray! Now amazed of this (and a bit angry on myself why I didnt look into this already years ago!) I would also like to automate one last step:
download and extract of the curl release tarball.
Therefore I would like to ask you if you're willing to add same markers to the directory listing as what we have with the snapshot site, f.e. run a script like that when you upload the tarballs: #!/bin/sh

test -z "$1" && echo "Usage: $0 <version>" && exit 1
version=$1
echo -e "<!--\nNEWEST tar.bz2 curl-${version}.tar.bz2\n-->"
echo -e "<!--\nNEWEST tar.gz curl-${version}.tar.gz\n-->"
echo -e "<!--\nNEWEST tar.lzma curl-${version}.tar.lzma\n-->"
echo -e "<!--\nNEWEST zip curl-${version}.zip\n-->"

echo "<h2>libcurl/curl source archives</h2>"

and then:
./writeheader 7.21.1 > /www/htdocs/download/HEADER.html
see result here (where I will remove the tags for tar.bz abd zip again since I dont mirror them):
http://www.gknw.net/mirror/curl/source/

This would greatly simplify parsing the index for latest archives;
sure I can with a little more work do it from directory listing like:
http://curl.haxx.se/download/?F=0&C=M&O=D&P=curl-*.tar.bz2
but with the above addition it would be possible to download releases and snapshots just with same script ... (of course would be really great if you could do it for all downloads --> c-ares and libssh2 too) Depending on your Apache config HEADER.html might be visible - then try HEADER (without extension), or check autoindex config for:
http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#headername

Since the release builds are no longer a pain for me I've added now also a non-ssl Win32 build:
http://www.gknw.net/mirror/curl/win32/?P=curl-7.21.1-sspi*
and these are all current Win32 builds:
http://www.gknw.net/mirror/curl/win32/?P=curl-7.21.1-*

Then I've renamed the NetWare non-ssl build since 1st it was all the time already with zlib, and 2nd I changed to static linkage of curl:
http://www.gknw.net/mirror/curl/netware/?P=curl-7.21.1-zlib*
and these are all current NetWare builds:
http://www.gknw.net/mirror/curl/netware/?P=curl-7.21.1-*

Then I've also hacked a VBScript mk-ca-bundle.vbs short time after I hacked mk-ca-bundle.pl and which I would like to contribute - is it ok that I commit this to ./lib too? It might be helpful for all those on Win32 where Perl is not installed by default ...

Finally I've just also hacked an awk script which parses the 'curl -V' output and then builds a libcurl.pc from libcurl.pc.in; this might be useful for all non-configure platforms; perhaps /packages/common might be a place for it?

Gün.


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to