1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-13 21:15:08 -05:00
curl/packages/Win32/cygwin/README

86 lines
3.1 KiB
Plaintext
Raw Normal View History

2001-11-19 04:42:15 -05:00
Curl is a tool for transferring files with URL syntax, supporting
FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP.
Curl supports HTTPS certificates, HTTP POST, HTTP PUT,
FTP uploading, kerberos, HTTP form based upload, proxies,
cookies, user+password authentication, file transfer resume,
http proxy tunneling and a busload of other useful tricks.
2001-10-29 05:31:52 -05:00
2001-11-19 04:42:15 -05:00
See /usr/doc/curl-<version>/FEATURES for more info.
2001-10-29 05:31:52 -05:00
2001-11-21 03:10:29 -05:00
Dependencies:
2001-11-19 04:42:15 -05:00
- Cygwin
2001-11-21 03:10:29 -05:00
- OpenSSL 0.9.6b-2+ (*)
2001-10-29 17:17:19 -05:00
(*) cURL can be built without SSL support: ./configure --without-ssl
2001-10-29 05:31:52 -05:00
2001-11-19 04:42:15 -05:00
Canonical Homepage and Downloads:
2001-10-29 05:31:52 -05:00
http://curl.haxx.se/
2001-11-19 04:42:15 -05:00
http://curl.haxx.se/download.html
2001-10-29 05:31:52 -05:00
2001-11-19 04:42:15 -05:00
Cygwin specific source files (a .README template and a Makefile
for building binary tarballs) are maintained in the upstream
CVS at: <srctop>/packages/Win32/cygwin/
2001-10-29 05:31:52 -05:00
2001-11-19 04:42:15 -05:00
Build Instructions (as distributed via cygwin's setup.exe):
(NOTE: as of curl 7.9.1, compiles/tests 100% cleanly OOTB under cygwin)
Download the source, unpack it to a location of your choosing, and then:
2001-10-29 05:31:52 -05:00
$ ./configure --prefix=/usr
$ make
$ make test # optional, requires perl
$ make install # (*)
(*) LibTool 1.4.2 had a bug related to cygwin's use of ".exe" extensions,
such that "make install" blew up at curl.exe. See this URL for details:
http://mail.gnu.org/pipermail/libtool/2001-September/005549.html
The copy of ltmain.sh that is distributed with cURL includes this patch.
Packaging Instructions:
2001-11-19 04:42:15 -05:00
---BINARY---
Compile cleanly (./configure + make). Then:
2001-10-29 05:31:52 -05:00
2001-11-19 04:42:15 -05:00
$ make cygwinbin CYGBUILD=n
2001-10-29 05:31:52 -05:00
2001-11-19 04:42:15 -05:00
where n is the cygwin release number (e.g. the "1" in curl-7.9-1).
If you leave off "CYGBUILD=n", n defaults to 1.
2001-10-29 17:17:19 -05:00
2001-11-19 04:42:15 -05:00
Assuming everything worked properly, you'll find your binary tarball
in the packages/Win32/cygwin/ sub-directory.
---SOURCE---
1. unpack the pristine source into an otherwise empty directory
2. rename the source dir to add the "-$(REL)" suffix, e.g.:
$ mv curl-7.9 curl-7.9-1
3. add a CYGWIN-PATCHES directory, and add this readme to it
$ cd curl-7.9-$(REL); mkdir CYGWIN-PATCHES
$ cp packages/Win32/cygwin/README CYGWIN-PATCHES/curl-7.9-$(REL).README
4. if applicable, document any changes in the README file
5. create a patch which, when applied (patch -p1 < curl-7.9-$(REL).patch)
will remove any patches you've applied:
$ cd ..
$ diff -Nrup (patched-src-dir) (pristine-src-dir) > curl-7.9-$(REL).patch
and then move it into the CYGWIN-PATCHES directory
6. repack
---SETUP.HINT---
sdesc: "a client that groks URLs"
ldesc: "Curl is a tool for transferring files with URL syntax,
supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE
and LDAP. Curl supports HTTPS certificates, HTTP POST, HTTP PUT,
FTP uploading, kerberos, HTTP form based upload, proxies,
cookies, user+password authentication, file transfer resume,
http proxy tunneling and a busload of other useful tricks."
category: Web Libs
2001-11-21 03:10:29 -05:00
requires: cygwin openssl
2001-11-19 04:42:15 -05:00
Cygwin port maintained by:
2001-10-29 05:31:52 -05:00
Kevin Roth <kproth at bigfoot dot com>
2001-11-21 03:10:29 -05:00
Questions about cURL should be directed to curl@contactor.se.
Questions about its cygwin package should be directed to cygwin@cygwin.com.