1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 08:38:49 -05:00
curl/plan9
Daniel Stenberg 9a8b3b3e13
copyright: fix out-of-date copyright ranges and missing headers
Reported by the new script 'scripts/copyright.pl'. The script has a
regex whitelist for the files that don't need copyright headers.

Removed three (mostly usesless) README files from docs/

Closes #5141
2020-03-24 15:05:59 +01:00
..
include plan9: add support for running on Plan 9 2019-07-31 00:23:25 +02:00
lib plan9: add support for running on Plan 9 2019-07-31 00:23:25 +02:00
src plan9: add support for running on Plan 9 2019-07-31 00:23:25 +02:00
mkfile plan9: add support for running on Plan 9 2019-07-31 00:23:25 +02:00
mkfile.proto plan9: add support for running on Plan 9 2019-07-31 00:23:25 +02:00
README copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00

Prerequirement
==============
This document describes how to compile, build and install curl and libcurl
from sources using mk. To build it, you will require to install latest
9legacy patches into Plan 9. Also Plan 9 still have no configuration option so
both zlib and libopenssl are required too.

The zlib that is available on Plan 9 can be downloaded from:

  https://github.com/madler/zlib/pull/398

LibreSSL Portable can be downloaded from:

  https://github.com/libressl-portable/portable/pull/510

Instruction
===========
First, you should construct namespace as like described below:

% bind -ac ../lib lib
% bind -ac ../src src
% bind -ac ../include include
% bind -ac .. .

Then you will see as shown below (excerpt):

  curl.git/
   |_plan9
   | |_BUILD.PLAN9.txt
   | |_CHANGES
   | |_CMake
   | |  :
   | |_mkfile
   | |_mkfile.proto
   | |_include
   | | |_Makefile.am
   | | |  :
   | | |_mkfile
   | |_lib
   | | |_CMakeLists.txt
   | | |  :
   | | |_mkfile
   | | |_mkfile.inc
   | |_src
   | | |_CMakeLists.txt
   | | |  :
   | | |_mkfile
   | | |_mkfile.inc
   |_lib
   |_src

After constructing namespace, you can run mk on plan9 directory.

% mk
% mk install