summaryrefslogtreecommitdiff
path: root/curl/README-DEV
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-01-11 23:51:49 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-01-22 18:04:37 +0300
commit23b1a0ab70f190dbbb33dabb18ec039c7d85d6b3 (patch)
treec86693607a9be05c53a44ce311d8f83638cbda03 /curl/README-DEV
parented9a6438ec4b50ee897ac01296034de84167f2fe (diff)
Add implementation
Diffstat (limited to 'curl/README-DEV')
-rw-r--r--curl/README-DEV16
1 files changed, 16 insertions, 0 deletions
diff --git a/curl/README-DEV b/curl/README-DEV
new file mode 100644
index 0000000..6b9f99e
--- /dev/null
+++ b/curl/README-DEV
@@ -0,0 +1,16 @@
+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}.c curl
+$ ln -s src/tool_hugehelp.c.cvs curl/tool_hugehelp.c
+$ ln -s ../../libcurl/libcurl/curl_config.h curl
+
+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