summaryrefslogtreecommitdiff
path: root/curl/README-DEV
blob: df275f1ef040e717254c2bd9a179021018053380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
This document describes how curl was packaged for build2. In particular, this
understanding will be useful when upgrading to a new upstream version. See
../README-DEV for general notes on curl packaging.

Symlink the required upstream directories into curl/:

$ ln -s ../../upstream/{src,lib} curl
$ ln -s lib/{strtoofft,nonblock,warnless,curl_ctype,dynbuf,version_win32,curl_multibyte}.c curl
$ ln -s ../../libcurl/libcurl/curl_config.h curl

$ cp curl/src/tool_hugehelp.c.cvs curl/tool_hugehelp.c

Edit tool_hugehelp.c to make hugehelp() be empty.

Patch curl to use CA certificate bundle provided by the
libca-certificates-curl package by default:

$ cp curl/src/tool_main.c curl
$ patch -p0 <curl/tool_main.c.patch